From 696080f5c92d79b3e5e65f02ecf83be9ed3403cb Mon Sep 17 00:00:00 2001 From: ElektrikSpark Date: Wed, 29 Nov 2023 06:32:00 -0600 Subject: [PATCH 1/3] refactored trpc setup, added ui package, started on onboarding forms --- apps/nextjs/package.json | 48 +- apps/nextjs/public/fonts/CalSans-SemiBold.ttf | Bin 0 -> 148964 bytes .../nextjs/src/app/(authenticated)/layout.tsx | 60 + .../_components/checkbox-question.tsx | 151 + .../onboarding/_components/radio-question.tsx | 146 + .../onboarding/_components/section.tsx | 66 + .../onboarding/_components/welcome-form.tsx | 112 + .../app/(authenticated)/onboarding/layout.tsx | 24 + .../onboarding/multi-step-form.tsx | 31 + .../app/(authenticated)/onboarding/page.tsx | 13 + .../(authenticated)/onboarding/steps/done.tsx | 64 + .../onboarding/steps/welcome.tsx | 65 + .../_components/all-patients.tsx | 2 +- .../_components/auth-showcase.tsx | 0 .../app/{ => (landing)}/_components/posts.tsx | 4 +- apps/nextjs/src/app/(landing)/layout.tsx | 58 + apps/nextjs/src/app/{ => (landing)}/page.tsx | 4 + apps/nextjs/src/app/api/trpc/[trpc]/route.ts | 3 +- apps/nextjs/src/app/layout.tsx | 48 - apps/nextjs/src/app/providers.tsx | 66 - apps/nextjs/src/lib/use-debounce.tsx | 17 + apps/nextjs/src/lib/utils.ts | 15 + apps/nextjs/src/lib/zod-form.tsx | 18 + apps/nextjs/src/styles/globals.css | 80 + apps/nextjs/src/trpc/react.tsx | 49 + apps/nextjs/src/trpc/server.ts | 65 + apps/nextjs/src/trpc/shared.ts | 30 + apps/nextjs/src/utils/api.ts | 7 - package.json | 5 +- packages/api/package.json | 27 +- packages/api/src/canvasApi.ts | 2 + packages/api/src/canvasClient.ts | 80 - packages/api/src/openapi.json | 41025 ++++++++++++++++ packages/api/src/trpc.ts | 88 +- packages/api/src/validators.ts | 181 +- packages/auth/package.json | 20 +- packages/db/package.json | 12 +- packages/ui/package.json | 99 + packages/ui/src/avatar.tsx | 50 + packages/ui/src/button.tsx | 57 + packages/ui/src/calendar.tsx | 69 + packages/ui/src/card.tsx | 88 + packages/ui/src/checkbox.tsx | 30 + packages/ui/src/command.tsx | 156 + packages/ui/src/data-table.tsx | 80 + packages/ui/src/dialog.tsx | 126 + packages/ui/src/dropdown-menu.tsx | 200 + packages/ui/src/form.tsx | 173 + packages/ui/src/icons.tsx | 206 + packages/ui/src/index.ts | 1 + packages/ui/src/input.tsx | 24 + packages/ui/src/label.tsx | 27 + packages/ui/src/popover.tsx | 31 + packages/ui/src/radio-group.tsx | 44 + packages/ui/src/scroll-area.tsx | 48 + packages/ui/src/select.tsx | 120 + packages/ui/src/sheet.tsx | 234 + packages/ui/src/table.tsx | 115 + packages/ui/src/tabs.tsx | 55 + packages/ui/src/toast.tsx | 128 + packages/ui/src/toaster.tsx | 35 + packages/ui/src/use-toast.tsx | 189 + packages/ui/src/utils/cn.ts | 7 + packages/ui/tailwind.config.ts | 12 + packages/ui/tsconfig.json | 8 + pnpm-lock.yaml | 7038 ++- tooling/tailwind/index.ts | 105 +- tooling/tailwind/postcss.js | 7 + 68 files changed, 49560 insertions(+), 2688 deletions(-) create mode 100644 apps/nextjs/public/fonts/CalSans-SemiBold.ttf create mode 100644 apps/nextjs/src/app/(authenticated)/layout.tsx create mode 100644 apps/nextjs/src/app/(authenticated)/onboarding/_components/checkbox-question.tsx create mode 100644 apps/nextjs/src/app/(authenticated)/onboarding/_components/radio-question.tsx create mode 100644 apps/nextjs/src/app/(authenticated)/onboarding/_components/section.tsx create mode 100644 apps/nextjs/src/app/(authenticated)/onboarding/_components/welcome-form.tsx create mode 100644 apps/nextjs/src/app/(authenticated)/onboarding/layout.tsx create mode 100644 apps/nextjs/src/app/(authenticated)/onboarding/multi-step-form.tsx create mode 100644 apps/nextjs/src/app/(authenticated)/onboarding/page.tsx create mode 100644 apps/nextjs/src/app/(authenticated)/onboarding/steps/done.tsx create mode 100644 apps/nextjs/src/app/(authenticated)/onboarding/steps/welcome.tsx rename apps/nextjs/src/app/{ => (landing)}/_components/all-patients.tsx (97%) rename apps/nextjs/src/app/{ => (landing)}/_components/auth-showcase.tsx (100%) rename apps/nextjs/src/app/{ => (landing)}/_components/posts.tsx (97%) create mode 100644 apps/nextjs/src/app/(landing)/layout.tsx rename apps/nextjs/src/app/{ => (landing)}/page.tsx (89%) delete mode 100644 apps/nextjs/src/app/layout.tsx delete mode 100644 apps/nextjs/src/app/providers.tsx create mode 100644 apps/nextjs/src/lib/use-debounce.tsx create mode 100644 apps/nextjs/src/lib/utils.ts create mode 100644 apps/nextjs/src/lib/zod-form.tsx create mode 100644 apps/nextjs/src/trpc/react.tsx create mode 100644 apps/nextjs/src/trpc/server.ts create mode 100644 apps/nextjs/src/trpc/shared.ts delete mode 100644 apps/nextjs/src/utils/api.ts delete mode 100644 packages/api/src/canvasClient.ts create mode 100644 packages/api/src/openapi.json create mode 100644 packages/ui/package.json create mode 100644 packages/ui/src/avatar.tsx create mode 100644 packages/ui/src/button.tsx create mode 100644 packages/ui/src/calendar.tsx create mode 100644 packages/ui/src/card.tsx create mode 100644 packages/ui/src/checkbox.tsx create mode 100644 packages/ui/src/command.tsx create mode 100644 packages/ui/src/data-table.tsx create mode 100644 packages/ui/src/dialog.tsx create mode 100644 packages/ui/src/dropdown-menu.tsx create mode 100644 packages/ui/src/form.tsx create mode 100644 packages/ui/src/icons.tsx create mode 100644 packages/ui/src/index.ts create mode 100644 packages/ui/src/input.tsx create mode 100644 packages/ui/src/label.tsx create mode 100644 packages/ui/src/popover.tsx create mode 100644 packages/ui/src/radio-group.tsx create mode 100644 packages/ui/src/scroll-area.tsx create mode 100644 packages/ui/src/select.tsx create mode 100644 packages/ui/src/sheet.tsx create mode 100644 packages/ui/src/table.tsx create mode 100644 packages/ui/src/tabs.tsx create mode 100644 packages/ui/src/toast.tsx create mode 100644 packages/ui/src/toaster.tsx create mode 100644 packages/ui/src/use-toast.tsx create mode 100644 packages/ui/src/utils/cn.ts create mode 100644 packages/ui/tailwind.config.ts create mode 100644 packages/ui/tsconfig.json create mode 100644 tooling/tailwind/postcss.js diff --git a/apps/nextjs/package.json b/apps/nextjs/package.json index 57bab32d..e32b4ff9 100644 --- a/apps/nextjs/package.json +++ b/apps/nextjs/package.json @@ -13,36 +13,40 @@ "with-env": "dotenv -e ../../.env --" }, "dependencies": { - "@acme/api": "workspace:^0.1.0", - "@acme/auth": "workspace:^0.1.0", - "@acme/db": "workspace:^0.1.0", + "@acme/api": "workspace:^", + "@acme/auth": "workspace:^", + "@acme/db": "workspace:^", + "@acme/ui": "workspace:^", + "@hookform/resolvers": "^3.3.2", "@t3-oss/env-nextjs": "^0.7.1", - "@tanstack/react-query": "^5.8.1", - "@tanstack/react-query-devtools": "^5.8.1", - "@tanstack/react-query-next-experimental": "5.8.1", - "@trpc/client": "next", - "@trpc/next": "next", - "@trpc/react-query": "next", - "@trpc/server": "next", - "next": "^14.0.2", + "@tanstack/react-query": "^4.36.1", + "@trpc/client": "^10.43.6", + "@trpc/next": "^10.43.6", + "@trpc/react-query": "^10.43.6", + "@trpc/server": "^10.43.6", + "framer-motion": "^10.16.5", + "next": "^14.0.3", "react": "18.2.0", "react-dom": "18.2.0", - "superjson": "2.2.0", - "zod": "^3.22.2" + "react-hook-form": "^7.48.2", + "react-wrap-balancer": "^1.1.0", + "server-only": "^0.0.1", + "superjson": "^2.2.1", + "zod": "^3.22.4" }, "devDependencies": { - "@acme/eslint-config": "workspace:^0.2.0", - "@acme/prettier-config": "workspace:^0.1.0", - "@acme/tailwind-config": "workspace:^0.1.0", - "@acme/tsconfig": "workspace:^0.1.0", - "@types/node": "^18.18.9", - "@types/react": "^18.2.37", - "@types/react-dom": "^18.2.15", + "@acme/eslint-config": "workspace:^", + "@acme/prettier-config": "workspace:^", + "@acme/tailwind-config": "workspace:^", + "@acme/tsconfig": "workspace:^", + "@types/node": "^18.18.13", + "@types/react": "^18.2.39", + "@types/react-dom": "^18.2.17", "dotenv-cli": "^7.3.0", - "eslint": "^8.53.0", + "eslint": "^8.54.0", "prettier": "^3.1.0", "tailwindcss": "3.3.5", - "typescript": "^5.2.2" + "typescript": "^5.3.2" }, "eslintConfig": { "root": true, diff --git a/apps/nextjs/public/fonts/CalSans-SemiBold.ttf b/apps/nextjs/public/fonts/CalSans-SemiBold.ttf new file mode 100644 index 0000000000000000000000000000000000000000..4a2950a0451f66f8d3d77e466ce2fd3fe0e507b6 GIT binary patch literal 148964 zcmd3P34j#E)qhpbxifps9<#?RyR$p9H!OQEH^VJABA^fz77zqc2@*9iA!yWiU{pMU z#u&WN91=V*#&{y}ijqVV<7YG~Dx$#yBY3j&|Gih;Gu?CSF5*AmH@&a7r>DB=)vH&p zUcL9KT1X*89!_=<9DmH@N%$s(HsKZgcTXBWVPejsd9!e9Ail4fG;8KDj~^(w1K&3Z zG5d*0$IKl&Y-jNcLd;ntMAqJ!#|&;gW%&ue6k_pFNWW;wsokrq|Ik#9?|8=X*^)EY z25rB}T_&{7o%nsqvenB^y|FXzS)q013Xxs7y!(vRxSxyPAH;w6@>Snmw*GI8`-C`o zvygYJIr*gSrR7tOpCmM20eQ2rFX>)# z?XzzREnr6lpFOqv?A5m4XCDw+#b1y*vg#8WdafTqJ5#q+e?yOBCzZHq@^~zqX4UQL0}%&^`hE z+9`aZOuu%CJTXAOc8h#qs<6xu1)@T~_J~3e6qTo(wB|JN)RCM|?Ot<=_{));&p4yG zO}uy{XV6~*-6k%2b!g2Gv#W)3Ll1C{bYkwUbbkZw@* zYSAfXi?i{6n|M}ga-cj)E|r(aEpmt4tJ$>%ZKAeD+obK(Ubhw4CRW@#b0W&1lHB;; zO#GmIrJczoi|8)XZw36@>td7s+dljzfgNES&*5ZF^?;UbN@e6ejeomQo}VIjRq}cA zs}#?vl9z!8h#n%k5C3iA7%@l8#dl4vlk33s7s<=i?>JLk)Kkr|(&#A%`q;7JI58hR zEsnFo%PAMA=cDhKeq+4kd*UzpZ%Gu9yW~-(-=sKSTx_8T=PvIM=%19Yg{CU^4f6OD zB{TkVwOniZO^Q1O$+9@^YlxF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}y?&=qjL#Z0G@@e$h1*Q5q2r z2~UO+ikI9T^udA7>X0-j?a}QPO^as8-ILnnsMkqe=v|@p)Fx*fV22%w z;>I{mu!fF6XLT0E>5zgI`Gmz&0lhI20V7N|YtV>M7+$Dw=t^$j1QeaD+hRygS(*%}V>r_Q)H56gG%y?nG%_3p zG;zMnfSNg93~J$gF=#pGi$NJr+bn|&;cgjZ2=@SY>M*@~xr@`gPX-zK z78zvdTM=`rOz(afWC*=7$PgaT_xtf7uB3_U$CWz^W>4tL?8XeqyFpSVSFLe(=$WjG z#boeIHHMaSJGwi0`nR%=XpKjb!UU4epy#8!gVchr43F2~fjkEL7+=s}^AVEv`yy|gr&CHlaBf#JP1I>%P6951J literal 0 HcmV?d00001 diff --git a/apps/nextjs/src/app/(authenticated)/layout.tsx b/apps/nextjs/src/app/(authenticated)/layout.tsx new file mode 100644 index 00000000..226d1d4b --- /dev/null +++ b/apps/nextjs/src/app/(authenticated)/layout.tsx @@ -0,0 +1,60 @@ +import "~/styles/globals.css"; + +import type { Metadata } from "next"; +import { Inter as FontSans } from "next/font/google"; +import LocalFont from "next/font/local"; +import { cookies, headers } from "next/headers"; + +import { cn } from "@acme/ui"; +import { Toaster } from "@acme/ui/toaster"; + +import { TRPCReactProvider } from "~/trpc/react"; + +const fontSans = FontSans({ + subsets: ["latin"], + variable: "--font-sans", +}); +const fontCal = LocalFont({ + src: "../../../public/fonts/CalSans-SemiBold.ttf", + variable: "--font-cal", + display: "swap", +}); + +export const metadata: Metadata = { + title: "Create T3 Turbo", + description: "Simple monorepo with shared backend for web & mobile apps", + openGraph: { + title: "Create T3 Turbo", + description: "Simple monorepo with shared backend for web & mobile apps", + url: "https://create-t3-turbo.vercel.app", + siteName: "Create T3 Turbo", + }, + twitter: { + card: "summary_large_image", + site: "@jullerino", + creator: "@jullerino", + }, +}; + +export default function RootLayout({ + children, +}: { + children: React.ReactNode; +}) { + return ( + + + + {children} + + + + + ); +} diff --git a/apps/nextjs/src/app/(authenticated)/onboarding/_components/checkbox-question.tsx b/apps/nextjs/src/app/(authenticated)/onboarding/_components/checkbox-question.tsx new file mode 100644 index 00000000..dcd7bfab --- /dev/null +++ b/apps/nextjs/src/app/(authenticated)/onboarding/_components/checkbox-question.tsx @@ -0,0 +1,151 @@ +"use client"; + +import { useRouter } from "next/navigation"; + +import { checkboxSchema } from "@acme/api/validators"; +import type { CheckboxType } from "@acme/api/validators"; +import { Button } from "@acme/ui/button"; +import { Checkbox } from "@acme/ui/checkbox"; +import { + Form, + FormControl, + FormField, + FormItem, + FormLabel, + FormMessage, +} from "@acme/ui/form"; +import { useToast } from "@acme/ui/use-toast"; + +import { useZodForm } from "~/lib/zod-form"; +import { api } from "~/trpc/react"; + +interface CheckboxQuestionProps { + sectionIndex: number; + questionIndex: number; + questionId: string; + templateId: string; +} + +export const CheckboxQuestion = (props: CheckboxQuestionProps) => { + const { sectionIndex, questionIndex, questionId, templateId } = props; + + const { isPending, isError, data, error } = + api.assessmentInstance.byId.useQuery({ templateId }); + + const updateResponse = api.assessmentInstance.update.useMutation({ + onSuccess: (data, variables, context) => { + toaster.toast({ + title: "Submission Successful", + description: JSON.stringify(data, null, 2), + }); + }, + onError: (err, variables, context) => { + toaster.toast({ + title: "Error submitting answer", + variant: "destructive", + description: + "An issue occurred while submitting answer. Please try again.", + }); + }, + }); + + const router = useRouter(); + const toaster = useToast(); + + const form = useZodForm({ + schema: checkboxSchema, + }); + + function onSubmit(formData: CheckboxType) { + console.log("Submitting the following data:", formData); + + const currentResponses = data?.response?.responses ?? []; + + // Merge new response with current responses + const updatedResponses = currentResponses.map((response) => + response.questionId === questionId + ? { ...response, response: formData.options } + : response, + ); + + // If the current question response does not exist in the current responses, add it + if ( + !updatedResponses.find((response) => response.questionId === questionId) + ) { + updatedResponses.push({ questionId, response: formData.options }); + } + + // Construct the full response object to be submitted + const fullResponse = { + ...data?.response, // include other properties of the response object if necessary + responses: updatedResponses, + }; + + // Submit the full response object + updateResponse.mutate({ templateId: templateId, response: fullResponse }); + } + + if (isPending) { + return Loading...; + } + + if (isError) { + return Error: {error.message}; + } + + const questionJSON = + data?.assessmentTemplate.template[sectionIndex]?.questions[questionIndex]; + + return ( +
+ {questionJSON && ( + + ( + +
+ + {questionJSON.label} + +
+ {questionJSON.options.map((option) => ( + ( + + + { + const existingValues = field.value || []; + return checked + ? field.onChange([...existingValues, option.id]) + : field.onChange( + existingValues.filter( + (value) => value !== option.id, + ), + ); + }} + /> + + + {option.label} + + + )} + /> + ))} + +
+ )} + /> + + + )} + + ); +}; diff --git a/apps/nextjs/src/app/(authenticated)/onboarding/_components/radio-question.tsx b/apps/nextjs/src/app/(authenticated)/onboarding/_components/radio-question.tsx new file mode 100644 index 00000000..5bfc46e4 --- /dev/null +++ b/apps/nextjs/src/app/(authenticated)/onboarding/_components/radio-question.tsx @@ -0,0 +1,146 @@ +"use client"; + +import { useRouter } from "next/navigation"; + +import { radioGroupSchema } from "@acme/api/validators"; +import type { RadioGroupType } from "@acme/api/validators"; +import { Button } from "@acme/ui/button"; +import { + Form, + FormControl, + FormField, + FormItem, + FormLabel, + FormMessage, +} from "@acme/ui/form"; +import { RadioGroup, RadioGroupItem } from "@acme/ui/radio-group"; +import { useToast } from "@acme/ui/use-toast"; + +import { useZodForm } from "~/lib/zod-form"; +import { api } from "~/trpc/react"; + +interface RadioQuestionProps { + sectionIndex: number; + questionIndex: number; + questionId: string; + templateId: string; +} + +export const RadioQuestion = (props: RadioQuestionProps) => { + const { sectionIndex, questionIndex, questionId, templateId } = props; + + const { isPending, isError, data, error } = + api.assessmentInstance.byId.useQuery({ templateId }); + + const updateResponse = api.assessmentInstance.update.useMutation({ + onSuccess: (data, variables, context) => { + toaster.toast({ + title: "Submission Successful", + description: JSON.stringify(data, null, 2), + }); + }, + onError: (err, variables, context) => { + toaster.toast({ + title: "Error submitting answer", + variant: "destructive", + description: + "An issue occurred while submitting answer. Please try again.", + }); + }, + }); + + const router = useRouter(); + const toaster = useToast(); + + const defaultOptions = data?.response?.responses.find( + (response) => response.questionId === questionId, + )?.response; + + const form = useZodForm({ + schema: radioGroupSchema, + defaultValues: { + options: defaultOptions as string, + }, + }); + + function onSubmit(formData: RadioGroupType) { + console.log("Submitting the following data:", formData); + + const currentResponses = data?.response?.responses ?? []; + + // Merge new response with current responses + const updatedResponses = currentResponses.map((response) => + response.questionId === questionId + ? { ...response, response: formData.options } + : response, + ); + + // If the current question response does not exist in the current responses, add it + if ( + !updatedResponses.find((response) => response.questionId === questionId) + ) { + updatedResponses.push({ questionId, response: formData.options }); + } + + // Construct the full response object to be submitted + const fullResponse = { + ...data?.response, // include other properties of the response object if necessary + responses: updatedResponses, + }; + + // Submit the full response object + updateResponse.mutate({ templateId: templateId, response: fullResponse }); + } + + if (isPending) { + return Loading...; + } + + if (isError) { + return Error: {error.message}; + } + + const questionJSON = + data?.assessmentTemplate.template[sectionIndex]?.questions[questionIndex]; + + return ( +
+ {questionJSON && ( + + ( + + {questionJSON.label} + + + {questionJSON.options.map((option, index) => ( + + + + + + {option.label} + + + ))} + + + + + )} + /> + + + )} + + ); +}; diff --git a/apps/nextjs/src/app/(authenticated)/onboarding/_components/section.tsx b/apps/nextjs/src/app/(authenticated)/onboarding/_components/section.tsx new file mode 100644 index 00000000..989a86e5 --- /dev/null +++ b/apps/nextjs/src/app/(authenticated)/onboarding/_components/section.tsx @@ -0,0 +1,66 @@ +"use client"; + +import { useEffect } from "react"; + +import { api } from "~/trpc/react"; +import { CheckboxQuestion } from "./checkbox-question"; +import { RadioQuestion } from "./radio-question"; + +interface SectionProps { + sectionIndex: number; + templateId: string; +} + +export function Section(props: SectionProps) { + const { sectionIndex, templateId } = props; + + const { isPending, isError, data, error } = + api.assessmentInstance.byId.useQuery({ templateId }); + + useEffect(() => { + // Any logic that needs to happen when the section becomes active. + }, [sectionIndex]); + + if (isPending) { + return Loading...; + } + + if (isError) { + return Error: {error.message}; + } + + const sectionJSON = data?.assessmentTemplate.template[sectionIndex]; + + return ( +
+ {sectionJSON?.questions.map((questionJSON, questionIndex) => { + const key = `${templateId}-${sectionIndex}-${questionIndex}`; + if (questionJSON.type === "radio") { + return ( + + ); + } else if (questionJSON.type === "checkbox") { + return ( + + ); + } else { + // handle unsupported types or throw an error + console.warn("Unsupported question type:", questionJSON.type); + return null; + } + })} +
+ ); +} diff --git a/apps/nextjs/src/app/(authenticated)/onboarding/_components/welcome-form.tsx b/apps/nextjs/src/app/(authenticated)/onboarding/_components/welcome-form.tsx new file mode 100644 index 00000000..4236d5b7 --- /dev/null +++ b/apps/nextjs/src/app/(authenticated)/onboarding/_components/welcome-form.tsx @@ -0,0 +1,112 @@ +"use client"; + +import { useRouter } from "next/navigation"; + +import type { NewPatient } from "@acme/api/src/validators"; +import { newPatientSchema } from "@acme/api/src/validators"; +import { Button } from "@acme/ui/button"; +import { + Form, + FormControl, + FormDescription, + FormField, + FormItem, + FormLabel, + FormMessage, +} from "@acme/ui/form"; +import { Input } from "@acme/ui/input"; +import { RadioGroup, RadioGroupItem } from "@acme/ui/radio-group"; +import { useToast } from "@acme/ui/use-toast"; + +import { useZodForm } from "~/lib/zod-form"; + +export const WelcomeForm = (props: { + onSuccess?: (data: NewPatient) => void; +}) => { + const router = useRouter(); + const toaster = useToast(); + + const form = useZodForm({ + schema: newPatientSchema, + defaultValues: { + name: "", + address: "", + phoneNumber: "", + }, + }); + + async function onSubmit(data: NewPatient) { + try { + // const projectId = await api.project.create.mutate(data); TODO + if (props.onSuccess) { + props.onSuccess({ + ...data, + }); + } else { + router.push(`/onboarding`); + } + toaster.toast({ + title: "You submitted the following values:", + description: ( +
+            {JSON.stringify(data, null, 2)}
+          
+ ), + }); + } catch (error) { + toaster.toast({ + title: "Error submitting answer", + variant: "destructive", + description: + "An issue occurred while submitting answer. Please try again.", + }); + } + } + + return ( +
+ + ( + + {`Name`} + + + + + + )} + /> + ( + + {`Address`} + + + + + + )} + /> + ( + + {`Phone number`} + + + + + + )} + /> + + + + ); +}; diff --git a/apps/nextjs/src/app/(authenticated)/onboarding/layout.tsx b/apps/nextjs/src/app/(authenticated)/onboarding/layout.tsx new file mode 100644 index 00000000..60978024 --- /dev/null +++ b/apps/nextjs/src/app/(authenticated)/onboarding/layout.tsx @@ -0,0 +1,24 @@ +import * as React from "react"; +import Link from "next/link"; + +export default function OnboardingLayout({ + children, +}: { + children: React.ReactNode; +}) { + return ( + <> +
+
+ +

Logo

+ +
+
Get Help
+
+
+ {children} +
+ + ); +} diff --git a/apps/nextjs/src/app/(authenticated)/onboarding/multi-step-form.tsx b/apps/nextjs/src/app/(authenticated)/onboarding/multi-step-form.tsx new file mode 100644 index 00000000..de1da750 --- /dev/null +++ b/apps/nextjs/src/app/(authenticated)/onboarding/multi-step-form.tsx @@ -0,0 +1,31 @@ +"use client"; + +import { useState } from "react"; +import { useSearchParams } from "next/navigation"; +import { AnimatePresence } from "framer-motion"; + +import { Done } from "./steps/done"; +import Welcome from "./steps/welcome"; + +export function Onboarding(props: { templateId: string }) { + const { templateId } = props; + + const search = useSearchParams(); + const step = search.get("step"); + + return ( +
+ + {!step && } + {step === "consent" &&
test
} + {step === "questionnaire" && ( // can increment query param for each section +
test
+ )} + {step === "review" &&
test
} + {step === "schedule-appointment" &&
test
} + {step === "next-steps" &&
test
} + {step === "done" && } +
+
+ ); +} diff --git a/apps/nextjs/src/app/(authenticated)/onboarding/page.tsx b/apps/nextjs/src/app/(authenticated)/onboarding/page.tsx new file mode 100644 index 00000000..ededa27b --- /dev/null +++ b/apps/nextjs/src/app/(authenticated)/onboarding/page.tsx @@ -0,0 +1,13 @@ +import { Onboarding } from "./multi-step-form"; + +export const runtime = "edge"; + +export default function OnboardingPage() { + return ( + <> + + +
+ + ); +} diff --git a/apps/nextjs/src/app/(authenticated)/onboarding/steps/done.tsx b/apps/nextjs/src/app/(authenticated)/onboarding/steps/done.tsx new file mode 100644 index 00000000..53916971 --- /dev/null +++ b/apps/nextjs/src/app/(authenticated)/onboarding/steps/done.tsx @@ -0,0 +1,64 @@ +import { useEffect, useTransition } from "react"; +import { useRouter, useSearchParams } from "next/navigation"; +import { motion } from "framer-motion"; + +export function Done() { + const router = useRouter(); + const search = useSearchParams(); + const step = search.get("step"); + + const [_, startTransition] = useTransition(); + useEffect(() => { + if (step === "done") { + setTimeout(() => { + startTransition(() => { + router.push(`/dashboard`); + router.refresh(); + }); + }, 2000); + } + }, [router, step]); + + return ( + + +

+ You are all set! +

+

+ Congratulations, you have successfully finished the condition + assessment. Check out the{" "} + + Clinical Docs + {" "} + to learn more on our treatment process. +

+

+ You will be redirected to your patient dashboard momentarily. +

+
+
+ ); +} diff --git a/apps/nextjs/src/app/(authenticated)/onboarding/steps/welcome.tsx b/apps/nextjs/src/app/(authenticated)/onboarding/steps/welcome.tsx new file mode 100644 index 00000000..c9089fd6 --- /dev/null +++ b/apps/nextjs/src/app/(authenticated)/onboarding/steps/welcome.tsx @@ -0,0 +1,65 @@ +"use client"; + +import { useRouter } from "next/navigation"; +import { motion } from "framer-motion"; +import { Balancer } from "react-wrap-balancer"; + +import { Button } from "@acme/ui/button"; + +import { useDebounce } from "~/lib/use-debounce"; +import { WelcomeForm } from "../_components/welcome-form"; + +export default function Welcome() { + const router = useRouter(); + + const showText = useDebounce(true, 800); + + return ( + + + + {`Question 1`} + + + router.push("/onboarding?step=consent")} + /> + + + + ); +} diff --git a/apps/nextjs/src/app/_components/all-patients.tsx b/apps/nextjs/src/app/(landing)/_components/all-patients.tsx similarity index 97% rename from apps/nextjs/src/app/_components/all-patients.tsx rename to apps/nextjs/src/app/(landing)/_components/all-patients.tsx index f19fcfa6..64ee89cd 100644 --- a/apps/nextjs/src/app/_components/all-patients.tsx +++ b/apps/nextjs/src/app/(landing)/_components/all-patients.tsx @@ -1,6 +1,6 @@ "use client"; -import { api } from "~/utils/api"; +import { api } from "~/trpc/react"; export function AllPatients() { const { diff --git a/apps/nextjs/src/app/_components/auth-showcase.tsx b/apps/nextjs/src/app/(landing)/_components/auth-showcase.tsx similarity index 100% rename from apps/nextjs/src/app/_components/auth-showcase.tsx rename to apps/nextjs/src/app/(landing)/_components/auth-showcase.tsx diff --git a/apps/nextjs/src/app/_components/posts.tsx b/apps/nextjs/src/app/(landing)/_components/posts.tsx similarity index 97% rename from apps/nextjs/src/app/_components/posts.tsx rename to apps/nextjs/src/app/(landing)/_components/posts.tsx index f0310899..641c270f 100644 --- a/apps/nextjs/src/app/_components/posts.tsx +++ b/apps/nextjs/src/app/(landing)/_components/posts.tsx @@ -2,8 +2,8 @@ import { useState } from "react"; -import { api } from "~/utils/api"; -import type { RouterOutputs } from "~/utils/api"; +import { api } from "~/trpc/react"; +import type { RouterOutputs } from "~/trpc/shared"; export function CreatePostForm() { const context = api.useContext(); diff --git a/apps/nextjs/src/app/(landing)/layout.tsx b/apps/nextjs/src/app/(landing)/layout.tsx new file mode 100644 index 00000000..f15b0ded --- /dev/null +++ b/apps/nextjs/src/app/(landing)/layout.tsx @@ -0,0 +1,58 @@ +import "~/styles/globals.css"; + +import type { Metadata } from "next"; +import { Inter as FontSans } from "next/font/google"; +import LocalFont from "next/font/local"; +import { cookies } from "next/headers"; + +import { cn } from "@acme/ui"; + +import { TRPCReactProvider } from "~/trpc/react"; + +const fontSans = FontSans({ + subsets: ["latin"], + variable: "--font-sans", +}); +const fontCal = LocalFont({ + src: "../../../public/fonts/CalSans-SemiBold.ttf", + variable: "--font-cal", + display: "swap", +}); + +export const metadata: Metadata = { + title: "Create T3 Turbo", + description: "Simple monorepo with shared backend for web & mobile apps", + openGraph: { + title: "Create T3 Turbo", + description: "Simple monorepo with shared backend for web & mobile apps", + url: "https://create-t3-turbo.vercel.app", + siteName: "Create T3 Turbo", + }, + twitter: { + card: "summary_large_image", + site: "@jullerino", + creator: "@jullerino", + }, +}; + +export default function RootLayout({ + children, +}: { + children: React.ReactNode; +}) { + return ( + + + + {children} + + + + ); +} diff --git a/apps/nextjs/src/app/page.tsx b/apps/nextjs/src/app/(landing)/page.tsx similarity index 89% rename from apps/nextjs/src/app/page.tsx rename to apps/nextjs/src/app/(landing)/page.tsx index 0670930b..8ffba8bb 100644 --- a/apps/nextjs/src/app/page.tsx +++ b/apps/nextjs/src/app/(landing)/page.tsx @@ -1,4 +1,5 @@ import { Suspense } from "react"; +import Link from "next/link"; import { AllPatients } from "./_components/all-patients"; import { AuthShowcase } from "./_components/auth-showcase"; @@ -18,6 +19,9 @@ export default function HomePage() { Create T3 Turbo + +

Onboarding

+ diff --git a/apps/nextjs/src/app/api/trpc/[trpc]/route.ts b/apps/nextjs/src/app/api/trpc/[trpc]/route.ts index 2c8c47ce..cd052e02 100644 --- a/apps/nextjs/src/app/api/trpc/[trpc]/route.ts +++ b/apps/nextjs/src/app/api/trpc/[trpc]/route.ts @@ -30,7 +30,8 @@ const handler = auth(async (req) => { endpoint: "/api/trpc", router: appRouter, req, - createContext: () => createTRPCContext({ auth: req.auth, req }), + createContext: () => + createTRPCContext({ auth: req.auth, headers: req.headers }), onError({ error, path }) { console.error(`>>> tRPC Error on '${path}'`, error); }, diff --git a/apps/nextjs/src/app/layout.tsx b/apps/nextjs/src/app/layout.tsx deleted file mode 100644 index 19f7f8cd..00000000 --- a/apps/nextjs/src/app/layout.tsx +++ /dev/null @@ -1,48 +0,0 @@ -import type { Metadata } from "next"; -import { Inter } from "next/font/google"; - -import "~/styles/globals.css"; - -import { headers } from "next/headers"; - -import { TRPCReactProvider } from "./providers"; - -const fontSans = Inter({ - subsets: ["latin"], - variable: "--font-sans", -}); - -/** - * Since we're passing `headers()` to the `TRPCReactProvider` we need to - * make the entire app dynamic. You can move the `TRPCReactProvider` further - * down the tree (e.g. /dashboard and onwards) to make part of the app statically rendered. - */ -export const dynamic = "force-dynamic"; - -export const metadata: Metadata = { - title: "Create T3 Turbo", - description: "Simple monorepo with shared backend for web & mobile apps", - openGraph: { - title: "Create T3 Turbo", - description: "Simple monorepo with shared backend for web & mobile apps", - url: "https://create-t3-turbo.vercel.app", - siteName: "Create T3 Turbo", - }, - twitter: { - card: "summary_large_image", - site: "@jullerino", - creator: "@jullerino", - }, -}; - -export default function Layout(props: { children: React.ReactNode }) { - return ( - - - - {props.children} - - - - ); -} diff --git a/apps/nextjs/src/app/providers.tsx b/apps/nextjs/src/app/providers.tsx deleted file mode 100644 index 0260e632..00000000 --- a/apps/nextjs/src/app/providers.tsx +++ /dev/null @@ -1,66 +0,0 @@ -"use client"; - -import { useState } from "react"; -import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; -import { ReactQueryDevtools } from "@tanstack/react-query-devtools"; -import { ReactQueryStreamedHydration } from "@tanstack/react-query-next-experimental"; -import { loggerLink, unstable_httpBatchStreamLink } from "@trpc/client"; -import superjson from "superjson"; - -import { env } from "~/env.mjs"; -import { api } from "~/utils/api"; - -const getBaseUrl = () => { - if (typeof window !== "undefined") return ""; // browser should use relative url - if (env.VERCEL_URL) return env.VERCEL_URL; // SSR should use vercel url - - return `http://localhost:${env.PORT}`; // dev SSR should use localhost -}; - -export function TRPCReactProvider(props: { - children: React.ReactNode; - headers?: Headers; -}) { - const [queryClient] = useState( - () => - new QueryClient({ - defaultOptions: { - queries: { - staleTime: 5 * 1000, - }, - }, - }), - ); - - const [trpcClient] = useState(() => - api.createClient({ - transformer: superjson, - links: [ - loggerLink({ - enabled: (opts) => - process.env.NODE_ENV === "development" || - (opts.direction === "down" && opts.result instanceof Error), - }), - unstable_httpBatchStreamLink({ - url: `${getBaseUrl()}/api/trpc`, - headers() { - const headers = new Map(props.headers); - headers.set("x-trpc-source", "nextjs-react"); - return Object.fromEntries(headers); - }, - }), - ], - }), - ); - - return ( - - - - {props.children} - - - - - ); -} diff --git a/apps/nextjs/src/lib/use-debounce.tsx b/apps/nextjs/src/lib/use-debounce.tsx new file mode 100644 index 00000000..6b6d3212 --- /dev/null +++ b/apps/nextjs/src/lib/use-debounce.tsx @@ -0,0 +1,17 @@ +import { useEffect, useState } from "react"; + +export function useDebounce(value: T, delay: number) { + const [debouncedValue, setDebouncedValue] = useState(value); + + useEffect(() => { + const timeoutId = setTimeout(() => { + setDebouncedValue(value); + }, delay); + + return () => { + clearTimeout(timeoutId); + }; + }, [value, delay]); + + return debouncedValue; +} diff --git a/apps/nextjs/src/lib/utils.ts b/apps/nextjs/src/lib/utils.ts new file mode 100644 index 00000000..0ac4a5a4 --- /dev/null +++ b/apps/nextjs/src/lib/utils.ts @@ -0,0 +1,15 @@ +import { format } from "date-fns"; + +export function wait(ms: number) { + return new Promise((resolve) => setTimeout(resolve, ms)); +} + +export function formatDate(date: Date) { + return format(date, "LLL dd, y"); +} + +export function notEmpty( + value: TValue | null | undefined, +): value is TValue { + return value !== null && value !== undefined; +} diff --git a/apps/nextjs/src/lib/zod-form.tsx b/apps/nextjs/src/lib/zod-form.tsx new file mode 100644 index 00000000..6cc636cb --- /dev/null +++ b/apps/nextjs/src/lib/zod-form.tsx @@ -0,0 +1,18 @@ +import { zodResolver } from "@hookform/resolvers/zod"; +import { useForm } from "react-hook-form"; +import type { UseFormProps } from "react-hook-form"; +import type { ZodType } from "zod"; + +export function useZodForm( + props: Omit, "resolver"> & { + schema: TSchema; + defaultValues?: TSchema["_input"]; + }, +) { + const form = useForm({ + ...props, + resolver: zodResolver(props.schema, undefined), + }); + + return form; +} diff --git a/apps/nextjs/src/styles/globals.css b/apps/nextjs/src/styles/globals.css index b5c61c95..3640b066 100644 --- a/apps/nextjs/src/styles/globals.css +++ b/apps/nextjs/src/styles/globals.css @@ -1,3 +1,83 @@ @tailwind base; @tailwind components; @tailwind utilities; + +@layer base { + :root { + --background: 0 0% 100%; + --foreground: 222.2 47.4% 11.2%; + + --muted: 210 40% 96.1%; + --muted-foreground: 215.4 16.3% 46.9%; + + --popover: 0 0% 100%; + --popover-foreground: 222.2 47.4% 11.2%; + + --border: 214.3 31.8% 91.4%; + --input: 214.3 31.8% 91.4%; + + --card: 0 0% 100%; + --card-foreground: 222.2 47.4% 11.2%; + + --primary: 222.2 47.4% 11.2%; + --primary-foreground: 210 40% 98%; + + --secondary: 210 40% 96.1%; + --secondary-foreground: 222.2 47.4% 11.2%; + + --accent: 210 40% 96.1%; + --accent-foreground: 222.2 47.4% 11.2%; + + --destructive: 0 100% 50%; + --destructive-foreground: 210 40% 98%; + + --ring: 215 20.2% 65.1%; + + --radius: 0.5rem; + } + + .dark { + --background: 224 71% 4%; + --foreground: 213 31% 91%; + + --muted: 223 47% 11%; + --muted-foreground: 215.4 16.3% 56.9%; + + --accent: 216 34% 17%; + --accent-foreground: 210 40% 98%; + + --popover: 224 71% 4%; + --popover-foreground: 215 20.2% 65.1%; + + --border: 216 34% 17%; + --input: 216 34% 17%; + + --card: 224 71% 4%; + --card-foreground: 213 31% 91%; + + --primary: 210 40% 98%; + --primary-foreground: 222.2 47.4% 1.2%; + + --secondary: 222.2 47.4% 11.2%; + --secondary-foreground: 210 40% 98%; + + --destructive: 0 63% 31%; + --destructive-foreground: 210 40% 98%; + + --ring: 216 34% 17%; + + --radius: 0.5rem; + } +} + +@layer base { + * { + @apply border-border; + } + body { + @apply bg-background text-foreground; + font-feature-settings: + "rlig" 1, + "calt" 1; + } +} diff --git a/apps/nextjs/src/trpc/react.tsx b/apps/nextjs/src/trpc/react.tsx new file mode 100644 index 00000000..790a0364 --- /dev/null +++ b/apps/nextjs/src/trpc/react.tsx @@ -0,0 +1,49 @@ +"use client"; + +import { useState } from "react"; +import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; +import { loggerLink, unstable_httpBatchStreamLink } from "@trpc/client"; +import { createTRPCReact } from "@trpc/react-query"; + +import type { AppRouter } from "@acme/api"; + +import { getUrl, transformer } from "./shared"; + +export const api = createTRPCReact(); + +export function TRPCReactProvider(props: { + children: React.ReactNode; + cookies: string; +}) { + const [queryClient] = useState(() => new QueryClient()); + + const [trpcClient] = useState(() => + api.createClient({ + transformer, + links: [ + loggerLink({ + enabled: (op) => + process.env.NODE_ENV === "development" || + (op.direction === "down" && op.result instanceof Error), + }), + unstable_httpBatchStreamLink({ + url: getUrl(), + headers() { + return { + cookie: props.cookies, + "x-trpc-source": "react", + }; + }, + }), + ], + }), + ); + + return ( + + + {props.children} + + + ); +} diff --git a/apps/nextjs/src/trpc/server.ts b/apps/nextjs/src/trpc/server.ts new file mode 100644 index 00000000..393b6ef8 --- /dev/null +++ b/apps/nextjs/src/trpc/server.ts @@ -0,0 +1,65 @@ +import "server-only"; + +import { cache } from "react"; +import { cookies } from "next/headers"; +import { + createTRPCProxyClient, + loggerLink, + TRPCClientError, +} from "@trpc/client"; +import { callProcedure } from "@trpc/server"; +import { observable } from "@trpc/server/observable"; +import type { TRPCErrorResponse } from "@trpc/server/rpc"; + +import { appRouter, createTRPCContext } from "@acme/api"; + +import { transformer } from "./shared"; + +/** + * This wraps the `createTRPCContext` helper and provides the required context for the tRPC API when + * handling a tRPC call from a React Server Component. + */ +const createContext = cache(() => { + return createTRPCContext({ + headers: new Headers({ + cookie: cookies().toString(), + "x-trpc-source": "rsc", + }), + }); +}); + +export const api = createTRPCProxyClient({ + transformer, + links: [ + loggerLink({ + enabled: (op) => + process.env.NODE_ENV === "development" || + (op.direction === "down" && op.result instanceof Error), + }), + /** + * Custom RSC link that lets us invoke procedures without using http requests. Since Server + * Components always run on the server, we can just call the procedure as a function. + */ + () => + ({ op }) => + observable((observer) => { + createContext() + .then((ctx) => { + return callProcedure({ + procedures: appRouter._def.procedures, + path: op.path, + rawInput: op.input, + ctx, + type: op.type, + }); + }) + .then((data) => { + observer.next({ result: { data } }); + observer.complete(); + }) + .catch((cause: TRPCErrorResponse) => { + observer.error(TRPCClientError.from(cause)); + }); + }), + ], +}); diff --git a/apps/nextjs/src/trpc/shared.ts b/apps/nextjs/src/trpc/shared.ts new file mode 100644 index 00000000..8da86f61 --- /dev/null +++ b/apps/nextjs/src/trpc/shared.ts @@ -0,0 +1,30 @@ +import type { inferRouterInputs, inferRouterOutputs } from "@trpc/server"; +import superjson from "superjson"; + +import type { AppRouter } from "@acme/api"; + +export const transformer = superjson; + +function getBaseUrl() { + if (typeof window !== "undefined") return ""; + if (process.env.VERCEL_URL) return `https://${process.env.VERCEL_URL}`; + return `http://localhost:${process.env.PORT ?? 3000}`; +} + +export function getUrl() { + return getBaseUrl() + "/api/trpc"; +} + +/** + * Inference helper for inputs. + * + * @example type HelloInput = RouterInputs['example']['hello'] + */ +export type RouterInputs = inferRouterInputs; + +/** + * Inference helper for outputs. + * + * @example type HelloOutput = RouterOutputs['example']['hello'] + */ +export type RouterOutputs = inferRouterOutputs; diff --git a/apps/nextjs/src/utils/api.ts b/apps/nextjs/src/utils/api.ts deleted file mode 100644 index 4a230f6e..00000000 --- a/apps/nextjs/src/utils/api.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { createTRPCReact } from "@trpc/react-query"; - -import type { AppRouter } from "@acme/api"; - -export const api = createTRPCReact(); - -export { type RouterInputs, type RouterOutputs } from "@acme/api"; diff --git a/package.json b/package.json index a697df2e..769f1641 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,6 @@ "build": "turbo build", "clean": "git clean -xdf node_modules", "clean:workspaces": "turbo clean", - "postinstall": "pnpm lint:ws", "db:push": "pnpm -F db push", "db:studio": "pnpm -F db studio", "dev": "turbo dev --parallel", @@ -21,11 +20,11 @@ "typecheck": "turbo typecheck" }, "devDependencies": { - "@acme/prettier-config": "workspace:^0.1.0", + "@acme/prettier-config": "workspace:^", "@turbo/gen": "^1.10.16", "prettier": "^3.1.0", "turbo": "^1.10.16", - "typescript": "^5.2.2" + "typescript": "^5.3.2" }, "pnpm": { "overrides": { diff --git a/packages/api/package.json b/packages/api/package.json index aae58c17..dec90cf0 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -12,21 +12,26 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@acme/auth": "workspace:^0.1.0", - "@acme/db": "workspace:^0.1.0", - "@trpc/client": "next", - "@trpc/server": "next", - "superjson": "2.2.0", - "zod": "^3.22.2" + "@acme/auth": "workspace:^", + "@acme/db": "workspace:^", + "@trpc/client": "^10.43.6", + "@trpc/server": "^10.43.6", + "openapi-typescript-codegen": "^0.25.0", + "superjson": "^2.2.1", + "zod": "^3.22.4" }, "devDependencies": { - "@acme/eslint-config": "workspace:^0.2.0", - "@acme/prettier-config": "workspace:^0.1.0", - "@acme/tsconfig": "workspace:^0.1.0", + "@acme/eslint-config": "workspace:^", + "@acme/prettier-config": "workspace:^", + "@acme/tsconfig": "workspace:^", "@types/fhir": "^0.0.40", - "eslint": "^8.53.0", + "eslint": "^8.54.0", + "openapi-typescript": "^6.7.1", + "openapi-zod-client": "1.13.1", "prettier": "^3.1.0", - "typescript": "^5.2.2" + "ts-to-zod": "^3.4.0", + "typed-openapi": "^0.3.0", + "typescript": "^5.3.2" }, "eslintConfig": { "root": true, diff --git a/packages/api/src/canvasApi.ts b/packages/api/src/canvasApi.ts index 2f7e88c0..5b3f8fe7 100644 --- a/packages/api/src/canvasApi.ts +++ b/packages/api/src/canvasApi.ts @@ -32,6 +32,7 @@ async function getNewAuthToken(): Promise { throw new Error(`Could not acquire new auth token: ${response.statusText}`); } + // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment const data: TokenResponse = await response.json(); token = data.access_token; tokenExpires = new Date(new Date().getTime() + data.expires_in * 1000); @@ -52,6 +53,7 @@ async function makeCanvasRequest(path: string): Promise { }); if (response.status === 401) { + // eslint-disable-next-line @typescript-eslint/no-unused-vars const newToken = await getNewAuthToken(); return makeCanvasRequest(path); // Retry the request with a new token } diff --git a/packages/api/src/canvasClient.ts b/packages/api/src/canvasClient.ts deleted file mode 100644 index 36597440..00000000 --- a/packages/api/src/canvasClient.ts +++ /dev/null @@ -1,80 +0,0 @@ -// canvasClient.ts -import { env } from "./env.mjs"; - -interface TokenResponse { - access_token: string; - expires_in: number; -} - -class CanvasClient { - private token: string | null = null; - private tokenExpires: Date | null = null; - - constructor( - private baseUrl: string, - private clientId: string, - private clientSecret: string, - ) {} - - private async getNewAuthToken(): Promise { - const url = this.baseUrl.replace("fumage-", ""); - const payload = new URLSearchParams({ - grant_type: "client_credentials", - client_id: this.clientId, - client_secret: this.clientSecret, - }); - - const response = await fetch(`${url}/auth/token/`, { - method: "POST", - headers: { "Content-Type": "application/x-www-form-urlencoded" }, - body: payload, - }); - - if (!response.ok) { - throw new Error( - `Could not acquire new auth token: ${response.statusText}`, - ); - } - - const data: TokenResponse = await response.json(); - this.token = data.access_token; - this.tokenExpires = new Date(new Date().getTime() + data.expires_in * 1000); - return this.token; - } - - private async refreshTokenIfNeeded(): Promise { - if (!this.token || !this.tokenExpires || this.tokenExpires <= new Date()) { - await this.getNewAuthToken(); - } - } - - async makeCanvasRequest(path: string): Promise { - await this.refreshTokenIfNeeded(); - - const response = await fetch(`${this.baseUrl}${path}`, { - method: "GET", - headers: { Authorization: `Bearer ${this.token}` }, - }); - - if (response.status === 401) { - // If token is expired, retry once - await this.getNewAuthToken(); - return this.makeCanvasRequest(path); // Retry the request - } - - if (!response.ok) { - throw new Error(response.statusText); - } - - return response.json(); - } -} - -// Create an instance of the CanvasClient -const canvasClient = new CanvasClient( - env.FUMAGE_BASE_URL, - env.CANVAS_API_CLIENT_ID, - env.CANVAS_API_CLIENT_SECRET, -); - -export default canvasClient; diff --git a/packages/api/src/openapi.json b/packages/api/src/openapi.json new file mode 100644 index 00000000..68783a35 --- /dev/null +++ b/packages/api/src/openapi.json @@ -0,0 +1,41025 @@ +{ + "openapi": "3.1.0", + "info": { + "title": "Fumage: the Canvas Medical FHIR API", + "description": "_Fumage is a surrealist art technique popularized by Wolfgang Paalen in which impressions are made by the smoke of a candle or kerosene lamp on a piece of paper or canvas._\n\nPaalen's first Fumage \"Dictated by a Candle\" was presented 1936 in the International Surrealist Exhibition in London. In the same year Paalen painted his first oil based on the fumage, \"Pays interdit\" (\"Forbidden Land\"). Several other Surrealists such as Roberto Matta and Salvador Dalí later utilized the technique, with Dali calling the technique \"sfumato\". The technique has been utilized by artists including Bimal Banerjee, Adam Blakemore, Alberto Burri, Burhan Doğançay, Jiri Georg Dokoupil, Hugh Parker Guiler, Yves Klein, Antonio Muñiz, and Otto Piene.", + "version": "1.0.0" + }, + "paths": { + "/metadata": { + "get": { + "tags": ["System"], + "summary": "capabilities", + "description": "The capabilities interaction retrieves the information about a server's capabilities - which portions of the FHIR specification it supports.", + "operationId": "fhirstarter|system|capabilities|get", + "parameters": [ + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/CapabilityStatement" } + } + } + } + } + } + }, + "/Allergen/{id}": { + "get": { + "tags": ["Type:Allergen"], + "summary": "Allergen read", + "description": "The Allergen read interaction accesses the current contents of a Allergen resource.", + "operationId": "fhirstarter|instance|read|get|Allergen", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Allergen read", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Allergen" } + } + } + }, + "401": { + "description": "Authentication is required for the Allergen read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Allergen read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "404": { + "description": "Unknown Allergen resource", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "not-found", + "details": { "text": "Resource not found" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/AllergyIntolerance/{id}": { + "get": { + "tags": ["Type:AllergyIntolerance"], + "summary": "AllergyIntolerance read", + "description": "The AllergyIntolerance read interaction accesses the current contents of a AllergyIntolerance resource.", + "operationId": "fhirstarter|instance|read|get|AllergyIntolerance", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful AllergyIntolerance read", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/AllergyIntolerance" } + } + } + }, + "401": { + "description": "Authentication is required for the AllergyIntolerance read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the AllergyIntolerance read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "404": { + "description": "Unknown AllergyIntolerance resource", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "not-found", + "details": { "text": "Resource not found" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + }, + "put": { + "tags": ["Type:AllergyIntolerance"], + "summary": "AllergyIntolerance update", + "description": "The AllergyIntolerance update interaction creates a new current version for an existing AllergyIntolerance resource.", + "operationId": "fhirstarter|instance|update|put|AllergyIntolerance", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "requestBody": { + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/AllergyIntolerance" } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Successful AllergyIntolerance update", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/AllergyIntolerance" } + } + } + }, + "400": { + "description": "AllergyIntolerance update request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the AllergyIntolerance update interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the AllergyIntolerance update interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "422": { + "description": "The proposed AllergyIntolerance resource violated applicable FHIR profiles or server business rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "processing", + "details": { "text": "Unprocessable entity" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/AllergyIntolerance": { + "get": { + "tags": ["Type:AllergyIntolerance"], + "summary": "AllergyIntolerance search-type", + "description": "The AllergyIntolerance search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|get|AllergyIntolerance", + "parameters": [ + { + "description": "Who the sensitivity is for", + "required": false, + "schema": { + "type": "string", + "title": "Patient", + "description": "Who the sensitivity is for" + }, + "name": "patient", + "in": "query" + }, + { + "description": "Logical id of this artifact", + "required": false, + "schema": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "name": "_id", + "in": "query" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful AllergyIntolerance search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "AllergyIntolerance search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the AllergyIntolerance search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the AllergyIntolerance search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + }, + "post": { + "tags": ["Type:AllergyIntolerance"], + "summary": "AllergyIntolerance create", + "description": "The AllergyIntolerance create interaction creates a new AllergyIntolerance resource in a server-assigned location.", + "operationId": "fhirstarter|type|create|post|AllergyIntolerance", + "parameters": [ + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "requestBody": { + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/AllergyIntolerance" } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Successful AllergyIntolerance create", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/AllergyIntolerance" } + } + } + }, + "400": { + "description": "AllergyIntolerance create request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the AllergyIntolerance create interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the AllergyIntolerance create interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "422": { + "description": "The proposed AllergyIntolerance resource violated applicable FHIR profiles or server business rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "processing", + "details": { "text": "Unprocessable entity" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/AllergyIntolerance/_search": { + "post": { + "tags": ["Type:AllergyIntolerance"], + "summary": "AllergyIntolerance search-type", + "description": "The AllergyIntolerance search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|post|AllergyIntolerance", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "properties": { + "patient": { + "type": "string", + "title": "Patient", + "description": "Who the sensitivity is for" + }, + "_id": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "_format": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "_pretty": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + } + }, + "type": "object", + "title": "Body_fhirstarter|type|search-type|post|AllergyIntolerance" + } + } + } + }, + "responses": { + "200": { + "description": "Successful AllergyIntolerance search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "AllergyIntolerance search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the AllergyIntolerance search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the AllergyIntolerance search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Appointment/{id}": { + "get": { + "tags": ["Type:Appointment"], + "summary": "Appointment read", + "description": "The Appointment read interaction accesses the current contents of a Appointment resource.", + "operationId": "fhirstarter|instance|read|get|Appointment", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Appointment read", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Appointment" } + } + } + }, + "401": { + "description": "Authentication is required for the Appointment read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Appointment read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "404": { + "description": "Unknown Appointment resource", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "not-found", + "details": { "text": "Resource not found" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + }, + "put": { + "tags": ["Type:Appointment"], + "summary": "Appointment update", + "description": "The Appointment update interaction creates a new current version for an existing Appointment resource.", + "operationId": "fhirstarter|instance|update|put|Appointment", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "requestBody": { + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Appointment" } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Successful Appointment update", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Appointment" } + } + } + }, + "400": { + "description": "Appointment update request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Appointment update interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Appointment update interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "422": { + "description": "The proposed Appointment resource violated applicable FHIR profiles or server business rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "processing", + "details": { "text": "Unprocessable entity" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Appointment": { + "get": { + "tags": ["Type:Appointment"], + "summary": "Appointment search-type", + "description": "The Appointment search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|get|Appointment", + "parameters": [ + { + "description": "The style of appointment or patient that has been booked in the slot (not service type)", + "required": false, + "schema": { + "type": "string", + "title": "Appointment-Type", + "description": "The style of appointment or patient that has been booked in the slot (not service type)" + }, + "name": "appointment-type", + "in": "query" + }, + { + "description": "Appointment date/time.", + "required": false, + "schema": { + "items": { "type": "string" }, + "type": "array", + "title": "Date", + "description": "Appointment date/time." + }, + "name": "date", + "in": "query" + }, + { + "description": "This location is listed in the participants of the appointment", + "required": false, + "schema": { + "type": "string", + "title": "Location", + "description": "This location is listed in the participants of the appointment" + }, + "name": "location", + "in": "query" + }, + { + "description": "One of the individuals of the appointment is this patient", + "required": false, + "schema": { + "type": "string", + "title": "Patient", + "description": "One of the individuals of the appointment is this patient" + }, + "name": "patient", + "in": "query" + }, + { + "description": "One of the individuals of the appointment is this practitioner", + "required": false, + "schema": { + "type": "string", + "title": "Practitioner", + "description": "One of the individuals of the appointment is this practitioner" + }, + "name": "practitioner", + "in": "query" + }, + { + "description": "The overall status of the appointment", + "required": false, + "schema": { + "type": "string", + "title": "Status", + "description": "The overall status of the appointment" + }, + "name": "status", + "in": "query" + }, + { + "description": "Logical id of this artifact", + "required": false, + "schema": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "name": "_id", + "in": "query" + }, + { + "description": "Number of results per page", + "required": false, + "schema": { + "type": "string", + "title": " Count", + "description": "Number of results per page" + }, + "name": "_count", + "in": "query" + }, + { + "description": "Order to sort results in (can repeat for inner sort orders)", + "required": false, + "schema": { + "type": "string", + "title": " Sort", + "description": "Order to sort results in (can repeat for inner sort orders)" + }, + "name": "_sort", + "in": "query" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Appointment search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Appointment search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Appointment search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Appointment search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + }, + "post": { + "tags": ["Type:Appointment"], + "summary": "Appointment create", + "description": "The Appointment create interaction creates a new Appointment resource in a server-assigned location.", + "operationId": "fhirstarter|type|create|post|Appointment", + "parameters": [ + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "requestBody": { + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Appointment" } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Successful Appointment create", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Appointment" } + } + } + }, + "400": { + "description": "Appointment create request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Appointment create interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Appointment create interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "422": { + "description": "The proposed Appointment resource violated applicable FHIR profiles or server business rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "processing", + "details": { "text": "Unprocessable entity" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Appointment/_search": { + "post": { + "tags": ["Type:Appointment"], + "summary": "Appointment search-type", + "description": "The Appointment search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|post|Appointment", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "properties": { + "appointment-type": { + "type": "string", + "title": "Appointment-Type", + "description": "The style of appointment or patient that has been booked in the slot (not service type)" + }, + "date": { + "items": { "type": "string" }, + "type": "array", + "title": "Date", + "description": "Appointment date/time." + }, + "location": { + "type": "string", + "title": "Location", + "description": "This location is listed in the participants of the appointment" + }, + "patient": { + "type": "string", + "title": "Patient", + "description": "One of the individuals of the appointment is this patient" + }, + "practitioner": { + "type": "string", + "title": "Practitioner", + "description": "One of the individuals of the appointment is this practitioner" + }, + "status": { + "type": "string", + "title": "Status", + "description": "The overall status of the appointment" + }, + "_id": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "_count": { + "type": "string", + "title": " Count", + "description": "Number of results per page" + }, + "_sort": { + "type": "string", + "title": " Sort", + "description": "Order to sort results in (can repeat for inner sort orders)" + }, + "_format": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "_pretty": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + } + }, + "type": "object", + "title": "Body_fhirstarter|type|search-type|post|Appointment" + } + } + } + }, + "responses": { + "200": { + "description": "Successful Appointment search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Appointment search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Appointment search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Appointment search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/CarePlan/{id}": { + "get": { + "tags": ["Type:CarePlan"], + "summary": "CarePlan read", + "description": "The CarePlan read interaction accesses the current contents of a CarePlan resource.", + "operationId": "fhirstarter|instance|read|get|CarePlan", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful CarePlan read", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/CarePlan" } + } + } + }, + "401": { + "description": "Authentication is required for the CarePlan read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the CarePlan read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "404": { + "description": "Unknown CarePlan resource", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "not-found", + "details": { "text": "Resource not found" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/CarePlan": { + "get": { + "tags": ["Type:CarePlan"], + "summary": "CarePlan search-type", + "description": "The CarePlan search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|get|CarePlan", + "parameters": [ + { + "description": "Type of plan", + "required": false, + "schema": { + "type": "string", + "title": "Category", + "description": "Type of plan" + }, + "name": "category", + "in": "query" + }, + { + "description": "Who the care plan is for", + "required": false, + "schema": { + "type": "string", + "title": "Patient", + "description": "Who the care plan is for" + }, + "name": "patient", + "in": "query" + }, + { + "description": "Logical id of this artifact", + "required": false, + "schema": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "name": "_id", + "in": "query" + }, + { + "description": "Other resources to include in the search results when they refer to search matches", + "required": false, + "schema": { + "type": "string", + "title": " Revinclude", + "description": "Other resources to include in the search results when they refer to search matches" + }, + "name": "_revinclude", + "in": "query" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful CarePlan search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "CarePlan search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the CarePlan search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the CarePlan search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/CarePlan/_search": { + "post": { + "tags": ["Type:CarePlan"], + "summary": "CarePlan search-type", + "description": "The CarePlan search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|post|CarePlan", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "properties": { + "category": { + "type": "string", + "title": "Category", + "description": "Type of plan" + }, + "patient": { + "type": "string", + "title": "Patient", + "description": "Who the care plan is for" + }, + "_id": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "_revinclude": { + "type": "string", + "title": " Revinclude", + "description": "Other resources to include in the search results when they refer to search matches" + }, + "_format": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "_pretty": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + } + }, + "type": "object", + "title": "Body_fhirstarter|type|search-type|post|CarePlan" + } + } + } + }, + "responses": { + "200": { + "description": "Successful CarePlan search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "CarePlan search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the CarePlan search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the CarePlan search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/CareTeam/{id}": { + "get": { + "tags": ["Type:CareTeam"], + "summary": "CareTeam read", + "description": "The CareTeam read interaction accesses the current contents of a CareTeam resource.", + "operationId": "fhirstarter|instance|read|get|CareTeam", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful CareTeam read", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/CareTeam" } + } + } + }, + "401": { + "description": "Authentication is required for the CareTeam read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the CareTeam read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "404": { + "description": "Unknown CareTeam resource", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "not-found", + "details": { "text": "Resource not found" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + }, + "put": { + "tags": ["Type:CareTeam"], + "summary": "CareTeam update", + "description": "The CareTeam update interaction creates a new current version for an existing CareTeam resource.", + "operationId": "fhirstarter|instance|update|put|CareTeam", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "requestBody": { + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/CareTeam" } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Successful CareTeam update", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/CareTeam" } + } + } + }, + "400": { + "description": "CareTeam update request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the CareTeam update interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the CareTeam update interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "422": { + "description": "The proposed CareTeam resource violated applicable FHIR profiles or server business rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "processing", + "details": { "text": "Unprocessable entity" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/CareTeam": { + "get": { + "tags": ["Type:CareTeam"], + "summary": "CareTeam search-type", + "description": "The CareTeam search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|get|CareTeam", + "parameters": [ + { + "description": "Who is involved", + "required": false, + "schema": { + "type": "string", + "title": "Participant", + "description": "Who is involved" + }, + "name": "participant", + "in": "query" + }, + { + "description": "Who care team is for", + "required": false, + "schema": { + "type": "string", + "title": "Patient", + "description": "Who care team is for" + }, + "name": "patient", + "in": "query" + }, + { + "description": "proposed | active | suspended | inactive | entered-in-error", + "required": false, + "schema": { + "type": "string", + "title": "Status", + "description": "proposed | active | suspended | inactive | entered-in-error" + }, + "name": "status", + "in": "query" + }, + { + "description": "Other resources to include in the search results when they refer to search matches", + "required": false, + "schema": { + "type": "string", + "title": " Revinclude", + "description": "Other resources to include in the search results when they refer to search matches" + }, + "name": "_revinclude", + "in": "query" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful CareTeam search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "CareTeam search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the CareTeam search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the CareTeam search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/CareTeam/_search": { + "post": { + "tags": ["Type:CareTeam"], + "summary": "CareTeam search-type", + "description": "The CareTeam search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|post|CareTeam", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "properties": { + "participant": { + "type": "string", + "title": "Participant", + "description": "Who is involved" + }, + "patient": { + "type": "string", + "title": "Patient", + "description": "Who care team is for" + }, + "status": { + "type": "string", + "title": "Status", + "description": "proposed | active | suspended | inactive | entered-in-error" + }, + "_revinclude": { + "type": "string", + "title": " Revinclude", + "description": "Other resources to include in the search results when they refer to search matches" + }, + "_format": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "_pretty": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + } + }, + "type": "object", + "title": "Body_fhirstarter|type|search-type|post|CareTeam" + } + } + } + }, + "responses": { + "200": { + "description": "Successful CareTeam search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "CareTeam search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the CareTeam search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the CareTeam search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Claim": { + "post": { + "tags": ["Type:Claim"], + "summary": "Claim create", + "description": "The Claim create interaction creates a new Claim resource in a server-assigned location.", + "operationId": "fhirstarter|type|create|post|Claim", + "parameters": [ + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "requestBody": { + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Claim" } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Successful Claim create", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Claim" } + } + } + }, + "400": { + "description": "Claim create request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Claim create interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Claim create interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "422": { + "description": "The proposed Claim resource violated applicable FHIR profiles or server business rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "processing", + "details": { "text": "Unprocessable entity" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Communication/{id}": { + "get": { + "tags": ["Type:Communication"], + "summary": "Communication read", + "description": "The Communication read interaction accesses the current contents of a Communication resource.", + "operationId": "fhirstarter|instance|read|get|Communication", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Communication read", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Communication" } + } + } + }, + "401": { + "description": "Authentication is required for the Communication read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Communication read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "404": { + "description": "Unknown Communication resource", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "not-found", + "details": { "text": "Resource not found" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Communication": { + "get": { + "tags": ["Type:Communication"], + "summary": "Communication search-type", + "description": "The Communication search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|get|Communication", + "parameters": [ + { + "description": "Message recipient", + "required": false, + "schema": { + "type": "string", + "title": "Recipient", + "description": "Message recipient" + }, + "name": "recipient", + "in": "query" + }, + { + "description": "Message sender", + "required": false, + "schema": { + "type": "string", + "title": "Sender", + "description": "Message sender" + }, + "name": "sender", + "in": "query" + }, + { + "description": "Logical id of this artifact", + "required": false, + "schema": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "name": "_id", + "in": "query" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Communication search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Communication search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Communication search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Communication search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + }, + "post": { + "tags": ["Type:Communication"], + "summary": "Communication create", + "description": "The Communication create interaction creates a new Communication resource in a server-assigned location.", + "operationId": "fhirstarter|type|create|post|Communication", + "parameters": [ + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "requestBody": { + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Communication" } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Successful Communication create", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Communication" } + } + } + }, + "400": { + "description": "Communication create request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Communication create interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Communication create interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "422": { + "description": "The proposed Communication resource violated applicable FHIR profiles or server business rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "processing", + "details": { "text": "Unprocessable entity" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Communication/_search": { + "post": { + "tags": ["Type:Communication"], + "summary": "Communication search-type", + "description": "The Communication search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|post|Communication", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "properties": { + "recipient": { + "type": "string", + "title": "Recipient", + "description": "Message recipient" + }, + "sender": { + "type": "string", + "title": "Sender", + "description": "Message sender" + }, + "_id": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "_format": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "_pretty": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + } + }, + "type": "object", + "title": "Body_fhirstarter|type|search-type|post|Communication" + } + } + } + }, + "responses": { + "200": { + "description": "Successful Communication search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Communication search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Communication search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Communication search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Condition/{id}": { + "get": { + "tags": ["Type:Condition"], + "summary": "Condition read", + "description": "The Condition read interaction accesses the current contents of a Condition resource.", + "operationId": "fhirstarter|instance|read|get|Condition", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Condition read", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Condition" } + } + } + }, + "401": { + "description": "Authentication is required for the Condition read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Condition read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "404": { + "description": "Unknown Condition resource", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "not-found", + "details": { "text": "Resource not found" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + }, + "put": { + "tags": ["Type:Condition"], + "summary": "Condition update", + "description": "The Condition update interaction creates a new current version for an existing Condition resource.", + "operationId": "fhirstarter|instance|update|put|Condition", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "requestBody": { + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Condition" } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Successful Condition update", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Condition" } + } + } + }, + "400": { + "description": "Condition update request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Condition update interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Condition update interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "422": { + "description": "The proposed Condition resource violated applicable FHIR profiles or server business rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "processing", + "details": { "text": "Unprocessable entity" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Condition": { + "get": { + "tags": ["Type:Condition"], + "summary": "Condition search-type", + "description": "The Condition search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|get|Condition", + "parameters": [ + { + "description": "The clinical status of the condition", + "required": false, + "schema": { + "type": "string", + "title": "Clinical-Status", + "description": "The clinical status of the condition" + }, + "name": "clinical-status", + "in": "query" + }, + { + "description": "Who has the condition?", + "required": false, + "schema": { + "type": "string", + "title": "Patient", + "description": "Who has the condition?" + }, + "name": "patient", + "in": "query" + }, + { + "description": "unconfirmed | provisional | differential | confirmed | refuted | entered-in-error", + "required": false, + "schema": { + "type": "string", + "title": "Verification-Status", + "description": "unconfirmed | provisional | differential | confirmed | refuted | entered-in-error" + }, + "name": "verification-status", + "in": "query" + }, + { + "description": "Logical id of this artifact", + "required": false, + "schema": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "name": "_id", + "in": "query" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Condition search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Condition search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Condition search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Condition search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + }, + "post": { + "tags": ["Type:Condition"], + "summary": "Condition create", + "description": "The Condition create interaction creates a new Condition resource in a server-assigned location.", + "operationId": "fhirstarter|type|create|post|Condition", + "parameters": [ + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "requestBody": { + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Condition" } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Successful Condition create", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Condition" } + } + } + }, + "400": { + "description": "Condition create request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Condition create interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Condition create interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "422": { + "description": "The proposed Condition resource violated applicable FHIR profiles or server business rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "processing", + "details": { "text": "Unprocessable entity" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Condition/_search": { + "post": { + "tags": ["Type:Condition"], + "summary": "Condition search-type", + "description": "The Condition search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|post|Condition", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "properties": { + "clinical-status": { + "type": "string", + "title": "Clinical-Status", + "description": "The clinical status of the condition" + }, + "patient": { + "type": "string", + "title": "Patient", + "description": "Who has the condition?" + }, + "verification-status": { + "type": "string", + "title": "Verification-Status", + "description": "unconfirmed | provisional | differential | confirmed | refuted | entered-in-error" + }, + "_id": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "_format": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "_pretty": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + } + }, + "type": "object", + "title": "Body_fhirstarter|type|search-type|post|Condition" + } + } + } + }, + "responses": { + "200": { + "description": "Successful Condition search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Condition search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Condition search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Condition search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Consent/{id}": { + "get": { + "tags": ["Type:Consent"], + "summary": "Consent read", + "description": "The Consent read interaction accesses the current contents of a Consent resource.", + "operationId": "fhirstarter|instance|read|get|Consent", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Consent read", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Consent" } + } + } + }, + "401": { + "description": "Authentication is required for the Consent read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Consent read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "404": { + "description": "Unknown Consent resource", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "not-found", + "details": { "text": "Resource not found" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Consent": { + "get": { + "tags": ["Type:Consent"], + "summary": "Consent search-type", + "description": "The Consent search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|get|Consent", + "parameters": [ + { + "description": "Who the consent applies to", + "required": false, + "schema": { + "type": "string", + "title": "Patient", + "description": "Who the consent applies to" + }, + "name": "patient", + "in": "query" + }, + { + "description": "Timeframe for this rule", + "required": false, + "schema": { + "items": { "type": "string" }, + "type": "array", + "title": "Period", + "description": "Timeframe for this rule" + }, + "name": "period", + "in": "query" + }, + { + "description": "Logical id of this artifact", + "required": false, + "schema": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "name": "_id", + "in": "query" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Consent search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Consent search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Consent search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Consent search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + }, + "post": { + "tags": ["Type:Consent"], + "summary": "Consent create", + "description": "The Consent create interaction creates a new Consent resource in a server-assigned location.", + "operationId": "fhirstarter|type|create|post|Consent", + "parameters": [ + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "requestBody": { + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Consent" } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Successful Consent create", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Consent" } + } + } + }, + "400": { + "description": "Consent create request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Consent create interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Consent create interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "422": { + "description": "The proposed Consent resource violated applicable FHIR profiles or server business rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "processing", + "details": { "text": "Unprocessable entity" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Consent/_search": { + "post": { + "tags": ["Type:Consent"], + "summary": "Consent search-type", + "description": "The Consent search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|post|Consent", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "properties": { + "patient": { + "type": "string", + "title": "Patient", + "description": "Who the consent applies to" + }, + "period": { + "items": { "type": "string" }, + "type": "array", + "title": "Period", + "description": "Timeframe for this rule" + }, + "_id": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "_format": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "_pretty": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + } + }, + "type": "object", + "title": "Body_fhirstarter|type|search-type|post|Consent" + } + } + } + }, + "responses": { + "200": { + "description": "Successful Consent search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Consent search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Consent search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Consent search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Coverage/{id}": { + "get": { + "tags": ["Type:Coverage"], + "summary": "Coverage read", + "description": "The Coverage read interaction accesses the current contents of a Coverage resource.", + "operationId": "fhirstarter|instance|read|get|Coverage", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Coverage read", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Coverage" } + } + } + }, + "401": { + "description": "Authentication is required for the Coverage read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Coverage read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "404": { + "description": "Unknown Coverage resource", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "not-found", + "details": { "text": "Resource not found" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + }, + "put": { + "tags": ["Type:Coverage"], + "summary": "Coverage update", + "description": "The Coverage update interaction creates a new current version for an existing Coverage resource.", + "operationId": "fhirstarter|instance|update|put|Coverage", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "requestBody": { + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Coverage" } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Successful Coverage update", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Coverage" } + } + } + }, + "400": { + "description": "Coverage update request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Coverage update interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Coverage update interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "422": { + "description": "The proposed Coverage resource violated applicable FHIR profiles or server business rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "processing", + "details": { "text": "Unprocessable entity" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Coverage": { + "get": { + "tags": ["Type:Coverage"], + "summary": "Coverage search-type", + "description": "The Coverage search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|get|Coverage", + "parameters": [ + { + "description": "Retrieve coverages for a patient", + "required": false, + "schema": { + "type": "string", + "title": "Patient", + "description": "Retrieve coverages for a patient" + }, + "name": "patient", + "in": "query" + }, + { + "description": "ID assigned to the subscriber by insurer", + "required": false, + "schema": { + "type": "string", + "title": "Subscriberid", + "description": "ID assigned to the subscriber by insurer" + }, + "name": "subscriberid", + "in": "query" + }, + { + "description": "Logical id of this artifact", + "required": false, + "schema": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "name": "_id", + "in": "query" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Coverage search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Coverage search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Coverage search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Coverage search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + }, + "post": { + "tags": ["Type:Coverage"], + "summary": "Coverage create", + "description": "The Coverage create interaction creates a new Coverage resource in a server-assigned location.", + "operationId": "fhirstarter|type|create|post|Coverage", + "parameters": [ + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "requestBody": { + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Coverage" } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Successful Coverage create", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Coverage" } + } + } + }, + "400": { + "description": "Coverage create request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Coverage create interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Coverage create interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "422": { + "description": "The proposed Coverage resource violated applicable FHIR profiles or server business rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "processing", + "details": { "text": "Unprocessable entity" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Coverage/_search": { + "post": { + "tags": ["Type:Coverage"], + "summary": "Coverage search-type", + "description": "The Coverage search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|post|Coverage", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "properties": { + "patient": { + "type": "string", + "title": "Patient", + "description": "Retrieve coverages for a patient" + }, + "subscriberid": { + "type": "string", + "title": "Subscriberid", + "description": "ID assigned to the subscriber by insurer" + }, + "_id": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "_format": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "_pretty": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + } + }, + "type": "object", + "title": "Body_fhirstarter|type|search-type|post|Coverage" + } + } + } + }, + "responses": { + "200": { + "description": "Successful Coverage search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Coverage search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Coverage search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Coverage search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/CoverageEligibilityRequest": { + "post": { + "tags": ["Type:CoverageEligibilityRequest"], + "summary": "CoverageEligibilityRequest create", + "description": "The CoverageEligibilityRequest create interaction creates a new CoverageEligibilityRequest resource in a server-assigned location.", + "operationId": "fhirstarter|type|create|post|CoverageEligibilityRequest", + "parameters": [ + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "requestBody": { + "content": { + "application/fhir+json": { + "schema": { + "$ref": "#/components/schemas/CoverageEligibilityRequest" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Successful CoverageEligibilityRequest create", + "content": { + "application/fhir+json": { + "schema": { + "$ref": "#/components/schemas/CoverageEligibilityRequest" + } + } + } + }, + "400": { + "description": "CoverageEligibilityRequest create request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the CoverageEligibilityRequest create interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the CoverageEligibilityRequest create interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "422": { + "description": "The proposed CoverageEligibilityRequest resource violated applicable FHIR profiles or server business rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "processing", + "details": { "text": "Unprocessable entity" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/CoverageEligibilityResponse": { + "get": { + "tags": ["Type:CoverageEligibilityResponse"], + "summary": "CoverageEligibilityResponse search-type", + "description": "The CoverageEligibilityResponse search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|get|CoverageEligibilityResponse", + "parameters": [ + { + "description": "The EligibilityRequest reference", + "required": false, + "schema": { + "type": "string", + "title": "Request", + "description": "The EligibilityRequest reference" + }, + "name": "request", + "in": "query" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful CoverageEligibilityResponse search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "CoverageEligibilityResponse search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the CoverageEligibilityResponse search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the CoverageEligibilityResponse search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/CoverageEligibilityResponse/_search": { + "post": { + "tags": ["Type:CoverageEligibilityResponse"], + "summary": "CoverageEligibilityResponse search-type", + "description": "The CoverageEligibilityResponse search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|post|CoverageEligibilityResponse", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "properties": { + "request": { + "type": "string", + "title": "Request", + "description": "The EligibilityRequest reference" + }, + "_format": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "_pretty": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + } + }, + "type": "object", + "title": "Body_fhirstarter|type|search-type|post|CoverageEligibilityResponse" + } + } + } + }, + "responses": { + "200": { + "description": "Successful CoverageEligibilityResponse search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "CoverageEligibilityResponse search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the CoverageEligibilityResponse search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the CoverageEligibilityResponse search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Device/{id}": { + "get": { + "tags": ["Type:Device"], + "summary": "Device read", + "description": "The Device read interaction accesses the current contents of a Device resource.", + "operationId": "fhirstarter|instance|read|get|Device", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Device read", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Device" } + } + } + }, + "401": { + "description": "Authentication is required for the Device read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Device read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "404": { + "description": "Unknown Device resource", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "not-found", + "details": { "text": "Resource not found" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Device": { + "get": { + "tags": ["Type:Device"], + "summary": "Device search-type", + "description": "The Device search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|get|Device", + "parameters": [ + { + "description": "Patient information, if the resource is affixed to a person", + "required": false, + "schema": { + "type": "string", + "title": "Patient", + "description": "Patient information, if the resource is affixed to a person" + }, + "name": "patient", + "in": "query" + }, + { + "description": "Logical id of this artifact", + "required": false, + "schema": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "name": "_id", + "in": "query" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Device search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Device search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Device search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Device search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Device/_search": { + "post": { + "tags": ["Type:Device"], + "summary": "Device search-type", + "description": "The Device search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|post|Device", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "properties": { + "patient": { + "type": "string", + "title": "Patient", + "description": "Patient information, if the resource is affixed to a person" + }, + "_id": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "_format": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "_pretty": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + } + }, + "type": "object", + "title": "Body_fhirstarter|type|search-type|post|Device" + } + } + } + }, + "responses": { + "200": { + "description": "Successful Device search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Device search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Device search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Device search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/DiagnosticReport/{id}": { + "get": { + "tags": ["Type:DiagnosticReport"], + "summary": "DiagnosticReport read", + "description": "The DiagnosticReport read interaction accesses the current contents of a DiagnosticReport resource.", + "operationId": "fhirstarter|instance|read|get|DiagnosticReport", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful DiagnosticReport read", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/DiagnosticReport" } + } + } + }, + "401": { + "description": "Authentication is required for the DiagnosticReport read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the DiagnosticReport read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "404": { + "description": "Unknown DiagnosticReport resource", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "not-found", + "details": { "text": "Resource not found" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/DiagnosticReport": { + "get": { + "tags": ["Type:DiagnosticReport"], + "summary": "DiagnosticReport search-type", + "description": "The DiagnosticReport search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|get|DiagnosticReport", + "parameters": [ + { + "description": "Which diagnostic discipline/department created the report", + "required": false, + "schema": { + "type": "string", + "title": "Category", + "description": "Which diagnostic discipline/department created the report" + }, + "name": "category", + "in": "query" + }, + { + "description": "The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result", + "required": false, + "schema": { + "type": "string", + "title": "Code", + "description": "The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result" + }, + "name": "code", + "in": "query" + }, + { + "description": "The clinically relevant time of the report", + "required": false, + "schema": { + "items": { "type": "string" }, + "type": "array", + "title": "Date", + "description": "The clinically relevant time of the report" + }, + "name": "date", + "in": "query" + }, + { + "description": "The subject of the report if a patient", + "required": false, + "schema": { + "type": "string", + "title": "Patient", + "description": "The subject of the report if a patient" + }, + "name": "patient", + "in": "query" + }, + { + "description": "Logical id of this artifact", + "required": false, + "schema": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "name": "_id", + "in": "query" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful DiagnosticReport search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "DiagnosticReport search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the DiagnosticReport search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the DiagnosticReport search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/DiagnosticReport/_search": { + "post": { + "tags": ["Type:DiagnosticReport"], + "summary": "DiagnosticReport search-type", + "description": "The DiagnosticReport search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|post|DiagnosticReport", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "properties": { + "category": { + "type": "string", + "title": "Category", + "description": "Which diagnostic discipline/department created the report" + }, + "code": { + "type": "string", + "title": "Code", + "description": "The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result" + }, + "date": { + "items": { "type": "string" }, + "type": "array", + "title": "Date", + "description": "The clinically relevant time of the report" + }, + "patient": { + "type": "string", + "title": "Patient", + "description": "The subject of the report if a patient" + }, + "_id": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "_format": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "_pretty": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + } + }, + "type": "object", + "title": "Body_fhirstarter|type|search-type|post|DiagnosticReport" + } + } + } + }, + "responses": { + "200": { + "description": "Successful DiagnosticReport search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "DiagnosticReport search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the DiagnosticReport search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the DiagnosticReport search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/DocumentReference/{id}": { + "get": { + "tags": ["Type:DocumentReference"], + "summary": "DocumentReference read", + "description": "The DocumentReference read interaction accesses the current contents of a DocumentReference resource.", + "operationId": "fhirstarter|instance|read|get|DocumentReference", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful DocumentReference read", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/DocumentReference" } + } + } + }, + "401": { + "description": "Authentication is required for the DocumentReference read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the DocumentReference read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "404": { + "description": "Unknown DocumentReference resource", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "not-found", + "details": { "text": "Resource not found" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/DocumentReference": { + "get": { + "tags": ["Type:DocumentReference"], + "summary": "DocumentReference search-type", + "description": "The DocumentReference search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|get|DocumentReference", + "parameters": [ + { + "description": "Categorization of document", + "required": false, + "schema": { + "type": "string", + "title": "Category", + "description": "Categorization of document" + }, + "name": "category", + "in": "query" + }, + { + "description": "When this document reference was created", + "required": false, + "schema": { + "items": { "type": "string" }, + "type": "array", + "title": "Date", + "description": "When this document reference was created" + }, + "name": "date", + "in": "query" + }, + { + "description": "Who/what is the subject of the document", + "required": false, + "schema": { + "type": "string", + "title": "Patient", + "description": "Who/what is the subject of the document" + }, + "name": "patient", + "in": "query" + }, + { + "description": "current | superseded | entered-in-error", + "required": false, + "schema": { + "type": "string", + "title": "Status", + "description": "current | superseded | entered-in-error" + }, + "name": "status", + "in": "query" + }, + { + "description": "Who/what is the subject of the document", + "required": false, + "schema": { + "type": "string", + "title": "Subject", + "description": "Who/what is the subject of the document" + }, + "name": "subject", + "in": "query" + }, + { + "description": "Kind of document (LOINC if possible)", + "required": false, + "schema": { + "type": "string", + "title": "Type", + "description": "Kind of document (LOINC if possible)" + }, + "name": "type", + "in": "query" + }, + { + "description": "Logical id of this artifact", + "required": false, + "schema": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "name": "_id", + "in": "query" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful DocumentReference search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "DocumentReference search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the DocumentReference search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the DocumentReference search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/DocumentReference/_search": { + "post": { + "tags": ["Type:DocumentReference"], + "summary": "DocumentReference search-type", + "description": "The DocumentReference search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|post|DocumentReference", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "properties": { + "category": { + "type": "string", + "title": "Category", + "description": "Categorization of document" + }, + "date": { + "items": { "type": "string" }, + "type": "array", + "title": "Date", + "description": "When this document reference was created" + }, + "patient": { + "type": "string", + "title": "Patient", + "description": "Who/what is the subject of the document" + }, + "status": { + "type": "string", + "title": "Status", + "description": "current | superseded | entered-in-error" + }, + "subject": { + "type": "string", + "title": "Subject", + "description": "Who/what is the subject of the document" + }, + "type": { + "type": "string", + "title": "Type", + "description": "Kind of document (LOINC if possible)" + }, + "_id": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "_format": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "_pretty": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + } + }, + "type": "object", + "title": "Body_fhirstarter|type|search-type|post|DocumentReference" + } + } + } + }, + "responses": { + "200": { + "description": "Successful DocumentReference search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "DocumentReference search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the DocumentReference search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the DocumentReference search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Encounter/{id}": { + "get": { + "tags": ["Type:Encounter"], + "summary": "Encounter read", + "description": "The Encounter read interaction accesses the current contents of a Encounter resource.", + "operationId": "fhirstarter|instance|read|get|Encounter", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Encounter read", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Encounter" } + } + } + }, + "401": { + "description": "Authentication is required for the Encounter read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Encounter read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "404": { + "description": "Unknown Encounter resource", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "not-found", + "details": { "text": "Resource not found" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Encounter": { + "get": { + "tags": ["Type:Encounter"], + "summary": "Encounter search-type", + "description": "The Encounter search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|get|Encounter", + "parameters": [ + { + "description": "The appointment that scheduled this encounter", + "required": false, + "schema": { + "type": "string", + "title": "Appointment", + "description": "The appointment that scheduled this encounter" + }, + "name": "appointment", + "in": "query" + }, + { + "description": "A date within the period the Encounter lasted", + "required": false, + "schema": { + "items": { "type": "string" }, + "type": "array", + "title": "Date", + "description": "A date within the period the Encounter lasted" + }, + "name": "date", + "in": "query" + }, + { + "description": "The patient or group present at the encounter", + "required": false, + "schema": { + "type": "string", + "title": "Patient", + "description": "The patient or group present at the encounter" + }, + "name": "patient", + "in": "query" + }, + { + "description": "The patient or group present at the encounter", + "required": false, + "schema": { + "type": "string", + "title": "Subject", + "description": "The patient or group present at the encounter" + }, + "name": "subject", + "in": "query" + }, + { + "description": "Logical id of this artifact", + "required": false, + "schema": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "name": "_id", + "in": "query" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Encounter search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Encounter search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Encounter search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Encounter search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Encounter/_search": { + "post": { + "tags": ["Type:Encounter"], + "summary": "Encounter search-type", + "description": "The Encounter search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|post|Encounter", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "properties": { + "appointment": { + "type": "string", + "title": "Appointment", + "description": "The appointment that scheduled this encounter" + }, + "date": { + "items": { "type": "string" }, + "type": "array", + "title": "Date", + "description": "A date within the period the Encounter lasted" + }, + "patient": { + "type": "string", + "title": "Patient", + "description": "The patient or group present at the encounter" + }, + "subject": { + "type": "string", + "title": "Subject", + "description": "The patient or group present at the encounter" + }, + "_id": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "_format": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "_pretty": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + } + }, + "type": "object", + "title": "Body_fhirstarter|type|search-type|post|Encounter" + } + } + } + }, + "responses": { + "200": { + "description": "Successful Encounter search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Encounter search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Encounter search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Encounter search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Goal/{id}": { + "get": { + "tags": ["Type:Goal"], + "summary": "Goal read", + "description": "The Goal read interaction accesses the current contents of a Goal resource.", + "operationId": "fhirstarter|instance|read|get|Goal", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Goal read", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Goal" } + } + } + }, + "401": { + "description": "Authentication is required for the Goal read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Goal read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "404": { + "description": "Unknown Goal resource", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "not-found", + "details": { "text": "Resource not found" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Goal": { + "get": { + "tags": ["Type:Goal"], + "summary": "Goal search-type", + "description": "The Goal search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|get|Goal", + "parameters": [ + { + "description": "Who this goal is intended for", + "required": false, + "schema": { + "type": "string", + "title": "Patient", + "description": "Who this goal is intended for" + }, + "name": "patient", + "in": "query" + }, + { + "description": "Logical id of this artifact", + "required": false, + "schema": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "name": "_id", + "in": "query" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Goal search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Goal search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Goal search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Goal search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Goal/_search": { + "post": { + "tags": ["Type:Goal"], + "summary": "Goal search-type", + "description": "The Goal search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|post|Goal", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "properties": { + "patient": { + "type": "string", + "title": "Patient", + "description": "Who this goal is intended for" + }, + "_id": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "_format": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "_pretty": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + } + }, + "type": "object", + "title": "Body_fhirstarter|type|search-type|post|Goal" + } + } + } + }, + "responses": { + "200": { + "description": "Successful Goal search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Goal search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Goal search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Goal search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Group/{id}": { + "get": { + "tags": ["Type:Group"], + "summary": "Group read", + "description": "The Group read interaction accesses the current contents of a Group resource.", + "operationId": "fhirstarter|instance|read|get|Group", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Group read", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Group" } + } + } + }, + "401": { + "description": "Authentication is required for the Group read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Group read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "404": { + "description": "Unknown Group resource", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "not-found", + "details": { "text": "Resource not found" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + }, + "put": { + "tags": ["Type:Group"], + "summary": "Group update", + "description": "The Group update interaction creates a new current version for an existing Group resource.", + "operationId": "fhirstarter|instance|update|put|Group", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "requestBody": { + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Group" } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Successful Group update", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Group" } + } + } + }, + "400": { + "description": "Group update request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Group update interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Group update interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "422": { + "description": "The proposed Group resource violated applicable FHIR profiles or server business rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "processing", + "details": { "text": "Unprocessable entity" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Group": { + "get": { + "tags": ["Type:Group"], + "summary": "Group search-type", + "description": "The Group search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|get|Group", + "parameters": [ + { + "description": "The type of resources the group contains", + "required": false, + "schema": { + "type": "string", + "title": "Type", + "description": "The type of resources the group contains" + }, + "name": "type", + "in": "query" + }, + { + "description": "Logical id of this artifact", + "required": false, + "schema": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "name": "_id", + "in": "query" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Group search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Group search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Group search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Group search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + }, + "post": { + "tags": ["Type:Group"], + "summary": "Group create", + "description": "The Group create interaction creates a new Group resource in a server-assigned location.", + "operationId": "fhirstarter|type|create|post|Group", + "parameters": [ + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "requestBody": { + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Group" } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Successful Group create", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Group" } + } + } + }, + "400": { + "description": "Group create request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Group create interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Group create interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "422": { + "description": "The proposed Group resource violated applicable FHIR profiles or server business rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "processing", + "details": { "text": "Unprocessable entity" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Group/_search": { + "post": { + "tags": ["Type:Group"], + "summary": "Group search-type", + "description": "The Group search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|post|Group", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "properties": { + "type": { + "type": "string", + "title": "Type", + "description": "The type of resources the group contains" + }, + "_id": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "_format": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "_pretty": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + } + }, + "type": "object", + "title": "Body_fhirstarter|type|search-type|post|Group" + } + } + } + }, + "responses": { + "200": { + "description": "Successful Group search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Group search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Group search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Group search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Immunization/{id}": { + "get": { + "tags": ["Type:Immunization"], + "summary": "Immunization read", + "description": "The Immunization read interaction accesses the current contents of a Immunization resource.", + "operationId": "fhirstarter|instance|read|get|Immunization", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Immunization read", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Immunization" } + } + } + }, + "401": { + "description": "Authentication is required for the Immunization read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Immunization read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "404": { + "description": "Unknown Immunization resource", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "not-found", + "details": { "text": "Resource not found" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Immunization": { + "get": { + "tags": ["Type:Immunization"], + "summary": "Immunization search-type", + "description": "The Immunization search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|get|Immunization", + "parameters": [ + { + "description": "The patient for the vaccination record", + "required": false, + "schema": { + "type": "string", + "title": "Patient", + "description": "The patient for the vaccination record" + }, + "name": "patient", + "in": "query" + }, + { + "description": "Logical id of this artifact", + "required": false, + "schema": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "name": "_id", + "in": "query" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Immunization search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Immunization search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Immunization search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Immunization search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Immunization/_search": { + "post": { + "tags": ["Type:Immunization"], + "summary": "Immunization search-type", + "description": "The Immunization search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|post|Immunization", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "properties": { + "patient": { + "type": "string", + "title": "Patient", + "description": "The patient for the vaccination record" + }, + "_id": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "_format": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "_pretty": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + } + }, + "type": "object", + "title": "Body_fhirstarter|type|search-type|post|Immunization" + } + } + } + }, + "responses": { + "200": { + "description": "Successful Immunization search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Immunization search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Immunization search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Immunization search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Location/{id}": { + "get": { + "tags": ["Type:Location"], + "summary": "Location read", + "description": "The Location read interaction accesses the current contents of a Location resource.", + "operationId": "fhirstarter|instance|read|get|Location", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Location read", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Location" } + } + } + }, + "401": { + "description": "Authentication is required for the Location read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Location read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "404": { + "description": "Unknown Location resource", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "not-found", + "details": { "text": "Resource not found" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Location": { + "get": { + "tags": ["Type:Location"], + "summary": "Location search-type", + "description": "The Location search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|get|Location", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": false, + "schema": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "name": "_id", + "in": "query" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Location search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Location search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Location search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Location search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Location/_search": { + "post": { + "tags": ["Type:Location"], + "summary": "Location search-type", + "description": "The Location search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|post|Location", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "properties": { + "_id": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "_format": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "_pretty": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + } + }, + "type": "object", + "title": "Body_fhirstarter|type|search-type|post|Location" + } + } + } + }, + "responses": { + "200": { + "description": "Successful Location search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Location search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Location search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Location search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Media": { + "get": { + "tags": ["Type:Media"], + "summary": "Media search-type", + "description": "The Media search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|get|Media", + "parameters": [ + { + "description": "Who/What this Media is a record of", + "required": false, + "schema": { + "type": "string", + "title": "Patient", + "description": "Who/What this Media is a record of" + }, + "name": "patient", + "in": "query" + }, + { + "description": "Logical id of this artifact", + "required": false, + "schema": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "name": "_id", + "in": "query" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Media search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Media search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Media search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Media search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + }, + "post": { + "tags": ["Type:Media"], + "summary": "Media create", + "description": "The Media create interaction creates a new Media resource in a server-assigned location.", + "operationId": "fhirstarter|type|create|post|Media", + "parameters": [ + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "requestBody": { + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Media" } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Successful Media create", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Media" } + } + } + }, + "400": { + "description": "Media create request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Media create interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Media create interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "422": { + "description": "The proposed Media resource violated applicable FHIR profiles or server business rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "processing", + "details": { "text": "Unprocessable entity" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Media/{id}": { + "get": { + "tags": ["Type:Media"], + "summary": "Media read", + "description": "The Media read interaction accesses the current contents of a Media resource.", + "operationId": "fhirstarter|instance|read|get|Media", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Media read", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Media" } + } + } + }, + "401": { + "description": "Authentication is required for the Media read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Media read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "404": { + "description": "Unknown Media resource", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "not-found", + "details": { "text": "Resource not found" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Media/_search": { + "post": { + "tags": ["Type:Media"], + "summary": "Media search-type", + "description": "The Media search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|post|Media", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "properties": { + "patient": { + "type": "string", + "title": "Patient", + "description": "Who/What this Media is a record of" + }, + "_id": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "_format": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "_pretty": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + } + }, + "type": "object", + "title": "Body_fhirstarter|type|search-type|post|Media" + } + } + } + }, + "responses": { + "200": { + "description": "Successful Media search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Media search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Media search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Media search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Medication/{id}": { + "get": { + "tags": ["Type:Medication"], + "summary": "Medication read", + "description": "The Medication read interaction accesses the current contents of a Medication resource.", + "operationId": "fhirstarter|instance|read|get|Medication", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Medication read", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Medication" } + } + } + }, + "401": { + "description": "Authentication is required for the Medication read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Medication read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "404": { + "description": "Unknown Medication resource", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "not-found", + "details": { "text": "Resource not found" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Medication": { + "get": { + "tags": ["Type:Medication"], + "summary": "Medication search-type", + "description": "The Medication search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|get|Medication", + "parameters": [ + { + "description": "Returns medications for a specific code", + "required": false, + "schema": { + "type": "string", + "title": "Code", + "description": "Returns medications for a specific code" + }, + "name": "code", + "in": "query" + }, + { + "description": "Search on the narrative of the resource", + "required": false, + "schema": { + "type": "string", + "title": " Text", + "description": "Search on the narrative of the resource" + }, + "name": "_text", + "in": "query" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Medication search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Medication search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Medication search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Medication search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Medication/_search": { + "post": { + "tags": ["Type:Medication"], + "summary": "Medication search-type", + "description": "The Medication search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|post|Medication", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "properties": { + "code": { + "type": "string", + "title": "Code", + "description": "Returns medications for a specific code" + }, + "_text": { + "type": "string", + "title": " Text", + "description": "Search on the narrative of the resource" + }, + "_format": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "_pretty": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + } + }, + "type": "object", + "title": "Body_fhirstarter|type|search-type|post|Medication" + } + } + } + }, + "responses": { + "200": { + "description": "Successful Medication search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Medication search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Medication search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Medication search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/MedicationRequest/{id}": { + "get": { + "tags": ["Type:MedicationRequest"], + "summary": "MedicationRequest read", + "description": "The MedicationRequest read interaction accesses the current contents of a MedicationRequest resource.", + "operationId": "fhirstarter|instance|read|get|MedicationRequest", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful MedicationRequest read", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/MedicationRequest" } + } + } + }, + "401": { + "description": "Authentication is required for the MedicationRequest read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the MedicationRequest read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "404": { + "description": "Unknown MedicationRequest resource", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "not-found", + "details": { "text": "Resource not found" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/MedicationRequest": { + "get": { + "tags": ["Type:MedicationRequest"], + "summary": "MedicationRequest search-type", + "description": "The MedicationRequest search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|get|MedicationRequest", + "parameters": [ + { + "description": "Returns prescriptions with different intents", + "required": false, + "schema": { + "type": "string", + "title": "Intent", + "description": "Returns prescriptions with different intents" + }, + "name": "intent", + "in": "query" + }, + { + "description": "Returns prescriptions for a specific patient", + "required": false, + "schema": { + "type": "string", + "title": "Patient", + "description": "Returns prescriptions for a specific patient" + }, + "name": "patient", + "in": "query" + }, + { + "description": "Status of the prescription", + "required": false, + "schema": { + "type": "string", + "title": "Status", + "description": "Status of the prescription" + }, + "name": "status", + "in": "query" + }, + { + "description": "Logical id of this artifact", + "required": false, + "schema": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "name": "_id", + "in": "query" + }, + { + "description": "Other resources to include in the search results that search matches point to", + "required": false, + "schema": { + "type": "string", + "title": " Include", + "description": "Other resources to include in the search results that search matches point to" + }, + "name": "_include", + "in": "query" + }, + { + "description": "Other resources to include in the search results when they refer to search matches", + "required": false, + "schema": { + "type": "string", + "title": " Revinclude", + "description": "Other resources to include in the search results when they refer to search matches" + }, + "name": "_revinclude", + "in": "query" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful MedicationRequest search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "MedicationRequest search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the MedicationRequest search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the MedicationRequest search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/MedicationRequest/_search": { + "post": { + "tags": ["Type:MedicationRequest"], + "summary": "MedicationRequest search-type", + "description": "The MedicationRequest search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|post|MedicationRequest", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "properties": { + "intent": { + "type": "string", + "title": "Intent", + "description": "Returns prescriptions with different intents" + }, + "patient": { + "type": "string", + "title": "Patient", + "description": "Returns prescriptions for a specific patient" + }, + "status": { + "type": "string", + "title": "Status", + "description": "Status of the prescription" + }, + "_id": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "_include": { + "type": "string", + "title": " Include", + "description": "Other resources to include in the search results that search matches point to" + }, + "_revinclude": { + "type": "string", + "title": " Revinclude", + "description": "Other resources to include in the search results when they refer to search matches" + }, + "_format": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "_pretty": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + } + }, + "type": "object", + "title": "Body_fhirstarter|type|search-type|post|MedicationRequest" + } + } + } + }, + "responses": { + "200": { + "description": "Successful MedicationRequest search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "MedicationRequest search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the MedicationRequest search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the MedicationRequest search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/MedicationStatement/{id}": { + "get": { + "tags": ["Type:MedicationStatement"], + "summary": "MedicationStatement read", + "description": "The MedicationStatement read interaction accesses the current contents of a MedicationStatement resource.", + "operationId": "fhirstarter|instance|read|get|MedicationStatement", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful MedicationStatement read", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/MedicationStatement" } + } + } + }, + "401": { + "description": "Authentication is required for the MedicationStatement read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the MedicationStatement read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "404": { + "description": "Unknown MedicationStatement resource", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "not-found", + "details": { "text": "Resource not found" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + }, + "put": { + "tags": ["Type:MedicationStatement"], + "summary": "MedicationStatement update", + "description": "The MedicationStatement update interaction creates a new current version for an existing MedicationStatement resource.", + "operationId": "fhirstarter|instance|update|put|MedicationStatement", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "requestBody": { + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/MedicationStatement" } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Successful MedicationStatement update", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/MedicationStatement" } + } + } + }, + "400": { + "description": "MedicationStatement update request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the MedicationStatement update interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the MedicationStatement update interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "422": { + "description": "The proposed MedicationStatement resource violated applicable FHIR profiles or server business rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "processing", + "details": { "text": "Unprocessable entity" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/MedicationStatement": { + "get": { + "tags": ["Type:MedicationStatement"], + "summary": "MedicationStatement search-type", + "description": "The MedicationStatement search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|get|MedicationStatement", + "parameters": [ + { + "description": "Returns statements for a specific patient.", + "required": false, + "schema": { + "type": "string", + "title": "Patient", + "description": "Returns statements for a specific patient." + }, + "name": "patient", + "in": "query" + }, + { + "description": "Logical id of this artifact", + "required": false, + "schema": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "name": "_id", + "in": "query" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful MedicationStatement search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "MedicationStatement search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the MedicationStatement search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the MedicationStatement search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + }, + "post": { + "tags": ["Type:MedicationStatement"], + "summary": "MedicationStatement create", + "description": "The MedicationStatement create interaction creates a new MedicationStatement resource in a server-assigned location.", + "operationId": "fhirstarter|type|create|post|MedicationStatement", + "parameters": [ + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "requestBody": { + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/MedicationStatement" } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Successful MedicationStatement create", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/MedicationStatement" } + } + } + }, + "400": { + "description": "MedicationStatement create request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the MedicationStatement create interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the MedicationStatement create interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "422": { + "description": "The proposed MedicationStatement resource violated applicable FHIR profiles or server business rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "processing", + "details": { "text": "Unprocessable entity" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/MedicationStatement/_search": { + "post": { + "tags": ["Type:MedicationStatement"], + "summary": "MedicationStatement search-type", + "description": "The MedicationStatement search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|post|MedicationStatement", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "properties": { + "patient": { + "type": "string", + "title": "Patient", + "description": "Returns statements for a specific patient." + }, + "_id": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "_format": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "_pretty": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + } + }, + "type": "object", + "title": "Body_fhirstarter|type|search-type|post|MedicationStatement" + } + } + } + }, + "responses": { + "200": { + "description": "Successful MedicationStatement search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "MedicationStatement search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the MedicationStatement search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the MedicationStatement search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Observation/{id}": { + "get": { + "tags": ["Type:Observation"], + "summary": "Observation read", + "description": "The Observation read interaction accesses the current contents of a Observation resource.", + "operationId": "fhirstarter|instance|read|get|Observation", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Observation read", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Observation" } + } + } + }, + "401": { + "description": "Authentication is required for the Observation read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Observation read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "404": { + "description": "Unknown Observation resource", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "not-found", + "details": { "text": "Resource not found" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Observation": { + "get": { + "tags": ["Type:Observation"], + "summary": "Observation search-type", + "description": "The Observation search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|get|Observation", + "parameters": [ + { + "description": "The classification of the type of observation", + "required": false, + "schema": { + "type": "string", + "title": "Category", + "description": "The classification of the type of observation" + }, + "name": "category", + "in": "query" + }, + { + "description": "The code of the observation type", + "required": false, + "schema": { + "type": "string", + "title": "Code", + "description": "The code of the observation type" + }, + "name": "code", + "in": "query" + }, + { + "description": "Obtained date/time. If the obtained element is a period, a date that falls in the period", + "required": false, + "schema": { + "items": { "type": "string" }, + "type": "array", + "title": "Date", + "description": "Obtained date/time. If the obtained element is a period, a date that falls in the period" + }, + "name": "date", + "in": "query" + }, + { + "description": "Related measurements the observation is made from", + "required": false, + "schema": { + "type": "string", + "title": "Derived-From", + "description": "Related measurements the observation is made from" + }, + "name": "derived-from", + "in": "query" + }, + { + "description": "The subject that the observation is about (if patient)", + "required": false, + "schema": { + "type": "string", + "title": "Patient", + "description": "The subject that the observation is about (if patient)" + }, + "name": "patient", + "in": "query" + }, + { + "description": "Logical id of this artifact", + "required": false, + "schema": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "name": "_id", + "in": "query" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Observation search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Observation search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Observation search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Observation search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + }, + "post": { + "tags": ["Type:Observation"], + "summary": "Observation create", + "description": "The Observation create interaction creates a new Observation resource in a server-assigned location.", + "operationId": "fhirstarter|type|create|post|Observation", + "parameters": [ + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "requestBody": { + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Observation" } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Successful Observation create", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Observation" } + } + } + }, + "400": { + "description": "Observation create request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Observation create interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Observation create interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "422": { + "description": "The proposed Observation resource violated applicable FHIR profiles or server business rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "processing", + "details": { "text": "Unprocessable entity" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Observation/_search": { + "post": { + "tags": ["Type:Observation"], + "summary": "Observation search-type", + "description": "The Observation search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|post|Observation", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "properties": { + "category": { + "type": "string", + "title": "Category", + "description": "The classification of the type of observation" + }, + "code": { + "type": "string", + "title": "Code", + "description": "The code of the observation type" + }, + "date": { + "items": { "type": "string" }, + "type": "array", + "title": "Date", + "description": "Obtained date/time. If the obtained element is a period, a date that falls in the period" + }, + "derived-from": { + "type": "string", + "title": "Derived-From", + "description": "Related measurements the observation is made from" + }, + "patient": { + "type": "string", + "title": "Patient", + "description": "The subject that the observation is about (if patient)" + }, + "_id": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "_format": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "_pretty": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + } + }, + "type": "object", + "title": "Body_fhirstarter|type|search-type|post|Observation" + } + } + } + }, + "responses": { + "200": { + "description": "Successful Observation search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Observation search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Observation search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Observation search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Organization/{id}": { + "get": { + "tags": ["Type:Organization"], + "summary": "Organization read", + "description": "The Organization read interaction accesses the current contents of a Organization resource.", + "operationId": "fhirstarter|instance|read|get|Organization", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Organization read", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Organization" } + } + } + }, + "401": { + "description": "Authentication is required for the Organization read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Organization read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "404": { + "description": "Unknown Organization resource", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "not-found", + "details": { "text": "Resource not found" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Organization": { + "get": { + "tags": ["Type:Organization"], + "summary": "Organization search-type", + "description": "The Organization search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|get|Organization", + "parameters": [ + { + "description": "A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text", + "required": false, + "schema": { + "type": "string", + "title": "Address", + "description": "A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text" + }, + "name": "address", + "in": "query" + }, + { + "description": "A portion of the organization's name or alias", + "required": false, + "schema": { + "type": "string", + "title": "Name", + "description": "A portion of the organization's name or alias" + }, + "name": "name", + "in": "query" + }, + { + "description": "Logical id of this artifact", + "required": false, + "schema": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "name": "_id", + "in": "query" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Organization search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Organization search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Organization search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Organization search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Organization/_search": { + "post": { + "tags": ["Type:Organization"], + "summary": "Organization search-type", + "description": "The Organization search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|post|Organization", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "properties": { + "address": { + "type": "string", + "title": "Address", + "description": "A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text" + }, + "name": { + "type": "string", + "title": "Name", + "description": "A portion of the organization's name or alias" + }, + "_id": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "_format": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "_pretty": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + } + }, + "type": "object", + "title": "Body_fhirstarter|type|search-type|post|Organization" + } + } + } + }, + "responses": { + "200": { + "description": "Successful Organization search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Organization search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Organization search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Organization search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Patient/{id}": { + "get": { + "tags": ["Type:Patient"], + "summary": "Patient read", + "description": "The Patient read interaction accesses the current contents of a Patient resource.", + "operationId": "fhirstarter|instance|read|get|Patient", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Patient read", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Patient" } + } + } + }, + "401": { + "description": "Authentication is required for the Patient read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Patient read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "404": { + "description": "Unknown Patient resource", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "not-found", + "details": { "text": "Resource not found" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + }, + "put": { + "tags": ["Type:Patient"], + "summary": "Patient update", + "description": "The Patient update interaction creates a new current version for an existing Patient resource.", + "operationId": "fhirstarter|instance|update|put|Patient", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "requestBody": { + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Patient" } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Successful Patient update", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Patient" } + } + } + }, + "400": { + "description": "Patient update request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Patient update interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Patient update interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "422": { + "description": "The proposed Patient resource violated applicable FHIR profiles or server business rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "processing", + "details": { "text": "Unprocessable entity" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Patient": { + "get": { + "tags": ["Type:Patient"], + "summary": "Patient search-type", + "description": "The Patient search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|get|Patient", + "parameters": [ + { + "description": "Whether the patient record is active", + "required": false, + "schema": { + "type": "string", + "title": "Active", + "description": "Whether the patient record is active" + }, + "name": "active", + "in": "query" + }, + { + "description": "The patient's date of birth", + "required": false, + "schema": { + "type": "string", + "title": "Birthdate", + "description": "The patient's date of birth" + }, + "name": "birthdate", + "in": "query" + }, + { + "description": "A value in an email contact", + "required": false, + "schema": { + "type": "string", + "title": "Email", + "description": "A value in an email contact" + }, + "name": "email", + "in": "query" + }, + { + "description": "A portion of the family name of the patient", + "required": false, + "schema": { + "type": "string", + "title": "Family", + "description": "A portion of the family name of the patient" + }, + "name": "family", + "in": "query" + }, + { + "description": "Gender of the patient", + "required": false, + "schema": { + "type": "string", + "title": "Gender", + "description": "Gender of the patient" + }, + "name": "gender", + "in": "query" + }, + { + "description": "A portion of the given name of the patient", + "required": false, + "schema": { + "type": "string", + "title": "Given", + "description": "A portion of the given name of the patient" + }, + "name": "given", + "in": "query" + }, + { + "description": "A patient identifier", + "required": false, + "schema": { + "type": "string", + "title": "Identifier", + "description": "A patient identifier" + }, + "name": "identifier", + "in": "query" + }, + { + "description": "A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text", + "required": false, + "schema": { + "type": "string", + "title": "Name", + "description": "A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text" + }, + "name": "name", + "in": "query" + }, + { + "description": "Preferred or alternate name", + "required": false, + "schema": { + "type": "string", + "title": "Nickname", + "description": "Preferred or alternate name" + }, + "name": "nickname", + "in": "query" + }, + { + "description": "A value in a phone contact", + "required": false, + "schema": { + "type": "string", + "title": "Phone", + "description": "A value in a phone contact" + }, + "name": "phone", + "in": "query" + }, + { + "description": "Logical id of this artifact", + "required": false, + "schema": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "name": "_id", + "in": "query" + }, + { + "description": "Other resources to include in the search results when they refer to search matches", + "required": false, + "schema": { + "type": "string", + "title": " Revinclude", + "description": "Other resources to include in the search results when they refer to search matches" + }, + "name": "_revinclude", + "in": "query" + }, + { + "description": "Order to sort results in (can repeat for inner sort orders)", + "required": false, + "schema": { + "type": "string", + "title": " Sort", + "description": "Order to sort results in (can repeat for inner sort orders)" + }, + "name": "_sort", + "in": "query" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Patient search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Patient search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Patient search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Patient search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + }, + "post": { + "tags": ["Type:Patient"], + "summary": "Patient create", + "description": "The Patient create interaction creates a new Patient resource in a server-assigned location.", + "operationId": "fhirstarter|type|create|post|Patient", + "parameters": [ + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "requestBody": { + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Patient" } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Successful Patient create", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Patient" } + } + } + }, + "400": { + "description": "Patient create request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Patient create interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Patient create interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "422": { + "description": "The proposed Patient resource violated applicable FHIR profiles or server business rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "processing", + "details": { "text": "Unprocessable entity" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Patient/_search": { + "post": { + "tags": ["Type:Patient"], + "summary": "Patient search-type", + "description": "The Patient search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|post|Patient", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "properties": { + "active": { + "type": "string", + "title": "Active", + "description": "Whether the patient record is active" + }, + "birthdate": { + "type": "string", + "title": "Birthdate", + "description": "The patient's date of birth" + }, + "email": { + "type": "string", + "title": "Email", + "description": "A value in an email contact" + }, + "family": { + "type": "string", + "title": "Family", + "description": "A portion of the family name of the patient" + }, + "gender": { + "type": "string", + "title": "Gender", + "description": "Gender of the patient" + }, + "given": { + "type": "string", + "title": "Given", + "description": "A portion of the given name of the patient" + }, + "identifier": { + "type": "string", + "title": "Identifier", + "description": "A patient identifier" + }, + "name": { + "type": "string", + "title": "Name", + "description": "A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text" + }, + "nickname": { + "type": "string", + "title": "Nickname", + "description": "Preferred or alternate name" + }, + "phone": { + "type": "string", + "title": "Phone", + "description": "A value in a phone contact" + }, + "_id": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "_revinclude": { + "type": "string", + "title": " Revinclude", + "description": "Other resources to include in the search results when they refer to search matches" + }, + "_sort": { + "type": "string", + "title": " Sort", + "description": "Order to sort results in (can repeat for inner sort orders)" + }, + "_format": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "_pretty": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + } + }, + "type": "object", + "title": "Body_fhirstarter|type|search-type|post|Patient" + } + } + } + }, + "responses": { + "200": { + "description": "Successful Patient search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Patient search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Patient search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Patient search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/PaymentNotice/{id}": { + "get": { + "tags": ["Type:PaymentNotice"], + "summary": "PaymentNotice read", + "description": "The PaymentNotice read interaction accesses the current contents of a PaymentNotice resource.", + "operationId": "fhirstarter|instance|read|get|PaymentNotice", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful PaymentNotice read", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/PaymentNotice" } + } + } + }, + "401": { + "description": "Authentication is required for the PaymentNotice read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the PaymentNotice read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "404": { + "description": "Unknown PaymentNotice resource", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "not-found", + "details": { "text": "Resource not found" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/PaymentNotice": { + "get": { + "tags": ["Type:PaymentNotice"], + "summary": "PaymentNotice search-type", + "description": "The PaymentNotice search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|get|PaymentNotice", + "parameters": [ + { + "description": "The Claim", + "required": false, + "schema": { + "type": "string", + "title": "Request", + "description": "The Claim" + }, + "name": "request", + "in": "query" + }, + { + "description": "Logical id of this artifact", + "required": false, + "schema": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "name": "_id", + "in": "query" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful PaymentNotice search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "PaymentNotice search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the PaymentNotice search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the PaymentNotice search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + }, + "post": { + "tags": ["Type:PaymentNotice"], + "summary": "PaymentNotice create", + "description": "The PaymentNotice create interaction creates a new PaymentNotice resource in a server-assigned location.", + "operationId": "fhirstarter|type|create|post|PaymentNotice", + "parameters": [ + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "requestBody": { + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/PaymentNotice" } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Successful PaymentNotice create", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/PaymentNotice" } + } + } + }, + "400": { + "description": "PaymentNotice create request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the PaymentNotice create interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the PaymentNotice create interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "422": { + "description": "The proposed PaymentNotice resource violated applicable FHIR profiles or server business rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "processing", + "details": { "text": "Unprocessable entity" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/PaymentNotice/_search": { + "post": { + "tags": ["Type:PaymentNotice"], + "summary": "PaymentNotice search-type", + "description": "The PaymentNotice search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|post|PaymentNotice", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "properties": { + "request": { + "type": "string", + "title": "Request", + "description": "The Claim" + }, + "_id": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "_format": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "_pretty": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + } + }, + "type": "object", + "title": "Body_fhirstarter|type|search-type|post|PaymentNotice" + } + } + } + }, + "responses": { + "200": { + "description": "Successful PaymentNotice search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "PaymentNotice search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the PaymentNotice search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the PaymentNotice search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Practitioner/{id}": { + "get": { + "tags": ["Type:Practitioner"], + "summary": "Practitioner read", + "description": "The Practitioner read interaction accesses the current contents of a Practitioner resource.", + "operationId": "fhirstarter|instance|read|get|Practitioner", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Practitioner read", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Practitioner" } + } + } + }, + "401": { + "description": "Authentication is required for the Practitioner read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Practitioner read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "404": { + "description": "Unknown Practitioner resource", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "not-found", + "details": { "text": "Resource not found" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Practitioner": { + "get": { + "tags": ["Type:Practitioner"], + "summary": "Practitioner search-type", + "description": "The Practitioner search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|get|Practitioner", + "parameters": [ + { + "description": "Filter out non-scheduleable practitioners", + "required": false, + "schema": { + "type": "string", + "title": "Include-Non-Scheduleable-Practitioners", + "description": "Filter out non-scheduleable practitioners" + }, + "name": "include-non-scheduleable-practitioners", + "in": "query" + }, + { + "description": "A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text", + "required": false, + "schema": { + "type": "string", + "title": "Name", + "description": "A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text" + }, + "name": "name", + "in": "query" + }, + { + "description": "Logical id of this artifact", + "required": false, + "schema": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "name": "_id", + "in": "query" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Practitioner search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Practitioner search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Practitioner search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Practitioner search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Practitioner/_search": { + "post": { + "tags": ["Type:Practitioner"], + "summary": "Practitioner search-type", + "description": "The Practitioner search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|post|Practitioner", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "properties": { + "include-non-scheduleable-practitioners": { + "type": "string", + "title": "Include-Non-Scheduleable-Practitioners", + "description": "Filter out non-scheduleable practitioners" + }, + "name": { + "type": "string", + "title": "Name", + "description": "A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text" + }, + "_id": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "_format": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "_pretty": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + } + }, + "type": "object", + "title": "Body_fhirstarter|type|search-type|post|Practitioner" + } + } + } + }, + "responses": { + "200": { + "description": "Successful Practitioner search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Practitioner search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Practitioner search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Practitioner search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Procedure/{id}": { + "get": { + "tags": ["Type:Procedure"], + "summary": "Procedure read", + "description": "The Procedure read interaction accesses the current contents of a Procedure resource.", + "operationId": "fhirstarter|instance|read|get|Procedure", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Procedure read", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Procedure" } + } + } + }, + "401": { + "description": "Authentication is required for the Procedure read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Procedure read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "404": { + "description": "Unknown Procedure resource", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "not-found", + "details": { "text": "Resource not found" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Procedure": { + "get": { + "tags": ["Type:Procedure"], + "summary": "Procedure search-type", + "description": "The Procedure search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|get|Procedure", + "parameters": [ + { + "description": "Search by subject - a patient", + "required": false, + "schema": { + "type": "string", + "title": "Patient", + "description": "Search by subject - a patient" + }, + "name": "patient", + "in": "query" + }, + { + "description": "Logical id of this artifact", + "required": false, + "schema": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "name": "_id", + "in": "query" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Procedure search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Procedure search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Procedure search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Procedure search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Procedure/_search": { + "post": { + "tags": ["Type:Procedure"], + "summary": "Procedure search-type", + "description": "The Procedure search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|post|Procedure", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "properties": { + "patient": { + "type": "string", + "title": "Patient", + "description": "Search by subject - a patient" + }, + "_id": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "_format": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "_pretty": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + } + }, + "type": "object", + "title": "Body_fhirstarter|type|search-type|post|Procedure" + } + } + } + }, + "responses": { + "200": { + "description": "Successful Procedure search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Procedure search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Procedure search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Procedure search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Provenance/{id}": { + "get": { + "tags": ["Type:Provenance"], + "summary": "Provenance read", + "description": "The Provenance read interaction accesses the current contents of a Provenance resource.", + "operationId": "fhirstarter|instance|read|get|Provenance", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Provenance read", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Provenance" } + } + } + }, + "401": { + "description": "Authentication is required for the Provenance read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Provenance read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "404": { + "description": "Unknown Provenance resource", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "not-found", + "details": { "text": "Resource not found" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Provenance": { + "get": { + "tags": ["Type:Provenance"], + "summary": "Provenance search-type", + "description": "The Provenance search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|get|Provenance", + "parameters": [ + { + "description": "Who participated", + "required": false, + "schema": { + "type": "string", + "title": "Agent", + "description": "Who participated" + }, + "name": "agent", + "in": "query" + }, + { + "description": "Target Reference(s) (usually version specific)", + "required": false, + "schema": { + "type": "string", + "title": "Patient", + "description": "Target Reference(s) (usually version specific)" + }, + "name": "patient", + "in": "query" + }, + { + "description": "Target Reference(s) (usually version specific)", + "required": false, + "schema": { + "type": "string", + "title": "Target", + "description": "Target Reference(s) (usually version specific)" + }, + "name": "target", + "in": "query" + }, + { + "description": "Logical id of this artifact", + "required": false, + "schema": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "name": "_id", + "in": "query" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Provenance search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Provenance search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Provenance search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Provenance search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Provenance/_search": { + "post": { + "tags": ["Type:Provenance"], + "summary": "Provenance search-type", + "description": "The Provenance search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|post|Provenance", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "properties": { + "agent": { + "type": "string", + "title": "Agent", + "description": "Who participated" + }, + "patient": { + "type": "string", + "title": "Patient", + "description": "Target Reference(s) (usually version specific)" + }, + "target": { + "type": "string", + "title": "Target", + "description": "Target Reference(s) (usually version specific)" + }, + "_id": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "_format": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "_pretty": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + } + }, + "type": "object", + "title": "Body_fhirstarter|type|search-type|post|Provenance" + } + } + } + }, + "responses": { + "200": { + "description": "Successful Provenance search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Provenance search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Provenance search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Provenance search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Questionnaire/{id}": { + "get": { + "tags": ["Type:Questionnaire"], + "summary": "Questionnaire read", + "description": "The Questionnaire read interaction accesses the current contents of a Questionnaire resource.", + "operationId": "fhirstarter|instance|read|get|Questionnaire", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Questionnaire read", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Questionnaire" } + } + } + }, + "401": { + "description": "Authentication is required for the Questionnaire read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Questionnaire read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "404": { + "description": "Unknown Questionnaire resource", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "not-found", + "details": { "text": "Resource not found" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Questionnaire": { + "get": { + "tags": ["Type:Questionnaire"], + "summary": "Questionnaire search-type", + "description": "The Questionnaire search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|get|Questionnaire", + "parameters": [ + { + "description": "A code that corresponds to one of its items in the questionnaire", + "required": false, + "schema": { + "type": "string", + "title": "Code", + "description": "A code that corresponds to one of its items in the questionnaire" + }, + "name": "code", + "in": "query" + }, + { + "description": "Computationally friendly name of the questionnaire", + "required": false, + "schema": { + "type": "string", + "title": "Name", + "description": "Computationally friendly name of the questionnaire" + }, + "name": "name", + "in": "query" + }, + { + "description": "A code that matches one of the Questionnaire.code codings", + "required": false, + "schema": { + "type": "string", + "title": "Questionnaire-Code", + "description": "A code that matches one of the Questionnaire.code codings" + }, + "name": "questionnaire-code", + "in": "query" + }, + { + "description": "The current status of the questionnaire", + "required": false, + "schema": { + "type": "string", + "title": "Status", + "description": "The current status of the questionnaire" + }, + "name": "status", + "in": "query" + }, + { + "description": "Logical id of this artifact", + "required": false, + "schema": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "name": "_id", + "in": "query" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Questionnaire search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Questionnaire search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Questionnaire search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Questionnaire search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Questionnaire/_search": { + "post": { + "tags": ["Type:Questionnaire"], + "summary": "Questionnaire search-type", + "description": "The Questionnaire search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|post|Questionnaire", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "properties": { + "code": { + "type": "string", + "title": "Code", + "description": "A code that corresponds to one of its items in the questionnaire" + }, + "name": { + "type": "string", + "title": "Name", + "description": "Computationally friendly name of the questionnaire" + }, + "questionnaire-code": { + "type": "string", + "title": "Questionnaire-Code", + "description": "A code that matches one of the Questionnaire.code codings" + }, + "status": { + "type": "string", + "title": "Status", + "description": "The current status of the questionnaire" + }, + "_id": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "_format": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "_pretty": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + } + }, + "type": "object", + "title": "Body_fhirstarter|type|search-type|post|Questionnaire" + } + } + } + }, + "responses": { + "200": { + "description": "Successful Questionnaire search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Questionnaire search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Questionnaire search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Questionnaire search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/QuestionnaireResponse/{id}": { + "get": { + "tags": ["Type:QuestionnaireResponse"], + "summary": "QuestionnaireResponse read", + "description": "The QuestionnaireResponse read interaction accesses the current contents of a QuestionnaireResponse resource.", + "operationId": "fhirstarter|instance|read|get|QuestionnaireResponse", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful QuestionnaireResponse read", + "content": { + "application/fhir+json": { + "schema": { + "$ref": "#/components/schemas/QuestionnaireResponse" + } + } + } + }, + "401": { + "description": "Authentication is required for the QuestionnaireResponse read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the QuestionnaireResponse read interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "404": { + "description": "Unknown QuestionnaireResponse resource", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "not-found", + "details": { "text": "Resource not found" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + }, + "put": { + "tags": ["Type:QuestionnaireResponse"], + "summary": "QuestionnaireResponse update", + "description": "The QuestionnaireResponse update interaction creates a new current version for an existing QuestionnaireResponse resource.", + "operationId": "fhirstarter|instance|update|put|QuestionnaireResponse", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "requestBody": { + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/QuestionnaireResponse" } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Successful QuestionnaireResponse update", + "content": { + "application/fhir+json": { + "schema": { + "$ref": "#/components/schemas/QuestionnaireResponse" + } + } + } + }, + "400": { + "description": "QuestionnaireResponse update request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the QuestionnaireResponse update interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the QuestionnaireResponse update interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "422": { + "description": "The proposed QuestionnaireResponse resource violated applicable FHIR profiles or server business rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "processing", + "details": { "text": "Unprocessable entity" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/QuestionnaireResponse": { + "get": { + "tags": ["Type:QuestionnaireResponse"], + "summary": "QuestionnaireResponse search-type", + "description": "The QuestionnaireResponse search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|get|QuestionnaireResponse", + "parameters": [ + { + "description": "When the questionnaire response was last changed", + "required": false, + "schema": { + "items": { "type": "string" }, + "type": "array", + "title": "Authored", + "description": "When the questionnaire response was last changed" + }, + "name": "authored", + "in": "query" + }, + { + "description": "The patient that is the subject of the questionnaire response", + "required": false, + "schema": { + "type": "string", + "title": "Patient", + "description": "The patient that is the subject of the questionnaire response" + }, + "name": "patient", + "in": "query" + }, + { + "description": "The questionnaire the answers are provided for", + "required": false, + "schema": { + "type": "string", + "title": "Questionnaire", + "description": "The questionnaire the answers are provided for" + }, + "name": "questionnaire", + "in": "query" + }, + { + "description": "Logical id of this artifact", + "required": false, + "schema": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "name": "_id", + "in": "query" + }, + { + "description": "Order to sort results in (can repeat for inner sort orders)", + "required": false, + "schema": { + "type": "string", + "title": " Sort", + "description": "Order to sort results in (can repeat for inner sort orders)" + }, + "name": "_sort", + "in": "query" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful QuestionnaireResponse search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "QuestionnaireResponse search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the QuestionnaireResponse search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the QuestionnaireResponse search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + }, + "post": { + "tags": ["Type:QuestionnaireResponse"], + "summary": "QuestionnaireResponse create", + "description": "The QuestionnaireResponse create interaction creates a new QuestionnaireResponse resource in a server-assigned location.", + "operationId": "fhirstarter|type|create|post|QuestionnaireResponse", + "parameters": [ + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "requestBody": { + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/QuestionnaireResponse" } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Successful QuestionnaireResponse create", + "content": { + "application/fhir+json": { + "schema": { + "$ref": "#/components/schemas/QuestionnaireResponse" + } + } + } + }, + "400": { + "description": "QuestionnaireResponse create request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the QuestionnaireResponse create interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the QuestionnaireResponse create interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "422": { + "description": "The proposed QuestionnaireResponse resource violated applicable FHIR profiles or server business rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "processing", + "details": { "text": "Unprocessable entity" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/QuestionnaireResponse/_search": { + "post": { + "tags": ["Type:QuestionnaireResponse"], + "summary": "QuestionnaireResponse search-type", + "description": "The QuestionnaireResponse search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|post|QuestionnaireResponse", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "properties": { + "authored": { + "items": { "type": "string" }, + "type": "array", + "title": "Authored", + "description": "When the questionnaire response was last changed" + }, + "patient": { + "type": "string", + "title": "Patient", + "description": "The patient that is the subject of the questionnaire response" + }, + "questionnaire": { + "type": "string", + "title": "Questionnaire", + "description": "The questionnaire the answers are provided for" + }, + "_id": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "_sort": { + "type": "string", + "title": " Sort", + "description": "Order to sort results in (can repeat for inner sort orders)" + }, + "_format": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "_pretty": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + } + }, + "type": "object", + "title": "Body_fhirstarter|type|search-type|post|QuestionnaireResponse" + } + } + } + }, + "responses": { + "200": { + "description": "Successful QuestionnaireResponse search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "QuestionnaireResponse search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the QuestionnaireResponse search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the QuestionnaireResponse search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Schedule": { + "get": { + "tags": ["Type:Schedule"], + "summary": "Schedule search-type", + "description": "The Schedule search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|get|Schedule", + "parameters": [ + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Schedule search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Schedule search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Schedule search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Schedule search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Schedule/_search": { + "post": { + "tags": ["Type:Schedule"], + "summary": "Schedule search-type", + "description": "The Schedule search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|post|Schedule", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "properties": { + "_format": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "_pretty": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + } + }, + "type": "object", + "title": "Body_fhirstarter|type|search-type|post|Schedule" + } + } + } + }, + "responses": { + "200": { + "description": "Successful Schedule search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Schedule search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Schedule search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Schedule search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Slot": { + "get": { + "tags": ["Type:Slot"], + "summary": "Slot search-type", + "description": "The Slot search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|get|Slot", + "parameters": [ + { + "description": "Minimum duration", + "required": false, + "schema": { + "type": "string", + "title": "Duration", + "description": "Minimum duration" + }, + "name": "duration", + "in": "query" + }, + { + "description": "Latest end time", + "required": false, + "schema": { + "type": "string", + "title": "End", + "description": "Latest end time" + }, + "name": "end", + "in": "query" + }, + { + "description": "The Schedule Resource that we are seeking a slot within", + "required": false, + "schema": { + "type": "string", + "title": "Schedule", + "description": "The Schedule Resource that we are seeking a slot within" + }, + "name": "schedule", + "in": "query" + }, + { + "description": "Appointment date/time.", + "required": false, + "schema": { + "type": "string", + "title": "Start", + "description": "Appointment date/time." + }, + "name": "start", + "in": "query" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Slot search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Slot search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Slot search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Slot search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Slot/_search": { + "post": { + "tags": ["Type:Slot"], + "summary": "Slot search-type", + "description": "The Slot search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|post|Slot", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "properties": { + "duration": { + "type": "string", + "title": "Duration", + "description": "Minimum duration" + }, + "end": { + "type": "string", + "title": "End", + "description": "Latest end time" + }, + "schedule": { + "type": "string", + "title": "Schedule", + "description": "The Schedule Resource that we are seeking a slot within" + }, + "start": { + "type": "string", + "title": "Start", + "description": "Appointment date/time." + }, + "_format": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "_pretty": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + } + }, + "type": "object", + "title": "Body_fhirstarter|type|search-type|post|Slot" + } + } + } + }, + "responses": { + "200": { + "description": "Successful Slot search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Slot search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Slot search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Slot search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Task": { + "get": { + "tags": ["Type:Task"], + "summary": "Task search-type", + "description": "The Task search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|get|Task", + "parameters": [ + { + "description": "Human-readable explanation of task", + "required": false, + "schema": { + "type": "string", + "title": "Description", + "description": "Human-readable explanation of task" + }, + "name": "description", + "in": "query" + }, + { + "description": "Label assigned to task", + "required": false, + "schema": { + "type": "string", + "title": "Label", + "description": "Label assigned to task" + }, + "name": "label", + "in": "query" + }, + { + "description": "Search by task owner", + "required": false, + "schema": { + "type": "string", + "title": "Owner", + "description": "Search by task owner" + }, + "name": "owner", + "in": "query" + }, + { + "description": "Search by patient", + "required": false, + "schema": { + "type": "string", + "title": "Patient", + "description": "Search by patient" + }, + "name": "patient", + "in": "query" + }, + { + "description": "Search by task requester", + "required": false, + "schema": { + "type": "string", + "title": "Requester", + "description": "Search by task requester" + }, + "name": "requester", + "in": "query" + }, + { + "description": "Search by task status", + "required": false, + "schema": { + "type": "string", + "title": "Status", + "description": "Search by task status" + }, + "name": "status", + "in": "query" + }, + { + "description": "Logical id of this artifact", + "required": false, + "schema": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "name": "_id", + "in": "query" + }, + { + "description": "Order to sort results in (can repeat for inner sort orders)", + "required": false, + "schema": { + "type": "string", + "title": " Sort", + "description": "Order to sort results in (can repeat for inner sort orders)" + }, + "name": "_sort", + "in": "query" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Task search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Task search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Task search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Task search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + }, + "post": { + "tags": ["Type:Task"], + "summary": "Task create", + "description": "The Task create interaction creates a new Task resource in a server-assigned location.", + "operationId": "fhirstarter|type|create|post|Task", + "parameters": [ + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "requestBody": { + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Task" } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Successful Task create", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Task" } + } + } + }, + "400": { + "description": "Task create request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Task create interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Task create interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "422": { + "description": "The proposed Task resource violated applicable FHIR profiles or server business rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "processing", + "details": { "text": "Unprocessable entity" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Task/{id}": { + "put": { + "tags": ["Type:Task"], + "summary": "Task update", + "description": "The Task update interaction creates a new current version for an existing Task resource.", + "operationId": "fhirstarter|instance|update|put|Task", + "parameters": [ + { + "description": "Logical id of this artifact", + "required": true, + "schema": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Id", + "description": "Logical id of this artifact" + }, + "name": "id", + "in": "path" + }, + { + "description": "Override the HTTP content negotiation to specify JSON or XML response format", + "required": false, + "schema": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "name": "_format", + "in": "query" + }, + { + "description": "Ask for a pretty printed response for human convenience", + "required": false, + "schema": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + }, + "name": "_pretty", + "in": "query" + } + ], + "requestBody": { + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Task" } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Successful Task update", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/Task" } + } + } + }, + "400": { + "description": "Task update request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Task update interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Task update interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "422": { + "description": "The proposed Task resource violated applicable FHIR profiles or server business rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "processing", + "details": { "text": "Unprocessable entity" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Task/_search": { + "post": { + "tags": ["Type:Task"], + "summary": "Task search-type", + "description": "The Task search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|post|Task", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "properties": { + "description": { + "type": "string", + "title": "Description", + "description": "Human-readable explanation of task" + }, + "label": { + "type": "string", + "title": "Label", + "description": "Label assigned to task" + }, + "owner": { + "type": "string", + "title": "Owner", + "description": "Search by task owner" + }, + "patient": { + "type": "string", + "title": "Patient", + "description": "Search by patient" + }, + "requester": { + "type": "string", + "title": "Requester", + "description": "Search by task requester" + }, + "status": { + "type": "string", + "title": "Status", + "description": "Search by task status" + }, + "_id": { + "type": "string", + "title": " Id", + "description": "Logical id of this artifact" + }, + "_sort": { + "type": "string", + "title": " Sort", + "description": "Order to sort results in (can repeat for inner sort orders)" + }, + "_format": { + "type": "string", + "title": " Format", + "description": "Override the HTTP content negotiation to specify JSON or XML response format" + }, + "_pretty": { + "type": "string", + "title": " Pretty", + "description": "Ask for a pretty printed response for human convenience" + } + }, + "type": "object", + "title": "Body_fhirstarter|type|search-type|post|Task" + } + } + } + }, + "responses": { + "200": { + "description": "Successful Task search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Task search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Task search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Task search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Allergen": { + "get": { + "tags": ["Type:Allergen"], + "summary": "Allergen search-type", + "description": "The Allergen search-type interaction searches a set of resources based on some filter criteria.", + "operationId": "fhirstarter|type|search-type|get|Allergen", + "parameters": [ + { + "description": "Value from another system associated with the FDB value. Expected format is: system_url|identifier", + "required": false, + "schema": { + "type": "string", + "title": "Code", + "description": "Value from another system associated with the FDB value. Expected format is: system_url|identifier" + }, + "name": "code", + "in": "query" + }, + { + "description": "Text to search for in the FDB description fields", + "required": false, + "schema": { + "type": "string", + "title": " Text", + "description": "Text to search for in the FDB description fields" + }, + "name": "_text", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Allergen search-type", + "content": { + "application/fhir+json": { + "schema": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources.", + "example": { + "resourceType": "Bundle", + "id": "bundle-example", + "meta": { "lastUpdated": "2014-08-18T01:43:30Z" }, + "type": "searchset", + "total": 3, + "link": [ + { + "relation": "self", + "url": "https://example.com/base/Allergen?_count=1" + }, + { + "relation": "next", + "url": "https://example.com/base/Allergen?searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2" + } + ], + "entry": [ + { + "fullUrl": "https://example.com/base/Allergen/3123", + "resource": { "resourceType": "Allergen" }, + "search": { "mode": "match", "score": 1 } + } + ] + } + } + } + } + }, + "400": { + "description": "Allergen search-type request could not be parsed or failed basic FHIR validation rules.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { "text": "Bad request" } + } + ] + } + } + } + }, + "401": { + "description": "Authentication is required for the Allergen search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "unknown", + "details": { "text": "Authentication failed" } + } + ] + } + } + } + }, + "403": { + "description": "Authorization is required for the Allergen search-type interaction that was attempted.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { "text": "Authorization failed" } + } + ] + } + } + } + }, + "500": { + "description": "The server has encountered a situation it does not know how to handle.", + "content": { + "application/fhir+json": { + "schema": { "$ref": "#/components/schemas/OperationOutcome" }, + "example": { + "resourceType": "OperationOutcome", + "id": "101", + "issue": [ + { + "severity": "error", + "code": "exception", + "details": { "text": "Internal server error" } + } + ] + } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/Group/{id}/$export": { + "get": { + "tags": ["Operation:$export"], + "summary": "Export", + "description": "Function to handle routes that kick off requests for FHIR Bulk Data Exports\n[Currently supported version](http://hl7.org/fhir/uv/bulkdata/STU1.0.1/)\nFollows the [FHIR Asynchronous Request Pattern](http://hl7.org/fhir/async.html#3.1.6.2)", + "operationId": "export_Group__id___export_get", + "parameters": [ + { + "required": true, + "schema": { "type": "string", "title": "Id" }, + "name": "id", + "in": "path" + } + ], + "responses": { + "200": { + "description": "Successful Response", + "content": { "application/json": { "schema": {} } } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + }, + "/bulkstatus/{export_job_id}": { + "get": { + "tags": ["Operation:$export"], + "summary": "Bulkstatus", + "description": "Return the status of a bulk data request.", + "operationId": "bulkstatus_bulkstatus__export_job_id__get", + "parameters": [ + { + "required": true, + "schema": { "type": "string", "title": "Export Job Id" }, + "name": "export_job_id", + "in": "path" + } + ], + "responses": { + "200": { + "description": "Successful Response", + "content": { "application/json": { "schema": {} } } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + } + } + } + } + }, + "delete": { + "tags": ["Operation:$export"], + "summary": "Bulkdelete", + "description": "Cancel a bulk data request.", + "operationId": "bulkdelete_bulkstatus__export_job_id__delete", + "parameters": [ + { + "required": true, + "schema": { "type": "string", "title": "Export Job Id" }, + "name": "export_job_id", + "in": "path" + } + ], + "responses": { + "200": { + "description": "Successful Response", + "content": { "application/json": { "schema": {} } } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + } + } + } + }, + "security": [{ "FumageHTTPBearer": [] }] + } + } + }, + "components": { + "schemas": { + "Allergen": { + "properties": { + "resource_type": { + "type": "string", + "const": "Allergen", + "title": "Resource Type", + "default": "Allergen" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "code": { + "type": "CodeableConcept", + "title": "Codes, systems, and display values for allergen", + "description": "Provides standardized codings, if supported and available", + "element_property": true + } + }, + "additionalProperties": false, + "type": "object", + "title": "Allergen", + "description": "This is a Canvas custom FHIR Resource.\nIt provides developers a way to query FDB for allergen codings to be referenced\nin an actual FHIR resource.\nThis will match the way we reference these values in the UI.", + "example": { + "resourceType": "Allergen", + "id": "fdb-1-3", + "code": { + "coding": [ + { + "system": "http://www.fdbhealth.com/", + "code": "1-3", + "display": "Cinnamon Analogues" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "285245" + } + ] + } + } + }, + "AllergyIntolerance": { + "properties": { + "resource_type": { + "type": "string", + "const": "AllergyIntolerance", + "title": "Resource Type", + "default": "AllergyIntolerance" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "asserter": { + "type": "Reference", + "title": "Source of the information about the allergy", + "description": "The source of the information about the allergy that is recorded.", + "element_property": true, + "enum_reference_types": [ + "Patient", + "RelatedPerson", + "Practitioner", + "PractitionerRole" + ] + }, + "category": { + "items": { "type": "string", "pattern": "^[^\\s]+(\\s[^\\s]+)*$" }, + "type": "array", + "title": "food | medication | environment | biologic", + "description": "Category of the identified substance.", + "element_property": true, + "enum_values": ["food", "medication", "environment", "biologic"] + }, + "_category": { + "items": { "type": "FHIRPrimitiveExtension" }, + "type": "array", + "title": "Extension field for ``category``." + }, + "clinicalStatus": { + "type": "CodeableConcept", + "title": "active | inactive | resolved", + "description": "The clinical status of the allergy or intolerance.", + "element_property": true + }, + "code": { + "type": "CodeableConcept", + "title": "Code that identifies the allergy or intolerance", + "description": "Code for an allergy or intolerance statement (either a positive or a negated/excluded statement). This may be a code for a substance or pharmaceutical product that is considered to be responsible for the adverse reaction risk (e.g., \"Latex\"), an allergy or intolerance condition (e.g., \"Latex allergy\"), or a negated/excluded code for a specific substance or class (e.g., \"No latex allergy\") or a general or categorical negated statement (e.g., \"No known allergy\", \"No known drug allergies\"). Note: the substance for a specific reaction may be different from the substance identified as the cause of the risk, but it must be consistent with it. For instance, it may be a more specific substance (e.g. a brand medication) or a composite product that includes the identified substance. It must be clinically safe to only process the 'code' and ignore the 'reaction.substance'. If a receiving system is unable to confirm that AllergyIntolerance.reaction.substance falls within the semantic scope of AllergyIntolerance.code, then the receiving system should ignore AllergyIntolerance.reaction.substance.", + "element_property": true + }, + "criticality": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "low | high | unable-to-assess", + "description": "Estimate of the potential clinical harm, or seriousness, of the reaction to the identified substance.", + "element_property": true, + "enum_values": ["low", "high", "unable-to-assess"] + }, + "_criticality": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``criticality``." + }, + "encounter": { + "type": "Reference", + "title": "Encounter when the allergy or intolerance was asserted", + "description": "The encounter when the allergy or intolerance was asserted.", + "element_property": true, + "enum_reference_types": ["Encounter"] + }, + "identifier": { + "items": { "type": "Identifier" }, + "type": "array", + "title": "External ids for this item", + "description": "Business identifiers assigned to this AllergyIntolerance by the performer or other systems which remain constant as the resource is updated and propagates from server to server.", + "element_property": true + }, + "lastOccurrence": { + "type": "string", + "format": "date-time", + "title": "Date(/time) of last known occurrence of a reaction", + "description": "Represents the date and/or time of the last known occurrence of a reaction event.", + "element_property": true + }, + "_lastOccurrence": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``lastOccurrence``." + }, + "note": { + "items": { "type": "Annotation" }, + "type": "array", + "title": "Additional text not captured in other fields", + "description": "Additional narrative about the propensity for the Adverse Reaction, not captured in other fields.", + "element_property": true + }, + "onsetAge": { + "type": "Age", + "title": "When allergy or intolerance was identified", + "description": "Estimated or actual date, date-time, or age when allergy or intolerance was identified.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "onset" + }, + "onsetDateTime": { + "type": "string", + "format": "date-time", + "title": "When allergy or intolerance was identified", + "description": "Estimated or actual date, date-time, or age when allergy or intolerance was identified.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "onset" + }, + "_onsetDateTime": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``onsetDateTime``." + }, + "onsetPeriod": { + "type": "Period", + "title": "When allergy or intolerance was identified", + "description": "Estimated or actual date, date-time, or age when allergy or intolerance was identified.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "onset" + }, + "onsetRange": { + "type": "Range", + "title": "When allergy or intolerance was identified", + "description": "Estimated or actual date, date-time, or age when allergy or intolerance was identified.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "onset" + }, + "onsetString": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "When allergy or intolerance was identified", + "description": "Estimated or actual date, date-time, or age when allergy or intolerance was identified.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "onset" + }, + "_onsetString": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``onsetString``." + }, + "patient": { + "type": "Reference", + "title": "Who the sensitivity is for", + "description": "The patient who has the allergy or intolerance.", + "element_property": true, + "enum_reference_types": ["Patient"] + }, + "reaction": { + "items": { "type": "AllergyIntoleranceReaction" }, + "type": "array", + "title": "Adverse Reaction Events linked to exposure to substance", + "description": "Details about each adverse reaction event linked to exposure to the identified substance.", + "element_property": true + }, + "recordedDate": { + "type": "string", + "format": "date-time", + "title": "Date first version of the resource instance was recorded", + "description": "The recordedDate represents when this particular AllergyIntolerance record was created in the system, which is often a system-generated date.", + "element_property": true + }, + "_recordedDate": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``recordedDate``." + }, + "recorder": { + "type": "Reference", + "title": "Who recorded the sensitivity", + "description": "Individual who recorded the record and takes responsibility for its content.", + "element_property": true, + "enum_reference_types": [ + "Practitioner", + "PractitionerRole", + "Patient", + "RelatedPerson" + ] + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "allergy | intolerance - Underlying mechanism (if known)", + "description": "Identification of the underlying physiological mechanism for the reaction risk.", + "element_property": true, + "enum_values": ["allergy", "intolerance"] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + }, + "verificationStatus": { + "type": "CodeableConcept", + "title": "unconfirmed | confirmed | refuted | entered-in-error", + "description": "Assertion about certainty associated with the propensity, or potential risk, of a reaction to the identified substance (including pharmaceutical product).", + "element_property": true + } + }, + "additionalProperties": false, + "type": "object", + "required": ["patient"], + "title": "AllergyIntolerance", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nAllergy or Intolerance (generally: Risk of adverse reaction to a substance).\nRisk of harmful or undesirable, physiological response which is unique to\nan individual and associated with exposure to a substance.", + "example": { + "resourceType": "AllergyIntolerance", + "id": "example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

identifier: 49476534

clinicalStatus: Active (Details : {http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical code 'active' = 'Active', given as 'Active'})

verificationStatus: Confirmed (Details : {http://terminology.hl7.org/CodeSystem/allergyintolerance-verification code 'confirmed' = 'Confirmed', given as 'Confirmed'})

type: allergy

category: food

criticality: high

code: Cashew nuts (Details : {SNOMED CT code '227493005' = 'Cashew nuts', given as 'Cashew nuts'})

patient: Patient/example

onset: 01/01/2004

recordedDate: 09/10/2014 2:58:00 PM

recorder: Practitioner/example

asserter: Patient/example

lastOccurrence: 01/06/2012

note: The criticality is high becasue of the observed anaphylactic reaction when challenged with cashew extract.

reaction

substance: cashew nut allergenic extract Injectable Product (Details : {RxNorm code '1160593' = 'cashew nut allergenic extract Injectable Product', given as 'cashew nut allergenic extract Injectable Product'})

manifestation: Anaphylactic reaction (Details : {SNOMED CT code '39579001' = 'Anaphylaxis', given as 'Anaphylactic reaction'})

description: Challenge Protocol. Severe reaction to subcutaneous cashew extract. Epinephrine administered

onset: 12/06/2012

severity: severe

exposureRoute: Subcutaneous route (Details : {SNOMED CT code '34206005' = 'Subcutaneous route', given as 'Subcutaneous route'})

reaction

manifestation: Urticaria (Details : {SNOMED CT code '64305001' = 'Urticaria', given as 'Urticaria'})

onset: 01/01/2004

severity: moderate

note: The patient reports that the onset of urticaria was within 15 minutes of eating cashews.

" + }, + "identifier": [ + { + "system": "http://acme.com/ids/patients/risks", + "value": "49476534" + } + ], + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", + "code": "active", + "display": "Active" + } + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification", + "code": "confirmed", + "display": "Confirmed" + } + ] + }, + "type": "allergy", + "category": ["food"], + "criticality": "high", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "227493005", + "display": "Cashew nuts" + } + ] + }, + "patient": { "reference": "Patient/example" }, + "onsetDateTime": "2004", + "recordedDate": "2014-10-09T14:58:00+11:00", + "recorder": { "reference": "Practitioner/example" }, + "asserter": { "reference": "Patient/example" }, + "lastOccurrence": "2012-06", + "note": [ + { + "text": "The criticality is high becasue of the observed anaphylactic reaction when challenged with cashew extract." + } + ], + "reaction": [ + { + "substance": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "1160593", + "display": "cashew nut allergenic extract Injectable Product" + } + ] + }, + "manifestation": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "39579001", + "display": "Anaphylactic reaction" + } + ] + } + ], + "description": "Challenge Protocol. Severe reaction to subcutaneous cashew extract. Epinephrine administered", + "onset": "2012-06-12", + "severity": "severe", + "exposureRoute": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "34206005", + "display": "Subcutaneous route" + } + ] + } + }, + { + "manifestation": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "64305001", + "display": "Urticaria" + } + ] + } + ], + "onset": "2004", + "severity": "moderate", + "note": [ + { + "text": "The patient reports that the onset of urticaria was within 15 minutes of eating cashews." + } + ] + } + ] + } + }, + "Appointment": { + "properties": { + "resource_type": { + "type": "string", + "const": "Appointment", + "title": "Resource Type", + "default": "Appointment" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "appointmentType": { + "type": "CodeableConcept", + "title": "The style of appointment or patient that has been booked in the slot (not service type)", + "element_property": true + }, + "basedOn": { + "items": { "type": "Reference" }, + "type": "array", + "title": "The service request this appointment is allocated to assess", + "description": "The service request this appointment is allocated to assess (e.g. incoming referral or procedure request).", + "element_property": true, + "enum_reference_types": ["ServiceRequest"] + }, + "cancelationReason": { + "type": "CodeableConcept", + "title": "The coded reason for the appointment being cancelled", + "description": "The coded reason for the appointment being cancelled. This is often used in reporting/billing/futher processing to determine if further actions are required, or specific fees apply.", + "element_property": true + }, + "comment": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "Additional comments", + "description": "Additional comments about the appointment.", + "element_property": true + }, + "_comment": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``comment``." + }, + "created": { + "type": "string", + "format": "date-time", + "title": "The date that this appointment was initially created", + "description": "The date that this appointment was initially created. This could be different to the meta.lastModified value on the initial entry, as this could have been before the resource was created on the FHIR server, and should remain unchanged over the lifespan of the appointment.", + "element_property": true + }, + "_created": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``created``." + }, + "description": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "Shown on a subject line in a meeting request, or appointment list", + "description": "The brief description of the appointment as would be shown on a subject line in a meeting request, or appointment list. Detailed or expanded information should be put in the comment field.", + "element_property": true + }, + "_description": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``description``." + }, + "end": { + "type": "string", + "format": "date-time", + "title": "When appointment is to conclude", + "description": "Date/Time that the appointment is to conclude.", + "element_property": true + }, + "_end": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``end``." + }, + "identifier": { + "items": { "type": "Identifier" }, + "type": "array", + "title": "External Ids for this item", + "description": "This records identifiers associated with this appointment concern that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).", + "element_property": true + }, + "minutesDuration": { + "type": "integer", + "exclusiveMinimum": 0.0, + "title": "Can be less than start/end (e.g. estimate)", + "description": "Number of minutes that the appointment is to take. This can be less than the duration between the start and end times. For example, where the actual time of appointment is only an estimate or if a 30 minute appointment is being requested, but any time would work. Also, if there is, for example, a planned 15 minute break in the middle of a long appointment, the duration may be 15 minutes less than the difference between the start and end.", + "element_property": true + }, + "_minutesDuration": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``minutesDuration``." + }, + "participant": { + "items": { "type": "AppointmentParticipant" }, + "type": "array", + "title": "Participants involved in appointment", + "description": "List of participants involved in the appointment.", + "element_property": true + }, + "patientInstruction": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "Detailed information and instructions for the patient", + "description": "While Appointment.comment contains information for internal use, Appointment.patientInstructions is used to capture patient facing information about the Appointment (e.g. please bring your referral or fast from 8pm night before).", + "element_property": true + }, + "_patientInstruction": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``patientInstruction``." + }, + "priority": { + "type": "integer", + "minimum": 0.0, + "title": "Used to make informed decisions if needing to re-prioritize", + "description": "The priority of the appointment. Can be used to make informed decisions if needing to re-prioritize appointments. (The iCal Standard specifies 0 as undefined, 1 as highest, 9 as lowest priority).", + "element_property": true + }, + "_priority": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``priority``." + }, + "reasonCode": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Coded reason this appointment is scheduled", + "description": "The coded reason that this appointment is being scheduled. This is more clinical than administrative.", + "element_property": true + }, + "reasonReference": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Reason the appointment is to take place (resource)", + "description": "Reason the appointment has been scheduled to take place, as specified using information from another resource. When the patient arrives and the encounter begins it may be used as the admission diagnosis. The indication will typically be a Condition (with other resources referenced in the evidence.detail), or a Procedure.", + "element_property": true, + "enum_reference_types": [ + "Condition", + "Procedure", + "Observation", + "ImmunizationRecommendation" + ] + }, + "requestedPeriod": { + "items": { "type": "Period" }, + "type": "array", + "title": "Potential date/time interval(s) requested to allocate the appointment within", + "description": "A set of date ranges (potentially including times) that the appointment is preferred to be scheduled within. The duration (usually in minutes) could also be provided to indicate the length of the appointment to fill and populate the start/end times for the actual allocated time. However, in other situations the duration may be calculated by the scheduling system.", + "element_property": true + }, + "serviceCategory": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "A broad categorization of the service that is to be performed during this appointment", + "element_property": true + }, + "serviceType": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "The specific service that is to be performed during this appointment", + "element_property": true + }, + "slot": { + "items": { "type": "Reference" }, + "type": "array", + "title": "The slots that this appointment is filling", + "description": "The slots from the participants' schedules that will be filled by the appointment.", + "element_property": true, + "enum_reference_types": ["Slot"] + }, + "specialty": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "The specialty of a practitioner that would be required to perform the service requested in this appointment", + "element_property": true + }, + "start": { + "type": "string", + "format": "date-time", + "title": "When appointment is to take place", + "description": "Date/Time that the appointment is to take place.", + "element_property": true + }, + "_start": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``start``." + }, + "status": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "proposed | pending | booked | arrived | fulfilled | cancelled | noshow | entered-in-error | checked-in | waitlist", + "description": "The overall status of the Appointment. Each of the participants has their own participation status which indicates their involvement in the process, however this status indicates the shared status.", + "element_property": true, + "element_required": true, + "enum_values": [ + "proposed", + "pending", + "booked", + "arrived", + "fulfilled", + "cancelled", + "noshow", + "entered-in-error", + "checked-in", + "waitlist" + ] + }, + "_status": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``status``." + }, + "supportingInformation": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Additional information to support the appointment", + "description": "Additional information to support the appointment provided when making the appointment.", + "element_property": true, + "enum_reference_types": ["Resource"] + } + }, + "additionalProperties": false, + "type": "object", + "required": ["participant"], + "title": "Appointment", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nA booking of a healthcare event among patient(s), practitioner(s), related\nperson(s) and/or device(s) for a specific date/time. This may result in one\nor more Encounter(s).", + "example": { + "resourceType": "Appointment", + "id": "example", + "text": { + "status": "generated", + "div": "
Brian MRI results discussion
" + }, + "status": "booked", + "serviceCategory": [ + { + "coding": [ + { + "system": "http://example.org/service-category", + "code": "gp", + "display": "General Practice" + } + ] + } + ], + "serviceType": [ + { "coding": [{ "code": "52", "display": "General Discussion" }] } + ], + "specialty": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "394814009", + "display": "General practice" + } + ] + } + ], + "appointmentType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0276", + "code": "FOLLOWUP", + "display": "A follow up visit from a previous appointment" + } + ] + }, + "reasonReference": [ + { + "reference": "Condition/example", + "display": "Severe burn of left ear" + } + ], + "priority": 5, + "description": "Discussion on the results of your recent MRI", + "start": "2013-12-10T09:00:00Z", + "end": "2013-12-10T11:00:00Z", + "created": "2013-10-10", + "comment": "Further expand on the results of the MRI and determine the next actions that may be appropriate.", + "basedOn": [{ "reference": "ServiceRequest/myringotomy" }], + "participant": [ + { + "actor": { + "reference": "Patient/example", + "display": "Peter James Chalmers" + }, + "required": "required", + "status": "accepted" + }, + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "ATND" + } + ] + } + ], + "actor": { + "reference": "Practitioner/example", + "display": "Dr Adam Careful" + }, + "required": "required", + "status": "accepted" + }, + { + "actor": { + "reference": "Location/1", + "display": "South Wing, second floor" + }, + "required": "required", + "status": "accepted" + } + ] + } + }, + "Bundle": { + "properties": { + "resource_type": { + "type": "string", + "const": "Bundle", + "title": "Resource Type", + "default": "Bundle" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "entry": { + "items": { "type": "BundleEntry" }, + "type": "array", + "title": "Entry in the bundle - will have a resource or information", + "description": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", + "element_property": true + }, + "identifier": { + "type": "Identifier", + "title": "Persistent identifier for the bundle", + "description": "A persistent identifier for the bundle that won't change as a bundle is copied from server to server.", + "element_property": true + }, + "link": { + "items": { "type": "BundleLink" }, + "type": "array", + "title": "Links related to this Bundle", + "description": "A series of links that provide context to this bundle.", + "element_property": true + }, + "signature": { + "type": "Signature", + "title": "Digital Signature", + "description": "Digital Signature - base64 encoded. XML-DSig or a JWT.", + "element_property": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "title": "When the bundle was assembled", + "description": "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.", + "element_property": true + }, + "_timestamp": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``timestamp``." + }, + "total": { + "type": "integer", + "minimum": 0.0, + "title": "If search, the total number of matches", + "description": "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", + "element_property": true + }, + "_total": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``total``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", + "description": "Indicates the purpose of this bundle - how it is intended to be used.", + "element_property": true, + "element_required": true, + "enum_values": [ + "document", + "message", + "transaction", + "transaction-response", + "batch", + "batch-response", + "history", + "searchset", + "collection" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Bundle", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nContains a collection of resources.\nA container for a collection of resources." + }, + "CapabilityStatement": { + "properties": { + "resource_type": { + "type": "string", + "const": "CapabilityStatement", + "title": "Resource Type", + "default": "CapabilityStatement" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "contact": { + "items": { "type": "ContactDetail" }, + "type": "array", + "title": "Contact details for the publisher", + "description": "Contact details to assist a user in finding and communicating with the publisher.", + "element_property": true + }, + "copyright": { + "type": "string", + "pattern": "\\s*(\\S|\\s)*", + "title": "Use and/or publishing restrictions", + "description": "A copyright statement relating to the capability statement and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the capability statement.", + "element_property": true + }, + "_copyright": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``copyright``." + }, + "date": { + "type": "string", + "format": "date-time", + "title": "Date last changed", + "description": "The date (and optionally time) when the capability statement was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the capability statement changes.", + "element_property": true, + "element_required": true + }, + "_date": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``date``." + }, + "description": { + "type": "string", + "pattern": "\\s*(\\S|\\s)*", + "title": "Natural language description of the capability statement", + "description": "A free text natural language description of the capability statement from a consumer's perspective. Typically, this is used when the capability statement describes a desired rather than an actual solution, for example as a formal expression of requirements as part of an RFP.", + "element_property": true + }, + "_description": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``description``." + }, + "document": { + "items": { "type": "CapabilityStatementDocument" }, + "type": "array", + "title": "Document definition", + "description": "A document definition.", + "element_property": true + }, + "experimental": { + "type": "boolean", + "title": "For testing purposes, not real usage", + "description": "A Boolean value to indicate that this capability statement is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.", + "element_property": true + }, + "_experimental": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``experimental``." + }, + "fhirVersion": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "FHIR Version the system supports", + "description": "The version of the FHIR specification that this CapabilityStatement describes (which SHALL be the same as the FHIR version of the CapabilityStatement itself). There is no default value.", + "element_property": true, + "element_required": true + }, + "_fhirVersion": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``fhirVersion``." + }, + "format": { + "items": { "type": "string", "pattern": "^[^\\s]+(\\s[^\\s]+)*$" }, + "type": "array", + "title": "formats supported (xml | json | ttl | mime type)", + "description": "A list of the formats supported by this implementation using their content types.", + "element_property": true, + "element_required": true, + "enum_values": ["formats", "json", "ttl", "mime"] + }, + "_format": { + "items": { "type": "FHIRPrimitiveExtension" }, + "type": "array", + "title": "Extension field for ``format``." + }, + "implementation": { + "type": "CapabilityStatementImplementation", + "title": "If this describes a specific instance", + "description": "Identifies a specific implementation instance that is described by the capability statement - i.e. a particular installation, rather than the capabilities of a software program.", + "element_property": true + }, + "implementationGuide": { + "items": { "type": "string", "pattern": "\\S*" }, + "type": "array", + "title": "Implementation guides supported", + "description": "A list of implementation guides that the server does (or should) support in their entirety.", + "element_property": true, + "enum_reference_types": ["ImplementationGuide"] + }, + "_implementationGuide": { + "items": { "type": "FHIRPrimitiveExtension" }, + "type": "array", + "title": "Extension field for ``implementationGuide``." + }, + "imports": { + "items": { "type": "string", "pattern": "\\S*" }, + "type": "array", + "title": "Canonical URL of another capability statement this adds to", + "description": "Reference to a canonical URL of another CapabilityStatement that this software adds to. The capability statement automatically includes everything in the other statement, and it is not duplicated, though the server may repeat the same resources, interactions and operations to add additional details to them.", + "element_property": true, + "enum_reference_types": ["CapabilityStatement"] + }, + "_imports": { + "items": { "type": "FHIRPrimitiveExtension" }, + "type": "array", + "title": "Extension field for ``imports``." + }, + "instantiates": { + "items": { "type": "string", "pattern": "\\S*" }, + "type": "array", + "title": "Canonical URL of another capability statement this implements", + "description": "Reference to a canonical URL of another CapabilityStatement that this software implements. This capability statement is a published API description that corresponds to a business service. The server may actually implement a subset of the capability statement it claims to implement, so the capability statement must specify the full capability details.", + "element_property": true, + "enum_reference_types": ["CapabilityStatement"] + }, + "_instantiates": { + "items": { "type": "FHIRPrimitiveExtension" }, + "type": "array", + "title": "Extension field for ``instantiates``." + }, + "jurisdiction": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Intended jurisdiction for capability statement (if applicable)", + "description": "A legal or geographic region in which the capability statement is intended to be used.", + "element_property": true + }, + "kind": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "instance | capability | requirements", + "description": "The way that this statement is intended to be used, to describe an actual running instance of software, a particular product (kind, not instance of software) or a class of implementation (e.g. a desired purchase).", + "element_property": true, + "element_required": true, + "enum_values": ["instance", "capability", "requirements"] + }, + "_kind": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``kind``." + }, + "messaging": { + "items": { "type": "CapabilityStatementMessaging" }, + "type": "array", + "title": "If messaging is supported", + "description": "A description of the messaging capabilities of the solution.", + "element_property": true + }, + "name": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "Name for this capability statement (computer friendly)", + "description": "A natural language name identifying the capability statement. This name should be usable as an identifier for the module by machine processing applications such as code generation.", + "element_property": true + }, + "_name": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``name``." + }, + "patchFormat": { + "items": { "type": "string", "pattern": "^[^\\s]+(\\s[^\\s]+)*$" }, + "type": "array", + "title": "Patch formats supported", + "description": "A list of the patch formats supported by this implementation using their content types.", + "element_property": true + }, + "_patchFormat": { + "items": { "type": "FHIRPrimitiveExtension" }, + "type": "array", + "title": "Extension field for ``patchFormat``." + }, + "publisher": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "Name of the publisher (organization or individual)", + "description": "The name of the organization or individual that published the capability statement.", + "element_property": true + }, + "_publisher": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``publisher``." + }, + "purpose": { + "type": "string", + "pattern": "\\s*(\\S|\\s)*", + "title": "Why this capability statement is defined", + "description": "Explanation of why this capability statement is needed and why it has been designed as it has.", + "element_property": true + }, + "_purpose": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``purpose``." + }, + "rest": { + "items": { "type": "CapabilityStatementRest" }, + "type": "array", + "title": "If the endpoint is a RESTful one", + "description": "A definition of the restful capabilities of the solution, if any.", + "element_property": true + }, + "software": { + "type": "CapabilityStatementSoftware", + "title": "Software that is covered by this capability statement", + "description": "Software that is covered by this capability statement. It is used when the capability statement describes the capabilities of a particular software version, independent of an installation.", + "element_property": true + }, + "status": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "draft | active | retired | unknown", + "description": "The status of this capability statement. Enables tracking the life-cycle of the content.", + "element_property": true, + "element_required": true, + "enum_values": ["draft", "active", "retired", "unknown"] + }, + "_status": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``status``." + }, + "title": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "Name for this capability statement (human friendly)", + "description": "A short, descriptive, user-friendly title for the capability statement.", + "element_property": true + }, + "_title": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``title``." + }, + "url": { + "type": "string", + "pattern": "\\S*", + "title": "Canonical identifier for this capability statement, represented as a URI (globally unique)", + "description": "An absolute URI that is used to identify this capability statement when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this capability statement is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the capability statement is stored on different servers.", + "element_property": true + }, + "_url": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``url``." + }, + "useContext": { + "items": { "type": "UsageContext" }, + "type": "array", + "title": "The context that the content is intended to support", + "description": "The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate capability statement instances.", + "element_property": true + }, + "version": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "Business version of the capability statement", + "description": "The identifier that is used to identify this version of the capability statement when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the capability statement author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.", + "element_property": true + }, + "_version": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``version``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "CapabilityStatement", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nA statement of system capabilities.\nA Capability Statement documents a set of capabilities (behaviors) of a\nFHIR Server for a particular version of FHIR that may be used as a\nstatement of actual server functionality or a statement of required or\ndesired server implementation.", + "example": { + "resourceType": "CapabilityStatement", + "id": "example", + "text": { + "status": "generated", + "div": "
\n\t\t\t

The EHR Server supports the following transactions for the resource Person: read, vread, \n update, history, search(name,gender), create and updates.

\n\t\t\t

The EHR System supports the following message: admin-notify::Person.

\n\t\t\t

The EHR Application has a \n general document profile.\n

\n\t\t
" + }, + "url": "urn:uuid:68D043B5-9ECF-4559-A57A-396E0D452311", + "version": "20130510", + "name": "ACME-EHR", + "title": "ACME EHR capability statement", + "status": "draft", + "experimental": true, + "date": "2012-01-04", + "publisher": "ACME Corporation", + "contact": [ + { + "name": "System Administrator", + "telecom": [{ "system": "email", "value": "wile@acme.org" }] + } + ], + "description": "This is the FHIR capability statement for the main EHR at ACME for the private interface - it does not describe the public interface", + "useContext": [ + { + "code": { + "system": "http://terminology.hl7.org/CodeSystem/usage-context-type", + "code": "focus" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/variant-state", + "code": "positive" + } + ] + } + } + ], + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America (the)" + } + ] + } + ], + "purpose": "Main EHR capability statement, published for contracting and operational support", + "copyright": "Copyright © Acme Healthcare and GoodCorp EHR Systems", + "kind": "instance", + "instantiates": [ + "http://ihe.org/fhir/CapabilityStatement/pixm-client" + ], + "software": { + "name": "EHR", + "version": "0.00.020.2134", + "releaseDate": "2012-01-04" + }, + "implementation": { + "description": "main EHR at ACME", + "url": "http://10.2.3.4/fhir" + }, + "fhirVersion": "4.0.1", + "format": ["xml", "json"], + "patchFormat": [ + "application/xml-patch+xml", + "application/json-patch+json" + ], + "implementationGuide": ["http://hl7.org/fhir/us/lab"], + "rest": [ + { + "mode": "server", + "documentation": "Main FHIR endpoint for acem health", + "security": { + "cors": true, + "service": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/restful-security-service", + "code": "SMART-on-FHIR" + } + ] + } + ], + "description": "See Smart on FHIR documentation" + }, + "resource": [ + { + "type": "Patient", + "profile": "http://registry.fhir.org/r4/StructureDefinition/7896271d-57f6-4231-89dc-dcc91eab2416", + "supportedProfile": [ + "http://registry.fhir.org/r4/StructureDefinition/00ab9e7a-06c7-4f77-9234-4154ca1e3347" + ], + "documentation": "This server does not let the clients create identities.", + "interaction": [ + { "code": "read" }, + { + "code": "vread", + "documentation": "Only supported for patient records since 12-Dec 2012" + }, + { "code": "update" }, + { "code": "history-instance" }, + { "code": "create" }, + { "code": "history-type" } + ], + "versioning": "versioned-update", + "readHistory": true, + "updateCreate": false, + "conditionalCreate": true, + "conditionalRead": "full-support", + "conditionalUpdate": false, + "conditionalDelete": "not-supported", + "searchInclude": ["Organization"], + "searchRevInclude": ["Person"], + "searchParam": [ + { + "name": "identifier", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-identifier", + "type": "token", + "documentation": "Only supports search by institution MRN" + }, + { + "name": "general-practitioner", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-general-practitioner", + "type": "reference" + } + ] + } + ], + "interaction": [ + { "code": "transaction" }, + { "code": "history-system" } + ], + "compartment": [ + "http://hl7.org/fhir/CompartmentDefinition/patient" + ] + } + ], + "messaging": [ + { + "endpoint": [ + { + "protocol": { + "system": "http://terminology.hl7.org/CodeSystem/message-transport", + "code": "mllp" + }, + "address": "mllp:10.1.1.10:9234" + } + ], + "reliableCache": 30, + "documentation": "ADT A08 equivalent for external system notifications", + "supportedMessage": [ + { + "mode": "receiver", + "definition": "MessageDefinition/example" + } + ] + } + ], + "document": [ + { + "mode": "consumer", + "documentation": "Basic rules for all documents in the EHR system", + "profile": "http://fhir.hl7.org/base/Profilebc054d23-75e1-4dc6-aca5-838b6b1ac81d/_history/b5fdd9fc-b021-4ea1-911a-721a60663796" + } + ] + } + }, + "CarePlan": { + "properties": { + "resource_type": { + "type": "string", + "const": "CarePlan", + "title": "Resource Type", + "default": "CarePlan" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "activity": { + "items": { "type": "CarePlanActivity" }, + "type": "array", + "title": "Action to occur as part of plan", + "description": "Identifies a planned action to occur as part of the plan. For example, a medication to be used, lab tests to perform, self-monitoring, education, etc.", + "element_property": true + }, + "addresses": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Health issues this plan addresses", + "description": "Identifies the conditions/problems/concerns/diagnoses/etc. whose management and/or mitigation are handled by this plan.", + "element_property": true, + "enum_reference_types": ["Condition"] + }, + "author": { + "type": "Reference", + "title": "Who is the designated responsible party", + "description": "When populated, the author is responsible for the care plan. The care plan is attributed to the author.", + "element_property": true, + "enum_reference_types": [ + "Patient", + "Practitioner", + "PractitionerRole", + "Device", + "RelatedPerson", + "Organization", + "CareTeam" + ] + }, + "basedOn": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Fulfills CarePlan", + "description": "A care plan that is fulfilled in whole or in part by this care plan.", + "element_property": true, + "enum_reference_types": ["CarePlan"] + }, + "careTeam": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Who's involved in plan?", + "description": "Identifies all people and organizations who are expected to be involved in the care envisioned by this plan.", + "element_property": true, + "enum_reference_types": ["CareTeam"] + }, + "category": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Type of plan", + "description": "Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", \"wellness plan\", etc.", + "element_property": true + }, + "contributor": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Who provided the content of the care plan", + "description": "Identifies the individual(s) or organization who provided the contents of the care plan.", + "element_property": true, + "enum_reference_types": [ + "Patient", + "Practitioner", + "PractitionerRole", + "Device", + "RelatedPerson", + "Organization", + "CareTeam" + ] + }, + "created": { + "type": "string", + "format": "date-time", + "title": "Date record was first recorded", + "description": "Represents when this particular CarePlan record was created in the system, which is often a system-generated date.", + "element_property": true + }, + "_created": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``created``." + }, + "description": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "Summary of nature of plan", + "description": "A description of the scope and nature of the plan.", + "element_property": true + }, + "_description": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``description``." + }, + "encounter": { + "type": "Reference", + "title": "Encounter created as part of", + "description": "The Encounter during which this CarePlan was created or to which the creation of this record is tightly associated.", + "element_property": true, + "enum_reference_types": ["Encounter"] + }, + "goal": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Desired outcome of plan", + "description": "Describes the intended objective(s) of carrying out the care plan.", + "element_property": true, + "enum_reference_types": ["Goal"] + }, + "identifier": { + "items": { "type": "Identifier" }, + "type": "array", + "title": "External Ids for this plan", + "description": "Business identifiers assigned to this care plan by the performer or other systems which remain constant as the resource is updated and propagates from server to server.", + "element_property": true + }, + "instantiatesCanonical": { + "items": { "type": "string", "pattern": "\\S*" }, + "type": "array", + "title": "Instantiates FHIR protocol or definition", + "description": "The URL pointing to a FHIR-defined protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan.", + "element_property": true, + "enum_reference_types": [ + "PlanDefinition", + "Questionnaire", + "Measure", + "ActivityDefinition", + "OperationDefinition" + ] + }, + "_instantiatesCanonical": { + "items": { "type": "FHIRPrimitiveExtension" }, + "type": "array", + "title": "Extension field for ``instantiatesCanonical``." + }, + "instantiatesUri": { + "items": { "type": "string", "pattern": "\\S*" }, + "type": "array", + "title": "Instantiates external protocol or definition", + "description": "The URL pointing to an externally maintained protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan.", + "element_property": true + }, + "_instantiatesUri": { + "items": { "type": "FHIRPrimitiveExtension" }, + "type": "array", + "title": "Extension field for ``instantiatesUri``." + }, + "intent": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "proposal | plan | order | option", + "description": "Indicates the level of authority/intentionality associated with the care plan and where the care plan fits into the workflow chain.", + "element_property": true, + "element_required": true, + "enum_values": ["proposal", "plan", "order", "option"] + }, + "_intent": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``intent``." + }, + "note": { + "items": { "type": "Annotation" }, + "type": "array", + "title": "Comments about the plan", + "description": "General notes about the care plan not covered elsewhere.", + "element_property": true + }, + "partOf": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Part of referenced CarePlan", + "description": "A larger care plan of which this particular care plan is a component or step.", + "element_property": true, + "enum_reference_types": ["CarePlan"] + }, + "period": { + "type": "Period", + "title": "Time period plan covers", + "description": "Indicates when the plan did (or is intended to) come into effect and end.", + "element_property": true + }, + "replaces": { + "items": { "type": "Reference" }, + "type": "array", + "title": "CarePlan replaced by this CarePlan", + "description": "Completed or terminated care plan whose function is taken by this new care plan.", + "element_property": true, + "enum_reference_types": ["CarePlan"] + }, + "status": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "draft | active | on-hold | revoked | completed | entered-in-error | unknown", + "description": "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.", + "element_property": true, + "element_required": true, + "enum_values": [ + "draft", + "active", + "on-hold", + "revoked", + "completed", + "entered-in-error", + "unknown" + ] + }, + "_status": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``status``." + }, + "subject": { + "type": "Reference", + "title": "Who the care plan is for", + "description": "Identifies the patient or group whose intended care is described by the plan.", + "element_property": true, + "enum_reference_types": ["Patient", "Group"] + }, + "supportingInfo": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Information considered as part of plan", + "description": "Identifies portions of the patient's record that specifically influenced the formation of the plan. These might include comorbidities, recent procedures, limitations, recent assessments, etc.", + "element_property": true, + "enum_reference_types": ["Resource"] + }, + "title": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "Human-friendly name for the care plan", + "element_property": true + }, + "_title": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``title``." + } + }, + "additionalProperties": false, + "type": "object", + "required": ["subject"], + "title": "CarePlan", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nHealthcare plan for patient or group.\nDescribes the intention of how one or more practitioners intend to deliver\ncare for a particular patient, group or community for a period of time,\npossibly limited to care for a specific condition or set of conditions.", + "example": { + "resourceType": "CarePlan", + "id": "example", + "text": { + "status": "additional", + "div": "
\n

A simple care plan to indicate a patient taking their weight once a day because of obesity.

\n
" + }, + "contained": [ + { + "resourceType": "Condition", + "id": "p1", + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "active" + } + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed" + } + ] + }, + "code": { "text": "Obesity" }, + "subject": { + "reference": "Patient/example", + "display": "Peter James Chalmers" + } + } + ], + "identifier": [{ "value": "12345" }], + "instantiatesUri": ["http://example.org/protocol-for-obesity"], + "basedOn": [{ "display": "Management of Type 2 Diabetes" }], + "replaces": [{ "display": "Plan from urgent care clinic" }], + "partOf": [{ "display": "Overall wellness plan" }], + "status": "active", + "intent": "plan", + "category": [{ "text": "Weight management plan" }], + "description": "Manage obesity and weight loss", + "subject": { + "reference": "Patient/example", + "display": "Peter James Chalmers" + }, + "encounter": { "reference": "Encounter/home" }, + "period": { "end": "2017-06-01" }, + "created": "2016-01-01", + "author": { + "reference": "Practitioner/example", + "display": "Dr Adam Careful" + }, + "careTeam": [{ "reference": "CareTeam/example" }], + "addresses": [{ "reference": "#p1", "display": "obesity" }], + "goal": [{ "reference": "Goal/example" }], + "activity": [ + { + "outcomeCodeableConcept": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "161832001", + "display": "Progressive weight loss" + } + ] + } + ], + "outcomeReference": [ + { + "reference": "Observation/example", + "display": "Weight Measured" + } + ], + "detail": { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "3141-9", + "display": "Weight Measured" + }, + { + "system": "http://snomed.info/sct", + "code": "27113001", + "display": "Body weight" + } + ] + }, + "status": "completed", + "statusReason": { + "text": "Achieved weight loss to mitigate diabetes risk." + }, + "doNotPerform": false, + "scheduledTiming": { + "repeat": { "frequency": 1, "period": 1, "periodUnit": "d" } + }, + "location": { "display": "Patient's home" }, + "performer": [ + { + "reference": "Patient/example", + "display": "Peter James Chalmers" + } + ] + } + } + ] + } + }, + "CareTeam": { + "properties": { + "resource_type": { + "type": "string", + "const": "CareTeam", + "title": "Resource Type", + "default": "CareTeam" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "category": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Type of team", + "description": "Identifies what kind of team. This is to support differentiation between multiple co-existing teams, such as care plan team, episode of care team, longitudinal care team.", + "element_property": true + }, + "encounter": { + "type": "Reference", + "title": "Encounter created as part of", + "description": "The Encounter during which this CareTeam was created or to which the creation of this record is tightly associated.", + "element_property": true, + "enum_reference_types": ["Encounter"] + }, + "identifier": { + "items": { "type": "Identifier" }, + "type": "array", + "title": "External Ids for this team", + "description": "Business identifiers assigned to this care team by the performer or other systems which remain constant as the resource is updated and propagates from server to server.", + "element_property": true + }, + "managingOrganization": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Organization responsible for the care team", + "description": "The organization responsible for the care team.", + "element_property": true, + "enum_reference_types": ["Organization"] + }, + "name": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "Name of the team, such as crisis assessment team", + "description": "A label for human use intended to distinguish like teams. E.g. the \"red\" vs. \"green\" trauma teams.", + "element_property": true + }, + "_name": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``name``." + }, + "note": { + "items": { "type": "Annotation" }, + "type": "array", + "title": "Comments made about the CareTeam", + "element_property": true + }, + "participant": { + "items": { "type": "CareTeamParticipant" }, + "type": "array", + "title": "Members of the team", + "description": "Identifies all people and organizations who are expected to be involved in the care team.", + "element_property": true + }, + "period": { + "type": "Period", + "title": "Time period team covers", + "description": "Indicates when the team did (or is intended to) come into effect and end.", + "element_property": true + }, + "reasonCode": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Why the care team exists", + "description": "Describes why the care team exists.", + "element_property": true + }, + "reasonReference": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Why the care team exists", + "description": "Condition(s) that this care team addresses.", + "element_property": true, + "enum_reference_types": ["Condition"] + }, + "status": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "proposed | active | suspended | inactive | entered-in-error", + "description": "Indicates the current state of the care team.", + "element_property": true, + "enum_values": [ + "proposed", + "active", + "suspended", + "inactive", + "entered-in-error" + ] + }, + "_status": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``status``." + }, + "subject": { + "type": "Reference", + "title": "Who care team is for", + "description": "Identifies the patient or group whose intended care is handled by the team.", + "element_property": true, + "enum_reference_types": ["Patient", "Group"] + }, + "telecom": { + "items": { "type": "ContactPoint" }, + "type": "array", + "title": "A contact detail for the care team (that applies to all members)", + "description": "A central contact detail for the care team (that applies to all members).", + "element_property": true + } + }, + "additionalProperties": false, + "type": "object", + "title": "CareTeam", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nPlanned participants in the coordination and delivery of care for a patient\nor group.\nThe Care Team includes all the people and organizations who plan to\nparticipate in the coordination and delivery of care for a patient.", + "example": { + "resourceType": "CareTeam", + "id": "example", + "text": { + "status": "generated", + "div": "
Care Team
" + }, + "contained": [ + { + "resourceType": "Practitioner", + "id": "pr1", + "name": [{ "family": "Dietician", "given": ["Dorothy"] }] + } + ], + "identifier": [{ "value": "12345" }], + "status": "active", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "LA27976-2", + "display": "Encounter-focused care team" + } + ] + } + ], + "name": "Peter James Charlmers Care Plan for Inpatient Encounter", + "subject": { + "reference": "Patient/example", + "display": "Peter James Chalmers" + }, + "encounter": { "reference": "Encounter/example" }, + "period": { "end": "2013-01-01" }, + "participant": [ + { + "role": [{ "text": "responsiblePerson" }], + "member": { + "reference": "Patient/example", + "display": "Peter James Chalmers" + } + }, + { + "role": [{ "text": "adviser" }], + "member": { "reference": "#pr1", "display": "Dorothy Dietition" }, + "onBehalfOf": { "reference": "Organization/f001" }, + "period": { "end": "2013-01-01" } + } + ], + "managingOrganization": [{ "reference": "Organization/f001" }] + } + }, + "Claim": { + "properties": { + "resource_type": { + "type": "string", + "const": "Claim", + "title": "Resource Type", + "default": "Claim" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "accident": { + "type": "ClaimAccident", + "title": "Details of the event", + "description": "Details of an accident which resulted in injuries which required the products and services listed in the claim.", + "element_property": true + }, + "billablePeriod": { + "type": "Period", + "title": "Relevant time frame for the claim", + "description": "The period for which charges are being submitted.", + "element_property": true + }, + "careTeam": { + "items": { "type": "ClaimCareTeam" }, + "type": "array", + "title": "Members of the care team", + "description": "The members of the team who provided the products and services.", + "element_property": true + }, + "created": { + "type": "string", + "format": "date-time", + "title": "Resource creation date", + "description": "The date this resource was created.", + "element_property": true, + "element_required": true + }, + "_created": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``created``." + }, + "diagnosis": { + "items": { "type": "ClaimDiagnosis" }, + "type": "array", + "title": "Pertinent diagnosis information", + "description": "Information about diagnoses relevant to the claim items.", + "element_property": true + }, + "enterer": { + "type": "Reference", + "title": "Author of the claim", + "description": "Individual who created the claim, predetermination or preauthorization.", + "element_property": true, + "enum_reference_types": ["Practitioner", "PractitionerRole"] + }, + "facility": { + "type": "Reference", + "title": "Servicing facility", + "description": "Facility where the services were provided.", + "element_property": true, + "enum_reference_types": ["Location"] + }, + "fundsReserve": { + "type": "CodeableConcept", + "title": "For whom to reserve funds", + "description": "A code to indicate whether and for whom funds are to be reserved for future claims.", + "element_property": true + }, + "identifier": { + "items": { "type": "Identifier" }, + "type": "array", + "title": "Business Identifier for claim", + "description": "A unique identifier assigned to this claim.", + "element_property": true + }, + "insurance": { + "items": { "type": "ClaimInsurance" }, + "type": "array", + "title": "Patient insurance information", + "description": "Financial instruments for reimbursement for the health care products and services specified on the claim.", + "element_property": true + }, + "insurer": { + "type": "Reference", + "title": "Target", + "description": "The Insurer who is target of the request.", + "element_property": true, + "enum_reference_types": ["Organization"] + }, + "item": { + "items": { "type": "ClaimItem" }, + "type": "array", + "title": "Product or service provided", + "description": "A claim line. Either a simple product or service or a 'group' of details which can each be a simple items or groups of sub-details.", + "element_property": true + }, + "originalPrescription": { + "type": "Reference", + "title": "Original prescription if superseded by fulfiller", + "description": "Original prescription which has been superseded by this prescription to support the dispensing of pharmacy services, medications or products.", + "element_property": true, + "enum_reference_types": [ + "DeviceRequest", + "MedicationRequest", + "VisionPrescription" + ] + }, + "patient": { + "type": "Reference", + "title": "The recipient of the products and services", + "description": "The party to whom the professional services and/or products have been supplied or are being considered and for whom actual or forecast reimbursement is sought.", + "element_property": true, + "enum_reference_types": ["Patient"] + }, + "payee": { + "type": "ClaimPayee", + "title": "Recipient of benefits payable", + "description": "The party to be reimbursed for cost of the products and services according to the terms of the policy.", + "element_property": true + }, + "prescription": { + "type": "Reference", + "title": "Prescription authorizing services and products", + "description": "Prescription to support the dispensing of pharmacy, device or vision products.", + "element_property": true, + "enum_reference_types": [ + "DeviceRequest", + "MedicationRequest", + "VisionPrescription" + ] + }, + "priority": { + "type": "CodeableConcept", + "title": "Desired processing ugency", + "description": "The provider-required urgency of processing the request. Typical values include: stat, routine deferred.", + "element_property": true + }, + "procedure": { + "items": { "type": "ClaimProcedure" }, + "type": "array", + "title": "Clinical procedures performed", + "description": "Procedures performed on the patient relevant to the billing items with the claim.", + "element_property": true + }, + "provider": { + "type": "Reference", + "title": "Party responsible for the claim", + "description": "The provider which is responsible for the claim, predetermination or preauthorization.", + "element_property": true, + "enum_reference_types": [ + "Practitioner", + "PractitionerRole", + "Organization" + ] + }, + "referral": { + "type": "Reference", + "title": "Treatment referral", + "description": "A reference to a referral resource.", + "element_property": true, + "enum_reference_types": ["ServiceRequest"] + }, + "related": { + "items": { "type": "ClaimRelated" }, + "type": "array", + "title": "Prior or corollary claims", + "description": "Other claims which are related to this claim such as prior submissions or claims for related services or for the same event.", + "element_property": true + }, + "status": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "active | cancelled | draft | entered-in-error", + "description": "The status of the resource instance.", + "element_property": true, + "element_required": true, + "enum_values": ["active", "cancelled", "draft", "entered-in-error"] + }, + "_status": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``status``." + }, + "subType": { + "type": "CodeableConcept", + "title": "More granular claim type", + "description": "A finer grained suite of claim type codes which may convey additional information such as Inpatient vs Outpatient and/or a specialty service.", + "element_property": true + }, + "supportingInfo": { + "items": { "type": "ClaimSupportingInfo" }, + "type": "array", + "title": "Supporting information", + "description": "Additional information codes regarding exceptions, special considerations, the condition, situation, prior or concurrent issues.", + "element_property": true + }, + "total": { + "type": "Money", + "title": "Total claim cost", + "description": "The total value of the all the items in the claim.", + "element_property": true + }, + "type": { + "type": "CodeableConcept", + "title": "Category or discipline", + "description": "The category of claim, e.g. oral, pharmacy, vision, institutional, professional.", + "element_property": true + }, + "use": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "claim | preauthorization | predetermination", + "description": "A code to indicate whether the nature of the request is: to request adjudication of products and services previously rendered; or requesting authorization and adjudication for provision in the future; or requesting the non-binding adjudication of the listed products and services which could be provided in the future.", + "element_property": true, + "element_required": true, + "enum_values": ["claim", "preauthorization", "predetermination"] + }, + "_use": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``use``." + } + }, + "additionalProperties": false, + "type": "object", + "required": ["insurance", "patient", "priority", "provider", "type"], + "title": "Claim", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nClaim, Pre-determination or Pre-authorization.\nA provider issued list of professional services and products which have\nbeen provided, or are to be provided, to a patient which is sent to an\ninsurer for reimbursement.", + "example": { + "resourceType": "Claim", + "id": "100150", + "text": { + "status": "generated", + "div": "
A human-readable rendering of the Oral Health Claim
" + }, + "identifier": [ + { "system": "http://happyvalley.com/claim", "value": "12345" } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "oral" + } + ] + }, + "use": "claim", + "patient": { "reference": "Patient/1" }, + "created": "2014-08-16", + "insurer": { "reference": "Organization/2" }, + "provider": { "reference": "Organization/1" }, + "priority": { "coding": [{ "code": "normal" }] }, + "payee": { "type": { "coding": [{ "code": "provider" }] } }, + "careTeam": [ + { + "sequence": 1, + "provider": { "reference": "Practitioner/example" } + } + ], + "diagnosis": [ + { + "sequence": 1, + "diagnosisCodeableConcept": { "coding": [{ "code": "123456" }] } + } + ], + "insurance": [ + { + "sequence": 1, + "focal": true, + "identifier": { + "system": "http://happyvalley.com/claim", + "value": "12345" + }, + "coverage": { "reference": "Coverage/9876B1" } + } + ], + "item": [ + { + "sequence": 1, + "careTeamSequence": [1], + "productOrService": { "coding": [{ "code": "1200" }] }, + "servicedDate": "2014-08-16", + "unitPrice": { "value": 135.57, "currency": "USD" }, + "net": { "value": 135.57, "currency": "USD" } + } + ] + } + }, + "Communication": { + "properties": { + "resource_type": { + "type": "string", + "const": "Communication", + "title": "Resource Type", + "default": "Communication" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "about": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Resources that pertain to this communication", + "description": "Other resources that pertain to this communication and to which this communication should be associated.", + "element_property": true, + "enum_reference_types": ["Resource"] + }, + "basedOn": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Request fulfilled by this communication", + "description": "An order, proposal or plan fulfilled in whole or in part by this Communication.", + "element_property": true, + "enum_reference_types": ["Resource"] + }, + "category": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Message category", + "description": "The type of message conveyed such as alert, notification, reminder, instruction, etc.", + "element_property": true + }, + "encounter": { + "type": "Reference", + "title": "Encounter created as part of", + "description": "The Encounter during which this Communication was created or to which the creation of this record is tightly associated.", + "element_property": true, + "enum_reference_types": ["Encounter"] + }, + "identifier": { + "items": { "type": "Identifier" }, + "type": "array", + "title": "Unique identifier", + "description": "Business identifiers assigned to this communication by the performer or other systems which remain constant as the resource is updated and propagates from server to server.", + "element_property": true + }, + "inResponseTo": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Reply to", + "description": "Prior communication that this communication is in response to.", + "element_property": true, + "enum_reference_types": ["Communication"] + }, + "instantiatesCanonical": { + "items": { "type": "string", "pattern": "\\S*" }, + "type": "array", + "title": "Instantiates FHIR protocol or definition", + "description": "The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Communication.", + "element_property": true, + "enum_reference_types": [ + "PlanDefinition", + "ActivityDefinition", + "Measure", + "OperationDefinition", + "Questionnaire" + ] + }, + "_instantiatesCanonical": { + "items": { "type": "FHIRPrimitiveExtension" }, + "type": "array", + "title": "Extension field for ``instantiatesCanonical``." + }, + "instantiatesUri": { + "items": { "type": "string", "pattern": "\\S*" }, + "type": "array", + "title": "Instantiates external protocol or definition", + "description": "The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Communication.", + "element_property": true + }, + "_instantiatesUri": { + "items": { "type": "FHIRPrimitiveExtension" }, + "type": "array", + "title": "Extension field for ``instantiatesUri``." + }, + "medium": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "A channel of communication", + "description": "A channel that was used for this communication (e.g. email, fax).", + "element_property": true + }, + "note": { + "items": { "type": "Annotation" }, + "type": "array", + "title": "Comments made about the communication", + "description": "Additional notes or commentary about the communication by the sender, receiver or other interested parties.", + "element_property": true + }, + "partOf": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Part of this action", + "element_property": true, + "enum_reference_types": ["Resource"] + }, + "payload": { + "items": { "type": "CommunicationPayload" }, + "type": "array", + "title": "Message payload", + "description": "Text, attachment(s), or resource(s) that was communicated to the recipient.", + "element_property": true + }, + "priority": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "routine | urgent | asap | stat", + "description": "Characterizes how quickly the planned or in progress communication must be addressed. Includes concepts such as stat, urgent, routine.", + "element_property": true, + "enum_values": ["routine", "urgent", "asap", "stat"] + }, + "_priority": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``priority``." + }, + "reasonCode": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Indication for message", + "description": "The reason or justification for the communication.", + "element_property": true + }, + "reasonReference": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Why was communication done?", + "description": "Indicates another resource whose existence justifies this communication.", + "element_property": true, + "enum_reference_types": [ + "Condition", + "Observation", + "DiagnosticReport", + "DocumentReference" + ] + }, + "received": { + "type": "string", + "format": "date-time", + "title": "When received", + "description": "The time when this communication arrived at the destination.", + "element_property": true + }, + "_received": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``received``." + }, + "recipient": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Message recipient", + "description": "The entity (e.g. person, organization, clinical information system, care team or device) which was the target of the communication. If receipts need to be tracked by an individual, a separate resource instance will need to be created for each recipient. Multiple recipient communications are intended where either receipts are not tracked (e.g. a mass mail-out) or a receipt is captured in aggregate (all emails confirmed received by a particular time).", + "element_property": true, + "enum_reference_types": [ + "Device", + "Organization", + "Patient", + "Practitioner", + "PractitionerRole", + "RelatedPerson", + "Group", + "CareTeam", + "HealthcareService" + ] + }, + "sender": { + "type": "Reference", + "title": "Message sender", + "description": "The entity (e.g. person, organization, clinical information system, or device) which was the source of the communication.", + "element_property": true, + "enum_reference_types": [ + "Device", + "Organization", + "Patient", + "Practitioner", + "PractitionerRole", + "RelatedPerson", + "HealthcareService" + ] + }, + "sent": { + "type": "string", + "format": "date-time", + "title": "When sent", + "description": "The time when this communication was sent.", + "element_property": true + }, + "_sent": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``sent``." + }, + "status": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown", + "description": "The status of the transmission.", + "element_property": true, + "element_required": true, + "enum_values": [ + "preparation", + "in-progress", + "not-done", + "on-hold", + "stopped", + "completed", + "entered-in-error", + "unknown" + ] + }, + "_status": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``status``." + }, + "statusReason": { + "type": "CodeableConcept", + "title": "Reason for current status", + "description": "Captures the reason for the current state of the Communication.", + "element_property": true + }, + "subject": { + "type": "Reference", + "title": "Focus of message", + "description": "The patient or group that was the focus of this communication.", + "element_property": true, + "enum_reference_types": ["Patient", "Group"] + }, + "topic": { + "type": "CodeableConcept", + "title": "Description of the purpose/content", + "description": "Description of the purpose/content, similar to a subject line in an email.", + "element_property": true + } + }, + "additionalProperties": false, + "type": "object", + "title": "Communication", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nA record of information transmitted from a sender to a receiver.\nAn occurrence of information being transmitted; e.g. an alert that was sent\nto a responsible provider, a public health agency that was notified about a\nreportable condition.", + "example": { + "resourceType": "Communication", + "id": "example", + "text": { + "status": "generated", + "div": "
Patient has very high serum potassium
" + }, + "identifier": [ + { + "type": { "text": "Paging System" }, + "system": "urn:oid:1.3.4.5.6.7", + "value": "2345678901" + } + ], + "instantiatesUri": ["http://example.org/hyperkalemia"], + "partOf": [{ "display": "Serum Potassium Observation" }], + "status": "completed", + "category": [ + { + "coding": [ + { "system": "http://acme.org/messagetypes", "code": "Alert" } + ], + "text": "Alert" + } + ], + "medium": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationMode", + "code": "WRITTEN", + "display": "written" + } + ], + "text": "written" + } + ], + "subject": { "reference": "Patient/example" }, + "encounter": { "reference": "Encounter/example" }, + "sent": "2014-12-12T18:01:10-08:00", + "received": "2014-12-12T18:01:11-08:00", + "recipient": [{ "reference": "Practitioner/example" }], + "sender": { "reference": "Device/f001" }, + "payload": [ + { + "contentString": "Patient 1 has a very high serum potassium value (7.2 mmol/L on 2014-Dec-12 at 5:55 pm)" + }, + { "contentReference": { "display": "Serum Potassium Observation" } } + ] + } + }, + "Condition": { + "properties": { + "resource_type": { + "type": "string", + "const": "Condition", + "title": "Resource Type", + "default": "Condition" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "abatementAge": { + "type": "Age", + "title": "When in resolution/remission", + "description": "The date or estimated date that the condition resolved or went into remission. This is called \"abatement\" because of the many overloaded connotations associated with \"remission\" or \"resolution\" - Conditions are never really resolved, but they can abate.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "abatement" + }, + "abatementDateTime": { + "type": "string", + "format": "date-time", + "title": "When in resolution/remission", + "description": "The date or estimated date that the condition resolved or went into remission. This is called \"abatement\" because of the many overloaded connotations associated with \"remission\" or \"resolution\" - Conditions are never really resolved, but they can abate.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "abatement" + }, + "_abatementDateTime": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``abatementDateTime``." + }, + "abatementPeriod": { + "type": "Period", + "title": "When in resolution/remission", + "description": "The date or estimated date that the condition resolved or went into remission. This is called \"abatement\" because of the many overloaded connotations associated with \"remission\" or \"resolution\" - Conditions are never really resolved, but they can abate.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "abatement" + }, + "abatementRange": { + "type": "Range", + "title": "When in resolution/remission", + "description": "The date or estimated date that the condition resolved or went into remission. This is called \"abatement\" because of the many overloaded connotations associated with \"remission\" or \"resolution\" - Conditions are never really resolved, but they can abate.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "abatement" + }, + "abatementString": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "When in resolution/remission", + "description": "The date or estimated date that the condition resolved or went into remission. This is called \"abatement\" because of the many overloaded connotations associated with \"remission\" or \"resolution\" - Conditions are never really resolved, but they can abate.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "abatement" + }, + "_abatementString": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``abatementString``." + }, + "asserter": { + "type": "Reference", + "title": "Person who asserts this condition", + "description": "Individual who is making the condition statement.", + "element_property": true, + "enum_reference_types": [ + "Practitioner", + "PractitionerRole", + "Patient", + "RelatedPerson" + ] + }, + "bodySite": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Anatomical location, if relevant", + "description": "The anatomical location where this condition manifests itself.", + "element_property": true + }, + "category": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "problem-list-item | encounter-diagnosis", + "description": "A category assigned to the condition.", + "element_property": true + }, + "clinicalStatus": { + "type": "CodeableConcept", + "title": "active | recurrence | relapse | inactive | remission | resolved", + "description": "The clinical status of the condition.", + "element_property": true + }, + "code": { + "type": "CodeableConcept", + "title": "Identification of the condition, problem or diagnosis", + "element_property": true + }, + "encounter": { + "type": "Reference", + "title": "Encounter created as part of", + "description": "The Encounter during which this Condition was created or to which the creation of this record is tightly associated.", + "element_property": true, + "enum_reference_types": ["Encounter"] + }, + "evidence": { + "items": { "type": "ConditionEvidence" }, + "type": "array", + "title": "Supporting evidence", + "description": "Supporting evidence / manifestations that are the basis of the Condition's verification status, such as evidence that confirmed or refuted the condition.", + "element_property": true + }, + "identifier": { + "items": { "type": "Identifier" }, + "type": "array", + "title": "External Ids for this condition", + "description": "Business identifiers assigned to this condition by the performer or other systems which remain constant as the resource is updated and propagates from server to server.", + "element_property": true + }, + "note": { + "items": { "type": "Annotation" }, + "type": "array", + "title": "Additional information about the Condition", + "description": "Additional information about the Condition. This is a general notes/comments entry for description of the Condition, its diagnosis and prognosis.", + "element_property": true + }, + "onsetAge": { + "type": "Age", + "title": "Estimated or actual date, date-time, or age", + "description": "Estimated or actual date or date-time the condition began, in the opinion of the clinician.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "onset" + }, + "onsetDateTime": { + "type": "string", + "format": "date-time", + "title": "Estimated or actual date, date-time, or age", + "description": "Estimated or actual date or date-time the condition began, in the opinion of the clinician.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "onset" + }, + "_onsetDateTime": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``onsetDateTime``." + }, + "onsetPeriod": { + "type": "Period", + "title": "Estimated or actual date, date-time, or age", + "description": "Estimated or actual date or date-time the condition began, in the opinion of the clinician.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "onset" + }, + "onsetRange": { + "type": "Range", + "title": "Estimated or actual date, date-time, or age", + "description": "Estimated or actual date or date-time the condition began, in the opinion of the clinician.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "onset" + }, + "onsetString": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "Estimated or actual date, date-time, or age", + "description": "Estimated or actual date or date-time the condition began, in the opinion of the clinician.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "onset" + }, + "_onsetString": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``onsetString``." + }, + "recordedDate": { + "type": "string", + "format": "date-time", + "title": "Date record was first recorded", + "description": "The recordedDate represents when this particular Condition record was created in the system, which is often a system-generated date.", + "element_property": true + }, + "_recordedDate": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``recordedDate``." + }, + "recorder": { + "type": "Reference", + "title": "Who recorded the condition", + "description": "Individual who recorded the record and takes responsibility for its content.", + "element_property": true, + "enum_reference_types": [ + "Practitioner", + "PractitionerRole", + "Patient", + "RelatedPerson" + ] + }, + "severity": { + "type": "CodeableConcept", + "title": "Subjective severity of condition", + "description": "A subjective assessment of the severity of the condition as evaluated by the clinician.", + "element_property": true + }, + "stage": { + "items": { "type": "ConditionStage" }, + "type": "array", + "title": "Stage/grade, usually assessed formally", + "description": "Clinical stage or grade of a condition. May include formal severity assessments.", + "element_property": true + }, + "subject": { + "type": "Reference", + "title": "Who has the condition?", + "description": "Indicates the patient or group who the condition record is associated with.", + "element_property": true, + "enum_reference_types": ["Patient", "Group"] + }, + "verificationStatus": { + "type": "CodeableConcept", + "title": "unconfirmed | provisional | differential | confirmed | refuted | entered-in-error", + "description": "The verification status to support the clinical status of the condition.", + "element_property": true + } + }, + "additionalProperties": false, + "type": "object", + "required": ["subject"], + "title": "Condition", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nDetailed information about conditions, problems or diagnoses.\nA clinical condition, problem, diagnosis, or other event, situation, issue,\nor clinical concept that has risen to a level of concern.", + "example": { + "resourceType": "Condition", + "id": "example", + "text": { + "status": "generated", + "div": "
Severe burn of left ear (Date: 24-May 2012)
" + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "active" + } + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + }, + { + "system": "http://snomed.info/sct", + "code": "439401001", + "display": "Diagnosis" + } + ] + } + ], + "severity": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "24484000", + "display": "Severe" + } + ] + }, + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "39065001", + "display": "Burn of ear" + } + ], + "text": "Burnt Ear" + }, + "bodySite": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "49521004", + "display": "Left external ear structure" + } + ], + "text": "Left Ear" + } + ], + "subject": { "reference": "Patient/example" }, + "onsetDateTime": "2012-05-24" + } + }, + "Consent": { + "properties": { + "resource_type": { + "type": "string", + "const": "Consent", + "title": "Resource Type", + "default": "Consent" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "category": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Classification of the consent statement - for indexing/retrieval", + "description": "A classification of the type of consents found in the statement. This element supports indexing and retrieval of consent statements.", + "element_property": true + }, + "dateTime": { + "type": "string", + "format": "date-time", + "title": "When this Consent was created or indexed", + "description": "When this Consent was issued / created / indexed.", + "element_property": true + }, + "_dateTime": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``dateTime``." + }, + "identifier": { + "items": { "type": "Identifier" }, + "type": "array", + "title": "Identifier for this record (external references)", + "description": "Unique identifier for this copy of the Consent Statement.", + "element_property": true + }, + "organization": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Custodian of the consent", + "description": "The organization that manages the consent, and the framework within which it is executed.", + "element_property": true, + "enum_reference_types": ["Organization"] + }, + "patient": { + "type": "Reference", + "title": "Who the consent applies to", + "description": "The patient/healthcare consumer to whom this consent applies.", + "element_property": true, + "enum_reference_types": ["Patient"] + }, + "performer": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Who is agreeing to the policy and rules", + "description": "Either the Grantor, which is the entity responsible for granting the rights listed in a Consent Directive or the Grantee, which is the entity responsible for complying with the Consent Directive, including any obligations or limitations on authorizations and enforcement of prohibitions.", + "element_property": true, + "enum_reference_types": [ + "Organization", + "Patient", + "Practitioner", + "RelatedPerson", + "PractitionerRole" + ] + }, + "policy": { + "items": { "type": "ConsentPolicy" }, + "type": "array", + "title": "Policies covered by this consent", + "description": "The references to the policies that are included in this consent scope. Policies may be organizational, but are often defined jurisdictionally, or in law.", + "element_property": true + }, + "policyRule": { + "type": "CodeableConcept", + "title": "Regulation that this consents to", + "description": "A reference to the specific base computable regulation or policy.", + "element_property": true + }, + "provision": { + "type": "ConsentProvision", + "title": "Constraints to the base Consent.policyRule", + "description": "An exception to the base policy of this consent. An exception can be an addition or removal of access permissions.", + "element_property": true + }, + "scope": { + "type": "CodeableConcept", + "title": "Which of the four areas this resource covers (extensible)", + "description": "A selector of the type of consent being presented: ADR, Privacy, Treatment, Research. This list is now extensible.", + "element_property": true + }, + "sourceAttachment": { + "type": "Attachment", + "title": "Source from which this consent is taken", + "description": "The source on which this consent statement is based. The source might be a scanned original paper form, or a reference to a consent that links back to such a source, a reference to a document repository (e.g. XDS) that stores the original consent document.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "source" + }, + "sourceReference": { + "type": "Reference", + "title": "Source from which this consent is taken", + "description": "The source on which this consent statement is based. The source might be a scanned original paper form, or a reference to a consent that links back to such a source, a reference to a document repository (e.g. XDS) that stores the original consent document.", + "one_of_many_required": false, + "element_property": true, + "enum_reference_types": [ + "Consent", + "DocumentReference", + "Contract", + "QuestionnaireResponse" + ], + "one_of_many": "source" + }, + "status": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "draft | proposed | active | rejected | inactive | entered-in-error", + "description": "Indicates the current state of this consent.", + "element_property": true, + "element_required": true, + "enum_values": [ + "draft", + "proposed", + "active", + "rejected", + "inactive", + "entered-in-error" + ] + }, + "_status": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``status``." + }, + "verification": { + "items": { "type": "ConsentVerification" }, + "type": "array", + "title": "Consent Verified by patient or family", + "description": "Whether a treatment instruction (e.g. artificial respiration yes or no) was verified with the patient, his/her family or another authorized person.", + "element_property": true + } + }, + "additionalProperties": false, + "type": "object", + "required": ["category", "scope"], + "title": "Consent", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nA healthcare consumer's choices to permit or deny recipients or roles to\nperform actions for specific purposes and periods of time.\nA record of a healthcare consumer’s choices, which permits or denies\nidentified recipient(s) or recipient role(s) to perform one or more actions\nwithin a given policy context, for specific purposes and periods of time.", + "example": { + "resourceType": "Consent", + "id": "consent-example-basic", + "text": { + "status": "generated", + "div": "
\n\t\t\t

\n\tAuthorize Normal access for Treatment\n\t\t\t

\n\t\t\t

\n Patient "P. van de Heuvel" wishes to have all of the PHI collected at the Good Health Psychiatric Hospital \n available for normal treatment use.\n\t\t\t

\n\t\t
" + }, + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "patient-privacy" + } + ] + }, + "category": [ + { "coding": [{ "system": "http://loinc.org", "code": "59284-0" }] } + ], + "patient": { + "reference": "Patient/f001", + "display": "P. van de Heuvel" + }, + "dateTime": "2016-05-11", + "organization": [{ "reference": "Organization/f001" }], + "sourceAttachment": { + "title": "The terms of the consent in lawyer speak." + }, + "policyRule": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "OPTIN" + } + ] + }, + "provision": { + "period": { "start": "1964-01-01", "end": "2016-01-01" } + } + } + }, + "Coverage": { + "properties": { + "resource_type": { + "type": "string", + "const": "Coverage", + "title": "Resource Type", + "default": "Coverage" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "beneficiary": { + "type": "Reference", + "title": "Plan beneficiary", + "description": "The party who benefits from the insurance coverage; the patient when products and/or services are provided.", + "element_property": true, + "enum_reference_types": ["Patient"] + }, + "class": { + "items": { "type": "CoverageClass" }, + "type": "array", + "title": "Additional coverage classifications", + "description": "A suite of underwriter specific classifiers.", + "element_property": true + }, + "contract": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Contract details", + "description": "The policy(s) which constitute this insurance coverage.", + "element_property": true, + "enum_reference_types": ["Contract"] + }, + "costToBeneficiary": { + "items": { "type": "CoverageCostToBeneficiary" }, + "type": "array", + "title": "Patient payments for services/products", + "description": "A suite of codes indicating the cost category and associated amount which have been detailed in the policy and may have been included on the health card.", + "element_property": true + }, + "dependent": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "Dependent number", + "description": "A unique identifier for a dependent under the coverage.", + "element_property": true + }, + "_dependent": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``dependent``." + }, + "identifier": { + "items": { "type": "Identifier" }, + "type": "array", + "title": "Business Identifier for the coverage", + "description": "A unique identifier assigned to this coverage.", + "element_property": true + }, + "network": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "Insurer network", + "description": "The insurer-specific identifier for the insurer-defined network of providers to which the beneficiary may seek treatment which will be covered at the 'in-network' rate, otherwise 'out of network' terms and conditions apply.", + "element_property": true + }, + "_network": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``network``." + }, + "order": { + "type": "integer", + "exclusiveMinimum": 0.0, + "title": "Relative order of the coverage", + "description": "The order of applicability of this coverage relative to other coverages which are currently in force. Note, there may be gaps in the numbering and this does not imply primary, secondary etc. as the specific positioning of coverages depends upon the episode of care.", + "element_property": true + }, + "_order": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``order``." + }, + "payor": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Issuer of the policy", + "description": "The program or plan underwriter or payor including both insurance and non-insurance agreements, such as patient-pay agreements.", + "element_property": true, + "enum_reference_types": ["Organization", "Patient", "RelatedPerson"] + }, + "period": { + "type": "Period", + "title": "Coverage start and end dates", + "description": "Time period during which the coverage is in force. A missing start date indicates the start date isn't known, a missing end date means the coverage is continuing to be in force.", + "element_property": true + }, + "policyHolder": { + "type": "Reference", + "title": "Owner of the policy", + "description": "The party who 'owns' the insurance policy.", + "element_property": true, + "enum_reference_types": ["Patient", "RelatedPerson", "Organization"] + }, + "relationship": { + "type": "CodeableConcept", + "title": "Beneficiary relationship to the subscriber", + "description": "The relationship of beneficiary (patient) to the subscriber.", + "element_property": true + }, + "status": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "active | cancelled | draft | entered-in-error", + "description": "The status of the resource instance.", + "element_property": true, + "element_required": true, + "enum_values": ["active", "cancelled", "draft", "entered-in-error"] + }, + "_status": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``status``." + }, + "subrogation": { + "type": "boolean", + "title": "Reimbursement to insurer", + "description": "When 'subrogation=true' this insurance instance has been included not for adjudication but to provide insurers with the details to recover costs.", + "element_property": true + }, + "_subrogation": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``subrogation``." + }, + "subscriber": { + "type": "Reference", + "title": "Subscriber to the policy", + "description": "The party who has signed-up for or 'owns' the contractual relationship to the policy or to whom the benefit of the policy for services rendered to them or their family is due.", + "element_property": true, + "enum_reference_types": ["Patient", "RelatedPerson"] + }, + "subscriberId": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "ID assigned to the subscriber", + "description": "The insurer assigned ID for the Subscriber.", + "element_property": true + }, + "_subscriberId": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``subscriberId``." + }, + "type": { + "type": "CodeableConcept", + "title": "Coverage category such as medical or accident", + "description": "The type of coverage: social program, medical plan, accident coverage (workers compensation, auto), group health or payment by an individual or organization.", + "element_property": true + } + }, + "additionalProperties": false, + "type": "object", + "required": ["beneficiary", "payor"], + "title": "Coverage", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nInsurance or medical plan or a payment agreement.\nFinancial instrument which may be used to reimburse or pay for health care\nproducts and services. Includes both insurance and self-payment.", + "example": { + "resourceType": "Coverage", + "id": "9876B1", + "text": { + "status": "generated", + "div": "
A human-readable rendering of the coverage
" + }, + "identifier": [ + { "system": "http://benefitsinc.com/certificate", "value": "12345" } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "EHCPOL", + "display": "extended healthcare" + } + ] + }, + "policyHolder": { + "reference": "http://benefitsinc.com/FHIR/Organization/CBI35" + }, + "subscriber": { "reference": "Patient/4" }, + "beneficiary": { "reference": "Patient/4" }, + "dependent": "0", + "relationship": { "coding": [{ "code": "self" }] }, + "period": { "start": "2011-05-23", "end": "2012-05-23" }, + "payor": [{ "reference": "Organization/2" }], + "class": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group" + } + ] + }, + "value": "CB135", + "name": "Corporate Baker's Inc. Local #35" + }, + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "subgroup" + } + ] + }, + "value": "123", + "name": "Trainee Part-time Benefits" + }, + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan" + } + ] + }, + "value": "B37FC", + "name": "Full Coverage: Medical, Dental, Pharmacy, Vision, EHC" + }, + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "subplan" + } + ] + }, + "value": "P7", + "name": "Includes afterlife benefits" + }, + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "class" + } + ] + }, + "value": "SILVER", + "name": "Silver: Family Plan spouse only" + }, + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "subclass" + } + ] + }, + "value": "Tier2", + "name": "Low deductable, max $20 copay" + }, + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "sequence" + } + ] + }, + "value": "9" + }, + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "rxid" + } + ] + }, + "value": "MDF12345" + }, + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "rxbin" + } + ] + }, + "value": "987654" + }, + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "rxgroup" + } + ] + }, + "value": "M35PT" + }, + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "rxpcn" + } + ] + }, + "value": "234516" + }, + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "sequence" + } + ] + }, + "value": "9" + } + ] + } + }, + "CoverageEligibilityRequest": { + "properties": { + "resource_type": { + "type": "string", + "const": "CoverageEligibilityRequest", + "title": "Resource Type", + "default": "CoverageEligibilityRequest" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "created": { + "type": "string", + "format": "date-time", + "title": "Creation date", + "description": "The date when this resource was created.", + "element_property": true, + "element_required": true + }, + "_created": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``created``." + }, + "enterer": { + "type": "Reference", + "title": "Author", + "description": "Person who created the request.", + "element_property": true, + "enum_reference_types": ["Practitioner", "PractitionerRole"] + }, + "facility": { + "type": "Reference", + "title": "Servicing facility", + "description": "Facility where the services are intended to be provided.", + "element_property": true, + "enum_reference_types": ["Location"] + }, + "identifier": { + "items": { "type": "Identifier" }, + "type": "array", + "title": "Business Identifier for coverage eligiblity request", + "description": "A unique identifier assigned to this coverage eligiblity request.", + "element_property": true + }, + "insurance": { + "items": { "type": "CoverageEligibilityRequestInsurance" }, + "type": "array", + "title": "Patient insurance information", + "description": "Financial instruments for reimbursement for the health care products and services.", + "element_property": true + }, + "insurer": { + "type": "Reference", + "title": "Coverage issuer", + "description": "The Insurer who issued the coverage in question and is the recipient of the request.", + "element_property": true, + "enum_reference_types": ["Organization"] + }, + "item": { + "items": { "type": "CoverageEligibilityRequestItem" }, + "type": "array", + "title": "Item to be evaluated for eligibiity", + "description": "Service categories or billable services for which benefit details and/or an authorization prior to service delivery may be required by the payor.", + "element_property": true + }, + "patient": { + "type": "Reference", + "title": "Intended recipient of products and services", + "description": "The party who is the beneficiary of the supplied coverage and for whom eligibility is sought.", + "element_property": true, + "enum_reference_types": ["Patient"] + }, + "priority": { + "type": "CodeableConcept", + "title": "Desired processing priority", + "description": "When the requestor expects the processor to complete processing.", + "element_property": true + }, + "provider": { + "type": "Reference", + "title": "Party responsible for the request", + "description": "The provider which is responsible for the request.", + "element_property": true, + "enum_reference_types": [ + "Practitioner", + "PractitionerRole", + "Organization" + ] + }, + "purpose": { + "items": { "type": "string", "pattern": "^[^\\s]+(\\s[^\\s]+)*$" }, + "type": "array", + "title": "auth-requirements | benefits | discovery | validation", + "description": "Code to specify whether requesting: prior authorization requirements for some service categories or billing codes; benefits for coverages specified or discovered; discovery and return of coverages for the patient; and/or validation that the specified coverage is in-force at the date/period specified or 'now' if not specified.", + "element_property": true, + "element_required": true, + "enum_values": [ + "auth-requirements", + "benefits", + "discovery", + "validation" + ] + }, + "_purpose": { + "items": { "type": "FHIRPrimitiveExtension" }, + "type": "array", + "title": "Extension field for ``purpose``." + }, + "servicedDate": { + "type": "string", + "format": "date", + "title": "Estimated date or dates of service", + "description": "The date or dates when the enclosed suite of services were performed or completed.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "serviced" + }, + "_servicedDate": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``servicedDate``." + }, + "servicedPeriod": { + "type": "Period", + "title": "Estimated date or dates of service", + "description": "The date or dates when the enclosed suite of services were performed or completed.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "serviced" + }, + "status": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "active | cancelled | draft | entered-in-error", + "description": "The status of the resource instance.", + "element_property": true, + "element_required": true, + "enum_values": ["active", "cancelled", "draft", "entered-in-error"] + }, + "_status": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``status``." + }, + "supportingInfo": { + "items": { "type": "CoverageEligibilityRequestSupportingInfo" }, + "type": "array", + "title": "Supporting information", + "description": "Additional information codes regarding exceptions, special considerations, the condition, situation, prior or concurrent issues.", + "element_property": true + } + }, + "additionalProperties": false, + "type": "object", + "required": ["insurer", "patient"], + "title": "CoverageEligibilityRequest", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nCoverageEligibilityRequest resource.\nThe CoverageEligibilityRequest provides patient and insurance coverage\ninformation to an insurer for them to respond, in the form of an\nCoverageEligibilityResponse, with information regarding whether the stated\ncoverage is valid and in-force and optionally to provide the insurance\ndetails of the policy.", + "example": { + "resourceType": "CoverageEligibilityRequest", + "id": "52345", + "text": { + "status": "generated", + "div": "
A human-readable rendering of the CoverageEligibilityRequest
" + }, + "identifier": [ + { + "system": "http://happyvalley.com/coverageelegibilityrequest", + "value": "52345" + } + ], + "status": "active", + "priority": { "coding": [{ "code": "normal" }] }, + "purpose": ["validation"], + "patient": { "reference": "Patient/pat1" }, + "created": "2014-08-16", + "provider": { "reference": "Organization/1" }, + "insurer": { "reference": "Organization/2" }, + "insurance": [ + { "focal": true, "coverage": { "reference": "Coverage/9876B1" } } + ] + } + }, + "Device": { + "properties": { + "resource_type": { + "type": "string", + "const": "Device", + "title": "Resource Type", + "default": "Device" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "contact": { + "items": { "type": "ContactPoint" }, + "type": "array", + "title": "Details for human/organization for support", + "description": "Contact details for an organization or a particular human that is responsible for the device.", + "element_property": true + }, + "definition": { + "type": "Reference", + "title": "The reference to the definition for the device", + "element_property": true, + "enum_reference_types": ["DeviceDefinition"] + }, + "deviceName": { + "items": { "type": "DeviceDeviceName" }, + "type": "array", + "title": "The name of the device as given by the manufacturer", + "description": "This represents the manufacturer's name of the device as provided by the device, from a UDI label, or by a person describing the Device. This typically would be used when a person provides the name(s) or when the device represents one of the names available from DeviceDefinition.", + "element_property": true + }, + "distinctIdentifier": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "The distinct identification string", + "description": "The distinct identification string as required by regulation for a human cell, tissue, or cellular and tissue-based product.", + "element_property": true + }, + "_distinctIdentifier": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``distinctIdentifier``." + }, + "expirationDate": { + "type": "string", + "format": "date-time", + "title": "Date and time of expiry of this device (if applicable)", + "description": "The date and time beyond which this device is no longer valid or should not be used (if applicable).", + "element_property": true + }, + "_expirationDate": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``expirationDate``." + }, + "identifier": { + "items": { "type": "Identifier" }, + "type": "array", + "title": "Instance identifier", + "description": "Unique instance identifiers assigned to a device by manufacturers other organizations or owners.", + "element_property": true + }, + "location": { + "type": "Reference", + "title": "Where the device is found", + "description": "The place where the device can be found.", + "element_property": true, + "enum_reference_types": ["Location"] + }, + "lotNumber": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "Lot number of manufacture", + "description": "Lot number assigned by the manufacturer.", + "element_property": true + }, + "_lotNumber": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``lotNumber``." + }, + "manufactureDate": { + "type": "string", + "format": "date-time", + "title": "Date when the device was made", + "description": "The date and time when the device was manufactured.", + "element_property": true + }, + "_manufactureDate": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``manufactureDate``." + }, + "manufacturer": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "Name of device manufacturer", + "description": "A name of the manufacturer.", + "element_property": true + }, + "_manufacturer": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``manufacturer``." + }, + "modelNumber": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "The model number for the device", + "element_property": true + }, + "_modelNumber": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``modelNumber``." + }, + "note": { + "items": { "type": "Annotation" }, + "type": "array", + "title": "Device notes and comments", + "description": "Descriptive information, usage information or implantation information that is not captured in an existing element.", + "element_property": true + }, + "owner": { + "type": "Reference", + "title": "Organization responsible for device", + "description": "An organization that is responsible for the provision and ongoing maintenance of the device.", + "element_property": true, + "enum_reference_types": ["Organization"] + }, + "parent": { + "type": "Reference", + "title": "The parent device", + "element_property": true, + "enum_reference_types": ["Device"] + }, + "partNumber": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "The part number of the device", + "element_property": true + }, + "_partNumber": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``partNumber``." + }, + "patient": { + "type": "Reference", + "title": "Patient to whom Device is affixed", + "description": "Patient information, If the device is affixed to a person.", + "element_property": true, + "enum_reference_types": ["Patient"] + }, + "property": { + "items": { "type": "DeviceProperty" }, + "type": "array", + "title": "The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties", + "element_property": true + }, + "safety": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Safety Characteristics of Device", + "description": "Provides additional safety characteristics about a medical device. For example devices containing latex.", + "element_property": true + }, + "serialNumber": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "Serial number assigned by the manufacturer", + "description": "The serial number assigned by the organization when the device was manufactured.", + "element_property": true + }, + "_serialNumber": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``serialNumber``." + }, + "specialization": { + "items": { "type": "DeviceSpecialization" }, + "type": "array", + "title": "The capabilities supported on a device, the standards to which the device conforms for a particular purpose, and used for the communication", + "element_property": true + }, + "status": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "active | inactive | entered-in-error | unknown", + "description": "Status of the Device availability.", + "element_property": true, + "enum_values": ["active", "inactive", "entered-in-error", "unknown"] + }, + "_status": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``status``." + }, + "statusReason": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "online | paused | standby | offline | not-ready | transduc-discon | hw-discon | off", + "description": "Reason for the dtatus of the Device availability.", + "element_property": true + }, + "type": { + "type": "CodeableConcept", + "title": "The kind or type of device", + "element_property": true + }, + "udiCarrier": { + "items": { "type": "DeviceUdiCarrier" }, + "type": "array", + "title": "Unique Device Identifier (UDI) Barcode string", + "description": "Unique device identifier (UDI) assigned to device label or package. Note that the Device may include multiple udiCarriers as it either may include just the udiCarrier for the jurisdiction it is sold, or for multiple jurisdictions it could have been sold.", + "element_property": true + }, + "url": { + "type": "string", + "pattern": "\\S*", + "title": "Network address to contact device", + "description": "A network address on which the device may be contacted directly.", + "element_property": true + }, + "_url": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``url``." + }, + "version": { + "items": { "type": "DeviceVersion" }, + "type": "array", + "title": "The actual design of the device or software version running on the device", + "element_property": true + } + }, + "additionalProperties": false, + "type": "object", + "title": "Device", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nItem used in healthcare.\nA type of a manufactured item that is used in the provision of healthcare\nwithout being substantially changed through that activity. The device may\nbe a medical or non-medical device.", + "example": { + "resourceType": "Device", + "id": "example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

identifier: 345675

" + }, + "identifier": [ + { "system": "http://goodcare.org/devices/id", "value": "345675" } + ] + } + }, + "DiagnosticReport": { + "properties": { + "resource_type": { + "type": "string", + "const": "DiagnosticReport", + "title": "Resource Type", + "default": "DiagnosticReport" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "basedOn": { + "items": { "type": "Reference" }, + "type": "array", + "title": "What was requested", + "description": "Details concerning a service requested.", + "element_property": true, + "enum_reference_types": [ + "CarePlan", + "ImmunizationRecommendation", + "MedicationRequest", + "NutritionOrder", + "ServiceRequest" + ] + }, + "category": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Service category", + "description": "A code that classifies the clinical discipline, department or diagnostic service that created the report (e.g. cardiology, biochemistry, hematology, MRI). This is used for searching, sorting and display purposes.", + "element_property": true + }, + "code": { + "type": "CodeableConcept", + "title": "Name/Code for this diagnostic report", + "description": "A code or name that describes this diagnostic report.", + "element_property": true + }, + "conclusion": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "Clinical conclusion (interpretation) of test results", + "description": "Concise and clinically contextualized summary conclusion (interpretation/impression) of the diagnostic report.", + "element_property": true + }, + "_conclusion": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``conclusion``." + }, + "conclusionCode": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Codes for the clinical conclusion of test results", + "description": "One or more codes that represent the summary conclusion (interpretation/impression) of the diagnostic report.", + "element_property": true + }, + "effectiveDateTime": { + "type": "string", + "format": "date-time", + "title": "Clinically relevant time/time-period for report", + "description": "The time or time-period the observed values are related to. When the subject of the report is a patient, this is usually either the time of the procedure or of specimen collection(s), but very often the source of the date/time is not known, only the date/time itself.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "effective" + }, + "_effectiveDateTime": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``effectiveDateTime``." + }, + "effectivePeriod": { + "type": "Period", + "title": "Clinically relevant time/time-period for report", + "description": "The time or time-period the observed values are related to. When the subject of the report is a patient, this is usually either the time of the procedure or of specimen collection(s), but very often the source of the date/time is not known, only the date/time itself.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "effective" + }, + "encounter": { + "type": "Reference", + "title": "Health care event when test ordered", + "description": "The healthcare event (e.g. a patient and healthcare provider interaction) which this DiagnosticReport is about.", + "element_property": true, + "enum_reference_types": ["Encounter"] + }, + "identifier": { + "items": { "type": "Identifier" }, + "type": "array", + "title": "Business identifier for report", + "description": "Identifiers assigned to this report by the performer or other systems.", + "element_property": true + }, + "imagingStudy": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Reference to full details of imaging associated with the diagnostic report", + "description": "One or more links to full details of any imaging performed during the diagnostic investigation. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images.", + "element_property": true, + "enum_reference_types": ["ImagingStudy"] + }, + "issued": { + "type": "string", + "format": "date-time", + "title": "DateTime this version was made", + "description": "The date and time that this version of the report was made available to providers, typically after the report was reviewed and verified.", + "element_property": true + }, + "_issued": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``issued``." + }, + "media": { + "items": { "type": "DiagnosticReportMedia" }, + "type": "array", + "title": "Key images associated with this report", + "description": "A list of key images associated with this report. The images are generally created during the diagnostic process, and may be directly of the patient, or of treated specimens (i.e. slides of interest).", + "element_property": true + }, + "performer": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Responsible Diagnostic Service", + "description": "The diagnostic service that is responsible for issuing the report.", + "element_property": true, + "enum_reference_types": [ + "Practitioner", + "PractitionerRole", + "Organization", + "CareTeam" + ] + }, + "presentedForm": { + "items": { "type": "Attachment" }, + "type": "array", + "title": "Entire report as issued", + "description": "Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent.", + "element_property": true + }, + "result": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Observations", + "description": "[Observations](observation.html) that are part of this diagnostic report.", + "element_property": true, + "enum_reference_types": ["Observation"] + }, + "resultsInterpreter": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Primary result interpreter", + "description": "The practitioner or organization that is responsible for the report's conclusions and interpretations.", + "element_property": true, + "enum_reference_types": [ + "Practitioner", + "PractitionerRole", + "Organization", + "CareTeam" + ] + }, + "specimen": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Specimens this report is based on", + "description": "Details about the specimens on which this diagnostic report is based.", + "element_property": true, + "enum_reference_types": ["Specimen"] + }, + "status": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "registered | partial | preliminary | final +", + "description": "The status of the diagnostic report.", + "element_property": true, + "element_required": true, + "enum_values": [ + "registered", + "partial", + "preliminary", + "final", + "+" + ] + }, + "_status": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``status``." + }, + "subject": { + "type": "Reference", + "title": "The subject of the report - usually, but not always, the patient", + "description": "The subject of the report. Usually, but not always, this is a patient. However, diagnostic services also perform analyses on specimens collected from a variety of other sources.", + "element_property": true, + "enum_reference_types": ["Patient", "Group", "Device", "Location"] + } + }, + "additionalProperties": false, + "type": "object", + "required": ["code"], + "title": "DiagnosticReport", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nA Diagnostic report - a combination of request information, atomic results,\nimages, interpretation, as well as formatted reports.\nThe findings and interpretation of diagnostic tests performed on patients,\ngroups of patients, devices, and locations, and/or specimens derived from\nthese. The report includes clinical context such as requesting and provider\ninformation, and some mix of atomic results, images, textual and coded\ninterpretations, and formatted representation of diagnostic reports.", + "example": { + "resourceType": "Bundle", + "id": "101", + "type": "collection", + "entry": [ + { + "fullUrl": "https://example.com/base/DiagnosticReport/101", + "resource": { + "resourceType": "DiagnosticReport", + "id": "101", + "meta": { + "tag": [ + { + "system": "http://example.org/fhir/CodeSystem/workflow-codes", + "code": "01", + "display": "Needs Review" + } + ] + }, + "text": { + "status": "generated", + "div": "
\n\t\t\t\t\t\t

CBC Report for Wile. E. COYOTE (MRN: 23453) issued 3-Mar 2011 11:45

\n\t\t\t\t\t\t
\nTest                  Units       Value       Reference Range\nHaemoglobin           g/L         176         135 - 180\nRed Cell Count        x10*12/L    5.9         4.2 - 6.0\nHaematocrit                       0.55+       0.38 - 0.52\nMean Cell Volume      fL          99+         80 - 98\nMean Cell Haemoglobin pg          36+         27 - 35\nPlatelet Count        x10*9/L     444         150 - 450\nWhite Cell Count      x10*9/L     4.6         4.0 - 11.0\nNeutrophils           %           20\nNeutrophils           x10*9/L     0.9---      2.0 - 7.5\nLymphocytes           %           20\nLymphocytes           x10*9/L     0.9-        1.1 - 4.0\nMonocytes             %           20\nMonocytes             x10*9/L     0.9         0.2 - 1.0\nEosinophils           %           20\nEosinophils           x10*9/L     0.92++      0.04 - 0.40\nBasophils             %           20\nBasophils             x10*9/L     0.92+++     <0.21\n      
\n\t\t\t\t\t\t

Acme Laboratory, Inc signed: Dr Pete Pathologist

\n\t\t\t\t\t
" + }, + "identifier": [ + { + "system": "http://acme.com/lab/reports", + "value": "5234342" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "HM" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "58410-2", + "display": "Complete blood count (hemogram) panel - Blood by Automated count" + }, + { "code": "CBC", "display": "MASTER FULL BLOOD COUNT" } + ], + "text": "Complete Blood Count" + }, + "subject": { "reference": "Patient/pat2" }, + "encounter": { "reference": "Encounter/example" }, + "effectiveDateTime": "2011-03-04T08:30:00+11:00", + "issued": "2011-03-04T11:45:33+11:00", + "performer": [ + { + "reference": "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f", + "display": "Acme Laboratory, Inc" + } + ], + "result": [ + { "reference": "Observation/r1" }, + { "reference": "Observation/r2" }, + { "reference": "Observation/r3" }, + { "reference": "Observation/r4" }, + { "reference": "Observation/r5" }, + { "reference": "Observation/r6" }, + { "reference": "Observation/r7" }, + { "reference": "Observation/r8" }, + { "reference": "Observation/r9" }, + { "reference": "Observation/r10" }, + { "reference": "Observation/r11" }, + { "reference": "Observation/r12" }, + { "reference": "Observation/r13" }, + { "reference": "Observation/r14" }, + { "reference": "Observation/r15" }, + { "reference": "Observation/r16" }, + { "reference": "Observation/r17" } + ], + "presentedForm": [ + { + "contentType": "application/pdf", + "language": "en-AU", + "data": "JVBERi0xLjQKJcfsj6IKNSAwIG9iago8PC9MZW5ndGggNiAwIFIvRmlsdGVyIC9GbGF0ZURlY29kZT4+CnN0cmVhbQp4nO1aWW8URxAW2MviXcs32AYfY2OzM4Zp990zr5GiSFFeQCvlIeSJBPIQI8H/f0j3HF01UPbaZn3hYCHVVldVV1V/XX1Mf044EzLh4a8l3p8MPg8U54l1wjLrkpOBtqaIP/+tf3oJZm3hfwZZ+PXP4Pfk00AkHzt8rYIFLWzy5e/Bh7Oa3gx48ov//9F7UTAV/lVuYfr9SfLTeHD81iVCM66T8QffYWgQiZaJKywzNhmfDP5IH2SaSVFKkz7MOFPSGCk8M9eeds6mM5lkQlln0llg9rKcM1NaVxTpoyyS/WDLaa7Sx0hgLtCNYbD27lPNtsZqr5gHTWW8ojTeYS29aG6ZFlzadJgJx3ip0/ms9eDdl0qlcryXOVYa4QUXQAd6WoS4FiITWYcMLHlJbrQ03pFliBazV8BYbVdppVFnqyjYtUx5OFgnceqehN6k8EpPybysx1RsZA2xGVnPstjWsp6TViBRW0GScym1JzU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BuIAowMDAwMDAyMjAyIDAwMDAwIG4gCjAwMDAwMDQ5MDUgMDAwMDAgbiAKMDAwMDAyMTc5MyAwMDAwMCBuIAowMDAwMDQxNTI5IDAwMDAwIG4gCjAwMDAwMDIyNTIgMDAwMDAgbiAKMDAwMDAwMjk0OCAwMDAwMCBuIAowMDAwMDAzODMxIDAwMDAwIG4gCjAwMDAwNjcwODggMDAwMDAgbiAKdHJhaWxlcgo8PCAvU2l6ZSAyMSAvUm9vdCAxIDAgUiAvSW5mbyAyIDAgUgovSUQgWzw4RDdGNzc5QTAwQzcwOTc5NTg3MDQyRjA5MkJBQjhDNj48OEQ3Rjc3OUEwMEM3MDk3OTU4NzA0MkYwOTJCQUI4QzY+XQo+PgpzdGFydHhyZWYKNjk0ODUKJSVFT0YK", + "title": "HTML Report" + } + ] + } + }, + { + "fullUrl": "https://example.com/base/Observation/r1", + "resource": { + "resourceType": "Observation", + "id": "r1", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: r1

status: final

code: Haemoglobin (Details : {LOINC code '718-7' = 'Hemoglobin [Mass/volume] in Blood', given as 'Hemoglobin [Mass/volume] in Blood'})

subject: Patient/pat2

performer: Acme Laboratory, Inc

value: 176 g/L (Details: UCUM code g/L = 'g/L')

ReferenceRanges

-LowHigh
*135 g/L (Details: UCUM code g/L = 'g/L')180 g/L (Details: UCUM code g/L = 'g/L')
" + }, + "status": "final", + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "718-7", + "display": "Hemoglobin [Mass/volume] in Blood" + } + ], + "text": "Haemoglobin" + }, + "subject": { "reference": "Patient/pat2" }, + "performer": [ + { + "reference": "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f", + "display": "Acme Laboratory, Inc" + } + ], + "valueQuantity": { + "value": 176, + "unit": "g/L", + "system": "http://unitsofmeasure.org", + "code": "g/L" + }, + "referenceRange": [ + { + "low": { + "value": 135, + "unit": "g/L", + "system": "http://unitsofmeasure.org", + "code": "g/L" + }, + "high": { + "value": 180, + "unit": "g/L", + "system": "http://unitsofmeasure.org", + "code": "g/L" + } + } + ] + } + }, + { + "fullUrl": "https://example.com/base/Observation/r2", + "resource": { + "resourceType": "Observation", + "id": "r2", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: r2

status: final

code: Red Cell Count (Details : {LOINC code '789-8' = 'Erythrocytes [#/volume] in Blood by Automated count', given as 'Erythrocytes [#/volume] in Blood by Automated count'})

subject: Patient/pat2

performer: Acme Laboratory, Inc

value: 5.9 x10*12/L (Details: UCUM code 10*12/L = '10*12/L')

ReferenceRanges

-LowHigh
*4.2 x10*12/L (Details: UCUM code 10*12/L = '10*12/L')6.0 x10*12/L (Details: UCUM code 10*12/L = '10*12/L')
" + }, + "status": "final", + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "789-8", + "display": "Erythrocytes [#/volume] in Blood by Automated count" + } + ], + "text": "Red Cell Count" + }, + "subject": { "reference": "Patient/pat2" }, + "performer": [ + { + "reference": "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f", + "display": "Acme Laboratory, Inc" + } + ], + "valueQuantity": { + "value": 5.9, + "unit": "x10*12/L", + "system": "http://unitsofmeasure.org", + "code": "10*12/L" + }, + "referenceRange": [ + { + "low": { + "value": 4.2, + "unit": "x10*12/L", + "system": "http://unitsofmeasure.org", + "code": "10*12/L" + }, + "high": { + "value": 6.0, + "unit": "x10*12/L", + "system": "http://unitsofmeasure.org", + "code": "10*12/L" + } + } + ] + } + }, + { + "fullUrl": "https://example.com/base/Observation/r3", + "resource": { + "resourceType": "Observation", + "id": "r3", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: r3

status: final

code: Haematocrit (Details : {LOINC code '4544-3' = 'Hematocrit [Volume Fraction] of Blood by Automated count', given as 'Hematocrit [Volume Fraction] of Blood by Automated count'})

subject: Patient/pat2

performer: Acme Laboratory, Inc

value: 55 %

interpretation: High (Details : {http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation code 'H' = 'High)

ReferenceRanges

-LowHigh
*38 %52 %
" + }, + "status": "final", + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "4544-3", + "display": "Hematocrit [Volume Fraction] of Blood by Automated count" + } + ], + "text": "Haematocrit" + }, + "subject": { "reference": "Patient/pat2" }, + "performer": [ + { + "reference": "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f", + "display": "Acme Laboratory, Inc" + } + ], + "valueQuantity": { "value": 55, "unit": "%" }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "H" + } + ] + } + ], + "referenceRange": [ + { + "low": { "value": 38, "unit": "%" }, + "high": { "value": 52, "unit": "%" } + } + ] + } + }, + { + "fullUrl": "https://example.com/base/Observation/r4", + "resource": { + "resourceType": "Observation", + "id": "r4", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: r4

status: final

code: Mean Cell Volume (Details : {LOINC code '787-2' = 'Erythrocyte mean corpuscular volume [Entitic volume] by Automated count', given as 'Erythrocyte mean corpuscular volume [Entitic volume] by Automated count'})

subject: Patient/pat2

performer: Acme Laboratory, Inc

value: 99 fL (Details: UCUM code fL = 'fL')

interpretation: High (Details : {http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation code 'H' = 'High)

ReferenceRanges

-LowHigh
*80 fL (Details: UCUM code fL = 'fL')98 fL (Details: UCUM code fL = 'fL')
" + }, + "status": "final", + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "787-2", + "display": "Erythrocyte mean corpuscular volume [Entitic volume] by Automated count" + } + ], + "text": "Mean Cell Volume" + }, + "subject": { "reference": "Patient/pat2" }, + "performer": [ + { + "reference": "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f", + "display": "Acme Laboratory, Inc" + } + ], + "valueQuantity": { + "value": 99, + "unit": "fL", + "system": "http://unitsofmeasure.org", + "code": "fL" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "H" + } + ] + } + ], + "referenceRange": [ + { + "low": { + "value": 80, + "unit": "fL", + "system": "http://unitsofmeasure.org", + "code": "fL" + }, + "high": { + "value": 98, + "unit": "fL", + "system": "http://unitsofmeasure.org", + "code": "fL" + } + } + ] + } + }, + { + "fullUrl": "https://example.com/base/Observation/r5", + "resource": { + "resourceType": "Observation", + "id": "r5", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: r5

status: final

code: Mean Cell Haemoglobin (Details : {LOINC code '785-6' = 'Erythrocyte mean corpuscular hemoglobin [Entitic mass] by Automated count', given as 'Erythrocyte mean corpuscular hemoglobin [Entitic mass] by Automated count'})

subject: Patient/pat2

performer: Acme Laboratory, Inc

value: 36 pg (Details: UCUM code pg = 'pg')

interpretation: High (Details : {http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation code 'H' = 'High)

ReferenceRanges

-LowHigh
*27 pg (Details: UCUM code pg = 'pg')35 pg (Details: UCUM code pg = 'pg')
" + }, + "status": "final", + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "785-6", + "display": "Erythrocyte mean corpuscular hemoglobin [Entitic mass] by Automated count" + } + ], + "text": "Mean Cell Haemoglobin" + }, + "subject": { "reference": "Patient/pat2" }, + "performer": [ + { + "reference": "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f", + "display": "Acme Laboratory, Inc" + } + ], + "valueQuantity": { + "value": 36, + "unit": "pg", + "system": "http://unitsofmeasure.org", + "code": "pg" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "H" + } + ] + } + ], + "referenceRange": [ + { + "low": { + "value": 27, + "unit": "pg", + "system": "http://unitsofmeasure.org", + "code": "pg" + }, + "high": { + "value": 35, + "unit": "pg", + "system": "http://unitsofmeasure.org", + "code": "pg" + } + } + ] + } + }, + { + "fullUrl": "https://example.com/base/Observation/r6", + "resource": { + "resourceType": "Observation", + "id": "r6", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: r6

status: final

code: Platelet Count (Details : {LOINC code '777-3' = 'Platelets [#/volume] in Blood by Automated count', given as 'Platelets [#/volume] in Blood by Automated count'})

subject: Patient/pat2

performer: Acme Laboratory, Inc

value: 444 x10*9/L (Details: UCUM code 10*9/L = '10*9/L')

ReferenceRanges

-LowHigh
*150 x10*9/L (Details: UCUM code 10*9/L = '10*9/L')450 x10*9/L (Details: UCUM code 10*9/L = '10*9/L')
" + }, + "status": "final", + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "777-3", + "display": "Platelets [#/volume] in Blood by Automated count" + } + ], + "text": "Platelet Count" + }, + "subject": { "reference": "Patient/pat2" }, + "performer": [ + { + "reference": "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f", + "display": "Acme Laboratory, Inc" + } + ], + "valueQuantity": { + "value": 444, + "unit": "x10*9/L", + "system": "http://unitsofmeasure.org", + "code": "10*9/L" + }, + "referenceRange": [ + { + "low": { + "value": 150, + "unit": "x10*9/L", + "system": "http://unitsofmeasure.org", + "code": "10*9/L" + }, + "high": { + "value": 450, + "unit": "x10*9/L", + "system": "http://unitsofmeasure.org", + "code": "10*9/L" + } + } + ] + } + }, + { + "fullUrl": "https://example.com/base/Observation/r7", + "resource": { + "resourceType": "Observation", + "id": "r7", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: r7

status: final

code: White Cell Count (Details : {LOINC code '6690-2' = 'Leukocytes [#/volume] in Blood by Automated count', given as 'Leukocytes [#/volume] in Blood by Automated count'})

subject: Patient/pat2

performer: Acme Laboratory, Inc

value: 4.6 x10*9/L (Details: UCUM code 10*9/L = '10*9/L')

ReferenceRanges

-LowHigh
*4.0 x10*9/L (Details: UCUM code 10*9/L = '10*9/L')11.0 x10*9/L (Details: UCUM code 10*9/L = '10*9/L')
" + }, + "status": "final", + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6690-2", + "display": "Leukocytes [#/volume] in Blood by Automated count" + } + ], + "text": "White Cell Count" + }, + "subject": { "reference": "Patient/pat2" }, + "performer": [ + { + "reference": "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f", + "display": "Acme Laboratory, Inc" + } + ], + "valueQuantity": { + "value": 4.6, + "unit": "x10*9/L", + "system": "http://unitsofmeasure.org", + "code": "10*9/L" + }, + "referenceRange": [ + { + "low": { + "value": 4.0, + "unit": "x10*9/L", + "system": "http://unitsofmeasure.org", + "code": "10*9/L" + }, + "high": { + "value": 11.0, + "unit": "x10*9/L", + "system": "http://unitsofmeasure.org", + "code": "10*9/L" + } + } + ] + } + }, + { + "fullUrl": "https://example.com/base/Observation/r8", + "resource": { + "resourceType": "Observation", + "id": "r8", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: r8

status: final

code: Neutrophils (Details : {LOINC code '770-8' = 'Neutrophils/100 leukocytes in Blood by Automated count', given as 'Neutrophils/100 leukocytes in Blood by Automated count'})

subject: Patient/pat2

performer: Acme Laboratory, Inc

value: 20 % (Details: UCUM code % = '%')

" + }, + "status": "final", + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "770-8", + "display": "Neutrophils/100 leukocytes in Blood by Automated count" + } + ], + "text": "Neutrophils" + }, + "subject": { "reference": "Patient/pat2" }, + "performer": [ + { + "reference": "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f", + "display": "Acme Laboratory, Inc" + } + ], + "valueQuantity": { + "value": 20, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } + } + }, + { + "fullUrl": "https://example.com/base/Observation/r9", + "resource": { + "resourceType": "Observation", + "id": "r9", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: r9

status: final

code: Neutrophils (Details : {LOINC code '751-8' = 'Neutrophils [#/volume] in Blood by Automated count', given as 'Neutrophils [#/volume] in Blood by Automated count'})

subject: Patient/pat2

performer: Acme Laboratory, Inc

value: 0.9 x10*9/L (Details: UCUM code 10*9/L = '10*9/L')

interpretation: Critical low (Details : {http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation code 'LL' = 'Critical low)

ReferenceRanges

-LowHigh
*2.0 x10*9/L (Details: UCUM code 10*9/L = '10*9/L')7.5 x10*9/L (Details: UCUM code 10*9/L = '10*9/L')
" + }, + "status": "final", + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "751-8", + "display": "Neutrophils [#/volume] in Blood by Automated count" + } + ], + "text": "Neutrophils" + }, + "subject": { "reference": "Patient/pat2" }, + "performer": [ + { + "reference": "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f", + "display": "Acme Laboratory, Inc" + } + ], + "valueQuantity": { + "value": 0.9, + "unit": "x10*9/L", + "system": "http://unitsofmeasure.org", + "code": "10*9/L" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "LL" + } + ] + } + ], + "referenceRange": [ + { + "low": { + "value": 2.0, + "unit": "x10*9/L", + "system": "http://unitsofmeasure.org", + "code": "10*9/L" + }, + "high": { + "value": 7.5, + "unit": "x10*9/L", + "system": "http://unitsofmeasure.org", + "code": "10*9/L" + } + } + ] + } + }, + { + "fullUrl": "https://example.com/base/Observation/r10", + "resource": { + "resourceType": "Observation", + "id": "r10", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: r10

status: final

code: Lymphocytes (Details : {LOINC code '736-9' = 'Lymphocytes/100 leukocytes in Blood by Automated count', given as 'Lymphocytes/100 leukocytes in Blood by Automated count'})

subject: Patient/pat2

performer: Acme Laboratory, Inc

value: 20 % (Details: UCUM code % = '%')

" + }, + "status": "final", + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "736-9", + "display": "Lymphocytes/100 leukocytes in Blood by Automated count" + } + ], + "text": "Lymphocytes" + }, + "subject": { "reference": "Patient/pat2" }, + "performer": [ + { + "reference": "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f", + "display": "Acme Laboratory, Inc" + } + ], + "valueQuantity": { + "value": 20, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } + } + }, + { + "fullUrl": "https://example.com/base/Observation/r11", + "resource": { + "resourceType": "Observation", + "id": "r11", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: r11

status: final

code: Lymphocytes (Details : {LOINC code '731-0' = 'Lymphocytes [#/volume] in Blood by Automated count', given as 'Lymphocytes [#/volume] in Blood by Automated count'})

subject: Patient/pat2

performer: Acme Laboratory, Inc

value: 0.9 x10*9/L (Details: UCUM code 10*9/L = '10*9/L')

interpretation: Low (Details : {http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation code 'L' = 'Low)

ReferenceRanges

-LowHigh
*1.1 x10*9/L (Details: UCUM code 10*9/L = '10*9/L')4.0 x10*9/L (Details: UCUM code 10*9/L = '10*9/L')
" + }, + "status": "final", + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "731-0", + "display": "Lymphocytes [#/volume] in Blood by Automated count" + } + ], + "text": "Lymphocytes" + }, + "subject": { "reference": "Patient/pat2" }, + "performer": [ + { + "reference": "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f", + "display": "Acme Laboratory, Inc" + } + ], + "valueQuantity": { + "value": 0.9, + "unit": "x10*9/L", + "system": "http://unitsofmeasure.org", + "code": "10*9/L" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "L" + } + ] + } + ], + "referenceRange": [ + { + "low": { + "value": 1.1, + "unit": "x10*9/L", + "system": "http://unitsofmeasure.org", + "code": "10*9/L" + }, + "high": { + "value": 4.0, + "unit": "x10*9/L", + "system": "http://unitsofmeasure.org", + "code": "10*9/L" + } + } + ] + } + }, + { + "fullUrl": "https://example.com/base/Observation/r12", + "resource": { + "resourceType": "Observation", + "id": "r12", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: r12

status: final

code: Monocytes (Details : {LOINC code '5905-5' = 'Monocytes/100 leukocytes in Blood by Automated count', given as 'Monocytes/100 leukocytes in Blood by Automated count'})

subject: Patient/pat2

performer: Acme Laboratory, Inc

value: 20 % (Details: UCUM code % = '%')

" + }, + "status": "final", + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5905-5", + "display": "Monocytes/100 leukocytes in Blood by Automated count" + } + ], + "text": "Monocytes" + }, + "subject": { "reference": "Patient/pat2" }, + "performer": [ + { + "reference": "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f", + "display": "Acme Laboratory, Inc" + } + ], + "valueQuantity": { + "value": 20, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } + } + }, + { + "fullUrl": "https://example.com/base/Observation/r13", + "resource": { + "resourceType": "Observation", + "id": "r13", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: r13

status: final

code: Monocytes (Details : {LOINC code '742-7' = 'Monocytes [#/volume] in Blood by Automated count', given as 'Monocytes [#/volume] in Blood by Automated count'})

subject: Patient/pat2

performer: Acme Laboratory, Inc

value: 0.9 x10*9/L (Details: UCUM code 10*9/L = '10*9/L')

ReferenceRanges

-LowHigh
*0.2 x10*9/L (Details: UCUM code 10*9/L = '10*9/L')1.0 x10*9/L (Details: UCUM code 10*9/L = '10*9/L')
" + }, + "status": "final", + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "742-7", + "display": "Monocytes [#/volume] in Blood by Automated count" + } + ], + "text": "Monocytes" + }, + "subject": { "reference": "Patient/pat2" }, + "performer": [ + { + "reference": "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f", + "display": "Acme Laboratory, Inc" + } + ], + "valueQuantity": { + "value": 0.9, + "unit": "x10*9/L", + "system": "http://unitsofmeasure.org", + "code": "10*9/L" + }, + "referenceRange": [ + { + "low": { + "value": 0.2, + "unit": "x10*9/L", + "system": "http://unitsofmeasure.org", + "code": "10*9/L" + }, + "high": { + "value": 1.0, + "unit": "x10*9/L", + "system": "http://unitsofmeasure.org", + "code": "10*9/L" + } + } + ] + } + }, + { + "fullUrl": "https://example.com/base/Observation/r14", + "resource": { + "resourceType": "Observation", + "id": "r14", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: r14

status: final

code: Eosinophils (Details : {LOINC code '713-8' = 'Eosinophils/100 leukocytes in Blood by Automated count', given as 'Eosinophils/100 leukocytes in Blood by Automated count'})

subject: Patient/pat2

performer: Acme Laboratory, Inc

value: 20 % (Details: UCUM code % = '%')

" + }, + "status": "final", + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "713-8", + "display": "Eosinophils/100 leukocytes in Blood by Automated count" + } + ], + "text": "Eosinophils" + }, + "subject": { "reference": "Patient/pat2" }, + "performer": [ + { + "reference": "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f", + "display": "Acme Laboratory, Inc" + } + ], + "valueQuantity": { + "value": 20, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } + } + }, + { + "fullUrl": "https://example.com/base/Observation/r15", + "resource": { + "resourceType": "Observation", + "id": "r15", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: r15

status: final

code: Eosinophils (Details : {LOINC code '711-2' = 'Eosinophils [#/volume] in Blood by Automated count', given as 'Eosinophils [#/volume] in Blood by Automated count'})

subject: Patient/pat2

performer: Acme Laboratory, Inc

value: 0.92 x10*9/L (Details: UCUM code 10*9/L = '10*9/L')

interpretation: Critical high (Details : {http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation code 'HH' = 'Critical high)

ReferenceRanges

-LowHigh
*0.04 x10*9/L (Details: UCUM code 10*9/L = '10*9/L')0.40 x10*9/L (Details: UCUM code 10*9/L = '10*9/L')
" + }, + "status": "final", + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "711-2", + "display": "Eosinophils [#/volume] in Blood by Automated count" + } + ], + "text": "Eosinophils" + }, + "subject": { "reference": "Patient/pat2" }, + "performer": [ + { + "reference": "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f", + "display": "Acme Laboratory, Inc" + } + ], + "valueQuantity": { + "value": 0.92, + "unit": "x10*9/L", + "system": "http://unitsofmeasure.org", + "code": "10*9/L" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "HH" + } + ] + } + ], + "referenceRange": [ + { + "low": { + "value": 0.04, + "unit": "x10*9/L", + "system": "http://unitsofmeasure.org", + "code": "10*9/L" + }, + "high": { + "value": 0.4, + "unit": "x10*9/L", + "system": "http://unitsofmeasure.org", + "code": "10*9/L" + } + } + ] + } + }, + { + "fullUrl": "https://example.com/base/Observation/r16", + "resource": { + "resourceType": "Observation", + "id": "r16", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: r16

status: final

code: Basophils (Details : {LOINC code '706-2' = 'Basophils/100 leukocytes in Blood by Automated count', given as 'Basophils/100 leukocytes in Blood by Automated count'})

subject: Patient/pat2

performer: Acme Laboratory, Inc

value: 20 % (Details: UCUM code % = '%')

" + }, + "status": "final", + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "706-2", + "display": "Basophils/100 leukocytes in Blood by Automated count" + } + ], + "text": "Basophils" + }, + "subject": { "reference": "Patient/pat2" }, + "performer": [ + { + "reference": "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f", + "display": "Acme Laboratory, Inc" + } + ], + "valueQuantity": { + "value": 20, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } + } + }, + { + "fullUrl": "https://example.com/base/Observation/r17", + "resource": { + "resourceType": "Observation", + "id": "r17", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: r17

status: final

code: Basophils (Details : {LOINC code '704-7' = 'Basophils [#/volume] in Blood by Automated count', given as 'Basophils [#/volume] in Blood by Automated count'})

subject: Patient/pat2

performer: Acme Laboratory, Inc

value: 0.92 x10*9/L (Details: UCUM code 10*9/L = '10*9/L')

ReferenceRanges

-High
*0.21 x10*9/L (Details: UCUM code 10*9/L = '10*9/L')
" + }, + "status": "final", + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "704-7", + "display": "Basophils [#/volume] in Blood by Automated count" + } + ], + "text": "Basophils" + }, + "subject": { "reference": "Patient/pat2" }, + "performer": [ + { + "reference": "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f", + "display": "Acme Laboratory, Inc" + } + ], + "valueQuantity": { + "value": 0.92, + "unit": "x10*9/L", + "system": "http://unitsofmeasure.org", + "code": "10*9/L" + }, + "referenceRange": [ + { + "high": { + "value": 0.21, + "unit": "x10*9/L", + "system": "http://unitsofmeasure.org", + "code": "10*9/L" + } + } + ] + } + } + ] + } + }, + "DocumentReference": { + "properties": { + "resource_type": { + "type": "string", + "const": "DocumentReference", + "title": "Resource Type", + "default": "DocumentReference" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "authenticator": { + "type": "Reference", + "title": "Who/what authenticated the document", + "description": "Which person or organization authenticates that this document is valid.", + "element_property": true, + "enum_reference_types": [ + "Practitioner", + "PractitionerRole", + "Organization" + ] + }, + "author": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Who and/or what authored the document", + "description": "Identifies who is responsible for adding the information to the document.", + "element_property": true, + "enum_reference_types": [ + "Practitioner", + "PractitionerRole", + "Organization", + "Device", + "Patient", + "RelatedPerson" + ] + }, + "category": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Categorization of document", + "description": "A categorization for the type of document referenced - helps for indexing and searching. This may be implied by or derived from the code specified in the DocumentReference.type.", + "element_property": true + }, + "content": { + "items": { "type": "DocumentReferenceContent" }, + "type": "array", + "title": "Document referenced", + "description": "The document and format referenced. There may be multiple content element repetitions, each with a different format.", + "element_property": true + }, + "context": { + "type": "DocumentReferenceContext", + "title": "Clinical context of document", + "description": "The clinical context in which the document was prepared.", + "element_property": true + }, + "custodian": { + "type": "Reference", + "title": "Organization which maintains the document", + "description": "Identifies the organization or group who is responsible for ongoing maintenance of and access to the document.", + "element_property": true, + "enum_reference_types": ["Organization"] + }, + "date": { + "type": "string", + "format": "date-time", + "title": "When this document reference was created", + "description": "When the document reference was created.", + "element_property": true + }, + "_date": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``date``." + }, + "description": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "Human-readable description", + "description": "Human-readable description of the source document.", + "element_property": true + }, + "_description": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``description``." + }, + "docStatus": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "preliminary | final | amended | entered-in-error", + "description": "The status of the underlying document.", + "element_property": true, + "enum_values": [ + "preliminary", + "final", + "amended", + "entered-in-error" + ] + }, + "_docStatus": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``docStatus``." + }, + "identifier": { + "items": { "type": "Identifier" }, + "type": "array", + "title": "Other identifiers for the document", + "description": "Other identifiers associated with the document, including version independent identifiers.", + "element_property": true + }, + "masterIdentifier": { + "type": "Identifier", + "title": "Master Version Specific Identifier", + "description": "Document identifier as assigned by the source of the document. This identifier is specific to this version of the document. This unique identifier may be used elsewhere to identify this version of the document.", + "element_property": true + }, + "relatesTo": { + "items": { "type": "DocumentReferenceRelatesTo" }, + "type": "array", + "title": "Relationships to other documents", + "description": "Relationships that this document has with other document references that already exist.", + "element_property": true + }, + "securityLabel": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Document security-tags", + "description": "A set of Security-Tag codes specifying the level of privacy/security of the Document. Note that DocumentReference.meta.security contains the security labels of the \"reference\" to the document, while DocumentReference.securityLabel contains a snapshot of the security labels on the document the reference refers to.", + "element_property": true + }, + "status": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "current | superseded | entered-in-error", + "description": "The status of this document reference.", + "element_property": true, + "element_required": true, + "enum_values": ["current", "superseded", "entered-in-error"] + }, + "_status": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``status``." + }, + "subject": { + "type": "Reference", + "title": "Who/what is the subject of the document", + "description": "Who or what the document is about. The document can be about a person, (patient or healthcare practitioner), a device (e.g. a machine) or even a group of subjects (such as a document about a herd of farm animals, or a set of patients that share a common exposure).", + "element_property": true, + "enum_reference_types": [ + "Patient", + "Practitioner", + "Group", + "Device" + ] + }, + "type": { + "type": "CodeableConcept", + "title": "Kind of document (LOINC if possible)", + "description": "Specifies the particular kind of document referenced (e.g. History and Physical, Discharge Summary, Progress Note). This usually equates to the purpose of making the document referenced.", + "element_property": true + } + }, + "additionalProperties": false, + "type": "object", + "required": ["content"], + "title": "DocumentReference", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nA reference to a document.\nA reference to a document of any kind for any purpose. Provides metadata\nabout the document so that the document can be discovered and managed. The\nscope of a document is any seralized object with a mime-type, so includes\nformal patient centric documents (CDA), cliical notes, scanned paper, and\nnon-patient specific documents like policy text.", + "example": { + "resourceType": "DocumentReference", + "id": "example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

contained:

masterIdentifier: urn:oid:1.3.6.1.4.1.21367.2005.3.7

identifier: urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234

status: current

docStatus: preliminary

type: Outpatient Note (Details : {LOINC code '34108-1' = 'Outpatient Note', given as 'Outpatient Note'})

category: History and Physical (Details : {http://ihe.net/xds/connectathon/classCodes code 'History and Physical' = 'History and Physical', given as 'History and Physical'})

subject: Patient/xcda

date: 24/12/2005 9:43:41 AM

author:

authenticator: Organization/f001

custodian: Organization/f001

RelatesTos

-CodeTarget
*appendsDocumentReference/example

description: Physical

securityLabel: very restricted (Details : {http://terminology.hl7.org/CodeSystem/v3-Confidentiality code 'V' = 'very restricted', given as 'very restricted'})

Contents

-AttachmentFormat
*History and Physical Specification (Details: urn:oid:1.3.6.1.4.1.19376.1.2.3 code urn:ihe:pcc:handp:2008 = 'urn:ihe:pcc:handp:2008', stated as 'History and Physical Specification')

Contexts

-EncounterEventPeriodFacilityTypePracticeSettingSourcePatientInfoRelated
*Encounter/xcdaArm (Details : {http://ihe.net/xds/connectathon/eventCodes code 'T-D8200' = 'T-D8200', given as 'Arm'})23/12/2004 8:00:00 AM --> 23/12/2004 8:01:00 AMOutpatient (Details : {http://www.ihe.net/xds/connectathon/healthcareFacilityTypeCodes code 'Outpatient' = 'Outpatient', given as 'Outpatient'})General Medicine (Details : {http://www.ihe.net/xds/connectathon/practiceSettingCodes code 'General Medicine' = 'General Medicine', given as 'General Medicine'})Patient/xcdaPatient/xcda
" + }, + "contained": [ + { + "resourceType": "Practitioner", + "id": "a2", + "name": [{ "family": "Smitty", "given": ["Gerald"] }] + } + ], + "masterIdentifier": { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.3.6.1.4.1.21367.2005.3.7" + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234" + } + ], + "status": "current", + "docStatus": "preliminary", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34108-1", + "display": "Outpatient Note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://ihe.net/xds/connectathon/classCodes", + "code": "History and Physical", + "display": "History and Physical" + } + ] + } + ], + "subject": { "reference": "Patient/xcda" }, + "date": "2005-12-24T09:43:41+11:00", + "author": [ + { "reference": "Practitioner/xcda1" }, + { "reference": "#a2" } + ], + "authenticator": { "reference": "Organization/f001" }, + "custodian": { "reference": "Organization/f001" }, + "relatesTo": [ + { + "code": "appends", + "target": { "reference": "DocumentReference/example" } + } + ], + "description": "Physical", + "securityLabel": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality", + "code": "V", + "display": "very restricted" + } + ] + } + ], + "content": [ + { + "attachment": { + "contentType": "application/hl7-v3+xml", + "language": "en-US", + "url": "http://example.org/xds/mhd/Binary/07a6483f-732b-461e-86b6-edb665c45510", + "size": 3654, + "hash": "2jmj7l5rSw0yVb/vlWAYkK/YBwk=", + "title": "Physical", + "creation": "2005-12-24T09:35:00+11:00" + }, + "format": { + "system": "urn:oid:1.3.6.1.4.1.19376.1.2.3", + "code": "urn:ihe:pcc:handp:2008", + "display": "History and Physical Specification" + } + } + ], + "context": { + "encounter": [{ "reference": "Encounter/xcda" }], + "event": [ + { + "coding": [ + { + "system": "http://ihe.net/xds/connectathon/eventCodes", + "code": "T-D8200", + "display": "Arm" + } + ] + } + ], + "period": { + "start": "2004-12-23T08:00:00+11:00", + "end": "2004-12-23T08:01:00+11:00" + }, + "facilityType": { + "coding": [ + { + "system": "http://www.ihe.net/xds/connectathon/healthcareFacilityTypeCodes", + "code": "Outpatient", + "display": "Outpatient" + } + ] + }, + "practiceSetting": { + "coding": [ + { + "system": "http://www.ihe.net/xds/connectathon/practiceSettingCodes", + "code": "General Medicine", + "display": "General Medicine" + } + ] + }, + "sourcePatientInfo": { "reference": "Patient/xcda" }, + "related": [ + { + "reference": "Patient/xcda", + "identifier": { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.3.6.1.4.1.21367.2005.3.7.2345" + } + } + ] + } + } + }, + "Encounter": { + "properties": { + "resource_type": { + "type": "string", + "const": "Encounter", + "title": "Resource Type", + "default": "Encounter" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "account": { + "items": { "type": "Reference" }, + "type": "array", + "title": "The set of accounts that may be used for billing for this Encounter", + "element_property": true, + "enum_reference_types": ["Account"] + }, + "appointment": { + "items": { "type": "Reference" }, + "type": "array", + "title": "The appointment that scheduled this encounter", + "element_property": true, + "enum_reference_types": ["Appointment"] + }, + "basedOn": { + "items": { "type": "Reference" }, + "type": "array", + "title": "The ServiceRequest that initiated this encounter", + "description": "The request this encounter satisfies (e.g. incoming referral or procedure request).", + "element_property": true, + "enum_reference_types": ["ServiceRequest"] + }, + "classHistory": { + "items": { "type": "EncounterClassHistory" }, + "type": "array", + "title": "List of past encounter classes", + "description": "The class history permits the tracking of the encounters transitions without needing to go through the resource history. This would be used for a case where an admission starts of as an emergency encounter, then transitions into an inpatient scenario. Doing this and not restarting a new encounter ensures that any lab/diagnostic results can more easily follow the patient and not require re-processing and not get lost or cancelled during a kind of discharge from emergency to inpatient.", + "element_property": true + }, + "class": { + "type": "Coding", + "title": "Classification of patient encounter", + "description": "Concepts representing classification of patient encounter such as ambulatory (outpatient), inpatient, emergency, home health or others due to local variations.", + "element_property": true + }, + "diagnosis": { + "items": { "type": "EncounterDiagnosis" }, + "type": "array", + "title": "The list of diagnosis relevant to this encounter", + "element_property": true + }, + "episodeOfCare": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Episode(s) of care that this encounter should be recorded against", + "description": "Where a specific encounter should be classified as a part of a specific episode(s) of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as government reporting, issue tracking, association via a common problem. The association is recorded on the encounter as these are typically created after the episode of care and grouped on entry rather than editing the episode of care to append another encounter to it (the episode of care could span years).", + "element_property": true, + "enum_reference_types": ["EpisodeOfCare"] + }, + "hospitalization": { + "type": "EncounterHospitalization", + "title": "Details about the admission to a healthcare service", + "element_property": true + }, + "identifier": { + "items": { "type": "Identifier" }, + "type": "array", + "title": "Identifier(s) by which this encounter is known", + "element_property": true + }, + "length": { + "type": "Duration", + "title": "Quantity of time the encounter lasted (less time absent)", + "description": "Quantity of time the encounter lasted. This excludes the time during leaves of absence.", + "element_property": true + }, + "location": { + "items": { "type": "EncounterLocation" }, + "type": "array", + "title": "List of locations where the patient has been", + "description": "List of locations where the patient has been during this encounter.", + "element_property": true + }, + "partOf": { + "type": "Reference", + "title": "Another Encounter this encounter is part of", + "description": "Another Encounter of which this encounter is a part of (administratively or in time).", + "element_property": true, + "enum_reference_types": ["Encounter"] + }, + "participant": { + "items": { "type": "EncounterParticipant" }, + "type": "array", + "title": "List of participants involved in the encounter", + "description": "The list of people responsible for providing the service.", + "element_property": true + }, + "period": { + "type": "Period", + "title": "The start and end time of the encounter", + "element_property": true + }, + "priority": { + "type": "CodeableConcept", + "title": "Indicates the urgency of the encounter", + "element_property": true + }, + "reasonCode": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Coded reason the encounter takes place", + "description": "Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis.", + "element_property": true + }, + "reasonReference": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Reason the encounter takes place (reference)", + "description": "Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis.", + "element_property": true, + "enum_reference_types": [ + "Condition", + "Procedure", + "Observation", + "ImmunizationRecommendation" + ] + }, + "serviceProvider": { + "type": "Reference", + "title": "The organization (facility) responsible for this encounter", + "description": "The organization that is primarily responsible for this Encounter's services. This MAY be the same as the organization on the Patient record, however it could be different, such as if the actor performing the services was from an external organization (which may be billed seperately) for an external consultation. Refer to the example bundle showing an abbreviated set of Encounters for a colonoscopy.", + "element_property": true, + "enum_reference_types": ["Organization"] + }, + "serviceType": { + "type": "CodeableConcept", + "title": "Specific type of service", + "description": "Broad categorization of the service that is to be provided (e.g. cardiology).", + "element_property": true + }, + "status": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "planned | arrived | triaged | in-progress | onleave | finished | cancelled +", + "element_property": true, + "element_required": true, + "enum_values": [ + "planned", + "arrived", + "triaged", + "in-progress", + "onleave", + "finished", + "cancelled", + "+" + ] + }, + "_status": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``status``." + }, + "statusHistory": { + "items": { "type": "EncounterStatusHistory" }, + "type": "array", + "title": "List of past encounter statuses", + "description": "The status history permits the encounter resource to contain the status history without needing to read through the historical versions of the resource, or even have the server store them.", + "element_property": true + }, + "subject": { + "type": "Reference", + "title": "The patient or group present at the encounter", + "element_property": true, + "enum_reference_types": ["Patient", "Group"] + }, + "type": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Specific type of encounter", + "description": "Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation).", + "element_property": true + } + }, + "additionalProperties": false, + "type": "object", + "required": ["class"], + "title": "Encounter", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nAn interaction during which services are provided to the patient.\nAn interaction between a patient and healthcare provider(s) for the purpose\nof providing healthcare service(s) or assessing the health status of a\npatient.", + "example": { + "resourceType": "Encounter", + "id": "example", + "text": { + "status": "generated", + "div": "
Encounter with patient @example
" + }, + "status": "in-progress", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "IMP", + "display": "inpatient encounter" + }, + "subject": { "reference": "Patient/example" } + } + }, + "Goal": { + "properties": { + "resource_type": { + "type": "string", + "const": "Goal", + "title": "Resource Type", + "default": "Goal" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "achievementStatus": { + "type": "CodeableConcept", + "title": "in-progress | improving | worsening | no-change | achieved | sustaining | not-achieved | no-progress | not-attainable", + "description": "Describes the progression, or lack thereof, towards the goal against the target.", + "element_property": true + }, + "addresses": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Issues addressed by this goal", + "description": "The identified conditions and other health record elements that are intended to be addressed by the goal.", + "element_property": true, + "enum_reference_types": [ + "Condition", + "Observation", + "MedicationStatement", + "NutritionOrder", + "ServiceRequest", + "RiskAssessment" + ] + }, + "category": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "E.g. Treatment, dietary, behavioral, etc.", + "description": "Indicates a category the goal falls within.", + "element_property": true + }, + "description": { + "type": "CodeableConcept", + "title": "Code or text describing goal", + "description": "Human-readable and/or coded description of a specific desired objective of care, such as \"control blood pressure\" or \"negotiate an obstacle course\" or \"dance with child at wedding\".", + "element_property": true + }, + "expressedBy": { + "type": "Reference", + "title": "Who's responsible for creating Goal?", + "description": "Indicates whose goal this is - patient goal, practitioner goal, etc.", + "element_property": true, + "enum_reference_types": [ + "Patient", + "Practitioner", + "PractitionerRole", + "RelatedPerson" + ] + }, + "identifier": { + "items": { "type": "Identifier" }, + "type": "array", + "title": "External Ids for this goal", + "description": "Business identifiers assigned to this goal by the performer or other systems which remain constant as the resource is updated and propagates from server to server.", + "element_property": true + }, + "lifecycleStatus": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected", + "description": "The state of the goal throughout its lifecycle.", + "element_property": true, + "element_required": true, + "enum_values": [ + "proposed", + "planned", + "accepted", + "active", + "on-hold", + "completed", + "cancelled", + "entered-in-error", + "rejected" + ] + }, + "_lifecycleStatus": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``lifecycleStatus``." + }, + "note": { + "items": { "type": "Annotation" }, + "type": "array", + "title": "Comments about the goal", + "description": "Any comments related to the goal.", + "element_property": true + }, + "outcomeCode": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "What result was achieved regarding the goal?", + "description": "Identifies the change (or lack of change) at the point when the status of the goal is assessed.", + "element_property": true + }, + "outcomeReference": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Observation that resulted from goal", + "description": "Details of what's changed (or not changed).", + "element_property": true, + "enum_reference_types": ["Observation"] + }, + "priority": { + "type": "CodeableConcept", + "title": "high-priority | medium-priority | low-priority", + "description": "Identifies the mutually agreed level of importance associated with reaching/sustaining the goal.", + "element_property": true + }, + "startCodeableConcept": { + "type": "CodeableConcept", + "title": "When goal pursuit begins", + "description": "The date or event after which the goal should begin being pursued.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "start" + }, + "startDate": { + "type": "string", + "format": "date", + "title": "When goal pursuit begins", + "description": "The date or event after which the goal should begin being pursued.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "start" + }, + "_startDate": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``startDate``." + }, + "statusDate": { + "type": "string", + "format": "date", + "title": "When goal status took effect", + "description": "Identifies when the current status. I.e. When initially created, when achieved, when cancelled, etc.", + "element_property": true + }, + "_statusDate": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``statusDate``." + }, + "statusReason": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "Reason for current status", + "description": "Captures the reason for the current status.", + "element_property": true + }, + "_statusReason": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``statusReason``." + }, + "subject": { + "type": "Reference", + "title": "Who this goal is intended for", + "description": "Identifies the patient, group or organization for whom the goal is being established.", + "element_property": true, + "enum_reference_types": ["Patient", "Group", "Organization"] + }, + "target": { + "items": { "type": "GoalTarget" }, + "type": "array", + "title": "Target outcome for the goal", + "description": "Indicates what should be done by when.", + "element_property": true + } + }, + "additionalProperties": false, + "type": "object", + "required": ["description", "subject"], + "title": "Goal", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nDescribes the intended objective(s) for a patient, group or organization.\nDescribes the intended objective(s) for a patient, group or organization\ncare, for example, weight loss, restoring an activity of daily living,\nobtaining herd immunity via immunization, meeting a process improvement\nobjective, etc.", + "example": { + "resourceType": "Goal", + "id": "example", + "text": { + "status": "additional", + "div": "
\n\t\t\t

A simple care goal for a patient to lose weight due to obesity.

\n\t\t
" + }, + "identifier": [{ "value": "123" }], + "lifecycleStatus": "on-hold", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/goal-category", + "code": "dietary" + } + ] + } + ], + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/goal-priority", + "code": "high-priority", + "display": "High Priority" + } + ], + "text": "high" + }, + "description": { "text": "Target weight is 160 to 180 lbs." }, + "subject": { + "reference": "Patient/example", + "display": "Peter James Chalmers" + }, + "startDate": "2015-04-05", + "target": [ + { + "measure": { + "coding": [ + { + "system": "http://loinc.org", + "code": "3141-9", + "display": "Weight Measured" + } + ] + }, + "detailRange": { + "low": { + "value": 160, + "unit": "lbs", + "system": "http://unitsofmeasure.org", + "code": "[lb_av]" + }, + "high": { + "value": 180, + "unit": "lbs", + "system": "http://unitsofmeasure.org", + "code": "[lb_av]" + } + }, + "dueDate": "2016-04-05" + } + ], + "statusDate": "2016-02-14", + "statusReason": "Patient wants to defer weight loss until after honeymoon.", + "expressedBy": { + "reference": "Patient/example", + "display": "Peter James Chalmers" + }, + "addresses": [{ "display": "obesity condition" }], + "outcomeReference": [ + { + "reference": "Observation/example", + "display": "Body Weight Measured" + } + ] + } + }, + "Group": { + "properties": { + "resource_type": { + "type": "string", + "const": "Group", + "title": "Resource Type", + "default": "Group" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "active": { + "type": "boolean", + "title": "Whether this group's record is in active use", + "description": "Indicates whether the record for the group is available for use or is merely being retained for historical purposes.", + "element_property": true + }, + "_active": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``active``." + }, + "actual": { + "type": "boolean", + "title": "Descriptive or actual", + "description": "If true, indicates that the resource refers to a specific group of real individuals. If false, the group defines a set of intended individuals.", + "element_property": true, + "element_required": true + }, + "_actual": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``actual``." + }, + "characteristic": { + "items": { "type": "GroupCharacteristic" }, + "type": "array", + "title": "Include / Exclude group members by Trait", + "description": "Identifies traits whose presence r absence is shared by members of the group.", + "element_property": true + }, + "code": { + "type": "CodeableConcept", + "title": "Kind of Group members", + "description": "Provides a specific type of resource the group includes; e.g. \"cow\", \"syringe\", etc.", + "element_property": true + }, + "identifier": { + "items": { "type": "Identifier" }, + "type": "array", + "title": "Unique id", + "description": "A unique business identifier for this group.", + "element_property": true + }, + "managingEntity": { + "type": "Reference", + "title": "Entity that is the custodian of the Group's definition", + "description": "Entity responsible for defining and maintaining Group characteristics and/or registered members.", + "element_property": true, + "enum_reference_types": [ + "Organization", + "RelatedPerson", + "Practitioner", + "PractitionerRole" + ] + }, + "member": { + "items": { "type": "GroupMember" }, + "type": "array", + "title": "Who or what is in group", + "description": "Identifies the resource instances that are members of the group.", + "element_property": true + }, + "name": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "Label for Group", + "description": "A label assigned to the group for human identification and communication.", + "element_property": true + }, + "_name": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``name``." + }, + "quantity": { + "type": "integer", + "minimum": 0.0, + "title": "Number of members", + "description": "A count of the number of resource instances that are part of the group.", + "element_property": true + }, + "_quantity": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``quantity``." + }, + "type": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "person | animal | practitioner | device | medication | substance", + "description": "Identifies the broad classification of the kind of resources the group includes.", + "element_property": true, + "element_required": true, + "enum_values": [ + "person", + "animal", + "practitioner", + "device", + "medication", + "substance" + ] + }, + "_type": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``type``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Group", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nGroup of multiple entities.\nRepresents a defined collection of entities that may be discussed or acted\nupon collectively but which are not expected to act collectively, and are\nnot formally or legally recognized; i.e. a collection of entities that\nisn't an Organization.", + "example": { + "resourceType": "Group", + "id": "101", + "text": { + "status": "additional", + "div": "
\n

Herd of 25 horses

\n

Gender: mixed

\n

Owner: John Smith

\n
" + }, + "identifier": [ + { + "system": "http://someveterinarianclinic.org/fhir/NamingSystem/herds", + "value": "12345" + } + ], + "type": "animal", + "actual": true, + "code": { "text": "Horse" }, + "name": "John's herd", + "quantity": 25, + "characteristic": [ + { + "code": { "text": "gender" }, + "valueCodeableConcept": { "text": "mixed" }, + "exclude": false + }, + { + "code": { "text": "owner" }, + "valueCodeableConcept": { "text": "John Smith" }, + "exclude": false + } + ] + } + }, + "HTTPValidationError": { + "properties": { + "detail": { + "items": { "$ref": "#/components/schemas/ValidationError" }, + "type": "array", + "title": "Detail" + } + }, + "type": "object", + "title": "HTTPValidationError" + }, + "Immunization": { + "properties": { + "resource_type": { + "type": "string", + "const": "Immunization", + "title": "Resource Type", + "default": "Immunization" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "doseQuantity": { + "type": "Quantity", + "title": "Amount of vaccine administered", + "description": "The quantity of vaccine product that was administered.", + "element_property": true + }, + "education": { + "items": { "type": "ImmunizationEducation" }, + "type": "array", + "title": "Educational material presented to patient", + "description": "Educational material presented to the patient (or guardian) at the time of vaccine administration.", + "element_property": true + }, + "encounter": { + "type": "Reference", + "title": "Encounter immunization was part of", + "description": "The visit or admission or other contact between patient and health care provider the immunization was performed as part of.", + "element_property": true, + "enum_reference_types": ["Encounter"] + }, + "expirationDate": { + "type": "string", + "format": "date", + "title": "Vaccine expiration date", + "description": "Date vaccine batch expires.", + "element_property": true + }, + "_expirationDate": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``expirationDate``." + }, + "fundingSource": { + "type": "CodeableConcept", + "title": "Funding source for the vaccine", + "description": "Indicates the source of the vaccine actually administered. This may be different than the patient eligibility (e.g. the patient may be eligible for a publically purchased vaccine but due to inventory issues, vaccine purchased with private funds was actually administered).", + "element_property": true + }, + "identifier": { + "items": { "type": "Identifier" }, + "type": "array", + "title": "Business identifier", + "description": "A unique identifier assigned to this immunization record.", + "element_property": true + }, + "isSubpotent": { + "type": "boolean", + "title": "Dose potency", + "description": "Indication if a dose is considered to be subpotent. By default, a dose should be considered to be potent.", + "element_property": true + }, + "_isSubpotent": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``isSubpotent``." + }, + "location": { + "type": "Reference", + "title": "Where immunization occurred", + "description": "The service delivery location where the vaccine administration occurred.", + "element_property": true, + "enum_reference_types": ["Location"] + }, + "lotNumber": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "Vaccine lot number", + "description": "Lot number of the vaccine product.", + "element_property": true + }, + "_lotNumber": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``lotNumber``." + }, + "manufacturer": { + "type": "Reference", + "title": "Vaccine manufacturer", + "description": "Name of vaccine manufacturer.", + "element_property": true, + "enum_reference_types": ["Organization"] + }, + "note": { + "items": { "type": "Annotation" }, + "type": "array", + "title": "Additional immunization notes", + "description": "Extra information about the immunization that is not conveyed by the other attributes.", + "element_property": true + }, + "occurrenceDateTime": { + "type": "string", + "format": "date-time", + "title": "Vaccine administration date", + "description": "Date vaccine administered or was to be administered.", + "one_of_many_required": true, + "element_property": true, + "one_of_many": "occurrence" + }, + "_occurrenceDateTime": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``occurrenceDateTime``." + }, + "occurrenceString": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "Vaccine administration date", + "description": "Date vaccine administered or was to be administered.", + "one_of_many_required": true, + "element_property": true, + "one_of_many": "occurrence" + }, + "_occurrenceString": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``occurrenceString``." + }, + "patient": { + "type": "Reference", + "title": "Who was immunized", + "description": "The patient who either received or did not receive the immunization.", + "element_property": true, + "enum_reference_types": ["Patient"] + }, + "performer": { + "items": { "type": "ImmunizationPerformer" }, + "type": "array", + "title": "Who performed event", + "description": "Indicates who performed the immunization event.", + "element_property": true + }, + "primarySource": { + "type": "boolean", + "title": "Indicates context the data was recorded in", + "description": "An indication that the content of the record is based on information from the person who administered the vaccine. This reflects the context under which the data was originally recorded.", + "element_property": true + }, + "_primarySource": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``primarySource``." + }, + "programEligibility": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Patient eligibility for a vaccination program", + "description": "Indicates a patient's eligibility for a funding program.", + "element_property": true + }, + "protocolApplied": { + "items": { "type": "ImmunizationProtocolApplied" }, + "type": "array", + "title": "Protocol followed by the provider", + "description": "The protocol (set of recommendations) being followed by the provider who administered the dose.", + "element_property": true + }, + "reaction": { + "items": { "type": "ImmunizationReaction" }, + "type": "array", + "title": "Details of a reaction that follows immunization", + "description": "Categorical data indicating that an adverse event is associated in time to an immunization.", + "element_property": true + }, + "reasonCode": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Why immunization occurred", + "description": "Reasons why the vaccine was administered.", + "element_property": true + }, + "reasonReference": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Why immunization occurred", + "description": "Condition, Observation or DiagnosticReport that supports why the immunization was administered.", + "element_property": true, + "enum_reference_types": [ + "Condition", + "Observation", + "DiagnosticReport" + ] + }, + "recorded": { + "type": "string", + "format": "date-time", + "title": "When the immunization was first captured in the subject's record", + "description": "The date the occurrence of the immunization was first captured in the record - potentially significantly after the occurrence of the event.", + "element_property": true + }, + "_recorded": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``recorded``." + }, + "reportOrigin": { + "type": "CodeableConcept", + "title": "Indicates the source of a secondarily reported record", + "description": "The source of the data when the report of the immunization event is not based on information from the person who administered the vaccine.", + "element_property": true + }, + "route": { + "type": "CodeableConcept", + "title": "How vaccine entered body", + "description": "The path by which the vaccine product is taken into the body.", + "element_property": true + }, + "site": { + "type": "CodeableConcept", + "title": "Body site vaccine was administered", + "description": "Body site where vaccine was administered.", + "element_property": true + }, + "status": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "completed | entered-in-error | not-done", + "description": "Indicates the current status of the immunization event.", + "element_property": true, + "element_required": true, + "enum_values": ["completed", "entered-in-error", "not-done"] + }, + "_status": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``status``." + }, + "statusReason": { + "type": "CodeableConcept", + "title": "Reason not done", + "description": "Indicates the reason the immunization event was not performed.", + "element_property": true + }, + "subpotentReason": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Reason for being subpotent", + "description": "Reason why a dose is considered to be subpotent.", + "element_property": true + }, + "vaccineCode": { + "type": "CodeableConcept", + "title": "Vaccine product administered", + "description": "Vaccine that was administered or was to be administered.", + "element_property": true + } + }, + "additionalProperties": false, + "type": "object", + "required": ["patient", "vaccineCode"], + "title": "Immunization", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nImmunization event information.\nDescribes the event of a patient being administered a vaccine or a record\nof an immunization as reported by a patient, a clinician or another party.", + "example": { + "resourceType": "Immunization", + "id": "example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

identifier: urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234

status: completed

vaccineCode: Fluvax (Influenza) (Details : {urn:oid:1.2.36.1.2001.1005.17 code 'FLUVAX' = 'Fluvax)

patient: Patient/example

encounter: Encounter/example

occurrence: 10/01/2013

primarySource: true

location: Location/1

manufacturer: Organization/hl7

lotNumber: AAJN11K

expirationDate: 15/02/2015

site: left arm (Details : {http://terminology.hl7.org/CodeSystem/v3-ActSite code 'LA' = 'left arm', given as 'left arm'})

route: Injection, intramuscular (Details : {http://terminology.hl7.org/CodeSystem/v3-RouteOfAdministration code 'IM' = 'Injection, intramuscular', given as 'Injection, intramuscular'})

doseQuantity: 5 mg (Details: UCUM code mg = 'mg')

performer

function: Ordering Provider (Details : {http://terminology.hl7.org/CodeSystem/v2-0443 code 'OP' = 'Ordering Provider)

actor: Practitioner/example

performer

function: Administering Provider (Details : {http://terminology.hl7.org/CodeSystem/v2-0443 code 'AP' = 'Administering Provider)

actor: Practitioner/example

note: Notes on adminstration of vaccine

reasonCode: Procedure to meet occupational requirement (Details : {SNOMED CT code '429060002' = 'Procedure to meet occupational requirement)

isSubpotent: true

Educations

-DocumentTypePublicationDatePresentationDate
*25308869830001031112070202/07/201210/01/2013

programEligibility: Not Eligible (Details : {http://terminology.hl7.org/CodeSystem/immunization-program-eligibility code 'ineligible' = 'Not Eligible)

fundingSource: Private (Details : {http://terminology.hl7.org/CodeSystem/immunization-funding-source code 'private' = 'Private)

" + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234" + } + ], + "status": "completed", + "vaccineCode": { + "coding": [ + { "system": "urn:oid:1.2.36.1.2001.1005.17", "code": "FLUVAX" } + ], + "text": "Fluvax (Influenza)" + }, + "patient": { "reference": "Patient/example" }, + "encounter": { "reference": "Encounter/example" }, + "occurrenceDateTime": "2013-01-10", + "primarySource": true, + "location": { "reference": "Location/1" }, + "manufacturer": { "reference": "Organization/hl7" }, + "lotNumber": "AAJN11K", + "expirationDate": "2015-02-15", + "site": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActSite", + "code": "LA", + "display": "left arm" + } + ] + }, + "route": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-RouteOfAdministration", + "code": "IM", + "display": "Injection, intramuscular" + } + ] + }, + "doseQuantity": { + "value": 5, + "system": "http://unitsofmeasure.org", + "code": "mg" + }, + "performer": [ + { + "function": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "code": "OP" + } + ] + }, + "actor": { "reference": "Practitioner/example" } + }, + { + "function": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "code": "AP" + } + ] + }, + "actor": { "reference": "Practitioner/example" } + } + ], + "note": [{ "text": "Notes on adminstration of vaccine" }], + "reasonCode": [ + { + "coding": [ + { "system": "http://snomed.info/sct", "code": "429060002" } + ] + } + ], + "isSubpotent": true, + "education": [ + { + "documentType": "253088698300010311120702", + "publicationDate": "2012-07-02", + "presentationDate": "2013-01-10" + } + ], + "programEligibility": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/immunization-program-eligibility", + "code": "ineligible" + } + ] + } + ], + "fundingSource": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/immunization-funding-source", + "code": "private" + } + ] + } + } + }, + "Location": { + "properties": { + "resource_type": { + "type": "string", + "const": "Location", + "title": "Resource Type", + "default": "Location" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "address": { + "type": "Address", + "title": "Physical location", + "element_property": true + }, + "alias": { + "items": { "type": "string", "pattern": "[ \\r\\n\\t\\S]+" }, + "type": "array", + "title": "A list of alternate names that the location is known as, or was known as, in the past", + "element_property": true + }, + "_alias": { + "items": { "type": "FHIRPrimitiveExtension" }, + "type": "array", + "title": "Extension field for ``alias``." + }, + "availabilityExceptions": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "Description of availability exceptions", + "description": "A description of when the locations opening ours are different to normal, e.g. public holiday availability. Succinctly describing all possible exceptions to normal site availability as detailed in the opening hours Times.", + "element_property": true + }, + "_availabilityExceptions": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``availabilityExceptions``." + }, + "description": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "Additional details about the location that could be displayed as further information to identify the location beyond its name", + "description": "Description of the Location, which helps in finding or referencing the place.", + "element_property": true + }, + "_description": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``description``." + }, + "endpoint": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Technical endpoints providing access to services operated for the location", + "element_property": true, + "enum_reference_types": ["Endpoint"] + }, + "hoursOfOperation": { + "items": { "type": "LocationHoursOfOperation" }, + "type": "array", + "title": "What days/times during a week is this location usually open", + "element_property": true + }, + "identifier": { + "items": { "type": "Identifier" }, + "type": "array", + "title": "Unique code or number identifying the location to its users", + "element_property": true + }, + "managingOrganization": { + "type": "Reference", + "title": "Organization responsible for provisioning and upkeep", + "description": "The organization responsible for the provisioning and upkeep of the location.", + "element_property": true, + "enum_reference_types": ["Organization"] + }, + "mode": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "instance | kind", + "description": "Indicates whether a resource instance represents a specific location or a class of locations.", + "element_property": true, + "enum_values": ["instance", "kind"] + }, + "_mode": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``mode``." + }, + "name": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "Name of the location as used by humans", + "description": "Name of the location as used by humans. Does not need to be unique.", + "element_property": true + }, + "_name": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``name``." + }, + "operationalStatus": { + "type": "Coding", + "title": "The operational status of the location (typically only for a bed/room)", + "description": "The operational status covers operation values most relevant to beds (but can also apply to rooms/units/chairs/etc. such as an isolation unit/dialysis chair). This typically covers concepts such as contamination, housekeeping, and other activities like maintenance.", + "element_property": true + }, + "partOf": { + "type": "Reference", + "title": "Another Location this one is physically a part of", + "description": "Another Location of which this Location is physically a part of.", + "element_property": true, + "enum_reference_types": ["Location"] + }, + "physicalType": { + "type": "CodeableConcept", + "title": "Physical form of the location", + "description": "Physical form of the location, e.g. building, room, vehicle, road.", + "element_property": true + }, + "position": { + "type": "LocationPosition", + "title": "The absolute geographic location", + "description": "The absolute geographic location of the Location, expressed using the WGS84 datum (This is the same co-ordinate system used in KML).", + "element_property": true + }, + "status": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "active | suspended | inactive", + "description": "The status property covers the general availability of the resource, not the current value which may be covered by the operationStatus, or by a schedule/slots if they are configured for the location.", + "element_property": true, + "enum_values": ["active", "suspended", "inactive"] + }, + "_status": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``status``." + }, + "telecom": { + "items": { "type": "ContactPoint" }, + "type": "array", + "title": "Contact details of the location", + "description": "The contact details of communication devices available at the location. This can include phone numbers, fax numbers, mobile numbers, email addresses and web sites.", + "element_property": true + }, + "type": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Type of function performed", + "description": "Indicates the type of function performed at the location.", + "element_property": true + } + }, + "additionalProperties": false, + "type": "object", + "title": "Location", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nDetails and position information for a physical place.\nDetails and position information for a physical place where services are\nprovided and resources and participants may be stored, found, contained, or\naccommodated.", + "example": { + "resourceType": "Location", + "id": "1", + "text": { + "status": "generated", + "div": "
Burgers UMC, South Wing, second floor
" + }, + "identifier": [{ "value": "B1-S.F2" }], + "status": "active", + "name": "South Wing, second floor", + "alias": [ + "BU MC, SW, F2", + "Burgers University Medical Center, South Wing, second floor" + ], + "description": "Second floor of the Old South Wing, formerly in use by Psychiatry", + "mode": "instance", + "telecom": [ + { "system": "phone", "value": "2328", "use": "work" }, + { "system": "fax", "value": "2329", "use": "work" }, + { "system": "email", "value": "second wing admissions" }, + { + "system": "url", + "value": "http://sampleorg.com/southwing", + "use": "work" + } + ], + "address": { + "use": "work", + "line": ["Galapagosweg 91, Building A"], + "city": "Den Burg", + "postalCode": "9105 PZ", + "country": "NLD" + }, + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "wi", + "display": "Wing" + } + ] + }, + "position": { + "longitude": -83.6945691, + "latitude": 42.25475478, + "altitude": 0 + }, + "managingOrganization": { "reference": "Organization/f001" }, + "endpoint": [{ "reference": "Endpoint/example" }] + } + }, + "Media": { + "properties": { + "resource_type": { + "type": "string", + "const": "Media", + "title": "Resource Type", + "default": "Media" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "basedOn": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Procedure that caused this media to be created", + "description": "A procedure that is fulfilled in whole or in part by the creation of this media.", + "element_property": true, + "enum_reference_types": ["ServiceRequest", "CarePlan"] + }, + "bodySite": { + "type": "CodeableConcept", + "title": "Observed body part", + "description": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "element_property": true + }, + "content": { + "type": "Attachment", + "title": "Actual Media - reference or data", + "description": "The actual content of the media - inline or by direct reference to the media source file.", + "element_property": true + }, + "createdDateTime": { + "type": "string", + "format": "date-time", + "title": "When Media was collected", + "description": "The date and time(s) at which the media was collected.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "created" + }, + "_createdDateTime": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``createdDateTime``." + }, + "createdPeriod": { + "type": "Period", + "title": "When Media was collected", + "description": "The date and time(s) at which the media was collected.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "created" + }, + "device": { + "type": "Reference", + "title": "Observing Device", + "description": "The device used to collect the media.", + "element_property": true, + "enum_reference_types": ["Device", "DeviceMetric", "Device"] + }, + "deviceName": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "Name of the device/manufacturer", + "description": "The name of the device / manufacturer of the device that was used to make the recording.", + "element_property": true + }, + "_deviceName": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``deviceName``." + }, + "duration": { + "type": "number", + "title": "Length in seconds (audio / video)", + "description": "The duration of the recording in seconds - for audio and video.", + "element_property": true + }, + "_duration": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``duration``." + }, + "encounter": { + "type": "Reference", + "title": "Encounter associated with media", + "description": "The encounter that establishes the context for this media.", + "element_property": true, + "enum_reference_types": ["Encounter"] + }, + "frames": { + "type": "integer", + "exclusiveMinimum": 0.0, + "title": "Number of frames if > 1 (photo)", + "description": "The number of frames in a photo. This is used with a multi-page fax, or an imaging acquisition context that takes multiple slices in a single image, or an animated gif. If there is more than one frame, this SHALL have a value in order to alert interface software that a multi-frame capable rendering widget is required.", + "element_property": true + }, + "_frames": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``frames``." + }, + "height": { + "type": "integer", + "exclusiveMinimum": 0.0, + "title": "Height of the image in pixels (photo/video)", + "element_property": true + }, + "_height": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``height``." + }, + "identifier": { + "items": { "type": "Identifier" }, + "type": "array", + "title": "Identifier(s) for the image", + "description": "Identifiers associated with the image - these may include identifiers for the image itself, identifiers for the context of its collection (e.g. series ids) and context ids such as accession numbers or other workflow identifiers.", + "element_property": true + }, + "issued": { + "type": "string", + "format": "date-time", + "title": "Date/Time this version was made available", + "description": "The date and time this version of the media was made available to providers, typically after having been reviewed.", + "element_property": true + }, + "_issued": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``issued``." + }, + "modality": { + "type": "CodeableConcept", + "title": "The type of acquisition equipment/process", + "description": "Details of the type of the media - usually, how it was acquired (what type of device). If images sourced from a DICOM system, are wrapped in a Media resource, then this is the modality.", + "element_property": true + }, + "note": { + "items": { "type": "Annotation" }, + "type": "array", + "title": "Comments made about the media", + "description": "Comments made about the media by the performer, subject or other participants.", + "element_property": true + }, + "operator": { + "type": "Reference", + "title": "The person who generated the image", + "description": "The person who administered the collection of the image.", + "element_property": true, + "enum_reference_types": [ + "Practitioner", + "PractitionerRole", + "Organization", + "CareTeam", + "Patient", + "Device", + "RelatedPerson" + ] + }, + "partOf": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Part of referenced event", + "description": "A larger event of which this particular event is a component or step.", + "element_property": true, + "enum_reference_types": ["Resource"] + }, + "reasonCode": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Why was event performed?", + "description": "Describes why the event occurred in coded or textual form.", + "element_property": true + }, + "status": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown", + "description": "The current state of the {{title}}.", + "element_property": true, + "element_required": true, + "enum_values": [ + "preparation", + "in-progress", + "not-done", + "on-hold", + "stopped", + "completed", + "entered-in-error", + "unknown" + ] + }, + "_status": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``status``." + }, + "subject": { + "type": "Reference", + "title": "Who/What this Media is a record of", + "element_property": true, + "enum_reference_types": [ + "Patient", + "Practitioner", + "PractitionerRole", + "Group", + "Device", + "Specimen", + "Location" + ] + }, + "type": { + "type": "CodeableConcept", + "title": "Classification of media as image, video, or audio", + "description": "A code that classifies whether the media is an image, video or audio recording or some other media category.", + "element_property": true + }, + "view": { + "type": "CodeableConcept", + "title": "Imaging view, e.g. Lateral or Antero-posterior", + "description": "The name of the imaging view e.g. Lateral or Antero-posterior (AP).", + "element_property": true + }, + "width": { + "type": "integer", + "exclusiveMinimum": 0.0, + "title": "Width of the image in pixels (photo/video)", + "element_property": true + }, + "_width": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``width``." + } + }, + "additionalProperties": false, + "type": "object", + "required": ["content"], + "title": "Media", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nA photo, video, or audio recording acquired or used in healthcare. The\nactual content may be inline or provided by direct reference.", + "example": { + "resourceType": "Media", + "id": "example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

status: completed

type: Image (Details : {http://terminology.hl7.org/CodeSystem/media-type code 'image' = 'Image', given as 'Image'})

modality: Diagram (Details : {http://terminology.hl7.org/CodeSystem/media-modality code 'diagram' = 'Diagram)

subject: Patient/xcda

created: 17/12/2017

issued: 17/12/2017 2:56:18 PM

operator: Practitioner/xcda-author

device: Acme Camera

height: 145

width: 126

frames: 1

content:

" + }, + "status": "completed", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/media-type", + "code": "image", + "display": "Image" + } + ] + }, + "modality": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/media-modality", + "code": "diagram" + } + ] + }, + "subject": { "reference": "Patient/xcda" }, + "createdDateTime": "2017-12-17", + "issued": "2017-12-17T14:56:18Z", + "operator": { "reference": "Practitioner/xcda-author" }, + "device": { "display": "Acme Camera" }, + "height": 145, + "width": 126, + "frames": 1, + "content": { + "id": "a1", + "contentType": "image/gif", + "data": "R0lGODlhfgCRAPcAAAAAAIAAAACAAICAAAAAgIAA gACAgICAgMDAwP8AAAD/AP//AAAA//8A/wD///// /wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAMwAAZgAAmQAAzAAA /wAzAAAzMwAzZgAzmQAzzAAz/wBmAABmMwBmZgBm mQBmzABm/wCZAACZMwCZZgCZmQCZzACZ/wDMAADM MwDMZgDMmQDMzADM/wD/AAD/MwD/ZgD/mQD/zAD/ /zMAADMAMzMAZjMAmTMAzDMA/zMzADMzMzMzZjMz mTMzzDMz/zNmADNmMzNmZjNmmTNmzDNm/zOZADOZ MzOZZjOZmTOZzDOZ/zPMADPMMzPMZjPMmTPMzDPM /zP/ADP/MzP/ZjP/mTP/zDP//2YAAGYAM2YAZmYA mWYAzGYA/2YzAGYzM2YzZmYzmWYzzGYz/2ZmAGZm M2ZmZmZmmWZmzGZm/2aZAGaZM2aZZmaZmWaZzGaZ /2bMAGbMM2bMZmbMmWbMzGbM/2b/AGb/M2b/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ncQ9fkMwozMkmVhRW lFTGk5T5sAlgaCawjjWjnJcEYoYWRJU/CUdqbQSX bNYEGRQZjj630qAXO7MmRJ3pOq65DOOiBaqghaVy a4sUcrKYn+ugay+PXFJzgiOesGWISx3sFfRoaEHC qY9ePmzUpCoTnN5JyobF8lx9zJJSEZlqWNK6D0ar taDWsY4zOV2NVj5olq2VVIvCQ1GsjKURBSnnbCJk FbzihxdSqYc1MAyhZZBDPwZ1sKygKiqTHsOqPGFO L8JrX7cgxBmiYk2LagKo9uQ3LKv2zjGcMlbsVLUv I2YRUf+Z5fq2GqzRqO04Z2POlyo4m7KGB3oXsmSd /2Llps7Mh6mVK84FtQW9qllnccLJkFythBgUyo2F AlzTgMIyqECVDkZltSgSB6unZ8Vwc9jZHKUIJ8Ll 8YkvkmLUa3koJPaFdoGeK2Ln9KI6S4GFVMsDV31e M1vQqPZT+uMpcJYY2/V89y9+0tuoKuqp8mhvfKnx 7NNI95fiCIpx1Nmchrj1VbaWtzAOdSLr6MLX+5VH Px+BVIVQdLuXKk8v2pMg69wzFodez0x/Fa+37tQ4 CcbnwAge6Icbg9Ww6gpAALLrXer20mKhuDDGoWlg /Aveq8InizQsjwq7GkQEEVVRsWHQYYIYQ+cFK00G 4o1webxWZEEIsVAEznmH6N1Y4eiUNJaLaRex9UVf wWlSJCRhr+AiZElZsYZoi5xg12eqp3buNEJm3LRQ BcTeSZUx8/pLdk53w9p6CYKE/p+J83NjJuUPeemq 71bbqrjTkTEvjfaQDyFFnXbJr1lshqIKnaja4uHr tWEa4beqRZpJpXcvy3kaxhxD6U/NqaQ0xCr6jJhp FUlYPVl01HrsI8JYPSdpoCXhEG2YUVzrqT2mzpkS KVRAG955u3SJdhITZ766KosyNjQOnZAt6F3d7oQJ +inaJNPrHUXt3fCOt7ylSe962/ve+M63vvkYEAA7", + "creation": "2009-09-03" + } + } + }, + "Medication": { + "properties": { + "resource_type": { + "type": "string", + "const": "Medication", + "title": "Resource Type", + "default": "Medication" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "amount": { + "type": "Ratio", + "title": "Amount of drug in package", + "description": "Specific amount of the drug in the packaged product. For example, when specifying a product that has the same strength (For example, Insulin glargine 100 unit per mL solution for injection), this attribute provides additional clarification of the package amount (For example, 3 mL, 10mL, etc.).", + "element_property": true + }, + "batch": { + "type": "MedicationBatch", + "title": "Details about packaged medications", + "description": "Information that only applies to packages (not products).", + "element_property": true + }, + "code": { + "type": "CodeableConcept", + "title": "Codes that identify this medication", + "description": "A code (or set of codes) that specify this medication, or a textual description if no code is available. Usage note: This could be a standard medication code such as a code from RxNorm, SNOMED CT, IDMP etc. It could also be a national or local formulary code, optionally with translations to other code systems.", + "element_property": true + }, + "form": { + "type": "CodeableConcept", + "title": "powder | tablets | capsule +", + "description": "Describes the form of the item. Powder; tablets; capsule.", + "element_property": true + }, + "identifier": { + "items": { "type": "Identifier" }, + "type": "array", + "title": "Business identifier for this medication", + "element_property": true + }, + "ingredient": { + "items": { "type": "MedicationIngredient" }, + "type": "array", + "title": "Active or inactive ingredient", + "description": "Identifies a particular constituent of interest in the product.", + "element_property": true + }, + "manufacturer": { + "type": "Reference", + "title": "Manufacturer of the item", + "description": "Describes the details of the manufacturer of the medication product. This is not intended to represent the distributor of a medication product.", + "element_property": true, + "enum_reference_types": ["Organization"] + }, + "status": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "active | inactive | entered-in-error", + "description": "A code to indicate if the medication is in active use.", + "element_property": true, + "enum_values": ["active", "inactive", "entered-in-error"] + }, + "_status": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``status``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Medication", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nDefinition of a Medication.\nThis resource is primarily used for the identification and definition of a\nmedication for the purposes of prescribing, dispensing, and administering a\nmedication as well as for making statements about medication use.", + "example": { + "resourceType": "Medication", + "id": "medexample015", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: medexample015

contained: ,

code: Capecitabine 500mg oral tablet (Xeloda) (Details : {RxNorm code '213293' = 'Xeloda 500 MG Oral Tablet', given as 'Capecitabine 500mg oral tablet (Xeloda)'})

manufacturer: id: org2; name: Gene Inc

form: Tablet dose form (qualifier value) (Details : {SNOMED CT code '385055001' = 'Tablet', given as 'Tablet dose form (qualifier value)'})

Ingredients

-Item[x]Strength
*id: sub04; Capecitabine (substance) (Details : {SNOMED CT code '386906001' = 'Capecitabine', given as 'Capecitabine (substance)'})500 mg (Details: UCUM code mg = 'mg')/1 TAB (Details: http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm code TAB = 'Tablet')

Batches

-LotNumberExpirationDate
*949478822/05/2017
" + }, + "contained": [ + { + "resourceType": "Organization", + "id": "org2", + "name": "Gene Inc" + }, + { + "resourceType": "Substance", + "id": "sub04", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "386906001", + "display": "Capecitabine (substance)" + } + ] + } + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "213293", + "display": "Capecitabine 500mg oral tablet (Xeloda)" + } + ] + }, + "manufacturer": { "reference": "#org2" }, + "form": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "385055001", + "display": "Tablet dose form (qualifier value)" + } + ] + }, + "ingredient": [ + { + "itemReference": { "reference": "#sub04" }, + "strength": { + "numerator": { + "value": 500, + "system": "http://unitsofmeasure.org", + "code": "mg" + }, + "denominator": { + "value": 1, + "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm", + "code": "TAB" + } + } + } + ], + "batch": { "lotNumber": "9494788", "expirationDate": "2017-05-22" } + } + }, + "MedicationRequest": { + "properties": { + "resource_type": { + "type": "string", + "const": "MedicationRequest", + "title": "Resource Type", + "default": "MedicationRequest" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "authoredOn": { + "type": "string", + "format": "date-time", + "title": "When request was initially authored", + "description": "The date (and perhaps time) when the prescription was initially written or authored on.", + "element_property": true + }, + "_authoredOn": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``authoredOn``." + }, + "basedOn": { + "items": { "type": "Reference" }, + "type": "array", + "title": "What request fulfills", + "description": "A plan or request that is fulfilled in whole or in part by this medication request.", + "element_property": true, + "enum_reference_types": [ + "CarePlan", + "MedicationRequest", + "ServiceRequest", + "ImmunizationRecommendation" + ] + }, + "category": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Type of medication usage", + "description": "Indicates the type of medication request (for example, where the medication is expected to be consumed or administered (i.e. inpatient or outpatient)).", + "element_property": true + }, + "courseOfTherapyType": { + "type": "CodeableConcept", + "title": "Overall pattern of medication administration", + "description": "The description of the overall patte3rn of the administration of the medication to the patient.", + "element_property": true + }, + "detectedIssue": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Clinical Issue with action", + "description": "Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g. Drug-drug interaction, duplicate therapy, dosage alert etc.", + "element_property": true, + "enum_reference_types": ["DetectedIssue"] + }, + "dispenseRequest": { + "type": "MedicationRequestDispenseRequest", + "title": "Medication supply authorization", + "description": "Indicates the specific details for the dispense or medication supply part of a medication request (also known as a Medication Prescription or Medication Order). Note that this information is not always sent with the order. There may be in some settings (e.g. hospitals) institutional or system support for completing the dispense details in the pharmacy department.", + "element_property": true + }, + "doNotPerform": { + "type": "boolean", + "title": "True if request is prohibiting action", + "description": "If true indicates that the provider is asking for the medication request not to occur.", + "element_property": true + }, + "_doNotPerform": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``doNotPerform``." + }, + "dosageInstruction": { + "items": { "type": "Dosage" }, + "type": "array", + "title": "How the medication should be taken", + "description": "Indicates how the medication is to be used by the patient.", + "element_property": true + }, + "encounter": { + "type": "Reference", + "title": "Encounter created as part of encounter/admission/stay", + "description": "The Encounter during which this [x] was created or to which the creation of this record is tightly associated.", + "element_property": true, + "enum_reference_types": ["Encounter"] + }, + "eventHistory": { + "items": { "type": "Reference" }, + "type": "array", + "title": "A list of events of interest in the lifecycle", + "description": "Links to Provenance records for past versions of this resource or fulfilling request or event resources that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the resource.", + "element_property": true, + "enum_reference_types": ["Provenance"] + }, + "groupIdentifier": { + "type": "Identifier", + "title": "Composite request this is part of", + "description": "A shared identifier common to all requests that were authorized more or less simultaneously by a single author, representing the identifier of the requisition or prescription.", + "element_property": true + }, + "identifier": { + "items": { "type": "Identifier" }, + "type": "array", + "title": "External ids for this request", + "description": "Identifiers associated with this medication request that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate. They are business identifiers assigned to this resource by the performer or other systems and remain constant as the resource is updated and propagates from server to server.", + "element_property": true + }, + "instantiatesCanonical": { + "items": { "type": "string", "pattern": "\\S*" }, + "type": "array", + "title": "Instantiates FHIR protocol or definition", + "description": "The URL pointing to a protocol, guideline, orderset, or other definition that is adhered to in whole or in part by this MedicationRequest.", + "element_property": true + }, + "_instantiatesCanonical": { + "items": { "type": "FHIRPrimitiveExtension" }, + "type": "array", + "title": "Extension field for ``instantiatesCanonical``." + }, + "instantiatesUri": { + "items": { "type": "string", "pattern": "\\S*" }, + "type": "array", + "title": "Instantiates external protocol or definition", + "description": "The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this MedicationRequest.", + "element_property": true + }, + "_instantiatesUri": { + "items": { "type": "FHIRPrimitiveExtension" }, + "type": "array", + "title": "Extension field for ``instantiatesUri``." + }, + "insurance": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Associated insurance coverage", + "description": "Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be required for delivering the requested service.", + "element_property": true, + "enum_reference_types": ["Coverage", "ClaimResponse"] + }, + "intent": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option", + "description": "Whether the request is a proposal, plan, or an original order.", + "element_property": true, + "element_required": true, + "enum_values": [ + "proposal", + "plan", + "order", + "original-order", + "reflex-order", + "filler-order", + "instance-order", + "option" + ] + }, + "_intent": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``intent``." + }, + "medicationCodeableConcept": { + "type": "CodeableConcept", + "title": "Medication to be taken", + "description": "Identifies the medication being requested. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications.", + "one_of_many_required": true, + "element_property": true, + "one_of_many": "medication" + }, + "medicationReference": { + "type": "Reference", + "title": "Medication to be taken", + "description": "Identifies the medication being requested. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications.", + "one_of_many_required": true, + "element_property": true, + "enum_reference_types": ["Medication"], + "one_of_many": "medication" + }, + "note": { + "items": { "type": "Annotation" }, + "type": "array", + "title": "Information about the prescription", + "description": "Extra information about the prescription that could not be conveyed by the other attributes.", + "element_property": true + }, + "performer": { + "type": "Reference", + "title": "Intended performer of administration", + "description": "The specified desired performer of the medication treatment (e.g. the performer of the medication administration).", + "element_property": true, + "enum_reference_types": [ + "Practitioner", + "PractitionerRole", + "Organization", + "Patient", + "Device", + "RelatedPerson", + "CareTeam" + ] + }, + "performerType": { + "type": "CodeableConcept", + "title": "Desired kind of performer of the medication administration", + "description": "Indicates the type of performer of the administration of the medication.", + "element_property": true + }, + "priorPrescription": { + "type": "Reference", + "title": "An order/prescription that is being replaced", + "description": "A link to a resource representing an earlier order related order or prescription.", + "element_property": true, + "enum_reference_types": ["MedicationRequest"] + }, + "priority": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "routine | urgent | asap | stat", + "description": "Indicates how quickly the Medication Request should be addressed with respect to other requests.", + "element_property": true, + "enum_values": ["routine", "urgent", "asap", "stat"] + }, + "_priority": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``priority``." + }, + "reasonCode": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Reason or indication for ordering or not ordering the medication", + "description": "The reason or the indication for ordering or not ordering the medication.", + "element_property": true + }, + "reasonReference": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Condition or observation that supports why the prescription is being written", + "description": "Condition or observation that supports why the medication was ordered.", + "element_property": true, + "enum_reference_types": ["Condition", "Observation"] + }, + "recorder": { + "type": "Reference", + "title": "Person who entered the request", + "description": "The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order.", + "element_property": true, + "enum_reference_types": ["Practitioner", "PractitionerRole"] + }, + "reportedBoolean": { + "type": "boolean", + "title": "Reported rather than primary record", + "description": "Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "reported" + }, + "_reportedBoolean": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``reportedBoolean``." + }, + "reportedReference": { + "type": "Reference", + "title": "Reported rather than primary record", + "description": "Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.", + "one_of_many_required": false, + "element_property": true, + "enum_reference_types": [ + "Patient", + "Practitioner", + "PractitionerRole", + "RelatedPerson", + "Organization" + ], + "one_of_many": "reported" + }, + "requester": { + "type": "Reference", + "title": "Who/What requested the Request", + "description": "The individual, organization, or device that initiated the request and has responsibility for its activation.", + "element_property": true, + "enum_reference_types": [ + "Practitioner", + "PractitionerRole", + "Organization", + "Patient", + "RelatedPerson", + "Device" + ] + }, + "status": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown", + "description": "A code specifying the current state of the order. Generally, this will be active or completed state.", + "element_property": true, + "element_required": true, + "enum_values": [ + "active", + "on-hold", + "cancelled", + "completed", + "entered-in-error", + "stopped", + "draft", + "unknown" + ] + }, + "_status": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``status``." + }, + "statusReason": { + "type": "CodeableConcept", + "title": "Reason for current status", + "description": "Captures the reason for the current state of the MedicationRequest.", + "element_property": true + }, + "subject": { + "type": "Reference", + "title": "Who or group medication request is for", + "description": "A link to a resource representing the person or set of individuals to whom the medication will be given.", + "element_property": true, + "enum_reference_types": ["Patient", "Group"] + }, + "substitution": { + "type": "MedicationRequestSubstitution", + "title": "Any restrictions on medication substitution", + "description": "Indicates whether or not substitution can or should be part of the dispense. In some cases, substitution must happen, in other cases substitution must not happen. This block explains the prescriber's intent. If nothing is specified substitution may be done.", + "element_property": true + }, + "supportingInformation": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Information to support ordering of the medication", + "description": "Include additional information (for example, patient height and weight) that supports the ordering of the medication.", + "element_property": true, + "enum_reference_types": ["Resource"] + } + }, + "additionalProperties": false, + "type": "object", + "required": ["subject"], + "title": "MedicationRequest", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nOrdering of medication for patient or group.\nAn order or request for both supply of the medication and the instructions\nfor administration of the medication to a patient. The resource is called\n\"MedicationRequest\" rather than \"MedicationPrescription\" or\n\"MedicationOrder\" to generalize the use across inpatient and outpatient\nsettings, including care plans, etc., and to harmonize with workflow\npatterns.", + "example": { + "resourceType": "MedicationRequest", + "id": "medrx0301", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: medrx0301

contained: ,

identifier: 12345689 (OFFICIAL)

status: completed

statusReason: Try another treatment first (Details : {http://terminology.hl7.org/CodeSystem/medicationrequest-status-reason code 'altchoice' = 'Try another treatment first', given as 'Try another treatment first'})

intent: order

category: Inpatient (Details : {http://terminology.hl7.org/CodeSystem/medicationrequest-category code 'inpatient' = 'Inpatient', given as 'Inpatient'})

medication: id: med0310; Oral Form Oxycodone (product) (Details : {SNOMED CT code '430127000' = 'Oral form oxycodone', given as 'Oral Form Oxycodone (product)'})

subject: Donald Duck

encounter: encounter who leads to this prescription

supportingInformation: Procedure/biopsy

authoredOn: 15/01/2015

requester: Patrick Pump

performer: Carla Espinosa

performerType: Public Health Nurse (Details : {SNOMED CT code '26369006' = 'Public health nurse', given as 'Public Health Nurse'})

reasonCode: Rib Pain (finding) (Details : {SNOMED CT code '297217002' = 'Rib pain', given as 'Rib Pain (finding)'})

insurance: Coverage/9876B1

note: Patient told to take with food

dosageInstruction:

DispenseRequests

-ValidityPeriodNumberOfRepeatsAllowedQuantityExpectedSupplyDurationPerformer
*15/01/2015 --> 15/01/2016030 TAB (Details: http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm code TAB = 'Tablet')10 days (Details: UCUM code d = 'd')Practitioner/f001

Substitutions

-Allowed[x]Reason
*trueformulary policy (Details : {http://terminology.hl7.org/CodeSystem/v3-ActReason code 'FP' = 'formulary policy', given as 'formulary policy'})

detectedIssue: DetectedIssue/allergy

eventHistory: Author's Signature. Generated Summary: id: signature; recorded: 01/02/2017 5:23:07 PM;

" + }, + "contained": [ + { + "resourceType": "Medication", + "id": "med0310", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430127000", + "display": "Oral Form Oxycodone (product)" + } + ] + } + }, + { + "resourceType": "Provenance", + "id": "signature", + "target": [{ "reference": "ServiceRequest/physiotherapy" }], + "recorded": "2017-02-01T17:23:07Z", + "agent": [ + { + "role": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "AUT" + } + ] + } + ], + "who": { + "reference": "Practitioner/example", + "display": "Dr Adam Careful" + } + } + ], + "signature": [ + { + "type": [ + { + "system": "urn:iso-astm:E1762-95:2013", + "code": "1.2.840.10065.1.12.1.1", + "display": "Author's Signature" + } + ], + "when": "2017-02-01T17:23:07Z", + "who": { + "reference": "Practitioner/example", + "display": "Dr Adam Careful" + }, + "targetFormat": "application/fhir+xml", + "sigFormat": "application/signature+xml", + "data": "dGhpcyBibG9iIGlzIHNuaXBwZWQ=" + } + ] + } + ], + "identifier": [ + { + "use": "official", + "system": "http://www.bmc.nl/portal/prescriptions", + "value": "12345689" + } + ], + "status": "completed", + "statusReason": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/medicationrequest-status-reason", + "code": "altchoice", + "display": "Try another treatment first" + } + ] + }, + "intent": "order", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/medicationrequest-category", + "code": "inpatient", + "display": "Inpatient" + } + ] + } + ], + "medicationReference": { "reference": "#med0310" }, + "subject": { "reference": "Patient/pat1", "display": "Donald Duck" }, + "encounter": { + "reference": "Encounter/f201", + "display": "encounter who leads to this prescription" + }, + "supportingInformation": [{ "reference": "Procedure/biopsy" }], + "authoredOn": "2015-01-15", + "requester": { + "reference": "Practitioner/f007", + "display": "Patrick Pump" + }, + "performer": { + "reference": "Practitioner/f204", + "display": "Carla Espinosa" + }, + "performerType": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "26369006", + "display": "Public Health Nurse" + } + ] + }, + "reasonCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "297217002", + "display": "Rib Pain (finding)" + } + ] + } + ], + "insurance": [{ "reference": "Coverage/9876B1" }], + "note": [{ "text": "Patient told to take with food" }], + "dosageInstruction": [ + { + "sequence": 1, + "text": "one to two tablets every 4-6 hours as needed for rib pain", + "additionalInstruction": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "418914006", + "display": "Warning. May cause drowsiness. If affected do not drive or operate machinery. Avoid alcoholic drink (qualifier value)" + } + ] + } + ], + "patientInstruction": "Take one to two tablets every four to six hours as needed for rib pain", + "timing": { + "repeat": { + "frequency": 1, + "period": 4, + "periodMax": 6, + "periodUnit": "h" + } + }, + "asNeededCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "297217002", + "display": "Rib Pain (finding)" + } + ] + }, + "route": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "26643006", + "display": "Oral Route" + } + ] + }, + "method": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "421521009", + "display": "Swallow - dosing instruction imperative (qualifier value)" + } + ] + }, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseRange": { + "low": { + "value": 1, + "unit": "TAB", + "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm", + "code": "TAB" + }, + "high": { + "value": 2, + "unit": "TAB", + "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm", + "code": "TAB" + } + } + } + ] + } + ], + "dispenseRequest": { + "validityPeriod": { "start": "2015-01-15", "end": "2016-01-15" }, + "numberOfRepeatsAllowed": 0, + "quantity": { + "value": 30, + "unit": "TAB", + "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm", + "code": "TAB" + }, + "expectedSupplyDuration": { + "value": 10, + "unit": "days", + "system": "http://unitsofmeasure.org", + "code": "d" + }, + "performer": { "reference": "Practitioner/f001" } + }, + "substitution": { + "allowedBoolean": true, + "reason": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason", + "code": "FP", + "display": "formulary policy" + } + ] + } + }, + "detectedIssue": [{ "reference": "DetectedIssue/allergy" }], + "eventHistory": [ + { "reference": "#signature", "display": "Author's Signature" } + ] + } + }, + "MedicationStatement": { + "properties": { + "resource_type": { + "type": "string", + "const": "MedicationStatement", + "title": "Resource Type", + "default": "MedicationStatement" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "basedOn": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Fulfils plan, proposal or order", + "description": "A plan, proposal or order that is fulfilled in whole or in part by this event.", + "element_property": true, + "enum_reference_types": [ + "MedicationRequest", + "CarePlan", + "ServiceRequest" + ] + }, + "category": { + "type": "CodeableConcept", + "title": "Type of medication usage", + "description": "Indicates where the medication is expected to be consumed or administered.", + "element_property": true + }, + "context": { + "type": "Reference", + "title": "Encounter / Episode associated with MedicationStatement", + "description": "The encounter or episode of care that establishes the context for this MedicationStatement.", + "element_property": true, + "enum_reference_types": ["Encounter", "EpisodeOfCare"] + }, + "dateAsserted": { + "type": "string", + "format": "date-time", + "title": "When the statement was asserted?", + "description": "The date when the medication statement was asserted by the information source.", + "element_property": true + }, + "_dateAsserted": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``dateAsserted``." + }, + "derivedFrom": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Additional supporting information", + "description": "Allows linking the MedicationStatement to the underlying MedicationRequest, or to other information that supports or is used to derive the MedicationStatement.", + "element_property": true, + "enum_reference_types": ["Resource"] + }, + "dosage": { + "items": { "type": "Dosage" }, + "type": "array", + "title": "Details of how medication is/was taken or should be taken", + "description": "Indicates how the medication is/was or should be taken by the patient.", + "element_property": true + }, + "effectiveDateTime": { + "type": "string", + "format": "date-time", + "title": "The date/time or interval when the medication is/was/will be taken", + "description": "The interval of time during which it is being asserted that the patient is/was/will be taking the medication (or was not taking, when the MedicationStatement.taken element is No).", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "effective" + }, + "_effectiveDateTime": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``effectiveDateTime``." + }, + "effectivePeriod": { + "type": "Period", + "title": "The date/time or interval when the medication is/was/will be taken", + "description": "The interval of time during which it is being asserted that the patient is/was/will be taking the medication (or was not taking, when the MedicationStatement.taken element is No).", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "effective" + }, + "identifier": { + "items": { "type": "Identifier" }, + "type": "array", + "title": "External identifier", + "description": "Identifiers associated with this Medication Statement that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate. They are business identifiers assigned to this resource by the performer or other systems and remain constant as the resource is updated and propagates from server to server.", + "element_property": true + }, + "informationSource": { + "type": "Reference", + "title": "Person or organization that provided the information about the taking of this medication", + "description": "The person or organization that provided the information about the taking of this medication. Note: Use derivedFrom when a MedicationStatement is derived from other resources, e.g. Claim or MedicationRequest.", + "element_property": true, + "enum_reference_types": [ + "Patient", + "Practitioner", + "PractitionerRole", + "RelatedPerson", + "Organization" + ] + }, + "medicationCodeableConcept": { + "type": "CodeableConcept", + "title": "What medication was taken", + "description": "Identifies the medication being administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications.", + "one_of_many_required": true, + "element_property": true, + "one_of_many": "medication" + }, + "medicationReference": { + "type": "Reference", + "title": "What medication was taken", + "description": "Identifies the medication being administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications.", + "one_of_many_required": true, + "element_property": true, + "enum_reference_types": ["Medication"], + "one_of_many": "medication" + }, + "note": { + "items": { "type": "Annotation" }, + "type": "array", + "title": "Further information about the statement", + "description": "Provides extra information about the medication statement that is not conveyed by the other attributes.", + "element_property": true + }, + "partOf": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Part of referenced event", + "description": "A larger event of which this particular event is a component or step.", + "element_property": true, + "enum_reference_types": [ + "MedicationAdministration", + "MedicationDispense", + "MedicationStatement", + "Procedure", + "Observation" + ] + }, + "reasonCode": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Reason for why the medication is being/was taken", + "description": "A reason for why the medication is being/was taken.", + "element_property": true + }, + "reasonReference": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Condition or observation that supports why the medication is being/was taken", + "element_property": true, + "enum_reference_types": [ + "Condition", + "Observation", + "DiagnosticReport" + ] + }, + "status": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken", + "description": "A code representing the patient or other source's judgment about the state of the medication used that this statement is about. Generally, this will be active or completed.", + "element_property": true, + "element_required": true, + "enum_values": [ + "active", + "completed", + "entered-in-error", + "intended", + "stopped", + "on-hold", + "unknown", + "not-taken" + ] + }, + "_status": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``status``." + }, + "statusReason": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Reason for current status", + "description": "Captures the reason for the current state of the MedicationStatement.", + "element_property": true + }, + "subject": { + "type": "Reference", + "title": "Who is/was taking the medication", + "description": "The person, animal or group who is/was taking the medication.", + "element_property": true, + "enum_reference_types": ["Patient", "Group"] + } + }, + "additionalProperties": false, + "type": "object", + "required": ["subject"], + "title": "MedicationStatement", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nRecord of medication being taken by a patient.\nA record of a medication that is being consumed by a patient. A\nMedicationStatement may indicate that the patient may be taking the\nmedication now or has taken the medication in the past or will be taking\nthe medication in the future. The source of this information can be the\npatient, significant other (such as a family member or spouse), or a\nclinician. A common scenario where this information is captured is during\nthe history taking process during a patient visit or stay. The medication\ninformation may come from sources such as the patient's memory, from a\nprescription bottle, or from a list of medications the patient, clinician\nor other party maintains.\n\nThe primary difference between a medication statement and a medication\nadministration is that the medication administration has complete\nadministration information and is based on actual administration\ninformation from the person who administered the medication. A medication\nstatement is often, if not always, less specific. There is no required\ndate/time when the medication was administered, in fact we only know that a\nsource has reported the patient is taking this medication, where details\nsuch as time, quantity, or rate or even medication product may be\nincomplete or missing or less precise. As stated earlier, the medication\nstatement information may come from the patient's memory, from a\nprescription bottle or from a list of medications the patient, clinician or\nother party maintains. Medication administration is more formal and is not\nmissing detailed information.", + "example": { + "resourceType": "MedicationStatement", + "id": "example001", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example001

contained:

identifier: 12345689 (OFFICIAL)

status: active

category: Inpatient (Details : {http://terminology.hl7.org/CodeSystem/medication-statement-category code 'inpatient' = 'Inpatient', given as 'Inpatient'})

medication: id: med0309; Tylenol PM (Details : {http://hl7.org/fhir/sid/ndc code '50580-506-02' = 'n/a', given as 'Tylenol PM'}); Film-coated tablet (qualifier value) (Details : {SNOMED CT code '385057009' = 'Film-coated tablet', given as 'Film-coated tablet (qualifier value)'})

subject: Donald Duck

effective: 23/01/2015

dateAsserted: 22/02/2015

informationSource: Donald Duck

derivedFrom: MedicationRequest/medrx002

reasonCode: Restless Legs (Details : {SNOMED CT code '32914008' = 'Restless legs', given as 'Restless Legs'})

note: Patient indicates they miss the occasional dose

dosage:

" + }, + "contained": [ + { + "resourceType": "Medication", + "id": "med0309", + "code": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/ndc", + "code": "50580-506-02", + "display": "Tylenol PM" + } + ] + }, + "form": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "385057009", + "display": "Film-coated tablet (qualifier value)" + } + ] + }, + "ingredient": [ + { + "itemCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "315266", + "display": "Acetaminophen 500 MG" + } + ] + }, + "strength": { + "numerator": { + "value": 500, + "system": "http://unitsofmeasure.org", + "code": "mg" + }, + "denominator": { + "value": 1, + "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm", + "code": "Tab" + } + } + }, + { + "itemCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "901813", + "display": "Diphenhydramine Hydrochloride 25 mg" + } + ] + }, + "strength": { + "numerator": { + "value": 25, + "system": "http://unitsofmeasure.org", + "code": "mg" + }, + "denominator": { + "value": 1, + "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm", + "code": "Tab" + } + } + } + ], + "batch": { + "lotNumber": "9494788", + "expirationDate": "2017-05-22" + } + } + ], + "identifier": [ + { + "use": "official", + "system": "http://www.bmc.nl/portal/medstatements", + "value": "12345689" + } + ], + "status": "active", + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/medication-statement-category", + "code": "inpatient", + "display": "Inpatient" + } + ] + }, + "medicationReference": { "reference": "#med0309" }, + "subject": { "reference": "Patient/pat1", "display": "Donald Duck" }, + "effectiveDateTime": "2015-01-23", + "dateAsserted": "2015-02-22", + "informationSource": { + "reference": "Patient/pat1", + "display": "Donald Duck" + }, + "derivedFrom": [{ "reference": "MedicationRequest/medrx002" }], + "reasonCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "32914008", + "display": "Restless Legs" + } + ] + } + ], + "note": [ + { "text": "Patient indicates they miss the occasional dose" } + ], + "dosage": [ + { + "sequence": 1, + "text": "1-2 tablets once daily at bedtime as needed for restless legs", + "additionalInstruction": [{ "text": "Taking at bedtime" }], + "timing": { + "repeat": { "frequency": 1, "period": 1, "periodUnit": "d" } + }, + "asNeededCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "32914008", + "display": "Restless Legs" + } + ] + }, + "route": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "26643006", + "display": "Oral Route" + } + ] + }, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseRange": { + "low": { + "value": 1, + "unit": "TAB", + "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm", + "code": "TAB" + }, + "high": { + "value": 2, + "unit": "TAB", + "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm", + "code": "TAB" + } + } + } + ] + } + ] + } + }, + "Observation": { + "properties": { + "resource_type": { + "type": "string", + "const": "Observation", + "title": "Resource Type", + "default": "Observation" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "basedOn": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Fulfills plan, proposal or order", + "description": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "element_property": true, + "enum_reference_types": [ + "CarePlan", + "DeviceRequest", + "ImmunizationRecommendation", + "MedicationRequest", + "NutritionOrder", + "ServiceRequest" + ] + }, + "bodySite": { + "type": "CodeableConcept", + "title": "Observed body part", + "description": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "element_property": true + }, + "category": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Classification of type of observation", + "description": "A code that classifies the general type of observation being made.", + "element_property": true + }, + "code": { + "type": "CodeableConcept", + "title": "Type of observation (code / type)", + "description": "Describes what was observed. Sometimes this is called the observation \"name\".", + "element_property": true + }, + "component": { + "items": { "type": "ObservationComponent" }, + "type": "array", + "title": "Component results", + "description": "Some observations have multiple component observations. These component observations are expressed as separate code value pairs that share the same attributes. Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.", + "element_property": true + }, + "dataAbsentReason": { + "type": "CodeableConcept", + "title": "Why the result is missing", + "description": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "element_property": true + }, + "derivedFrom": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Related measurements the observation is made from", + "description": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "element_property": true, + "enum_reference_types": [ + "DocumentReference", + "ImagingStudy", + "Media", + "QuestionnaireResponse", + "Observation", + "MolecularSequence" + ] + }, + "device": { + "type": "Reference", + "title": "(Measurement) Device", + "description": "The device used to generate the observation data.", + "element_property": true, + "enum_reference_types": ["Device", "DeviceMetric"] + }, + "effectiveDateTime": { + "type": "string", + "format": "date-time", + "title": "Clinically relevant time/time-period for observation", + "description": "The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the \"physiologically relevant time\". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "effective" + }, + "_effectiveDateTime": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``effectiveDateTime``." + }, + "effectiveInstant": { + "type": "string", + "format": "date-time", + "title": "Clinically relevant time/time-period for observation", + "description": "The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the \"physiologically relevant time\". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "effective" + }, + "_effectiveInstant": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``effectiveInstant``." + }, + "effectivePeriod": { + "type": "Period", + "title": "Clinically relevant time/time-period for observation", + "description": "The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the \"physiologically relevant time\". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "effective" + }, + "effectiveTiming": { + "type": "Timing", + "title": "Clinically relevant time/time-period for observation", + "description": "The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the \"physiologically relevant time\". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "effective" + }, + "encounter": { + "type": "Reference", + "title": "Healthcare event during which this observation is made", + "description": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "element_property": true, + "enum_reference_types": ["Encounter"] + }, + "focus": { + "items": { "type": "Reference" }, + "type": "array", + "title": "What the observation is about, when it is not about the subject of record", + "description": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "element_property": true, + "enum_reference_types": ["Resource"] + }, + "hasMember": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Related resource that belongs to the Observation group", + "description": "This observation is a group observation (e.g. a battery, a panel of tests, a set of vital sign measurements) that includes the target as a member of the group.", + "element_property": true, + "enum_reference_types": [ + "Observation", + "QuestionnaireResponse", + "MolecularSequence" + ] + }, + "identifier": { + "items": { "type": "Identifier" }, + "type": "array", + "title": "Business Identifier for observation", + "description": "A unique identifier assigned to this observation.", + "element_property": true + }, + "interpretation": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "High, low, normal, etc.", + "description": "A categorical assessment of an observation value. For example, high, low, normal.", + "element_property": true + }, + "issued": { + "type": "string", + "format": "date-time", + "title": "Date/Time this version was made available", + "description": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "element_property": true + }, + "_issued": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``issued``." + }, + "method": { + "type": "CodeableConcept", + "title": "How it was done", + "description": "Indicates the mechanism used to perform the observation.", + "element_property": true + }, + "note": { + "items": { "type": "Annotation" }, + "type": "array", + "title": "Comments about the observation", + "description": "Comments about the observation or the results.", + "element_property": true + }, + "partOf": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Part of referenced event", + "description": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "element_property": true, + "enum_reference_types": [ + "MedicationAdministration", + "MedicationDispense", + "MedicationStatement", + "Procedure", + "Immunization", + "ImagingStudy" + ] + }, + "performer": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Who is responsible for the observation", + "description": "Who was responsible for asserting the observed value as \"true\".", + "element_property": true, + "enum_reference_types": [ + "Practitioner", + "PractitionerRole", + "Organization", + "CareTeam", + "Patient", + "RelatedPerson" + ] + }, + "referenceRange": { + "items": { "type": "ObservationReferenceRange" }, + "type": "array", + "title": "Provides guide for interpretation", + "description": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "element_property": true + }, + "specimen": { + "type": "Reference", + "title": "Specimen used for this observation", + "description": "The specimen that was used when this observation was made.", + "element_property": true, + "enum_reference_types": ["Specimen"] + }, + "status": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "registered | preliminary | final | amended +", + "description": "The status of the result value.", + "element_property": true, + "element_required": true, + "enum_values": [ + "registered", + "preliminary", + "final", + "amended", + "+" + ] + }, + "_status": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``status``." + }, + "subject": { + "type": "Reference", + "title": "Who and/or what the observation is about", + "description": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "element_property": true, + "enum_reference_types": ["Patient", "Group", "Device", "Location"] + }, + "valueBoolean": { + "type": "boolean", + "title": "Actual result", + "description": "The information determined as a result of making the observation, if the information has a simple value.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "value" + }, + "_valueBoolean": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``valueBoolean``." + }, + "valueCodeableConcept": { + "type": "CodeableConcept", + "title": "Actual result", + "description": "The information determined as a result of making the observation, if the information has a simple value.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "value" + }, + "valueDateTime": { + "type": "string", + "format": "date-time", + "title": "Actual result", + "description": "The information determined as a result of making the observation, if the information has a simple value.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "value" + }, + "_valueDateTime": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``valueDateTime``." + }, + "valueInteger": { + "type": "integer", + "title": "Actual result", + "description": "The information determined as a result of making the observation, if the information has a simple value.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "value" + }, + "_valueInteger": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``valueInteger``." + }, + "valuePeriod": { + "type": "Period", + "title": "Actual result", + "description": "The information determined as a result of making the observation, if the information has a simple value.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "value" + }, + "valueQuantity": { + "type": "Quantity", + "title": "Actual result", + "description": "The information determined as a result of making the observation, if the information has a simple value.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "value" + }, + "valueRange": { + "type": "Range", + "title": "Actual result", + "description": "The information determined as a result of making the observation, if the information has a simple value.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "value" + }, + "valueRatio": { + "type": "Ratio", + "title": "Actual result", + "description": "The information determined as a result of making the observation, if the information has a simple value.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "value" + }, + "valueSampledData": { + "type": "SampledData", + "title": "Actual result", + "description": "The information determined as a result of making the observation, if the information has a simple value.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "value" + }, + "valueString": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "Actual result", + "description": "The information determined as a result of making the observation, if the information has a simple value.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "value" + }, + "_valueString": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``valueString``." + }, + "valueTime": { + "type": "string", + "format": "time", + "title": "Actual result", + "description": "The information determined as a result of making the observation, if the information has a simple value.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "value" + }, + "_valueTime": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``valueTime``." + } + }, + "additionalProperties": false, + "type": "object", + "required": ["code"], + "title": "Observation", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nMeasurements and simple assertions.\nMeasurements and simple assertions made about a patient, device or other\nsubject.", + "example": { + "resourceType": "Observation", + "id": "example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: Body Weight (Details : {LOINC code '29463-7' = 'Body weight', given as 'Body Weight'}; {LOINC code '3141-9' = 'Body weight Measured', given as 'Body weight Measured'}; {SNOMED CT code '27113001' = 'Body weight', given as 'Body weight'}; {http://acme.org/devices/clinical-codes code 'body-weight' = 'body-weight', given as 'Body Weight'})

subject: Patient/example

encounter: Encounter/example

effective: 28/03/2016

value: 185 lbs (Details: UCUM code [lb_av] = 'lb_av')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7", + "display": "Body Weight" + }, + { + "system": "http://loinc.org", + "code": "3141-9", + "display": "Body weight Measured" + }, + { + "system": "http://snomed.info/sct", + "code": "27113001", + "display": "Body weight" + }, + { + "system": "http://acme.org/devices/clinical-codes", + "code": "body-weight", + "display": "Body Weight" + } + ] + }, + "subject": { "reference": "Patient/example" }, + "encounter": { "reference": "Encounter/example" }, + "effectiveDateTime": "2016-03-28", + "valueQuantity": { + "value": 185, + "unit": "lbs", + "system": "http://unitsofmeasure.org", + "code": "[lb_av]" + } + } + }, + "OperationOutcome": { + "properties": { + "resource_type": { + "type": "string", + "const": "OperationOutcome", + "title": "Resource Type", + "default": "OperationOutcome" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "issue": { + "items": { "type": "OperationOutcomeIssue" }, + "type": "array", + "title": "A single issue associated with the action", + "description": "An error, warning, or information message that results from a system action.", + "element_property": true + } + }, + "additionalProperties": false, + "type": "object", + "required": ["issue"], + "title": "OperationOutcome", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nInformation about the success/failure of an action.\nA collection of error, warning, or information messages that result from a\nsystem action." + }, + "Organization": { + "properties": { + "resource_type": { + "type": "string", + "const": "Organization", + "title": "Resource Type", + "default": "Organization" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "active": { + "type": "boolean", + "title": "Whether the organization's record is still in active use", + "element_property": true + }, + "_active": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``active``." + }, + "address": { + "items": { "type": "Address" }, + "type": "array", + "title": "An address for the organization", + "element_property": true + }, + "alias": { + "items": { "type": "string", "pattern": "[ \\r\\n\\t\\S]+" }, + "type": "array", + "title": "A list of alternate names that the organization is known as, or was known as in the past", + "element_property": true + }, + "_alias": { + "items": { "type": "FHIRPrimitiveExtension" }, + "type": "array", + "title": "Extension field for ``alias``." + }, + "contact": { + "items": { "type": "OrganizationContact" }, + "type": "array", + "title": "Contact for the organization for a certain purpose", + "element_property": true + }, + "endpoint": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Technical endpoints providing access to services operated for the organization", + "element_property": true, + "enum_reference_types": ["Endpoint"] + }, + "identifier": { + "items": { "type": "Identifier" }, + "type": "array", + "title": "Identifies this organization across multiple systems", + "description": "Identifier for the organization that is used to identify the organization across multiple disparate systems.", + "element_property": true + }, + "name": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "Name used for the organization", + "description": "A name associated with the organization.", + "element_property": true + }, + "_name": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``name``." + }, + "partOf": { + "type": "Reference", + "title": "The organization of which this organization forms a part", + "element_property": true, + "enum_reference_types": ["Organization"] + }, + "telecom": { + "items": { "type": "ContactPoint" }, + "type": "array", + "title": "A contact detail for the organization", + "element_property": true + }, + "type": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Kind of organization", + "description": "The kind(s) of organization that this is.", + "element_property": true + } + }, + "additionalProperties": false, + "type": "object", + "title": "Organization", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nA grouping of people or organizations with a common purpose.\nA formally or informally recognized grouping of people or organizations\nformed for the purpose of achieving some form of collective action.\nIncludes companies, institutions, corporations, departments, community\ngroups, healthcare practice groups, payer/insurer, etc.", + "example": { + "resourceType": "Organization", + "id": "hl7", + "text": { + "status": "generated", + "div": "
\n Health Level Seven International\n
\n\t\t\t\t3300 Washtenaw Avenue, Suite 227\n
\n\t\t\t\tAnn Arbor, MI 48104\n
\n\t\t\t\tUSA\n
\n\t\t\t\t(+1) 734-677-7777 (phone)\n
\n\t\t\t\t(+1) 734-677-6622 (fax)\n
\n\t\t\t\tE-mail: \n hq@HL7.org\n \n
" + }, + "name": "Health Level Seven International", + "alias": ["HL7 International"], + "telecom": [ + { "system": "phone", "value": "(+1) 734-677-7777" }, + { "system": "fax", "value": "(+1) 734-677-6622" }, + { "system": "email", "value": "hq@HL7.org" } + ], + "address": [ + { + "line": ["3300 Washtenaw Avenue, Suite 227"], + "city": "Ann Arbor", + "state": "MI", + "postalCode": "48104", + "country": "USA" + } + ], + "endpoint": [{ "reference": "Endpoint/example" }] + } + }, + "Patient": { + "properties": { + "resource_type": { + "type": "string", + "const": "Patient", + "title": "Resource Type", + "default": "Patient" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "active": { + "type": "boolean", + "title": "Whether this patient's record is in active use", + "description": "Whether this patient record is in active use. Many systems use this property to mark as non-current patients, such as those that have not been seen for a period of time based on an organization's business rules. It is often used to filter patient lists to exclude inactive patients Deceased patients may also be marked as inactive for the same reasons, but may be active for some time after death.", + "element_property": true + }, + "_active": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``active``." + }, + "address": { + "items": { "type": "Address" }, + "type": "array", + "title": "An address for the individual", + "element_property": true + }, + "birthDate": { + "type": "string", + "format": "date", + "title": "The date of birth for the individual", + "element_property": true + }, + "_birthDate": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``birthDate``." + }, + "communication": { + "items": { "type": "PatientCommunication" }, + "type": "array", + "title": "A language which may be used to communicate with the patient about his or her health", + "element_property": true + }, + "contact": { + "items": { "type": "PatientContact" }, + "type": "array", + "title": "A contact party (e.g. guardian, partner, friend) for the patient", + "element_property": true + }, + "deceasedBoolean": { + "type": "boolean", + "title": "Indicates if the individual is deceased or not", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "deceased" + }, + "_deceasedBoolean": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``deceasedBoolean``." + }, + "deceasedDateTime": { + "type": "string", + "format": "date-time", + "title": "Indicates if the individual is deceased or not", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "deceased" + }, + "_deceasedDateTime": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``deceasedDateTime``." + }, + "gender": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "male | female | other | unknown", + "description": "Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes.", + "element_property": true, + "enum_values": ["male", "female", "other", "unknown"] + }, + "_gender": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``gender``." + }, + "generalPractitioner": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Patient's nominated primary care provider", + "description": "Patient's nominated care provider.", + "element_property": true, + "enum_reference_types": [ + "Organization", + "Practitioner", + "PractitionerRole" + ] + }, + "identifier": { + "items": { "type": "Identifier" }, + "type": "array", + "title": "An identifier for this patient", + "element_property": true + }, + "link": { + "items": { "type": "PatientLink" }, + "type": "array", + "title": "Link to another patient resource that concerns the same actual person", + "description": "Link to another patient resource that concerns the same actual patient.", + "element_property": true + }, + "managingOrganization": { + "type": "Reference", + "title": "Organization that is the custodian of the patient record", + "element_property": true, + "enum_reference_types": ["Organization"] + }, + "maritalStatus": { + "type": "CodeableConcept", + "title": "Marital (civil) status of a patient", + "description": "This field contains a patient's most recent marital (civil) status.", + "element_property": true + }, + "multipleBirthBoolean": { + "type": "boolean", + "title": "Whether patient is part of a multiple birth", + "description": "Indicates whether the patient is part of a multiple (boolean) or indicates the actual birth order (integer).", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "multipleBirth" + }, + "_multipleBirthBoolean": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``multipleBirthBoolean``." + }, + "multipleBirthInteger": { + "type": "integer", + "title": "Whether patient is part of a multiple birth", + "description": "Indicates whether the patient is part of a multiple (boolean) or indicates the actual birth order (integer).", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "multipleBirth" + }, + "_multipleBirthInteger": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``multipleBirthInteger``." + }, + "name": { + "items": { "type": "HumanName" }, + "type": "array", + "title": "A name associated with the patient", + "description": "A name associated with the individual.", + "element_property": true + }, + "photo": { + "items": { "type": "Attachment" }, + "type": "array", + "title": "Image of the patient", + "element_property": true + }, + "telecom": { + "items": { "type": "ContactPoint" }, + "type": "array", + "title": "A contact detail for the individual", + "description": "A contact detail (e.g. a telephone number or an email address) by which the individual may be contacted.", + "element_property": true + } + }, + "additionalProperties": false, + "type": "object", + "title": "Patient", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nInformation about an individual or animal receiving health care services.\nDemographics and other administrative information about an individual or\nanimal receiving care or other health-related services.", + "example": { + "resourceType": "Patient", + "id": "example", + "text": { + "status": "generated", + "div": "
\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NamePeter James \n Chalmers ("Jim")\n
Address534 Erewhon, Pleasantville, Vic, 3999
ContactsHome: unknown. Work: (03) 5555 6473
IdMRN: 12345 (Acme Healthcare)
\n\t\t
" + }, + "identifier": [ + { + "use": "usual", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "MR" + } + ] + }, + "system": "urn:oid:1.2.36.146.595.217.0.1", + "value": "12345", + "period": { "start": "2001-05-06" }, + "assigner": { "display": "Acme Healthcare" } + } + ], + "active": true, + "name": [ + { + "use": "official", + "family": "Chalmers", + "given": ["Peter", "James"] + }, + { "use": "usual", "given": ["Jim"] }, + { + "use": "maiden", + "family": "Windsor", + "given": ["Peter", "James"], + "period": { "end": "2002" } + } + ], + "telecom": [ + { "use": "home" }, + { + "system": "phone", + "value": "(03) 5555 6473", + "use": "work", + "rank": 1 + }, + { + "system": "phone", + "value": "(03) 3410 5613", + "use": "mobile", + "rank": 2 + }, + { + "system": "phone", + "value": "(03) 5555 8834", + "use": "old", + "period": { "end": "2014" } + } + ], + "gender": "male", + "birthDate": "1974-12-25", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1974-12-25T14:35:45-05:00" + } + ] + }, + "deceasedBoolean": false, + "address": [ + { + "use": "home", + "type": "both", + "text": "534 Erewhon St PeasantVille, Rainbow, Vic 3999", + "line": ["534 Erewhon St"], + "city": "PleasantVille", + "district": "Rainbow", + "state": "Vic", + "postalCode": "3999", + "period": { "start": "1974-12-25" } + } + ], + "contact": [ + { + "relationship": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0131", + "code": "N" + } + ] + } + ], + "name": { + "family": "du Marché", + "_family": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix", + "valueString": "VV" + } + ] + }, + "given": ["Bénédicte"] + }, + "telecom": [{ "system": "phone", "value": "+33 (237) 998327" }], + "address": { + "use": "home", + "type": "both", + "line": ["534 Erewhon St"], + "city": "PleasantVille", + "district": "Rainbow", + "state": "Vic", + "postalCode": "3999", + "period": { "start": "1974-12-25" } + }, + "gender": "female", + "period": { "start": "2012" } + } + ], + "managingOrganization": { "reference": "Organization/1" } + } + }, + "PaymentNotice": { + "properties": { + "resource_type": { + "type": "string", + "const": "PaymentNotice", + "title": "Resource Type", + "default": "PaymentNotice" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "amount": { + "type": "Money", + "title": "Monetary amount of the payment", + "description": "The amount sent to the payee.", + "element_property": true + }, + "created": { + "type": "string", + "format": "date-time", + "title": "Creation date", + "description": "The date when this resource was created.", + "element_property": true, + "element_required": true + }, + "_created": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``created``." + }, + "identifier": { + "items": { "type": "Identifier" }, + "type": "array", + "title": "Business Identifier for the payment noctice", + "description": "A unique identifier assigned to this payment notice.", + "element_property": true + }, + "payee": { + "type": "Reference", + "title": "Party being paid", + "description": "The party who will receive or has received payment that is the subject of this notification.", + "element_property": true, + "enum_reference_types": [ + "Practitioner", + "PractitionerRole", + "Organization" + ] + }, + "payment": { + "type": "Reference", + "title": "Payment reference", + "description": "A reference to the payment which is the subject of this notice.", + "element_property": true, + "enum_reference_types": ["PaymentReconciliation"] + }, + "paymentDate": { + "type": "string", + "format": "date", + "title": "Payment or clearing date", + "description": "The date when the above payment action occurred.", + "element_property": true + }, + "_paymentDate": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``paymentDate``." + }, + "paymentStatus": { + "type": "CodeableConcept", + "title": "Issued or cleared Status of the payment", + "description": "A code indicating whether payment has been sent or cleared.", + "element_property": true + }, + "provider": { + "type": "Reference", + "title": "Responsible practitioner", + "description": "The practitioner who is responsible for the services rendered to the patient.", + "element_property": true, + "enum_reference_types": [ + "Practitioner", + "PractitionerRole", + "Organization" + ] + }, + "recipient": { + "type": "Reference", + "title": "Party being notified", + "description": "The party who is notified of the payment status.", + "element_property": true, + "enum_reference_types": ["Organization"] + }, + "request": { + "type": "Reference", + "title": "Request reference", + "description": "Reference of resource for which payment is being made.", + "element_property": true, + "enum_reference_types": ["Resource"] + }, + "response": { + "type": "Reference", + "title": "Response reference", + "description": "Reference of response to resource for which payment is being made.", + "element_property": true, + "enum_reference_types": ["Resource"] + }, + "status": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "active | cancelled | draft | entered-in-error", + "description": "The status of the resource instance.", + "element_property": true, + "element_required": true, + "enum_values": ["active", "cancelled", "draft", "entered-in-error"] + }, + "_status": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``status``." + } + }, + "additionalProperties": false, + "type": "object", + "required": ["amount", "payment", "recipient"], + "title": "PaymentNotice", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nPaymentNotice request.\nThis resource provides the status of the payment for goods and services\nrendered, and the request and response resource references.", + "example": { + "resourceType": "PaymentNotice", + "id": "77654", + "text": { + "status": "generated", + "div": "
A human-readable rendering of the PaymentNotice
" + }, + "identifier": [ + { + "system": "http://benefitsinc.com/paymentnotice", + "value": "776543" + } + ], + "status": "active", + "request": { "reference": "http://benefitsinc.com/fhir/claim/12345" }, + "response": { + "reference": "http://benefitsinc.com/fhir/claimresponse/CR12345" + }, + "created": "2014-08-16", + "provider": { "reference": "Organization/1" }, + "payment": { "reference": "PaymentReconciliation/ER2500" }, + "paymentDate": "2014-08-15", + "payee": { "reference": "Organization/1" }, + "recipient": { + "identifier": { + "system": "http://regulators.gov", + "value": "AB123" + } + }, + "amount": { "value": 12500.0, "currency": "USD" }, + "paymentStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/paymentstatus", + "code": "paid" + } + ] + } + } + }, + "Practitioner": { + "properties": { + "resource_type": { + "type": "string", + "const": "Practitioner", + "title": "Resource Type", + "default": "Practitioner" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "active": { + "type": "boolean", + "title": "Whether this practitioner's record is in active use", + "element_property": true + }, + "_active": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``active``." + }, + "address": { + "items": { "type": "Address" }, + "type": "array", + "title": "Address(es) of the practitioner that are not role specific (typically home address)", + "description": "Address(es) of the practitioner that are not role specific (typically home address). Work addresses are not typically entered in this property as they are usually role dependent.", + "element_property": true + }, + "birthDate": { + "type": "string", + "format": "date", + "title": "The date on which the practitioner was born", + "description": "The date of birth for the practitioner.", + "element_property": true + }, + "_birthDate": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``birthDate``." + }, + "communication": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "A language the practitioner can use in patient communication", + "element_property": true + }, + "gender": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "male | female | other | unknown", + "description": "Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.", + "element_property": true, + "enum_values": ["male", "female", "other", "unknown"] + }, + "_gender": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``gender``." + }, + "identifier": { + "items": { "type": "Identifier" }, + "type": "array", + "title": "An identifier for the person as this agent", + "description": "An identifier that applies to this person in this role.", + "element_property": true + }, + "name": { + "items": { "type": "HumanName" }, + "type": "array", + "title": "The name(s) associated with the practitioner", + "element_property": true + }, + "photo": { + "items": { "type": "Attachment" }, + "type": "array", + "title": "Image of the person", + "element_property": true + }, + "qualification": { + "items": { "type": "PractitionerQualification" }, + "type": "array", + "title": "Certification, licenses, or training pertaining to the provision of care", + "description": "The official certifications, training, and licenses that authorize or otherwise pertain to the provision of care by the practitioner. For example, a medical license issued by a medical board authorizing the practitioner to practice medicine within a certian locality.", + "element_property": true + }, + "telecom": { + "items": { "type": "ContactPoint" }, + "type": "array", + "title": "A contact detail for the practitioner (that apply to all roles)", + "description": "A contact detail for the practitioner, e.g. a telephone number or an email address.", + "element_property": true + } + }, + "additionalProperties": false, + "type": "object", + "title": "Practitioner", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nA person with a formal responsibility in the provisioning of healthcare or\nrelated services.\nA person who is directly or indirectly involved in the provisioning of\nhealthcare.", + "example": { + "resourceType": "Practitioner", + "id": "example", + "text": { + "status": "generated", + "div": "
\n

Dr Adam Careful is a Referring Practitioner for Acme Hospital from 1-Jan 2012 to 31-Mar\n 2012

\n
" + }, + "identifier": [ + { "system": "http://www.acme.org/practitioners", "value": "23" } + ], + "active": true, + "name": [ + { "family": "Careful", "given": ["Adam"], "prefix": ["Dr"] } + ], + "address": [ + { + "use": "home", + "line": ["534 Erewhon St"], + "city": "PleasantVille", + "state": "Vic", + "postalCode": "3999" + } + ], + "qualification": [ + { + "identifier": [ + { + "system": "http://example.org/UniversityIdentifier", + "value": "12345" + } + ], + "code": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0360/2.7", + "code": "BS", + "display": "Bachelor of Science" + } + ], + "text": "Bachelor of Science" + }, + "period": { "start": "1995" }, + "issuer": { "display": "Example University" } + } + ] + } + }, + "Procedure": { + "properties": { + "resource_type": { + "type": "string", + "const": "Procedure", + "title": "Resource Type", + "default": "Procedure" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "asserter": { + "type": "Reference", + "title": "Person who asserts this procedure", + "description": "Individual who is making the procedure statement.", + "element_property": true, + "enum_reference_types": [ + "Patient", + "RelatedPerson", + "Practitioner", + "PractitionerRole" + ] + }, + "basedOn": { + "items": { "type": "Reference" }, + "type": "array", + "title": "A request for this procedure", + "description": "A reference to a resource that contains details of the request for this procedure.", + "element_property": true, + "enum_reference_types": ["CarePlan", "ServiceRequest"] + }, + "bodySite": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Target body sites", + "description": "Detailed and structured anatomical location information. Multiple locations are allowed - e.g. multiple punch biopsies of a lesion.", + "element_property": true + }, + "category": { + "type": "CodeableConcept", + "title": "Classification of the procedure", + "description": "A code that classifies the procedure for searching, sorting and display purposes (e.g. \"Surgical Procedure\").", + "element_property": true + }, + "code": { + "type": "CodeableConcept", + "title": "Identification of the procedure", + "description": "The specific procedure that is performed. Use text if the exact nature of the procedure cannot be coded (e.g. \"Laparoscopic Appendectomy\").", + "element_property": true + }, + "complication": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Complication following the procedure", + "description": "Any complications that occurred during the procedure, or in the immediate post-performance period. These are generally tracked separately from the notes, which will typically describe the procedure itself rather than any 'post procedure' issues.", + "element_property": true + }, + "complicationDetail": { + "items": { "type": "Reference" }, + "type": "array", + "title": "A condition that is a result of the procedure", + "description": "Any complications that occurred during the procedure, or in the immediate post-performance period.", + "element_property": true, + "enum_reference_types": ["Condition"] + }, + "encounter": { + "type": "Reference", + "title": "Encounter created as part of", + "description": "The Encounter during which this Procedure was created or performed or to which the creation of this record is tightly associated.", + "element_property": true, + "enum_reference_types": ["Encounter"] + }, + "focalDevice": { + "items": { "type": "ProcedureFocalDevice" }, + "type": "array", + "title": "Manipulated, implanted, or removed device", + "description": "A device that is implanted, removed or otherwise manipulated (calibration, battery replacement, fitting a prosthesis, attaching a wound-vac, etc.) as a focal portion of the Procedure.", + "element_property": true + }, + "followUp": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Instructions for follow up", + "description": "If the procedure required specific follow up - e.g. removal of sutures. The follow up may be represented as a simple note or could potentially be more complex, in which case the CarePlan resource can be used.", + "element_property": true + }, + "identifier": { + "items": { "type": "Identifier" }, + "type": "array", + "title": "External Identifiers for this procedure", + "description": "Business identifiers assigned to this procedure by the performer or other systems which remain constant as the resource is updated and is propagated from server to server.", + "element_property": true + }, + "instantiatesCanonical": { + "items": { "type": "string", "pattern": "\\S*" }, + "type": "array", + "title": "Instantiates FHIR protocol or definition", + "description": "The URL pointing to a FHIR-defined protocol, guideline, order set or other definition that is adhered to in whole or in part by this Procedure.", + "element_property": true, + "enum_reference_types": [ + "PlanDefinition", + "ActivityDefinition", + "Measure", + "OperationDefinition", + "Questionnaire" + ] + }, + "_instantiatesCanonical": { + "items": { "type": "FHIRPrimitiveExtension" }, + "type": "array", + "title": "Extension field for ``instantiatesCanonical``." + }, + "instantiatesUri": { + "items": { "type": "string", "pattern": "\\S*" }, + "type": "array", + "title": "Instantiates external protocol or definition", + "description": "The URL pointing to an externally maintained protocol, guideline, order set or other definition that is adhered to in whole or in part by this Procedure.", + "element_property": true + }, + "_instantiatesUri": { + "items": { "type": "FHIRPrimitiveExtension" }, + "type": "array", + "title": "Extension field for ``instantiatesUri``." + }, + "location": { + "type": "Reference", + "title": "Where the procedure happened", + "description": "The location where the procedure actually happened. E.g. a newborn at home, a tracheostomy at a restaurant.", + "element_property": true, + "enum_reference_types": ["Location"] + }, + "note": { + "items": { "type": "Annotation" }, + "type": "array", + "title": "Additional information about the procedure", + "description": "Any other notes and comments about the procedure.", + "element_property": true + }, + "outcome": { + "type": "CodeableConcept", + "title": "The result of procedure", + "description": "The outcome of the procedure - did it resolve the reasons for the procedure being performed?", + "element_property": true + }, + "partOf": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Part of referenced event", + "description": "A larger event of which this particular procedure is a component or step.", + "element_property": true, + "enum_reference_types": [ + "Procedure", + "Observation", + "MedicationAdministration" + ] + }, + "performedAge": { + "type": "Age", + "title": "When the procedure was performed", + "description": "Estimated or actual date, date-time, period, or age when the procedure was performed. Allows a period to support complex procedures that span more than one date, and also allows for the length of the procedure to be captured.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "performed" + }, + "performedDateTime": { + "type": "string", + "format": "date-time", + "title": "When the procedure was performed", + "description": "Estimated or actual date, date-time, period, or age when the procedure was performed. Allows a period to support complex procedures that span more than one date, and also allows for the length of the procedure to be captured.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "performed" + }, + "_performedDateTime": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``performedDateTime``." + }, + "performedPeriod": { + "type": "Period", + "title": "When the procedure was performed", + "description": "Estimated or actual date, date-time, period, or age when the procedure was performed. Allows a period to support complex procedures that span more than one date, and also allows for the length of the procedure to be captured.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "performed" + }, + "performedRange": { + "type": "Range", + "title": "When the procedure was performed", + "description": "Estimated or actual date, date-time, period, or age when the procedure was performed. Allows a period to support complex procedures that span more than one date, and also allows for the length of the procedure to be captured.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "performed" + }, + "performedString": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "When the procedure was performed", + "description": "Estimated or actual date, date-time, period, or age when the procedure was performed. Allows a period to support complex procedures that span more than one date, and also allows for the length of the procedure to be captured.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "performed" + }, + "_performedString": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``performedString``." + }, + "performer": { + "items": { "type": "ProcedurePerformer" }, + "type": "array", + "title": "The people who performed the procedure", + "description": "Limited to \"real\" people rather than equipment.", + "element_property": true + }, + "reasonCode": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Coded reason procedure performed", + "description": "The coded reason why the procedure was performed. This may be a coded entity of some type, or may simply be present as text.", + "element_property": true + }, + "reasonReference": { + "items": { "type": "Reference" }, + "type": "array", + "title": "The justification that the procedure was performed", + "description": "The justification of why the procedure was performed.", + "element_property": true, + "enum_reference_types": [ + "Condition", + "Observation", + "Procedure", + "DiagnosticReport", + "DocumentReference" + ] + }, + "recorder": { + "type": "Reference", + "title": "Who recorded the procedure", + "description": "Individual who recorded the record and takes responsibility for its content.", + "element_property": true, + "enum_reference_types": [ + "Patient", + "RelatedPerson", + "Practitioner", + "PractitionerRole" + ] + }, + "report": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Any report resulting from the procedure", + "description": "This could be a histology result, pathology report, surgical report, etc.", + "element_property": true, + "enum_reference_types": [ + "DiagnosticReport", + "DocumentReference", + "Composition" + ] + }, + "status": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown", + "description": "A code specifying the state of the procedure. Generally, this will be the in-progress or completed state.", + "element_property": true, + "element_required": true, + "enum_values": [ + "preparation", + "in-progress", + "not-done", + "on-hold", + "stopped", + "completed", + "entered-in-error", + "unknown" + ] + }, + "_status": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``status``." + }, + "statusReason": { + "type": "CodeableConcept", + "title": "Reason for current status", + "description": "Captures the reason for the current state of the procedure.", + "element_property": true + }, + "subject": { + "type": "Reference", + "title": "Who the procedure was performed on", + "description": "The person, animal or group on which the procedure was performed.", + "element_property": true, + "enum_reference_types": ["Patient", "Group"] + }, + "usedCode": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Coded items used during the procedure", + "description": "Identifies coded items that were used as part of the procedure.", + "element_property": true + }, + "usedReference": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Items used during procedure", + "description": "Identifies medications, devices and any other substance used as part of the procedure.", + "element_property": true, + "enum_reference_types": ["Device", "Medication", "Substance"] + } + }, + "additionalProperties": false, + "type": "object", + "required": ["subject"], + "title": "Procedure", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nAn action that is being or was performed on a patient.\nAn action that is or was performed on or for a patient. This can be a\nphysical intervention like an operation, or less invasive like long term\nservices, counseling, or hypnotherapy.", + "example": { + "resourceType": "Procedure", + "id": "example", + "text": { + "status": "generated", + "div": "
Routine Appendectomy
" + }, + "status": "completed", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "80146002", + "display": "Appendectomy (Procedure)" + } + ], + "text": "Appendectomy" + }, + "subject": { "reference": "Patient/example" }, + "performedDateTime": "2013-04-05", + "recorder": { + "reference": "Practitioner/example", + "display": "Dr Cecil Surgeon" + }, + "asserter": { + "reference": "Practitioner/example", + "display": "Dr Cecil Surgeon" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/example", + "display": "Dr Cecil Surgeon" + } + } + ], + "reasonCode": [ + { + "text": "Generalized abdominal pain 24 hours. Localized in RIF with rebound and guarding" + } + ], + "followUp": [{ "text": "ROS 5 days - 2013-04-10" }], + "note": [ + { + "text": "Routine Appendectomy. Appendix was inflamed and in retro-caecal position" + } + ] + } + }, + "Provenance": { + "properties": { + "resource_type": { + "type": "string", + "const": "Provenance", + "title": "Resource Type", + "default": "Provenance" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "activity": { + "type": "CodeableConcept", + "title": "Activity that occurred", + "description": "An activity is something that occurs over a period of time and acts upon or with entities; it may include consuming, processing, transforming, modifying, relocating, using, or generating entities.", + "element_property": true + }, + "agent": { + "items": { "type": "ProvenanceAgent" }, + "type": "array", + "title": "Actor involved", + "description": "An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place.", + "element_property": true + }, + "entity": { + "items": { "type": "ProvenanceEntity" }, + "type": "array", + "title": "An entity used in this activity", + "element_property": true + }, + "location": { + "type": "Reference", + "title": "Where the activity occurred, if relevant", + "element_property": true, + "enum_reference_types": ["Location"] + }, + "occurredDateTime": { + "type": "string", + "format": "date-time", + "title": "When the activity occurred", + "description": "The period during which the activity occurred.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "occurred" + }, + "_occurredDateTime": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``occurredDateTime``." + }, + "occurredPeriod": { + "type": "Period", + "title": "When the activity occurred", + "description": "The period during which the activity occurred.", + "one_of_many_required": false, + "element_property": true, + "one_of_many": "occurred" + }, + "policy": { + "items": { "type": "string", "pattern": "\\S*" }, + "type": "array", + "title": "Policy or plan the activity was defined by", + "description": "Policy or plan the activity was defined by. Typically, a single activity may have multiple applicable policy documents, such as patient consent, guarantor funding, etc.", + "element_property": true + }, + "_policy": { + "items": { "type": "FHIRPrimitiveExtension" }, + "type": "array", + "title": "Extension field for ``policy``." + }, + "reason": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Reason the activity is occurring", + "description": "The reason that the activity was taking place.", + "element_property": true + }, + "recorded": { + "type": "string", + "format": "date-time", + "title": "When the activity was recorded / updated", + "description": "The instant of time at which the activity was recorded.", + "element_property": true, + "element_required": true + }, + "_recorded": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``recorded``." + }, + "signature": { + "items": { "type": "Signature" }, + "type": "array", + "title": "Signature on target", + "description": "A digital signature on the target Reference(s). The signer should match a Provenance.agent. The purpose of the signature is indicated.", + "element_property": true + }, + "target": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Target Reference(s) (usually version specific)", + "description": "The Reference(s) that were generated or updated by the activity described in this resource. A provenance can point to more than one target if multiple resources were created/updated by the same activity.", + "element_property": true, + "enum_reference_types": ["Resource"] + } + }, + "additionalProperties": false, + "type": "object", + "required": ["agent", "target"], + "title": "Provenance", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nWho, What, When for a set of resources.\nProvenance of a resource is a record that describes entities and processes\ninvolved in producing and delivering or otherwise influencing that\nresource. Provenance provides a critical foundation for assessing\nauthenticity, enabling trust, and allowing reproducibility. Provenance\nassertions are a form of contextual metadata and can themselves become\nimportant records with their own provenance. Provenance statement indicates\nclinical significance in terms of confidence in authenticity, reliability,\nand trustworthiness, integrity, and stage in lifecycle (e.g. Document\nCompletion - has the artifact been legally authenticated), all of which may\nimpact security, privacy, and trust policies.", + "example": { + "resourceType": "Provenance", + "id": "example", + "text": { + "status": "generated", + "div": "
procedure record authored on 27-June 2015 by Harold Hippocrates, MD Content extracted from XDS managed CDA Referral received 26-June as authorized by a referenced Consent.
" + }, + "target": [{ "reference": "Procedure/example/_history/1" }], + "occurredPeriod": { "start": "2015-06-27", "end": "2015-06-28" }, + "recorded": "2015-06-27T08:39:24+10:00", + "policy": ["http://acme.com/fhir/Consent/25"], + "location": { "reference": "Location/1" }, + "reason": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "3457005", + "display": "Referral" + } + ] + } + ], + "agent": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "AUT" + } + ] + }, + "who": { "reference": "Practitioner/xcda-author" } + }, + { + "id": "a1", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "DEV" + } + ] + }, + "who": { "reference": "Device/software" } + } + ], + "entity": [ + { + "role": "source", + "what": { + "reference": "DocumentReference/example", + "display": "CDA Document in XDS repository" + } + } + ] + } + }, + "Questionnaire": { + "properties": { + "resource_type": { + "type": "string", + "const": "Questionnaire", + "title": "Resource Type", + "default": "Questionnaire" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "approvalDate": { + "type": "string", + "format": "date", + "title": "When the questionnaire was approved by publisher", + "description": "The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage.", + "element_property": true + }, + "_approvalDate": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``approvalDate``." + }, + "code": { + "items": { "type": "Coding" }, + "type": "array", + "title": "Concept that represents the overall questionnaire", + "description": "An identifier for this question or group of questions in a particular terminology such as LOINC.", + "element_property": true + }, + "contact": { + "items": { "type": "ContactDetail" }, + "type": "array", + "title": "Contact details for the publisher", + "description": "Contact details to assist a user in finding and communicating with the publisher.", + "element_property": true + }, + "copyright": { + "type": "string", + "pattern": "\\s*(\\S|\\s)*", + "title": "Use and/or publishing restrictions", + "description": "A copyright statement relating to the questionnaire and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the questionnaire.", + "element_property": true + }, + "_copyright": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``copyright``." + }, + "date": { + "type": "string", + "format": "date-time", + "title": "Date last changed", + "description": "The date (and optionally time) when the questionnaire was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the questionnaire changes.", + "element_property": true + }, + "_date": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``date``." + }, + "derivedFrom": { + "items": { "type": "string", "pattern": "\\S*" }, + "type": "array", + "title": "Instantiates protocol or definition", + "description": "The URL of a Questionnaire that this Questionnaire is based on.", + "element_property": true, + "enum_reference_types": ["Questionnaire"] + }, + "_derivedFrom": { + "items": { "type": "FHIRPrimitiveExtension" }, + "type": "array", + "title": "Extension field for ``derivedFrom``." + }, + "description": { + "type": "string", + "pattern": "\\s*(\\S|\\s)*", + "title": "Natural language description of the questionnaire", + "description": "A free text natural language description of the questionnaire from a consumer's perspective.", + "element_property": true + }, + "_description": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``description``." + }, + "effectivePeriod": { + "type": "Period", + "title": "When the questionnaire is expected to be used", + "description": "The period during which the questionnaire content was or is planned to be in active use.", + "element_property": true + }, + "experimental": { + "type": "boolean", + "title": "For testing purposes, not real usage", + "description": "A Boolean value to indicate that this questionnaire is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.", + "element_property": true + }, + "_experimental": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``experimental``." + }, + "identifier": { + "items": { "type": "Identifier" }, + "type": "array", + "title": "Additional identifier for the questionnaire", + "description": "A formal identifier that is used to identify this questionnaire when it is represented in other formats, or referenced in a specification, model, design or an instance.", + "element_property": true + }, + "item": { + "items": { "type": "QuestionnaireItem" }, + "type": "array", + "title": "Questions and sections within the Questionnaire", + "description": "A particular question, question grouping or display text that is part of the questionnaire.", + "element_property": true + }, + "jurisdiction": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Intended jurisdiction for questionnaire (if applicable)", + "description": "A legal or geographic region in which the questionnaire is intended to be used.", + "element_property": true + }, + "lastReviewDate": { + "type": "string", + "format": "date", + "title": "When the questionnaire was last reviewed", + "description": "The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date.", + "element_property": true + }, + "_lastReviewDate": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``lastReviewDate``." + }, + "name": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "Name for this questionnaire (computer friendly)", + "description": "A natural language name identifying the questionnaire. This name should be usable as an identifier for the module by machine processing applications such as code generation.", + "element_property": true + }, + "_name": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``name``." + }, + "publisher": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "Name of the publisher (organization or individual)", + "description": "The name of the organization or individual that published the questionnaire.", + "element_property": true + }, + "_publisher": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``publisher``." + }, + "purpose": { + "type": "string", + "pattern": "\\s*(\\S|\\s)*", + "title": "Why this questionnaire is defined", + "description": "Explanation of why this questionnaire is needed and why it has been designed as it has.", + "element_property": true + }, + "_purpose": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``purpose``." + }, + "status": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "draft | active | retired | unknown", + "description": "The status of this questionnaire. Enables tracking the life-cycle of the content.", + "element_property": true, + "element_required": true, + "enum_values": ["draft", "active", "retired", "unknown"] + }, + "_status": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``status``." + }, + "subjectType": { + "items": { "type": "string", "pattern": "^[^\\s]+(\\s[^\\s]+)*$" }, + "type": "array", + "title": "Resource that can be subject of QuestionnaireResponse", + "description": "The types of subjects that can be the subject of responses created for the questionnaire.", + "element_property": true + }, + "_subjectType": { + "items": { "type": "FHIRPrimitiveExtension" }, + "type": "array", + "title": "Extension field for ``subjectType``." + }, + "title": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "Name for this questionnaire (human friendly)", + "description": "A short, descriptive, user-friendly title for the questionnaire.", + "element_property": true + }, + "_title": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``title``." + }, + "url": { + "type": "string", + "pattern": "\\S*", + "title": "Canonical identifier for this questionnaire, represented as a URI (globally unique)", + "description": "An absolute URI that is used to identify this questionnaire when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this questionnaire is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the questionnaire is stored on different servers.", + "element_property": true + }, + "_url": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``url``." + }, + "useContext": { + "items": { "type": "UsageContext" }, + "type": "array", + "title": "The context that the content is intended to support", + "description": "The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate questionnaire instances.", + "element_property": true + }, + "version": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "Business version of the questionnaire", + "description": "The identifier that is used to identify this version of the questionnaire when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the questionnaire author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.", + "element_property": true + }, + "_version": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``version``." + } + }, + "additionalProperties": false, + "type": "object", + "title": "Questionnaire", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nA structured set of questions.\nA structured set of questions intended to guide the collection of answers\nfrom end-users. Questionnaires provide detailed control over order,\npresentation, phraseology and grouping to allow coherent, consistent data\ncollection.", + "example": { + "resourceType": "Questionnaire", + "id": "3141", + "text": { + "status": "generated", + "div": "
\n
\n            1.Comorbidity?\n              1.1 Cardial Comorbidity\n                1.1.1 Angina?\n                1.1.2 MI?\n              1.2 Vascular Comorbidity?\n              ...\n            Histopathology\n              Abdominal\n                pT category?\n              ...\n          
\n
" + }, + "url": "http://hl7.org/fhir/Questionnaire/3141", + "title": "Cancer Quality Forum Questionnaire 2012", + "status": "draft", + "subjectType": ["Patient"], + "date": "2012-01", + "item": [ + { + "linkId": "1", + "code": [ + { + "system": "http://example.org/system/code/sections", + "code": "COMORBIDITY" + } + ], + "type": "group", + "item": [ + { + "linkId": "1.1", + "code": [ + { + "system": "http://example.org/system/code/questions", + "code": "COMORB" + } + ], + "prefix": "1", + "type": "choice", + "answerValueSet": "http://hl7.org/fhir/ValueSet/yesnodontknow", + "item": [ + { + "linkId": "1.1.1", + "code": [ + { + "system": "http://example.org/system/code/sections", + "code": "CARDIAL" + } + ], + "type": "group", + "enableWhen": [ + { + "question": "1.1", + "operator": "=", + "answerCoding": { + "system": "http://terminology.hl7.org/CodeSystem/v2-0136", + "code": "Y" + } + } + ], + "item": [ + { + "linkId": "1.1.1.1", + "code": [ + { + "system": "http://example.org/system/code/questions", + "code": "COMORBCAR" + } + ], + "prefix": "1.1", + "type": "choice", + "answerValueSet": "http://hl7.org/fhir/ValueSet/yesnodontknow", + "item": [ + { + "linkId": "1.1.1.1.1", + "code": [ + { + "system": "http://example.org/system/code/questions", + "code": "COMCAR00", + "display": "Angina Pectoris" + }, + { + "system": "http://snomed.info/sct", + "code": "194828000", + "display": "Angina (disorder)" + } + ], + "prefix": "1.1.1", + "type": "choice", + "answerValueSet": "http://hl7.org/fhir/ValueSet/yesnodontknow" + }, + { + "linkId": "1.1.1.1.2", + "code": [ + { + "system": "http://snomed.info/sct", + "code": "22298006", + "display": "Myocardial infarction (disorder)" + } + ], + "prefix": "1.1.2", + "type": "choice", + "answerValueSet": "http://hl7.org/fhir/ValueSet/yesnodontknow" + } + ] + }, + { + "linkId": "1.1.1.2", + "code": [ + { + "system": "http://example.org/system/code/questions", + "code": "COMORBVAS" + } + ], + "prefix": "1.2", + "type": "choice", + "answerValueSet": "http://hl7.org/fhir/ValueSet/yesnodontknow" + } + ] + } + ] + } + ] + }, + { + "linkId": "2", + "code": [ + { + "system": "http://example.org/system/code/sections", + "code": "HISTOPATHOLOGY" + } + ], + "type": "group", + "item": [ + { + "linkId": "2.1", + "code": [ + { + "system": "http://example.org/system/code/sections", + "code": "ABDOMINAL" + } + ], + "type": "group", + "item": [ + { + "linkId": "2.1.2", + "code": [ + { + "system": "http://example.org/system/code/questions", + "code": "STADPT", + "display": "pT category" + } + ], + "type": "choice" + } + ] + } + ] + } + ] + } + }, + "QuestionnaireResponse": { + "properties": { + "resource_type": { + "type": "string", + "const": "QuestionnaireResponse", + "title": "Resource Type", + "default": "QuestionnaireResponse" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "author": { + "type": "Reference", + "title": "Person who received and recorded the answers", + "description": "Person who received the answers to the questions in the QuestionnaireResponse and recorded them in the system.", + "element_property": true, + "enum_reference_types": [ + "Device", + "Practitioner", + "PractitionerRole", + "Patient", + "RelatedPerson", + "Organization" + ] + }, + "authored": { + "type": "string", + "format": "date-time", + "title": "Date the answers were gathered", + "description": "The date and/or time that this set of answers were last changed.", + "element_property": true + }, + "_authored": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``authored``." + }, + "basedOn": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Request fulfilled by this QuestionnaireResponse", + "description": "The order, proposal or plan that is fulfilled in whole or in part by this QuestionnaireResponse. For example, a ServiceRequest seeking an intake assessment or a decision support recommendation to assess for post-partum depression.", + "element_property": true, + "enum_reference_types": ["CarePlan", "ServiceRequest"] + }, + "encounter": { + "type": "Reference", + "title": "Encounter created as part of", + "description": "The Encounter during which this questionnaire response was created or to which the creation of this record is tightly associated.", + "element_property": true, + "enum_reference_types": ["Encounter"] + }, + "identifier": { + "type": "Identifier", + "title": "Unique id for this set of answers", + "description": "A business identifier assigned to a particular completed (or partially completed) questionnaire.", + "element_property": true + }, + "item": { + "items": { "type": "QuestionnaireResponseItem" }, + "type": "array", + "title": "Groups and questions", + "description": "A group or question item from the original questionnaire for which answers are provided.", + "element_property": true + }, + "partOf": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Part of this action", + "description": "A procedure or observation that this questionnaire was performed as part of the execution of. For example, the surgery a checklist was executed as part of.", + "element_property": true, + "enum_reference_types": ["Observation", "Procedure"] + }, + "questionnaire": { + "type": "string", + "pattern": "\\S*", + "title": "Form being answered", + "description": "The Questionnaire that defines and organizes the questions for which answers are being provided.", + "element_property": true, + "enum_reference_types": ["Questionnaire"] + }, + "_questionnaire": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``questionnaire``." + }, + "source": { + "type": "Reference", + "title": "The person who answered the questions", + "description": "The person who answered the questions about the subject.", + "element_property": true, + "enum_reference_types": [ + "Patient", + "Practitioner", + "PractitionerRole", + "RelatedPerson" + ] + }, + "status": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "in-progress | completed | amended | entered-in-error | stopped", + "description": "The position of the questionnaire response within its overall lifecycle.", + "element_property": true, + "element_required": true, + "enum_values": [ + "in-progress", + "completed", + "amended", + "entered-in-error", + "stopped" + ] + }, + "_status": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``status``." + }, + "subject": { + "type": "Reference", + "title": "The subject of the questions", + "description": "The subject of the questionnaire response. This could be a patient, organization, practitioner, device, etc. This is who/what the answers apply to, but is not necessarily the source of information.", + "element_property": true, + "enum_reference_types": ["Resource"] + } + }, + "additionalProperties": false, + "type": "object", + "title": "QuestionnaireResponse", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nA structured set of questions and their answers.\nA structured set of questions and their answers. The questions are ordered\nand grouped into coherent subsets, corresponding to the structure of the\ngrouping of the questionnaire being responded to.", + "example": { + "resourceType": "QuestionnaireResponse", + "id": "3141", + "text": { + "status": "generated", + "div": "
\n
\n            Comorbidity? YES\n              Cardial Comorbidity? YES\n                Angina? YES\n                MI? NO\n              Vascular Comorbidity?\n                (no answers)\n              ...\n            Histopathology\n              Abdominal\n                pT category: 1a\n              ...\n          
\n
" + }, + "contained": [ + { + "resourceType": "Patient", + "id": "patsub", + "identifier": [ + { + "system": "http://cancer.questionnaire.org/systems/id/patientnr", + "value": "A34442332" + }, + { + "type": { "text": "Dutch BSN" }, + "system": "urn:oid:2.16.840.1.113883.2.4.6.3", + "value": "188912345" + } + ], + "gender": "male", + "birthDate": "1972-11-30" + }, + { + "resourceType": "ServiceRequest", + "id": "order", + "status": "unknown", + "intent": "order", + "subject": { "reference": "#patsub" }, + "requester": { "reference": "Practitioner/example" } + }, + { + "resourceType": "Practitioner", + "id": "questauth", + "identifier": [ + { + "type": { "text": "AUMC, Den Helder" }, + "system": "http://cancer.questionnaire.org/systems/id/org", + "value": "AUMC" + } + ] + } + ], + "identifier": { + "system": "http://example.org/fhir/NamingSystem/questionnaire-ids", + "value": "Q12349876" + }, + "basedOn": [{ "reference": "#order" }], + "partOf": [{ "reference": "Procedure/f201" }], + "status": "completed", + "subject": { "reference": "#patsub" }, + "encounter": { "reference": "Encounter/example" }, + "authored": "2013-02-19T14:15:00-05:00", + "author": { "reference": "#questauth" }, + "item": [ + { + "linkId": "1", + "item": [ + { + "linkId": "1.1", + "answer": [ + { + "valueCoding": { + "system": "http://cancer.questionnaire.org/system/code/yesno", + "code": "1", + "display": "Yes" + }, + "item": [ + { + "linkId": "1.1.1", + "item": [ + { + "linkId": "1.1.1.1", + "answer": [ + { + "valueCoding": { + "system": "http://cancer.questionnaire.org/system/code/yesno", + "code": "1" + } + } + ] + }, + { + "linkId": "1.1.1.2", + "answer": [ + { + "valueCoding": { + "system": "http://cancer.questionnaire.org/system/code/yesno", + "code": "1" + } + } + ] + }, + { + "linkId": "1.1.1.3", + "answer": [ + { + "valueCoding": { + "system": "http://cancer.questionnaire.org/system/code/yesno", + "code": "0" + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + }, + "Task": { + "properties": { + "resource_type": { + "type": "string", + "const": "Task", + "title": "Resource Type", + "default": "Task" + }, + "fhir_comments": { + "anyOf": [ + { "type": "string" }, + { "items": { "type": "string" }, "type": "array" } + ], + "title": "Fhir Comments", + "element_property": false + }, + "id": { + "type": "string", + "maxLength": 64, + "minLength": 1, + "pattern": "^[A-Za-z0-9\\-.]+$", + "title": "Logical id of this artifact", + "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "element_property": true + }, + "implicitRules": { + "type": "string", + "pattern": "\\S*", + "title": "A set of rules under which this content was created", + "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "element_property": true + }, + "_implicitRules": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``implicitRules``." + }, + "language": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "Language of the resource content", + "description": "The base language in which the resource is written.", + "element_property": true + }, + "_language": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``language``." + }, + "meta": { + "type": "Meta", + "title": "Metadata about the resource", + "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "element_property": true + }, + "contained": { + "items": { "type": "Resource" }, + "type": "array", + "title": "Contained, inline Resources", + "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "element_property": true + }, + "extension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Additional content defined by implementations", + "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "element_property": true + }, + "modifierExtension": { + "items": { "type": "Extension" }, + "type": "array", + "title": "Extensions that cannot be ignored", + "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "element_property": true + }, + "text": { + "type": "Narrative", + "title": "Text summary of the resource, for human interpretation", + "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "element_property": true + }, + "authoredOn": { + "type": "string", + "format": "date-time", + "title": "Task Creation Date", + "description": "The date and time this task was created.", + "element_property": true + }, + "_authoredOn": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``authoredOn``." + }, + "basedOn": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Request fulfilled by this task", + "description": "BasedOn refers to a higher-level authorization that triggered the creation of the task. It references a \"request\" resource such as a ServiceRequest, MedicationRequest, ServiceRequest, CarePlan, etc. which is distinct from the \"request\" resource the task is seeking to fulfill. This latter resource is referenced by FocusOn. For example, based on a ServiceRequest (= BasedOn), a task is created to fulfill a procedureRequest ( = FocusOn ) to collect a specimen from a patient.", + "element_property": true, + "enum_reference_types": ["Resource"] + }, + "businessStatus": { + "type": "CodeableConcept", + "title": "E.g. \"Specimen collected\", \"IV prepped\"", + "description": "Contains business-specific nuances of the business state.", + "element_property": true + }, + "code": { + "type": "CodeableConcept", + "title": "Task Type", + "description": "A name or code (or both) briefly describing what the task involves.", + "element_property": true + }, + "description": { + "type": "string", + "pattern": "[ \\r\\n\\t\\S]+", + "title": "Human-readable explanation of task", + "description": "A free-text description of what is to be performed.", + "element_property": true + }, + "_description": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``description``." + }, + "encounter": { + "type": "Reference", + "title": "Healthcare event during which this task originated", + "description": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this task was created.", + "element_property": true, + "enum_reference_types": ["Encounter"] + }, + "executionPeriod": { + "type": "Period", + "title": "Start and end time of execution", + "description": "Identifies the time action was first taken against the task (start) and/or the time final action was taken against the task prior to marking it as completed (end).", + "element_property": true + }, + "focus": { + "type": "Reference", + "title": "What task is acting on", + "description": "The request being actioned or the resource being manipulated by this task.", + "element_property": true, + "enum_reference_types": ["Resource"] + }, + "for": { + "type": "Reference", + "title": "Beneficiary of the Task", + "description": "The entity who benefits from the performance of the service specified in the task (e.g., the patient).", + "element_property": true, + "enum_reference_types": ["Resource"] + }, + "groupIdentifier": { + "type": "Identifier", + "title": "Requisition or grouper id", + "description": "An identifier that links together multiple tasks and other requests that were created in the same context.", + "element_property": true + }, + "identifier": { + "items": { "type": "Identifier" }, + "type": "array", + "title": "Task Instance Identifier", + "description": "The business identifier for this task.", + "element_property": true + }, + "input": { + "items": { "type": "TaskInput" }, + "type": "array", + "title": "Information used to perform task", + "description": "Additional information that may be needed in the execution of the task.", + "element_property": true + }, + "instantiatesCanonical": { + "type": "string", + "pattern": "\\S*", + "title": "Formal definition of task", + "description": "The URL pointing to a *FHIR*-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Task.", + "element_property": true, + "enum_reference_types": ["ActivityDefinition"] + }, + "_instantiatesCanonical": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``instantiatesCanonical``." + }, + "instantiatesUri": { + "type": "string", + "pattern": "\\S*", + "title": "Formal definition of task", + "description": "The URL pointing to an *externally* maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Task.", + "element_property": true + }, + "_instantiatesUri": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``instantiatesUri``." + }, + "insurance": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Associated insurance coverage", + "description": "Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be relevant to the Task.", + "element_property": true, + "enum_reference_types": ["Coverage", "ClaimResponse"] + }, + "intent": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option", + "description": "Indicates the \"level\" of actionability associated with the Task, i.e. i+R[9]Cs this a proposed task, a planned task, an actionable task, etc.", + "element_property": true, + "element_required": true, + "enum_values": [ + "unknown", + "proposal", + "plan", + "order", + "original-order", + "reflex-order", + "filler-order", + "instance-order", + "option" + ] + }, + "_intent": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``intent``." + }, + "lastModified": { + "type": "string", + "format": "date-time", + "title": "Task Last Modified Date", + "description": "The date and time of last modification to this task.", + "element_property": true + }, + "_lastModified": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``lastModified``." + }, + "location": { + "type": "Reference", + "title": "Where task occurs", + "description": "Principal physical location where the this task is performed.", + "element_property": true, + "enum_reference_types": ["Location"] + }, + "note": { + "items": { "type": "Annotation" }, + "type": "array", + "title": "Comments made about the task", + "description": "Free-text information captured about the task as it progresses.", + "element_property": true + }, + "output": { + "items": { "type": "TaskOutput" }, + "type": "array", + "title": "Information produced as part of task", + "description": "Outputs produced by the Task.", + "element_property": true + }, + "owner": { + "type": "Reference", + "title": "Responsible individual", + "description": "Individual organization or Device currently responsible for task execution.", + "element_property": true, + "enum_reference_types": [ + "Practitioner", + "PractitionerRole", + "Organization", + "CareTeam", + "HealthcareService", + "Patient", + "Device", + "RelatedPerson" + ] + }, + "partOf": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Composite task", + "description": "Task that this particular task is part of.", + "element_property": true, + "enum_reference_types": ["Task"] + }, + "performerType": { + "items": { "type": "CodeableConcept" }, + "type": "array", + "title": "Requested performer", + "description": "The kind of participant that should perform the task.", + "element_property": true + }, + "priority": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "routine | urgent | asap | stat", + "description": "Indicates how quickly the Task should be addressed with respect to other requests.", + "element_property": true, + "enum_values": ["routine", "urgent", "asap", "stat"] + }, + "_priority": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``priority``." + }, + "reasonCode": { + "type": "CodeableConcept", + "title": "Why task is needed", + "description": "A description or code indicating why this task needs to be performed.", + "element_property": true + }, + "reasonReference": { + "type": "Reference", + "title": "Why task is needed", + "description": "A resource reference indicating why this task needs to be performed.", + "element_property": true, + "enum_reference_types": ["Resource"] + }, + "relevantHistory": { + "items": { "type": "Reference" }, + "type": "array", + "title": "Key events in history of the Task", + "description": "Links to Provenance records for past versions of this Task that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the task.", + "element_property": true, + "enum_reference_types": ["Provenance"] + }, + "requester": { + "type": "Reference", + "title": "Who is asking for task to be done", + "description": "The creator of the task.", + "element_property": true, + "enum_reference_types": [ + "Device", + "Organization", + "Patient", + "Practitioner", + "PractitionerRole", + "RelatedPerson" + ] + }, + "restriction": { + "type": "TaskRestriction", + "title": "Constraints on fulfillment tasks", + "description": "If the Task.focus is a request resource and the task is seeking fulfillment (i.e. is asking for the request to be actioned), this element identifies any limitations on what parts of the referenced request should be actioned.", + "element_property": true + }, + "status": { + "type": "string", + "pattern": "^[^\\s]+(\\s[^\\s]+)*$", + "title": "draft | requested | received | accepted | +", + "description": "The current status of the task.", + "element_property": true, + "element_required": true, + "enum_values": ["draft", "requested", "received", "accepted", "+"] + }, + "_status": { + "type": "FHIRPrimitiveExtension", + "title": "Extension field for ``status``." + }, + "statusReason": { + "type": "CodeableConcept", + "title": "Reason for current status", + "description": "An explanation as to why this task is held, failed, was refused, etc.", + "element_property": true + } + }, + "additionalProperties": false, + "type": "object", + "title": "Task", + "description": "Disclaimer: Any field name ends with ``__ext`` doesn't part of\nResource StructureDefinition, instead used to enable Extensibility feature\nfor FHIR Primitive Data Types.\n\nA task to be performed.", + "example": { + "resourceType": "Task", + "id": "example1", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example1

contained:

identifier: 20170201-001 (OFFICIAL)

basedOn: General Wellness Careplan

groupIdentifier: G20170201-001 (OFFICIAL)

status: in-progress

businessStatus: waiting for specimen (Details )

intent: order

priority: routine

code: Lipid Panel (Details )

description: Create order for getting specimen, Set up inhouse testing, generate order for any sendouts and submit with specimen

focus: Lipid Panel Request

for: Peter James Chalmers

encounter: Example In-Patient Encounter

executionPeriod: 31/10/2016 8:25:05 AM --> (ongoing)

authoredOn: 31/10/2016 8:25:05 AM

lastModified: 31/10/2016 9:45:05 AM

requester: Dr Adam Careful

performerType: Performer (Details : {http://terminology.hl7.org/CodeSystem/task-performer-type code 'performer' = 'performer', given as 'Performer'})

owner: Clinical Laboratory @ Acme Hospital

reasonCode: The Task.reason should only be included if there is no Task.focus or if it differs from the reason indicated on the focus (Details )

note: This is an example to demonstrate using task for actioning a servicerequest and to illustrate how to populate many of the task elements - this is the parent task that will be broken into subtask to grab the specimen and a sendout lab test

relevantHistory: Author's Signature. Generated Summary: id: signature; recorded: 31/10/2016 8:25:05 AM;

Restrictions

-RepetitionsPeriod
*1?? --> 02/11/2016 9:45:05 AM
" + }, + "contained": [ + { + "resourceType": "Provenance", + "id": "signature", + "target": [ + { "reference": "ServiceRequest/physiotherapy/_history/1" } + ], + "recorded": "2016-10-31T08:25:05+10:00", + "agent": [ + { + "role": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "AUT" + } + ] + } + ], + "who": { + "reference": "Practitioner/f202", + "display": "Luigi Maas" + } + } + ], + "signature": [ + { + "type": [ + { + "system": "urn:iso-astm:E1762-95:2013", + "code": "1.2.840.10065.1.12.1.1", + "display": "Author's Signature" + } + ], + "when": "2016-10-31T08:25:05+10:00", + "who": { + "reference": "Practitioner/example", + "display": "Dr Adam Careful" + }, + "targetFormat": "application/fhir+xml", + "sigFormat": "application/signature+xml", + "data": "dGhpcyBibG9iIGlzIHNuaXBwZWQ=" + } + ] + } + ], + "identifier": [ + { + "use": "official", + "system": "http:/goodhealth.org/identifiers", + "value": "20170201-001" + } + ], + "basedOn": [{ "display": "General Wellness Careplan" }], + "groupIdentifier": { + "use": "official", + "system": "http:/goodhealth.org/accession/identifiers", + "value": "G20170201-001" + }, + "status": "in-progress", + "businessStatus": { "text": "waiting for specimen" }, + "intent": "order", + "priority": "routine", + "code": { "text": "Lipid Panel" }, + "description": "Create order for getting specimen, Set up inhouse testing, generate order for any sendouts and submit with specimen", + "focus": { + "reference": "ServiceRequest/lipid", + "display": "Lipid Panel Request" + }, + "for": { + "reference": "Patient/example", + "display": "Peter James Chalmers" + }, + "encounter": { + "reference": "Encounter/example", + "display": "Example In-Patient Encounter" + }, + "executionPeriod": { "start": "2016-10-31T08:25:05+10:00" }, + "authoredOn": "2016-10-31T08:25:05+10:00", + "lastModified": "2016-10-31T09:45:05+10:00", + "requester": { + "reference": "Practitioner/example", + "display": "Dr Adam Careful" + }, + "performerType": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/task-performer-type", + "code": "performer", + "display": "Performer" + } + ], + "text": "Performer" + } + ], + "owner": { + "reference": "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f", + "display": "Clinical Laboratory @ Acme Hospital" + }, + "reasonCode": { + "text": "The Task.reason should only be included if there is no Task.focus or if it differs from the reason indicated on the focus" + }, + "note": [ + { + "text": "This is an example to demonstrate using task for actioning a servicerequest and to illustrate how to populate many of the task elements - this is the parent task that will be broken into subtask to grab the specimen and a sendout lab test " + } + ], + "relevantHistory": [ + { "reference": "#signature", "display": "Author's Signature" } + ], + "restriction": { + "repetitions": 1, + "period": { "end": "2016-11-02T09:45:05+10:00" } + } + } + }, + "ValidationError": { + "properties": { + "loc": { + "items": { "anyOf": [{ "type": "string" }, { "type": "integer" }] }, + "type": "array", + "title": "Location" + }, + "msg": { "type": "string", "title": "Message" }, + "type": { "type": "string", "title": "Error Type" } + }, + "type": "object", + "required": ["loc", "msg", "type"], + "title": "ValidationError" + } + }, + "securitySchemes": { + "FumageHTTPBearer": { "type": "http", "scheme": "bearer" } + } + } +} diff --git a/packages/api/src/trpc.ts b/packages/api/src/trpc.ts index 3419bc4c..f36c8ada 100644 --- a/packages/api/src/trpc.ts +++ b/packages/api/src/trpc.ts @@ -1,10 +1,10 @@ /** * YOU PROBABLY DON'T NEED TO EDIT THIS FILE, UNLESS: - * 1. You want to modify request context (see Part 1) - * 2. You want to create a new middleware or type of procedure (see Part 3) + * 1. You want to modify request context (see Part 1). + * 2. You want to create a new middleware or type of procedure (see Part 3). * - * tl;dr - this is where all the tRPC server stuff is created and plugged in. - * The pieces you will need to use are documented accordingly near the end + * TL;DR - This is where all the tRPC server stuff is created and plugged in. The pieces you will + * need to use are documented accordingly near the end. */ import { initTRPC, TRPCError } from "@trpc/server"; import superjson from "superjson"; @@ -19,66 +19,45 @@ import { ensureValidToken } from "./canvasApi"; /** * 1. CONTEXT * - * This section defines the "contexts" that are available in the backend API + * This section defines the "contexts" that are available in the backend API. * - * These allow you to access things like the database, the session, etc, when - * processing a request + * These allow you to access things when processing a request, like the database, the session, etc. * - */ -interface CreateContextOptions { - session: Session | null; - token: string | null; - canvasToken: string | null; -} - -/** - * This helper generates the "internals" for a tRPC context. If you need to use - * it, you can export it from here + * This helper generates the "internals" for a tRPC context. The API handler and RSC clients each + * wrap this and provides the required context. * - * Examples of things you may need it for: - * - testing, so we dont have to mock Next.js' req/res - * - trpc's `createSSGHelpers` where we don't have req/res - * @see https://create.t3.gg/en/usage/trpc#-servertrpccontextts - */ -const createInnerTRPCContext = (opts: CreateContextOptions) => { - return { - ...opts, - db, - }; -}; - -/** - * This is the actual context you'll use in your router. It will be used to - * process every request that goes through your tRPC endpoint - * @link https://trpc.io/docs/context + * @see https://trpc.io/docs/server/context */ export const createTRPCContext = async (opts: { - req?: Request; - auth: Session | null; + headers: Headers; + auth?: Session | null; }) => { - const authToken = opts.req?.headers.get("Authorization") ?? null; + const authToken = opts.headers.get("Authorization") ?? null; const session = authToken ? await validateToken(authToken) : opts.auth ?? (await auth()); - const source = opts.req?.headers.get("x-trpc-source") ?? "unknown"; + const source = opts.headers.get("x-trpc-source") ?? "unknown"; console.log(">>> tRPC Request from", source, "by", session?.user); // Fetch or renew the Canvas token using the FP approach const canvasToken = await ensureValidToken(); - return createInnerTRPCContext({ + return { + db, session, token: authToken, canvasToken, - }); + ...opts, + }; }; /** * 2. INITIALIZATION * - * This is where the trpc api is initialized, connecting the context and - * transformer + * This is where the tRPC API is initialized, connecting the context and transformer. We also parse + * ZodErrors so that you get typesafety on the frontend if your procedure fails due to validation + * errors on the backend. */ const t = initTRPC.context().create({ transformer: superjson, @@ -97,29 +76,27 @@ const t = initTRPC.context().create({ /** * 3. ROUTER & PROCEDURE (THE IMPORTANT BIT) * - * These are the pieces you use to build your tRPC API. You should import these - * a lot in the /src/server/api/routers folder + * These are the pieces you use to build your tRPC API. You should import these a lot in the + * "/src/server/api/routers" directory. */ /** - * This is how you create new routers and subrouters in your tRPC API + * This is how you create new routers and sub-routers in your tRPC API. + * * @see https://trpc.io/docs/router */ export const createTRPCRouter = t.router; /** - * Public (unauthed) procedure + * Public (unauthenticated) procedure * - * This is the base piece you use to build new queries and mutations on your - * tRPC API. It does not guarantee that a user querying is authorized, but you - * can still access user session data if they are logged in + * This is the base piece you use to build new queries and mutations on your tRPC API. It does not + * guarantee that a user querying is authorized, but you can still access user session data if they + * are logged in. */ export const publicProcedure = t.procedure; -/** - * Reusable middleware that enforces users are logged in before running the - * procedure - */ +/** Reusable middleware that enforces users are logged in before running the procedure. */ const enforceUserIsAuthed = t.middleware(({ ctx, next }) => { if (!ctx.session?.user) { throw new TRPCError({ code: "UNAUTHORIZED" }); @@ -144,11 +121,10 @@ const enforceCanvasTokenIsValid = t.middleware(({ ctx, next }) => { }); /** - * Protected (authed) procedure + * Protected (authenticated) procedure * - * If you want a query or mutation to ONLY be accessible to logged in users, use - * this. It verifies the session is valid and guarantees ctx.session.user is not - * null + * If you want a query or mutation to ONLY be accessible to logged in users, use this. It verifies + * the session is valid and guarantees `ctx.session.user` is not null. * * @see https://trpc.io/docs/procedures */ diff --git a/packages/api/src/validators.ts b/packages/api/src/validators.ts index 29f04f2f..37f6bb57 100644 --- a/packages/api/src/validators.ts +++ b/packages/api/src/validators.ts @@ -1,8 +1,187 @@ import * as z from "zod"; +// Forms +export const newPatientSchema = z.object({ + name: z.string().min(2, "Name must be at least 2 characters"), + address: z.string().min(10, "Address must be at least 10 characters"), + phoneNumber: z.string().min(10, "Phone number must be at least 10 digits"), +}); +export type NewPatient = z.infer; + +// ----------------- // + +// FHIR API validation + +// export const patientSchema = z.object({ +// resourceType: z.literal("Patient"), +// id: z.string(), +// }); export const patientSchema = z.object({ - resourceType: z.literal("Patient"), + resourceType: z.string(), id: z.string(), + text: z.object({ status: z.string(), div: z.string() }), + extension: z.array( + z.union([ + z.object({ url: z.string(), valueCode: z.string() }), + z.object({ + url: z.string(), + valueCodeableConcept: z.object({ + coding: z.array( + z.object({ + system: z.string(), + code: z.string(), + display: z.string(), + }), + ), + text: z.string(), + }), + }), + z.object({ + extension: z.array( + z.union([ + z.object({ + url: z.string(), + valueCoding: z.object({ + system: z.string(), + code: z.string(), + display: z.string(), + }), + }), + z.object({ url: z.string(), valueString: z.string() }), + ]), + ), + url: z.string(), + }), + z.object({ url: z.string(), valueString: z.string() }), + z.object({ + extension: z.array( + z.union([ + z.object({ + url: z.string(), + valueIdentifier: z.object({ + system: z.string(), + value: z.string(), + }), + }), + z.object({ url: z.string(), valueString: z.string() }), + z.object({ url: z.string(), valueBoolean: z.boolean() }), + ]), + ), + url: z.string(), + }), + ]), + ), + identifier: z.array( + z.union([ + z.object({ + use: z.string(), + type: z.object({ + coding: z.array(z.object({ system: z.string(), code: z.string() })), + }), + system: z.string(), + value: z.string(), + assigner: z.object({ display: z.string() }), + }), + z.object({ + id: z.string(), + use: z.string(), + system: z.string(), + value: z.string(), + period: z.object({ start: z.string(), end: z.string() }), + }), + ]), + ), + active: z.boolean(), + name: z.array( + z.union([ + z.object({ + use: z.string(), + family: z.string(), + given: z.array(z.string()), + period: z.object({ start: z.string(), end: z.string() }), + }), + z.object({ + use: z.string(), + given: z.array(z.string()), + period: z.object({ start: z.string(), end: z.string() }), + }), + ]), + ), + telecom: z.array( + z.object({ + id: z.string(), + extension: z.array( + z.object({ url: z.string(), valueBoolean: z.boolean() }), + ), + system: z.string(), + value: z.string(), + use: z.string(), + rank: z.number(), + }), + ), + gender: z.string(), + birthDate: z.string(), + deceasedBoolean: z.boolean(), + address: z.array( + z.object({ + id: z.string(), + use: z.string(), + type: z.string(), + line: z.array(z.string()), + city: z.string(), + state: z.string(), + postalCode: z.string(), + country: z.string(), + }), + ), + photo: z.array(z.object({ url: z.string() })), + contact: z.array( + z.union([ + z.object({ + id: z.string(), + extension: z.array( + z.object({ url: z.string(), valueBoolean: z.boolean() }), + ), + relationship: z.array( + z.object({ + coding: z.array( + z.object({ + system: z.string(), + code: z.string(), + display: z.string(), + }), + ), + text: z.string(), + }), + ), + name: z.object({ text: z.string() }), + telecom: z.array(z.object({ system: z.string(), value: z.string() })), + }), + z.object({ + id: z.string(), + extension: z.array( + z.object({ url: z.string(), valueBoolean: z.boolean() }), + ), + relationship: z.array(z.object({ text: z.string() })), + name: z.object({ text: z.string() }), + telecom: z.array(z.object({ system: z.string(), value: z.string() })), + }), + ]), + ), + communication: z.array( + z.object({ + language: z.object({ + coding: z.array( + z.object({ + system: z.string(), + code: z.string(), + display: z.string(), + }), + ), + text: z.string(), + }), + }), + ), }); export type BasicPatient = z.infer; diff --git a/packages/auth/package.json b/packages/auth/package.json index cbe944c6..ced92562 100644 --- a/packages/auth/package.json +++ b/packages/auth/package.json @@ -12,23 +12,23 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@acme/db": "workspace:^0.1.0", - "@auth/core": "^0.18.0", - "@auth/drizzle-adapter": "^0.3.5", + "@acme/db": "workspace:^", + "@auth/core": "0.18.0", + "@auth/drizzle-adapter": "^0.3.9", "@t3-oss/env-nextjs": "^0.7.1", - "next": "^14.0.2", + "next": "^14.0.3", "next-auth": "5.0.0-beta.3", "react": "18.2.0", "react-dom": "18.2.0", - "zod": "^3.22.2" + "zod": "^3.22.4" }, "devDependencies": { - "@acme/eslint-config": "workspace:^0.2.0", - "@acme/prettier-config": "workspace:^0.1.0", - "@acme/tsconfig": "workspace:^0.1.0", - "eslint": "^8.53.0", + "@acme/eslint-config": "workspace:^", + "@acme/prettier-config": "workspace:^", + "@acme/tsconfig": "workspace:^", + "eslint": "^8.54.0", "prettier": "^3.1.0", - "typescript": "^5.2.2" + "typescript": "^5.3.2" }, "eslintConfig": { "root": true, diff --git a/packages/db/package.json b/packages/db/package.json index 075753d1..1fd214f7 100644 --- a/packages/db/package.json +++ b/packages/db/package.json @@ -18,14 +18,14 @@ "drizzle-orm": "^0.29.0" }, "devDependencies": { - "@acme/eslint-config": "workspace:^0.2.0", - "@acme/prettier-config": "workspace:^0.1.0", - "@acme/tsconfig": "workspace:^0.1.0", + "@acme/eslint-config": "workspace:^", + "@acme/prettier-config": "workspace:^", + "@acme/tsconfig": "workspace:^", "dotenv-cli": "^7.3.0", - "drizzle-kit": "^0.20.4", - "eslint": "^8.53.0", + "drizzle-kit": "^0.20.6", + "eslint": "^8.54.0", "prettier": "^3.1.0", - "typescript": "^5.2.2" + "typescript": "^5.3.2" }, "eslintConfig": { "root": true, diff --git a/packages/ui/package.json b/packages/ui/package.json new file mode 100644 index 00000000..dbf2e3c8 --- /dev/null +++ b/packages/ui/package.json @@ -0,0 +1,99 @@ +{ + "name": "@acme/ui", + "private": true, + "version": "0.1.0", + "scripts": { + "clean": "rm -rf .turbo node_modules", + "lint": "eslint .", + "format": "prettier --check \"**/*.{mjs,ts,md,json}\"", + "typecheck": "tsc --noEmit" + }, + "dependencies": { + "@radix-ui/react-avatar": "^1.0.4", + "@radix-ui/react-checkbox": "^1.0.4", + "@radix-ui/react-dialog": "^1.0.5", + "@radix-ui/react-dropdown-menu": "^2.0.6", + "@radix-ui/react-label": "^2.0.2", + "@radix-ui/react-popover": "^1.0.7", + "@radix-ui/react-radio-group": "^1.1.3", + "@radix-ui/react-scroll-area": "^1.0.5", + "@radix-ui/react-select": "^2.0.0", + "@radix-ui/react-slot": "^1.0.2", + "@radix-ui/react-tabs": "^1.0.4", + "@radix-ui/react-toast": "^1.1.5", + "class-variance-authority": "^0.7.0", + "clsx": "^2.0.0", + "cmdk": "^0.2.0", + "lucide-react": "0.292.0", + "tailwind-merge": "^2.0.0", + "zod": "^3.22.4" + }, + "peerDependencies": { + "@tanstack/react-table": "^8.9.3", + "react": "^18.2.0", + "react-day-picker": "^8.8.0", + "react-dom": "^18.2.0", + "react-hook-form": "^7.45.4", + "tailwindcss": "^3.3.2", + "tailwindcss-animate": "^1.0.6" + }, + "devDependencies": { + "@acme/eslint-config": "workspace:*", + "@acme/prettier-config": "workspace:^", + "@acme/tailwind-config": "workspace:^", + "@acme/tsconfig": "workspace:^", + "@tanstack/react-table": "^8.10.7", + "@types/react": "^18.2.39", + "@types/react-dom": "^18.2.17", + "date-fns": "^2.30.0", + "eslint": "^8.54.0", + "prettier": "^3.1.0", + "react": "18.2.0", + "react-day-picker": "^8.9.1", + "react-dom": "18.2.0", + "react-hook-form": "^7.48.2", + "tailwindcss": "3.3.5", + "tailwindcss-animate": "^1.0.7", + "typescript": "^5.3.2" + }, + "eslintConfig": { + "root": true, + "extends": [ + "@acme/eslint-config/base", + "@acme/eslint-config/react" + ] + }, + "prettier": "@acme/prettier-config", + "exports": { + ".": "./src/index.ts", + "./avatar": "./src/avatar.tsx", + "./button": "./src/button.tsx", + "./calendar": "./src/calendar.tsx", + "./card": "./src/card.tsx", + "./checkbox": "./src/checkbox.tsx", + "./command": "./src/command.tsx", + "./data-table": "./src/data-table.tsx", + "./dialog": "./src/dialog.tsx", + "./dropdown-menu": "./src/dropdown-menu.tsx", + "./form": "./src/form.tsx", + "./icons": "./src/icons.tsx", + "./input": "./src/input.tsx", + "./label": "./src/label.tsx", + "./popover": "./src/popover.tsx", + "./radio-group": "./src/radio-group.tsx", + "./scroll-area": "./src/scroll-area.tsx", + "./select": "./src/select.tsx", + "./sheet": "./src/sheet.tsx", + "./table": "./src/table.tsx", + "./tabs": "./src/tabs.tsx", + "./toaster": "./src/toaster.tsx", + "./use-toast": "./src/use-toast.tsx" + }, + "typesVersions": { + "*": { + "*": [ + "src/*" + ] + } + } +} diff --git a/packages/ui/src/avatar.tsx b/packages/ui/src/avatar.tsx new file mode 100644 index 00000000..54d93112 --- /dev/null +++ b/packages/ui/src/avatar.tsx @@ -0,0 +1,50 @@ +"use client"; + +import * as React from "react"; +import * as AvatarPrimitive from "@radix-ui/react-avatar"; + +import { cn } from "./utils/cn"; + +const Avatar = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => ( + +)); +Avatar.displayName = AvatarPrimitive.Root.displayName; + +const AvatarImage = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => ( + +)); +AvatarImage.displayName = AvatarPrimitive.Image.displayName; + +const AvatarFallback = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => ( + +)); +AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName; + +export { Avatar, AvatarImage, AvatarFallback }; diff --git a/packages/ui/src/button.tsx b/packages/ui/src/button.tsx new file mode 100644 index 00000000..2b2aafab --- /dev/null +++ b/packages/ui/src/button.tsx @@ -0,0 +1,57 @@ +import * as React from "react"; +import { Slot } from "@radix-ui/react-slot"; +import { cva } from "class-variance-authority"; +import type { VariantProps } from "class-variance-authority"; + +import { cn } from "./utils/cn"; + +const buttonVariants = cva( + "inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50", + { + variants: { + variant: { + default: "bg-primary text-primary-foreground hover:bg-primary/90", + destructive: + "bg-destructive text-destructive-foreground hover:bg-destructive/90", + outline: + "border border-input bg-background hover:bg-accent hover:text-accent-foreground", + secondary: + "bg-secondary text-secondary-foreground hover:bg-secondary/80", + ghost: "hover:bg-accent hover:text-accent-foreground", + link: "text-primary underline-offset-4 hover:underline", + }, + size: { + default: "h-10 px-4 py-2", + sm: "h-9 rounded-md px-3", + lg: "h-11 rounded-md px-8", + icon: "h-10 w-10", + }, + }, + defaultVariants: { + variant: "default", + size: "default", + }, + }, +); + +export interface ButtonProps + extends React.ButtonHTMLAttributes, + VariantProps { + asChild?: boolean; +} + +const Button = React.forwardRef( + ({ className, variant, size, asChild = false, ...props }, ref) => { + const Comp = asChild ? Slot : "button"; + return ( + + ); + }, +); +Button.displayName = "Button"; + +export { Button, buttonVariants }; diff --git a/packages/ui/src/calendar.tsx b/packages/ui/src/calendar.tsx new file mode 100644 index 00000000..ab62c7a6 --- /dev/null +++ b/packages/ui/src/calendar.tsx @@ -0,0 +1,69 @@ +"use client"; + +import * as React from "react"; +import { ChevronLeft, ChevronRight } from "lucide-react"; +import { DayPicker } from "react-day-picker"; + +import { buttonVariants } from "./button"; +import { cn } from "./utils/cn"; + +export type { DateRange } from "react-day-picker"; +export type CalendarProps = React.ComponentProps; + +function Calendar({ + className, + classNames, + showOutsideDays = true, + ...props +}: CalendarProps) { + return ( + ( + + ), + IconRight: ({ ...props }) => ( + + ), + }} + {...props} + /> + ); +} +Calendar.displayName = "Calendar"; + +export { Calendar }; diff --git a/packages/ui/src/card.tsx b/packages/ui/src/card.tsx new file mode 100644 index 00000000..ea3c0bb9 --- /dev/null +++ b/packages/ui/src/card.tsx @@ -0,0 +1,88 @@ +import * as React from "react"; + +import { cn } from "./utils/cn"; + +const Card = React.forwardRef< + HTMLDivElement, + React.HTMLAttributes +>(({ className, ...props }, ref) => ( +
+)); +Card.displayName = "Card"; + +const CardHeader = React.forwardRef< + HTMLDivElement, + React.HTMLAttributes +>(({ className, ...props }, ref) => ( +
+)); +CardHeader.displayName = "CardHeader"; + +const CardTitle = React.forwardRef< + HTMLParagraphElement, + React.HTMLAttributes +>(({ className, ...props }, ref) => ( +

+ {props.children} +

+)); +CardTitle.displayName = "CardTitle"; + +const CardDescription = React.forwardRef< + HTMLParagraphElement, + React.HTMLAttributes +>(({ className, ...props }, ref) => ( +

+)); +CardDescription.displayName = "CardDescription"; + +const CardContent = React.forwardRef< + HTMLDivElement, + React.HTMLAttributes +>(({ className, ...props }, ref) => ( +

+)); +CardContent.displayName = "CardContent"; + +const CardFooter = React.forwardRef< + HTMLDivElement, + React.HTMLAttributes +>(({ className, ...props }, ref) => ( +
+)); +CardFooter.displayName = "CardFooter"; + +export { + Card, + CardHeader, + CardFooter, + CardTitle, + CardDescription, + CardContent, +}; diff --git a/packages/ui/src/checkbox.tsx b/packages/ui/src/checkbox.tsx new file mode 100644 index 00000000..3c5f5b9a --- /dev/null +++ b/packages/ui/src/checkbox.tsx @@ -0,0 +1,30 @@ +"use client"; + +import * as React from "react"; +import * as CheckboxPrimitive from "@radix-ui/react-checkbox"; +import { Check } from "lucide-react"; + +import { cn } from "./utils/cn"; + +const Checkbox = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => ( + + + + + +)); +Checkbox.displayName = CheckboxPrimitive.Root.displayName; + +export { Checkbox }; diff --git a/packages/ui/src/command.tsx b/packages/ui/src/command.tsx new file mode 100644 index 00000000..d49e1ac2 --- /dev/null +++ b/packages/ui/src/command.tsx @@ -0,0 +1,156 @@ +"use client"; + +import * as React from "react"; +import type { DialogProps } from "@radix-ui/react-dialog"; +import { Command as CommandPrimitive } from "cmdk"; +import { Search } from "lucide-react"; + +import { Dialog, DialogContent } from "./dialog"; +import { cn } from "./utils/cn"; + +const Command = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => ( + +)); +Command.displayName = CommandPrimitive.displayName; + +type CommandDialogProps = DialogProps; + +const CommandDialog = ({ children, ...props }: CommandDialogProps) => { + return ( + + + + {children} + + + + ); +}; + +const CommandInput = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => ( + // eslint-disable-next-line react/no-unknown-property +
+ + +
+)); + +CommandInput.displayName = CommandPrimitive.Input.displayName; + +const CommandList = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => ( + +)); + +CommandList.displayName = CommandPrimitive.List.displayName; + +const CommandEmpty = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>((props, ref) => ( + +)); + +CommandEmpty.displayName = CommandPrimitive.Empty.displayName; + +const CommandGroup = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => ( + +)); + +CommandGroup.displayName = CommandPrimitive.Group.displayName; + +const CommandSeparator = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => ( + +)); +CommandSeparator.displayName = CommandPrimitive.Separator.displayName; + +const CommandItem = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => ( + +)); + +CommandItem.displayName = CommandPrimitive.Item.displayName; + +const CommandShortcut = ({ + className, + ...props +}: React.HTMLAttributes) => { + return ( + + ); +}; +CommandShortcut.displayName = "CommandShortcut"; + +export { + Command, + CommandDialog, + CommandInput, + CommandList, + CommandEmpty, + CommandGroup, + CommandItem, + CommandShortcut, + CommandSeparator, +}; diff --git a/packages/ui/src/data-table.tsx b/packages/ui/src/data-table.tsx new file mode 100644 index 00000000..28007230 --- /dev/null +++ b/packages/ui/src/data-table.tsx @@ -0,0 +1,80 @@ +"use client"; + +import type { ColumnDef } from "@tanstack/react-table"; +import { + flexRender, + getCoreRowModel, + useReactTable, +} from "@tanstack/react-table"; + +import { + Table, + TableBody, + TableCell, + TableHead, + TableHeader, + TableRow, +} from "./table"; + +interface DataTableProps { + columns: ColumnDef[]; + data: TData[]; +} + +export function DataTable({ + columns, + data, +}: DataTableProps) { + const table = useReactTable({ + data, + columns, + getCoreRowModel: getCoreRowModel(), + }); + + return ( +
+ + + {table.getHeaderGroups().map((headerGroup) => ( + + {headerGroup.headers.map((header) => { + return ( + + {header.isPlaceholder + ? null + : flexRender( + header.column.columnDef.header, + header.getContext(), + )} + + ); + })} + + ))} + + + {table.getRowModel().rows?.length ? ( + table.getRowModel().rows.map((row) => ( + + {row.getVisibleCells().map((cell) => ( + + {flexRender(cell.column.columnDef.cell, cell.getContext())} + + ))} + + )) + ) : ( + + + No results. + + + )} + +
+
+ ); +} diff --git a/packages/ui/src/dialog.tsx b/packages/ui/src/dialog.tsx new file mode 100644 index 00000000..5b2ebce5 --- /dev/null +++ b/packages/ui/src/dialog.tsx @@ -0,0 +1,126 @@ +"use client"; + +import * as React from "react"; +import * as DialogPrimitive from "@radix-ui/react-dialog"; +import { X } from "lucide-react"; + +import { cn } from "./utils/cn"; + +const Dialog = DialogPrimitive.Root; + +const DialogTrigger = DialogPrimitive.Trigger; + +const DialogPortal = ({ + className, + children, + ...props +}: DialogPrimitive.DialogPortalProps) => ( + +
+ {children} +
+
+); +DialogPortal.displayName = DialogPrimitive.Portal.displayName; + +const DialogOverlay = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => ( + +)); +DialogOverlay.displayName = DialogPrimitive.Overlay.displayName; + +const DialogContent = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, children, ...props }, ref) => ( + + + + {children} + + + Close + + + +)); +DialogContent.displayName = DialogPrimitive.Content.displayName; + +const DialogHeader = ({ + className, + ...props +}: React.HTMLAttributes) => ( +
+); +DialogHeader.displayName = "DialogHeader"; + +const DialogFooter = ({ + className, + ...props +}: React.HTMLAttributes) => ( +
+); +DialogFooter.displayName = "DialogFooter"; + +const DialogTitle = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => ( + +)); +DialogTitle.displayName = DialogPrimitive.Title.displayName; + +const DialogDescription = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => ( + +)); +DialogDescription.displayName = DialogPrimitive.Description.displayName; + +const DialogClose = DialogPrimitive.Close; + +export { + Dialog, + DialogClose, + DialogTrigger, + DialogContent, + DialogHeader, + DialogFooter, + DialogTitle, + DialogDescription, +}; diff --git a/packages/ui/src/dropdown-menu.tsx b/packages/ui/src/dropdown-menu.tsx new file mode 100644 index 00000000..2dc7c086 --- /dev/null +++ b/packages/ui/src/dropdown-menu.tsx @@ -0,0 +1,200 @@ +"use client"; + +import * as React from "react"; +import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu"; +import { Check, ChevronRight, Circle } from "lucide-react"; + +import { cn } from "./utils/cn"; + +const DropdownMenu = DropdownMenuPrimitive.Root; + +const DropdownMenuTrigger = DropdownMenuPrimitive.Trigger; + +const DropdownMenuGroup = DropdownMenuPrimitive.Group; + +const DropdownMenuPortal = DropdownMenuPrimitive.Portal; + +const DropdownMenuSub = DropdownMenuPrimitive.Sub; + +const DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup; + +const DropdownMenuSubTrigger = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef & { + inset?: boolean; + } +>(({ className, inset, children, ...props }, ref) => ( + + {children} + + +)); +DropdownMenuSubTrigger.displayName = + DropdownMenuPrimitive.SubTrigger.displayName; + +const DropdownMenuSubContent = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => ( + +)); +DropdownMenuSubContent.displayName = + DropdownMenuPrimitive.SubContent.displayName; + +const DropdownMenuContent = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, sideOffset = 4, ...props }, ref) => ( + + + +)); +DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName; + +const DropdownMenuItem = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef & { + inset?: boolean; + } +>(({ className, inset, ...props }, ref) => ( + +)); +DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName; + +const DropdownMenuCheckboxItem = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, children, checked, ...props }, ref) => ( + + + + + + + {children} + +)); +DropdownMenuCheckboxItem.displayName = + DropdownMenuPrimitive.CheckboxItem.displayName; + +const DropdownMenuRadioItem = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, children, ...props }, ref) => ( + + + + + + + {children} + +)); +DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName; + +const DropdownMenuLabel = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef & { + inset?: boolean; + } +>(({ className, inset, ...props }, ref) => ( + +)); +DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName; + +const DropdownMenuSeparator = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => ( + +)); +DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName; + +const DropdownMenuShortcut = ({ + className, + ...props +}: React.HTMLAttributes) => { + return ( + + ); +}; +DropdownMenuShortcut.displayName = "DropdownMenuShortcut"; + +export { + DropdownMenu, + DropdownMenuTrigger, + DropdownMenuContent, + DropdownMenuItem, + DropdownMenuCheckboxItem, + DropdownMenuRadioItem, + DropdownMenuLabel, + DropdownMenuSeparator, + DropdownMenuShortcut, + DropdownMenuGroup, + DropdownMenuPortal, + DropdownMenuSub, + DropdownMenuSubContent, + DropdownMenuSubTrigger, + DropdownMenuRadioGroup, +}; diff --git a/packages/ui/src/form.tsx b/packages/ui/src/form.tsx new file mode 100644 index 00000000..99e3c179 --- /dev/null +++ b/packages/ui/src/form.tsx @@ -0,0 +1,173 @@ +"use client"; + +import * as React from "react"; +import type * as LabelPrimitive from "@radix-ui/react-label"; +import { Slot } from "@radix-ui/react-slot"; +import type { ControllerProps, FieldPath, FieldValues } from "react-hook-form"; +import { Controller, FormProvider, useFormContext } from "react-hook-form"; + +import { Label } from "./label"; +import { cn } from "./utils/cn"; + +const Form = FormProvider; + +interface FormFieldContextValue< + TFieldValues extends FieldValues = FieldValues, + TName extends FieldPath = FieldPath, +> { + name: TName; +} + +const FormFieldContext = React.createContext( + {} as FormFieldContextValue, +); + +const FormField = < + TFieldValues extends FieldValues = FieldValues, + TName extends FieldPath = FieldPath, +>({ + ...props +}: ControllerProps) => { + return ( + + + + ); +}; + +const useFormField = () => { + const fieldContext = React.useContext(FormFieldContext); + const itemContext = React.useContext(FormItemContext); + const { getFieldState, formState } = useFormContext(); + + const fieldState = getFieldState(fieldContext.name, formState); + + if (!fieldContext) { + throw new Error("useFormField should be used within "); + } + + const { id } = itemContext; + + return { + id, + name: fieldContext.name, + formItemId: `${id}-form-item`, + formDescriptionId: `${id}-form-item-description`, + formMessageId: `${id}-form-item-message`, + ...fieldState, + }; +}; + +interface FormItemContextValue { + id: string; +} + +const FormItemContext = React.createContext( + {} as FormItemContextValue, +); + +const FormItem = React.forwardRef< + HTMLDivElement, + React.HTMLAttributes +>(({ className, ...props }, ref) => { + const id = React.useId(); + + return ( + +
+ + ); +}); +FormItem.displayName = "FormItem"; + +const FormLabel = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => { + const { error, formItemId } = useFormField(); + + return ( +