{"openapi": "3.0.3", "info": {"title": "US Core Server CapabilityStatement", "description": "This Capability Statement describes the features of the US Core Server which is responsible for providing responses to the queries submitted by the US Core Requestors. The complete list of FHIR profiles, RESTful operations, and search parameters supported by this server are defined. Systems implementing this capability statement should meet the ONC 2015 Common Clinical Data Set (CCDS) access requirement for Patient Selection 170.315(g)(7) and Application Access - Data Category Request 170.315(g)(8) and and the ONC [U.S. Core Data for Interoperability (USCDI)](https://www.healthit.gov/isa/sites/isa/files/2020-03/USCDI-Version1-2020-Final-Standard.pdf).  US Core Clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements. In the context of the CMS Interoperability and Patient Access Rule this implementation of US Core only supports Read and Search capabilities to enable consumer applications to request data for a health plan member that has granted them access to their data.", "license": {"name": "Creative Commons Zero v1.0 Universal", "url": "http://spdx.org/licenses/CC0-1.0.html"}, "version": "5.0.1", "contact": {"url": "http://www.hl7.org/Special/committees/usrealm/index.cfm"}}, "externalDocs": {"url": "http://hl7.org/fhir/us/core/STU3.1.1/", "description": "External Docs Description"}, "paths": {"/uscore/metadata": {"summary": "Access to the Server's Capability Statement", "description": "All FHIR Servers return a CapabilityStatement that describes what services they perform", "get": {"tags": ["Metadata"], "summary": "Return the server's capability statement", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "the capbility statement", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/CapabilityStatement"}}}}}}}}, "/uscore/AllergyIntolerance": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the AllergyIntolerance resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A AllergyIntolerance with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "clinical-status", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}], "security": [{"smart_on_fhir_oauth2": ["patient/AllergyIntolerance.read", "user/AllergyIntolerance.read"]}]}}, "/uscore/AllergyIntolerance/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified AllergyIntolerance resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A AllergyIntolerance with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/AllergyIntolerance.read", "user/AllergyIntolerance.read"]}]}}, "/uscore/AllergyIntolerance/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified AllergyIntolerance resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A AllergyIntolerance with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/AllergyIntolerance.read", "user/AllergyIntolerance.read"]}]}}, "/uscore/AllergyIntolerance/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the AllergyIntolerance resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A AllergyIntolerance with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/AllergyIntolerance.read", "user/AllergyIntolerance.read"]}]}}, "/uscore/AllergyIntolerance/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the AllergyIntolerance resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A AllergyIntolerance with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "clinical-status", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}], "security": [{"smart_on_fhir_oauth2": ["patient/AllergyIntolerance.read", "user/AllergyIntolerance.read"]}]}}, "/uscore/CarePlan": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the CarePlan resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A CarePlan with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "category", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "date", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/CarePlan.read", "user/CarePlan.read"]}]}}, "/uscore/CarePlan/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified CarePlan resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A CarePlan with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/CarePlan.read", "user/CarePlan.read"]}]}}, "/uscore/CarePlan/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified CarePlan resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A CarePlan with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/CarePlan.read", "user/CarePlan.read"]}]}}, "/uscore/CarePlan/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the CarePlan resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A CarePlan with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/CarePlan.read", "user/CarePlan.read"]}]}}, "/uscore/CarePlan/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the CarePlan resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A CarePlan with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "category", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "date", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/CarePlan.read", "user/CarePlan.read"]}]}}, "/uscore/CareTeam": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the CareTeam resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A CareTeam with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "role", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/CareTeam.read", "user/CareTeam.read"]}]}}, "/uscore/CareTeam/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified CareTeam resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A CareTeam with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/CareTeam.read", "user/CareTeam.read"]}]}}, "/uscore/CareTeam/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified CareTeam resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A CareTeam with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/CareTeam.read", "user/CareTeam.read"]}]}}, "/uscore/CareTeam/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the CareTeam resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A CareTeam with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/CareTeam.read", "user/CareTeam.read"]}]}}, "/uscore/CareTeam/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the CareTeam resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A CareTeam with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "role", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/CareTeam.read", "user/CareTeam.read"]}]}}, "/uscore/Condition": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the Condition resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Condition with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "category", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "clinical-status", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "onset-date", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "asserted-date", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "recorded-date", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "abatement-date", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "code", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "encounter", "in": "query", "required": false, "schema": {"type": "reference"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Condition.read", "user/Condition.read"]}]}}, "/uscore/Condition/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified Condition resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Condition with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Condition.read", "user/Condition.read"]}]}}, "/uscore/Condition/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified Condition resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Condition with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Condition.read", "user/Condition.read"]}]}}, "/uscore/Condition/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the Condition resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Condition with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Condition.read", "user/Condition.read"]}]}}, "/uscore/Condition/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the Condition resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Condition with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "category", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "clinical-status", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "onset-date", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "asserted-date", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "recorded-date", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "abatement-date", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "code", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "encounter", "in": "query", "required": false, "schema": {"type": "reference"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Condition.read", "user/Condition.read"]}]}}, "/uscore/CoverageEligibilityRequest/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified CoverageEligibilityRequest resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A CoverageEligibilityRequest with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/CoverageEligibilityRequest.read", "user/CoverageEligibilityRequest.read"]}]}}, "/uscore/CoverageEligibilityRequest/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified CoverageEligibilityRequest resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A CoverageEligibilityRequest with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/CoverageEligibilityRequest.read", "user/CoverageEligibilityRequest.read"]}]}}, "/uscore/CoverageEligibilityRequest/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the CoverageEligibilityRequest resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A CoverageEligibilityRequest with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/CoverageEligibilityRequest.read", "user/CoverageEligibilityRequest.read"]}]}}, "/uscore/CoverageEligibilityRequest/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the CoverageEligibilityRequest resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A CoverageEligibilityRequest with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "identifier", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "provider", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "created", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "enterer", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "facility", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/CoverageEligibilityRequest.read", "user/CoverageEligibilityRequest.read"]}]}}, "/uscore/CoverageEligibilityRequest": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the CoverageEligibilityRequest resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A CoverageEligibilityRequest with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "identifier", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "provider", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "created", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "enterer", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "facility", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/CoverageEligibilityRequest.read", "user/CoverageEligibilityRequest.read"]}]}}, "/uscore/CoverageEligibilityResponse/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified CoverageEligibilityResponse resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A CoverageEligibilityResponse with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/CoverageEligibilityResponse.read", "user/CoverageEligibilityResponse.read"]}]}}, "/uscore/CoverageEligibilityResponse/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified CoverageEligibilityResponse resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A CoverageEligibilityResponse with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/CoverageEligibilityResponse.read", "user/CoverageEligibilityResponse.read"]}]}}, "/uscore/CoverageEligibilityResponse/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the CoverageEligibilityResponse resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A CoverageEligibilityResponse with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/CoverageEligibilityResponse.read", "user/CoverageEligibilityResponse.read"]}]}}, "/uscore/CoverageEligibilityResponse/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the CoverageEligibilityResponse resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A CoverageEligibilityResponse with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "identifier", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "request", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "disposition", "in": "query", "required": false, "schema": {"type": "string"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "insurer", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "created", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "outcome", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "requestor", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/CoverageEligibilityResponse.read", "user/CoverageEligibilityResponse.read"]}]}}, "/uscore/CoverageEligibilityResponse": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the CoverageEligibilityResponse resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A CoverageEligibilityResponse with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "identifier", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "request", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "disposition", "in": "query", "required": false, "schema": {"type": "string"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "insurer", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "created", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "outcome", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "requestor", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/CoverageEligibilityResponse.read", "user/CoverageEligibilityResponse.read"]}]}}, "/uscore/Device": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the Device resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Device with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "type", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Device.read", "user/Device.read"]}]}}, "/uscore/Device/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified Device resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Device with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Device.read", "user/Device.read"]}]}}, "/uscore/Device/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified Device resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Device with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Device.read", "user/Device.read"]}]}}, "/uscore/Device/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the Device resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Device with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Device.read", "user/Device.read"]}]}}, "/uscore/Device/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the Device resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Device with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "type", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Device.read", "user/Device.read"]}]}}, "/uscore/DeviceDefinition/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified DeviceDefinition resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A DeviceDefinition with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/DeviceDefinition.read", "user/DeviceDefinition.read"]}]}}, "/uscore/DeviceDefinition/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified DeviceDefinition resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A DeviceDefinition with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/DeviceDefinition.read", "user/DeviceDefinition.read"]}]}}, "/uscore/DeviceDefinition/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the DeviceDefinition resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A DeviceDefinition with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/DeviceDefinition.read", "user/DeviceDefinition.read"]}]}}, "/uscore/DeviceDefinition/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the DeviceDefinition resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A DeviceDefinition with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "parent", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "identifier", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "type", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/DeviceDefinition.read", "user/DeviceDefinition.read"]}]}}, "/uscore/DeviceDefinition": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the DeviceDefinition resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A DeviceDefinition with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "parent", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "identifier", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "type", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/DeviceDefinition.read", "user/DeviceDefinition.read"]}]}}, "/uscore/DeviceMetric/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified DeviceMetric resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A DeviceMetric with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/DeviceMetric.read", "user/DeviceMetric.read"]}]}}, "/uscore/DeviceMetric/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified DeviceMetric resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A DeviceMetric with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/DeviceMetric.read", "user/DeviceMetric.read"]}]}}, "/uscore/DeviceMetric/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the DeviceMetric resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A DeviceMetric with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/DeviceMetric.read", "user/DeviceMetric.read"]}]}}, "/uscore/DeviceMetric/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the DeviceMetric resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A DeviceMetric with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "parent", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "identifier", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "source", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "type", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "category", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/DeviceMetric.read", "user/DeviceMetric.read"]}]}}, "/uscore/DeviceMetric": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the DeviceMetric resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A DeviceMetric with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "parent", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "identifier", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "source", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "type", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "category", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/DeviceMetric.read", "user/DeviceMetric.read"]}]}}, "/uscore/DeviceRequest/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified DeviceRequest resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A DeviceRequest with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/DeviceRequest.read", "user/DeviceRequest.read"]}]}}, "/uscore/DeviceRequest/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified DeviceRequest resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A DeviceRequest with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/DeviceRequest.read", "user/DeviceRequest.read"]}]}}, "/uscore/DeviceRequest/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the DeviceRequest resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A DeviceRequest with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/DeviceRequest.read", "user/DeviceRequest.read"]}]}}, "/uscore/DeviceRequest/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the DeviceRequest resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A DeviceRequest with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "requester", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "insurance", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "identifier", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "code", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "performer", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "event-date", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "subject", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "instantiates-canonical", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "encounter", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "authored-on", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "intent", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "group-identifier", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "based-on", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "instantiates-uri", "in": "query", "required": false, "schema": {"type": "uri"}}, {"name": "prior-request", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "device", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/DeviceRequest.read", "user/DeviceRequest.read"]}]}}, "/uscore/DeviceRequest": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the DeviceRequest resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A DeviceRequest with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "requester", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "insurance", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "identifier", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "code", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "performer", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "event-date", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "subject", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "instantiates-canonical", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "encounter", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "authored-on", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "intent", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "group-identifier", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "based-on", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "instantiates-uri", "in": "query", "required": false, "schema": {"type": "uri"}}, {"name": "prior-request", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "device", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/DeviceRequest.read", "user/DeviceRequest.read"]}]}}, "/uscore/DeviceUseStatement/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified DeviceUseStatement resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A DeviceUseStatement with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/DeviceUseStatement.read", "user/DeviceUseStatement.read"]}]}}, "/uscore/DeviceUseStatement/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified DeviceUseStatement resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A DeviceUseStatement with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/DeviceUseStatement.read", "user/DeviceUseStatement.read"]}]}}, "/uscore/DeviceUseStatement/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the DeviceUseStatement resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A DeviceUseStatement with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/DeviceUseStatement.read", "user/DeviceUseStatement.read"]}]}}, "/uscore/DeviceUseStatement/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the DeviceUseStatement resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A DeviceUseStatement with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "identifier", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "subject", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "device", "in": "query", "required": false, "schema": {"type": "reference"}}], "security": [{"smart_on_fhir_oauth2": ["patient/DeviceUseStatement.read", "user/DeviceUseStatement.read"]}]}}, "/uscore/DeviceUseStatement": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the DeviceUseStatement resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A DeviceUseStatement with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "identifier", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "subject", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "device", "in": "query", "required": false, "schema": {"type": "reference"}}], "security": [{"smart_on_fhir_oauth2": ["patient/DeviceUseStatement.read", "user/DeviceUseStatement.read"]}]}}, "/uscore/DiagnosticReport": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the DiagnosticReport resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A DiagnosticReport with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "category", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "code", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "date", "in": "query", "required": false, "schema": {"type": "date"}}], "security": [{"smart_on_fhir_oauth2": ["patient/DiagnosticReport.read", "user/DiagnosticReport.read"]}]}}, "/uscore/DiagnosticReport/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified DiagnosticReport resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A DiagnosticReport with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/DiagnosticReport.read", "user/DiagnosticReport.read"]}]}}, "/uscore/DiagnosticReport/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified DiagnosticReport resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A DiagnosticReport with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/DiagnosticReport.read", "user/DiagnosticReport.read"]}]}}, "/uscore/DiagnosticReport/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the DiagnosticReport resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A DiagnosticReport with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/DiagnosticReport.read", "user/DiagnosticReport.read"]}]}}, "/uscore/DiagnosticReport/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the DiagnosticReport resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A DiagnosticReport with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "category", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "code", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "date", "in": "query", "required": false, "schema": {"type": "date"}}], "security": [{"smart_on_fhir_oauth2": ["patient/DiagnosticReport.read", "user/DiagnosticReport.read"]}]}}, "/uscore/DocumentReference": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the DocumentReference resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A DocumentReference with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "_id", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "category", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "type", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "date", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "period", "in": "query", "required": false, "schema": {"type": "date"}}], "security": [{"smart_on_fhir_oauth2": ["patient/DocumentReference.read", "user/DocumentReference.read"]}]}}, "/uscore/DocumentReference/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified DocumentReference resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A DocumentReference with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/DocumentReference.read", "user/DocumentReference.read"]}]}}, "/uscore/DocumentReference/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified DocumentReference resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A DocumentReference with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/DocumentReference.read", "user/DocumentReference.read"]}]}}, "/uscore/DocumentReference/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the DocumentReference resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A DocumentReference with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/DocumentReference.read", "user/DocumentReference.read"]}]}}, "/uscore/DocumentReference/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the DocumentReference resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A DocumentReference with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "_id", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "category", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "type", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "date", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "period", "in": "query", "required": false, "schema": {"type": "date"}}], "security": [{"smart_on_fhir_oauth2": ["patient/DocumentReference.read", "user/DocumentReference.read"]}]}}, "/uscore/Encounter": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the Encounter resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Encounter with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "_id", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "class", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "date", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "identifier", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "location", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "type", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "discharge-disposition", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Encounter.read", "user/Encounter.read"]}]}}, "/uscore/Encounter/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified Encounter resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Encounter with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Encounter.read", "user/Encounter.read"]}]}}, "/uscore/Encounter/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified Encounter resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Encounter with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Encounter.read", "user/Encounter.read"]}]}}, "/uscore/Encounter/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the Encounter resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Encounter with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Encounter.read", "user/Encounter.read"]}]}}, "/uscore/Encounter/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the Encounter resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Encounter with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "_id", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "class", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "date", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "identifier", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "location", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "type", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "discharge-disposition", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Encounter.read", "user/Encounter.read"]}]}}, "/uscore/Goal": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the Goal resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Goal with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "lifecycle-status", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "target-date", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "description", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Goal.read", "user/Goal.read"]}]}}, "/uscore/Goal/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified Goal resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Goal with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Goal.read", "user/Goal.read"]}]}}, "/uscore/Goal/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified Goal resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Goal with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Goal.read", "user/Goal.read"]}]}}, "/uscore/Goal/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the Goal resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Goal with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Goal.read", "user/Goal.read"]}]}}, "/uscore/Goal/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the Goal resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Goal with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "lifecycle-status", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "target-date", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "description", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Goal.read", "user/Goal.read"]}]}}, "/uscore/Immunization": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the Immunization resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Immunization with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "date", "in": "query", "required": false, "schema": {"type": "date"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Immunization.read", "user/Immunization.read"]}]}}, "/uscore/Immunization/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified Immunization resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Immunization with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Immunization.read", "user/Immunization.read"]}]}}, "/uscore/Immunization/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified Immunization resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Immunization with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Immunization.read", "user/Immunization.read"]}]}}, "/uscore/Immunization/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the Immunization resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Immunization with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Immunization.read", "user/Immunization.read"]}]}}, "/uscore/Immunization/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the Immunization resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Immunization with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "date", "in": "query", "required": false, "schema": {"type": "date"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Immunization.read", "user/Immunization.read"]}]}}, "/uscore/ImmunizationEvaluation/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified ImmunizationEvaluation resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A ImmunizationEvaluation with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/ImmunizationEvaluation.read", "user/ImmunizationEvaluation.read"]}]}}, "/uscore/ImmunizationEvaluation/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified ImmunizationEvaluation resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A ImmunizationEvaluation with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/ImmunizationEvaluation.read", "user/ImmunizationEvaluation.read"]}]}}, "/uscore/ImmunizationEvaluation/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the ImmunizationEvaluation resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A ImmunizationEvaluation with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/ImmunizationEvaluation.read", "user/ImmunizationEvaluation.read"]}]}}, "/uscore/ImmunizationEvaluation/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the ImmunizationEvaluation resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A ImmunizationEvaluation with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "date", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "identifier", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "target-disease", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "dose-status", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "immunization-event", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/ImmunizationEvaluation.read", "user/ImmunizationEvaluation.read"]}]}}, "/uscore/ImmunizationEvaluation": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the ImmunizationEvaluation resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A ImmunizationEvaluation with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "date", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "identifier", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "target-disease", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "dose-status", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "immunization-event", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/ImmunizationEvaluation.read", "user/ImmunizationEvaluation.read"]}]}}, "/uscore/ImmunizationRecommendation/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified ImmunizationRecommendation resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A ImmunizationRecommendation with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/ImmunizationRecommendation.read", "user/ImmunizationRecommendation.read"]}]}}, "/uscore/ImmunizationRecommendation/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified ImmunizationRecommendation resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A ImmunizationRecommendation with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/ImmunizationRecommendation.read", "user/ImmunizationRecommendation.read"]}]}}, "/uscore/ImmunizationRecommendation/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the ImmunizationRecommendation resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A ImmunizationRecommendation with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/ImmunizationRecommendation.read", "user/ImmunizationRecommendation.read"]}]}}, "/uscore/ImmunizationRecommendation/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the ImmunizationRecommendation resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A ImmunizationRecommendation with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "date", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "identifier", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "target-disease", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "vaccine-type", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "information", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "support", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/ImmunizationRecommendation.read", "user/ImmunizationRecommendation.read"]}]}}, "/uscore/ImmunizationRecommendation": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the ImmunizationRecommendation resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A ImmunizationRecommendation with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "date", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "identifier", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "target-disease", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "vaccine-type", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "information", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "support", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/ImmunizationRecommendation.read", "user/ImmunizationRecommendation.read"]}]}}, "/uscore/ImplementationGuide/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified ImplementationGuide resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A ImplementationGuide with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/ImplementationGuide.read", "user/ImplementationGuide.read"]}]}}, "/uscore/ImplementationGuide/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified ImplementationGuide resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A ImplementationGuide with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/ImplementationGuide.read", "user/ImplementationGuide.read"]}]}}, "/uscore/ImplementationGuide/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the ImplementationGuide resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A ImplementationGuide with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/ImplementationGuide.read", "user/ImplementationGuide.read"]}]}}, "/uscore/ImplementationGuide/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the ImplementationGuide resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A ImplementationGuide with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "date", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "context-type-value", "in": "query", "required": false, "schema": {"type": "composite"}}, {"name": "resource", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "jurisdiction", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "description", "in": "query", "required": false, "schema": {"type": "string"}}, {"name": "context-type", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "experimental", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "global", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "title", "in": "query", "required": false, "schema": {"type": "string"}}, {"name": "version", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "url", "in": "query", "required": false, "schema": {"type": "uri"}}, {"name": "context-quantity", "in": "query", "required": false, "schema": {"type": "quantity"}}, {"name": "depends-on", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "name", "in": "query", "required": false, "schema": {"type": "string"}}, {"name": "context", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "publisher", "in": "query", "required": false, "schema": {"type": "string"}}, {"name": "context-type-quantity", "in": "query", "required": false, "schema": {"type": "composite"}}, {"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/ImplementationGuide.read", "user/ImplementationGuide.read"]}]}}, "/uscore/ImplementationGuide": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the ImplementationGuide resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A ImplementationGuide with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "date", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "context-type-value", "in": "query", "required": false, "schema": {"type": "composite"}}, {"name": "resource", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "jurisdiction", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "description", "in": "query", "required": false, "schema": {"type": "string"}}, {"name": "context-type", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "experimental", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "global", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "title", "in": "query", "required": false, "schema": {"type": "string"}}, {"name": "version", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "url", "in": "query", "required": false, "schema": {"type": "uri"}}, {"name": "context-quantity", "in": "query", "required": false, "schema": {"type": "quantity"}}, {"name": "depends-on", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "name", "in": "query", "required": false, "schema": {"type": "string"}}, {"name": "context", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "publisher", "in": "query", "required": false, "schema": {"type": "string"}}, {"name": "context-type-quantity", "in": "query", "required": false, "schema": {"type": "composite"}}, {"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/ImplementationGuide.read", "user/ImplementationGuide.read"]}]}}, "/uscore/Location": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the Location resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Location with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "name", "in": "query", "required": false, "schema": {"type": "string"}}, {"name": "address", "in": "query", "required": false, "schema": {"type": "string"}}, {"name": "address-city", "in": "query", "required": false, "schema": {"type": "string"}}, {"name": "address-state", "in": "query", "required": false, "schema": {"type": "string"}}, {"name": "address-postalcode", "in": "query", "required": false, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Location.read", "user/Location.read"]}]}}, "/uscore/Location/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified Location resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Location with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Location.read", "user/Location.read"]}]}}, "/uscore/Location/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified Location resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Location with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Location.read", "user/Location.read"]}]}}, "/uscore/Location/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the Location resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Location with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Location.read", "user/Location.read"]}]}}, "/uscore/Location/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the Location resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Location with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "name", "in": "query", "required": false, "schema": {"type": "string"}}, {"name": "address", "in": "query", "required": false, "schema": {"type": "string"}}, {"name": "address-city", "in": "query", "required": false, "schema": {"type": "string"}}, {"name": "address-state", "in": "query", "required": false, "schema": {"type": "string"}}, {"name": "address-postalcode", "in": "query", "required": false, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Location.read", "user/Location.read"]}]}}, "/uscore/Medication": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the Medication resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Medication with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [], "security": [{"smart_on_fhir_oauth2": ["patient/Medication.read", "user/Medication.read"]}]}}, "/uscore/Medication/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified Medication resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Medication with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Medication.read", "user/Medication.read"]}]}}, "/uscore/Medication/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified Medication resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Medication with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Medication.read", "user/Medication.read"]}]}}, "/uscore/Medication/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the Medication resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Medication with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Medication.read", "user/Medication.read"]}]}}, "/uscore/Medication/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the Medication resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Medication with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [], "security": [{"smart_on_fhir_oauth2": ["patient/Medication.read", "user/Medication.read"]}]}}, "/uscore/MedicationDispense/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified MedicationDispense resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A MedicationDispense with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/MedicationDispense.read", "user/MedicationDispense.read"]}]}}, "/uscore/MedicationDispense/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified MedicationDispense resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A MedicationDispense with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/MedicationDispense.read", "user/MedicationDispense.read"]}]}}, "/uscore/MedicationDispense/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the MedicationDispense resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A MedicationDispense with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/MedicationDispense.read", "user/MedicationDispense.read"]}]}}, "/uscore/MedicationDispense/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the MedicationDispense resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A MedicationDispense with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "identifier", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "performer", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "code", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "receiver", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "subject", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "destination", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "medication", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "responsibleparty", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "type", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "whenhandedover", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "whenprepared", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "prescription", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "context", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/MedicationDispense.read", "user/MedicationDispense.read"]}]}}, "/uscore/MedicationDispense": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the MedicationDispense resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A MedicationDispense with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "identifier", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "performer", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "code", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "receiver", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "subject", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "destination", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "medication", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "responsibleparty", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "type", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "whenhandedover", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "whenprepared", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "prescription", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "context", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/MedicationDispense.read", "user/MedicationDispense.read"]}]}}, "/uscore/MedicationRequest": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the MedicationRequest resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A MedicationRequest with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "intent", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "encounter", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "authoredon", "in": "query", "required": false, "schema": {"type": "date"}}], "security": [{"smart_on_fhir_oauth2": ["patient/MedicationRequest.read", "user/MedicationRequest.read"]}]}}, "/uscore/MedicationRequest/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified MedicationRequest resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A MedicationRequest with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/MedicationRequest.read", "user/MedicationRequest.read"]}]}}, "/uscore/MedicationRequest/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified MedicationRequest resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A MedicationRequest with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/MedicationRequest.read", "user/MedicationRequest.read"]}]}}, "/uscore/MedicationRequest/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the MedicationRequest resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A MedicationRequest with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/MedicationRequest.read", "user/MedicationRequest.read"]}]}}, "/uscore/MedicationRequest/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the MedicationRequest resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A MedicationRequest with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "intent", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "encounter", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "authoredon", "in": "query", "required": false, "schema": {"type": "date"}}], "security": [{"smart_on_fhir_oauth2": ["patient/MedicationRequest.read", "user/MedicationRequest.read"]}]}}, "/uscore/MedicationStatement/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified MedicationStatement resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A MedicationStatement with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/MedicationStatement.read", "user/MedicationStatement.read"]}]}}, "/uscore/MedicationStatement/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified MedicationStatement resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A MedicationStatement with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/MedicationStatement.read", "user/MedicationStatement.read"]}]}}, "/uscore/MedicationStatement/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the MedicationStatement resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A MedicationStatement with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/MedicationStatement.read", "user/MedicationStatement.read"]}]}}, "/uscore/MedicationStatement/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the MedicationStatement resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A MedicationStatement with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "identifier", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "effective", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "code", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "subject", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "context", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "medication", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "part-of", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "source", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "category", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/MedicationStatement.read", "user/MedicationStatement.read"]}]}}, "/uscore/MedicationStatement": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the MedicationStatement resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A MedicationStatement with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "identifier", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "effective", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "code", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "subject", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "context", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "medication", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "part-of", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "source", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "category", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/MedicationStatement.read", "user/MedicationStatement.read"]}]}}, "/uscore/MedicationAdministration/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified MedicationAdministration resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A MedicationAdministration with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/MedicationAdministration.read", "user/MedicationAdministration.read"]}]}}, "/uscore/MedicationAdministration/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified MedicationAdministration resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A MedicationAdministration with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/MedicationAdministration.read", "user/MedicationAdministration.read"]}]}}, "/uscore/MedicationAdministration/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the MedicationAdministration resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A MedicationAdministration with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/MedicationAdministration.read", "user/MedicationAdministration.read"]}]}}, "/uscore/MedicationAdministration/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the MedicationAdministration resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A MedicationAdministration with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "identifier", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "request", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "code", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "performer", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "subject", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "medication", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "reason-given", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "effective-time", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "context", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "reason-not-given", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "device", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/MedicationAdministration.read", "user/MedicationAdministration.read"]}]}}, "/uscore/MedicationAdministration": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the MedicationAdministration resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A MedicationAdministration with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "identifier", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "request", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "code", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "performer", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "subject", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "medication", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "reason-given", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "effective-time", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "context", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "reason-not-given", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "device", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/MedicationAdministration.read", "user/MedicationAdministration.read"]}]}}, "/uscore/Observation": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the Observation resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Observation with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "category", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "code", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "date", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Observation.read", "user/Observation.read"]}]}}, "/uscore/Observation/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified Observation resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Observation with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Observation.read", "user/Observation.read"]}]}}, "/uscore/Observation/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified Observation resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Observation with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Observation.read", "user/Observation.read"]}]}}, "/uscore/Observation/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the Observation resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Observation with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Observation.read", "user/Observation.read"]}]}}, "/uscore/Observation/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the Observation resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Observation with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "category", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "code", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "date", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Observation.read", "user/Observation.read"]}]}}, "/uscore/Organization": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the Organization resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Organization with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "name", "in": "query", "required": false, "schema": {"type": "string"}}, {"name": "address", "in": "query", "required": false, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Organization.read", "user/Organization.read"]}]}}, "/uscore/Organization/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified Organization resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Organization with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Organization.read", "user/Organization.read"]}]}}, "/uscore/Organization/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified Organization resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Organization with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Organization.read", "user/Organization.read"]}]}}, "/uscore/Organization/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the Organization resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Organization with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Organization.read", "user/Organization.read"]}]}}, "/uscore/Organization/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the Organization resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Organization with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "name", "in": "query", "required": false, "schema": {"type": "string"}}, {"name": "address", "in": "query", "required": false, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Organization.read", "user/Organization.read"]}]}}, "/uscore/Patient": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the Patient resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Patient with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "_id", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "birthdate", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "family", "in": "query", "required": false, "schema": {"type": "string"}}, {"name": "gender", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "given", "in": "query", "required": false, "schema": {"type": "string"}}, {"name": "identifier", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "name", "in": "query", "required": false, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Patient.read", "user/Patient.read"]}]}}, "/uscore/Patient/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified Patient resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Patient with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Patient.read", "user/Patient.read"]}]}}, "/uscore/Patient/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified Patient resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Patient with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Patient.read", "user/Patient.read"]}]}}, "/uscore/Patient/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the Patient resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Patient with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Patient.read", "user/Patient.read"]}]}}, "/uscore/Patient/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the Patient resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Patient with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "_id", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "birthdate", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "family", "in": "query", "required": false, "schema": {"type": "string"}}, {"name": "gender", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "given", "in": "query", "required": false, "schema": {"type": "string"}}, {"name": "identifier", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "name", "in": "query", "required": false, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Patient.read", "user/Patient.read"]}]}}, "/uscore/Practitioner": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the Practitioner resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Practitioner with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "_id", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "name", "in": "query", "required": false, "schema": {"type": "string"}}, {"name": "identifier", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Practitioner.read", "user/Practitioner.read"]}]}}, "/uscore/Practitioner/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified Practitioner resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Practitioner with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Practitioner.read", "user/Practitioner.read"]}]}}, "/uscore/Practitioner/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified Practitioner resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Practitioner with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Practitioner.read", "user/Practitioner.read"]}]}}, "/uscore/Practitioner/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the Practitioner resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Practitioner with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Practitioner.read", "user/Practitioner.read"]}]}}, "/uscore/Practitioner/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the Practitioner resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Practitioner with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "_id", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "name", "in": "query", "required": false, "schema": {"type": "string"}}, {"name": "identifier", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Practitioner.read", "user/Practitioner.read"]}]}}, "/uscore/PractitionerRole": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the PractitionerRole resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A PractitionerRole with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "specialty", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "practitioner", "in": "query", "required": false, "schema": {"type": "reference"}}], "security": [{"smart_on_fhir_oauth2": ["patient/PractitionerRole.read", "user/PractitionerRole.read"]}]}}, "/uscore/PractitionerRole/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified PractitionerRole resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A PractitionerRole with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/PractitionerRole.read", "user/PractitionerRole.read"]}]}}, "/uscore/PractitionerRole/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified PractitionerRole resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A PractitionerRole with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/PractitionerRole.read", "user/PractitionerRole.read"]}]}}, "/uscore/PractitionerRole/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the PractitionerRole resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A PractitionerRole with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/PractitionerRole.read", "user/PractitionerRole.read"]}]}}, "/uscore/PractitionerRole/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the PractitionerRole resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A PractitionerRole with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "specialty", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "practitioner", "in": "query", "required": false, "schema": {"type": "reference"}}], "security": [{"smart_on_fhir_oauth2": ["patient/PractitionerRole.read", "user/PractitionerRole.read"]}]}}, "/uscore/Procedure": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the Procedure resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Procedure with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "date", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "code", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Procedure.read", "user/Procedure.read"]}]}}, "/uscore/Procedure/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified Procedure resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Procedure with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Procedure.read", "user/Procedure.read"]}]}}, "/uscore/Procedure/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified Procedure resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Procedure with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Procedure.read", "user/Procedure.read"]}]}}, "/uscore/Procedure/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the Procedure resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Procedure with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Procedure.read", "user/Procedure.read"]}]}}, "/uscore/Procedure/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the Procedure resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Procedure with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "date", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "code", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Procedure.read", "user/Procedure.read"]}]}}, "/uscore/Provenance": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the Provenance resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Provenance with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [], "security": [{"smart_on_fhir_oauth2": ["patient/Provenance.read", "user/Provenance.read"]}]}}, "/uscore/Provenance/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified Provenance resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Provenance with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Provenance.read", "user/Provenance.read"]}]}}, "/uscore/Provenance/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified Provenance resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Provenance with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Provenance.read", "user/Provenance.read"]}]}}, "/uscore/Provenance/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the Provenance resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Provenance with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Provenance.read", "user/Provenance.read"]}]}}, "/uscore/Provenance/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the Provenance resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Provenance with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [], "security": [{"smart_on_fhir_oauth2": ["patient/Provenance.read", "user/Provenance.read"]}]}}, "/uscore/QuestionnaireResponse": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the QuestionnaireResponse resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A QuestionnaireResponse with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "_id", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "_tag", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "authored", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "questionnaire", "in": "query", "required": false, "schema": {"type": "reference"}}], "security": [{"smart_on_fhir_oauth2": ["patient/QuestionnaireResponse.read", "user/QuestionnaireResponse.read"]}]}}, "/uscore/QuestionnaireResponse/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified QuestionnaireResponse resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A QuestionnaireResponse with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/QuestionnaireResponse.read", "user/QuestionnaireResponse.read"]}]}}, "/uscore/QuestionnaireResponse/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified QuestionnaireResponse resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A QuestionnaireResponse with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/QuestionnaireResponse.read", "user/QuestionnaireResponse.read"]}]}}, "/uscore/QuestionnaireResponse/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the QuestionnaireResponse resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A QuestionnaireResponse with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/QuestionnaireResponse.read", "user/QuestionnaireResponse.read"]}]}}, "/uscore/QuestionnaireResponse/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the QuestionnaireResponse resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A QuestionnaireResponse with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "_id", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "_tag", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "authored", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "questionnaire", "in": "query", "required": false, "schema": {"type": "reference"}}], "security": [{"smart_on_fhir_oauth2": ["patient/QuestionnaireResponse.read", "user/QuestionnaireResponse.read"]}]}}, "/uscore/RelatedPerson": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the RelatedPerson resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A RelatedPerson with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "_id", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}], "security": [{"smart_on_fhir_oauth2": ["patient/RelatedPerson.read", "user/RelatedPerson.read"]}]}}, "/uscore/RelatedPerson/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified RelatedPerson resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A RelatedPerson with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/RelatedPerson.read", "user/RelatedPerson.read"]}]}}, "/uscore/RelatedPerson/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified RelatedPerson resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A RelatedPerson with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/RelatedPerson.read", "user/RelatedPerson.read"]}]}}, "/uscore/RelatedPerson/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the RelatedPerson resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A RelatedPerson with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/RelatedPerson.read", "user/RelatedPerson.read"]}]}}, "/uscore/RelatedPerson/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the RelatedPerson resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A RelatedPerson with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "_id", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}], "security": [{"smart_on_fhir_oauth2": ["patient/RelatedPerson.read", "user/RelatedPerson.read"]}]}}, "/uscore/ServiceRequest": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of the ServiceRequest resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A ServiceRequest with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "category", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "code", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "authored", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "_id", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/ServiceRequest.read", "user/ServiceRequest.read"]}]}}, "/uscore/ServiceRequest/{rid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified ServiceRequest resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A ServiceRequest with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/ServiceRequest.read", "user/ServiceRequest.read"]}]}}, "/uscore/ServiceRequest/{rid}/_history/{hid}": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a specified ServiceRequest resource with a given resource id and a specific historical version", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A ServiceRequest with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "hid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/ServiceRequest.read", "user/ServiceRequest.read"]}]}}, "/uscore/ServiceRequest/{rid}/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the ServiceRequest resource with given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A ServiceRequest with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/ServiceRequest.read", "user/ServiceRequest.read"]}]}}, "/uscore/ServiceRequest/_history": {"get": {"tags": ["US Core Server Endpoints"], "description": "Returns a bundle of all versions for the ServiceRequest resource that match provided search parameters", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A ServiceRequest with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}, {"name": "category", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "code", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "authored", "in": "query", "required": false, "schema": {"type": "date"}}, {"name": "_id", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/ServiceRequest.read", "user/ServiceRequest.read"]}]}}}, "components": {"securitySchemes": {"smart_on_fhir_oauth2": {"type": "oauth2", "description": "Smart on FHIR implementation of OAuth2", "flows": {"authorizationCode": {"authorizationUrl": "http://onyx-slap-onyx-slap-v3.onyx-slap-wi-prd.svc.cluster.local.:8000//authorize?aud=http://fite.wi-prd.gw02.abacusinsights.ai/v1/api", "tokenUrl": "http://onyx-slap-onyx-slap-v3.onyx-slap-wi-prd.svc.cluster.local.:8000//token", "refreshUrl": "http://onyx-slap-onyx-slap-v3.onyx-slap-wi-prd.svc.cluster.local.:8000//refresh", "scopes": {"openid": "Permission to retrieve information about the current logged-in user", "fhirUser": "FHIR id of the logged in user", "launch/patient": "When launching outside the EHR, ask for a patient to be selected at launch time", "offline_access": "Request a refresh_token that can be used to obtain a new access token to replace an expired one, even after the end-user no long is online after the access token rexpire", "patient/AllergyIntolerance.read": "read a single patient's resources of type AllergyIntolerance", "user/AllergyIntolerance.read": "read multiple patient's resources of type AllergyIntolerance", "patient/CarePlan.read": "read a single patient's resources of type CarePlan", "user/CarePlan.read": "read multiple patient's resources of type CarePlan", "patient/CareTeam.read": "read a single patient's resources of type CareTeam", "user/CareTeam.read": "read multiple patient's resources of type CareTeam", "patient/Condition.read": "read a single patient's resources of type Condition", "user/Condition.read": "read multiple patient's resources of type Condition", "patient/CoverageEligibilityRequest.read": "read a single patient's resources of type CoverageEligibilityRequest", "user/CoverageEligibilityRequest.read": "read multiple patient's resources of type CoverageEligibilityRequest", "patient/CoverageEligibilityResponse.read": "read a single patient's resources of type CoverageEligibilityResponse", "user/CoverageEligibilityResponse.read": "read multiple patient's resources of type CoverageEligibilityResponse", "patient/Device.read": "read a single patient's resources of type Device", "user/Device.read": "read multiple patient's resources of type Device", "patient/DeviceDefinition.read": "read a single patient's resources of type DeviceDefinition", "user/DeviceDefinition.read": "read multiple patient's resources of type DeviceDefinition", "patient/DeviceMetric.read": "read a single patient's resources of type DeviceMetric", "user/DeviceMetric.read": "read multiple patient's resources of type DeviceMetric", "patient/DeviceRequest.read": "read a single patient's resources of type DeviceRequest", "user/DeviceRequest.read": "read multiple patient's resources of type DeviceRequest", "patient/DeviceUseStatement.read": "read a single patient's resources of type DeviceUseStatement", "user/DeviceUseStatement.read": "read multiple patient's resources of type DeviceUseStatement", "patient/DiagnosticReport.read": "read a single patient's resources of type DiagnosticReport", "user/DiagnosticReport.read": "read multiple patient's resources of type DiagnosticReport", "patient/DocumentReference.read": "read a single patient's resources of type DocumentReference", "user/DocumentReference.read": "read multiple patient's resources of type DocumentReference", "patient/Encounter.read": "read a single patient's resources of type Encounter", "user/Encounter.read": "read multiple patient's resources of type Encounter", "patient/Goal.read": "read a single patient's resources of type Goal", "user/Goal.read": "read multiple patient's resources of type Goal", "patient/Immunization.read": "read a single patient's resources of type Immunization", "user/Immunization.read": "read multiple patient's resources of type Immunization", "patient/ImmunizationEvaluation.read": "read a single patient's resources of type ImmunizationEvaluation", "user/ImmunizationEvaluation.read": "read multiple patient's resources of type ImmunizationEvaluation", "patient/ImmunizationRecommendation.read": "read a single patient's resources of type ImmunizationRecommendation", "user/ImmunizationRecommendation.read": "read multiple patient's resources of type ImmunizationRecommendation", "patient/ImplementationGuide.read": "read a single patient's resources of type ImplementationGuide", "user/ImplementationGuide.read": "read multiple patient's resources of type ImplementationGuide", "patient/Location.read": "read a single patient's resources of type Location", "user/Location.read": "read multiple patient's resources of type Location", "patient/Medication.read": "read a single patient's resources of type Medication", "user/Medication.read": "read multiple patient's resources of type Medication", "patient/MedicationDispense.read": "read a single patient's resources of type MedicationDispense", "user/MedicationDispense.read": "read multiple patient's resources of type MedicationDispense", "patient/MedicationRequest.read": "read a single patient's resources of type MedicationRequest", "user/MedicationRequest.read": "read multiple patient's resources of type MedicationRequest", "patient/MedicationStatement.read": "read a single patient's resources of type MedicationStatement", "user/MedicationStatement.read": "read multiple patient's resources of type MedicationStatement", "patient/MedicationAdministration.read": "read a single patient's resources of type MedicationAdministration", "user/MedicationAdministration.read": "read multiple patient's resources of type MedicationAdministration", "patient/Observation.read": "read a single patient's resources of type Observation", "user/Observation.read": "read multiple patient's resources of type Observation", "patient/Organization.read": "read a single patient's resources of type Organization", "user/Organization.read": "read multiple patient's resources of type Organization", "patient/Patient.read": "read a single patient's resources of type Patient", "user/Patient.read": "read multiple patient's resources of type Patient", "patient/Practitioner.read": "read a single patient's resources of type Practitioner", "user/Practitioner.read": "read multiple patient's resources of type Practitioner", "patient/PractitionerRole.read": "read a single patient's resources of type PractitionerRole", "user/PractitionerRole.read": "read multiple patient's resources of type PractitionerRole", "patient/Procedure.read": "read a single patient's resources of type Procedure", "user/Procedure.read": "read multiple patient's resources of type Procedure", "patient/Provenance.read": "read a single patient's resources of type Provenance", "user/Provenance.read": "read multiple patient's resources of type Provenance", "patient/QuestionnaireResponse.read": "read a single patient's resources of type QuestionnaireResponse", "user/QuestionnaireResponse.read": "read multiple patient's resources of type QuestionnaireResponse", "patient/RelatedPerson.read": "read a single patient's resources of type RelatedPerson", "user/RelatedPerson.read": "read multiple patient's resources of type RelatedPerson", "patient/ServiceRequest.read": "read a single patient's resources of type ServiceRequest", "user/ServiceRequest.read": "read multiple patient's resources of type ServiceRequest"}}}}}}}