{"openapi": "3.0.3", "info": {"title": "PDex Server CapabilityStatement with US core 6.1 support", "description": "This Section describes the expected capabilities of the PDex with US Core 6.1 Support Server actor which is responsible for providing responses to the queries submitted by the PDex Requestors. The complete list of FHIR profiles, RESTful operations, and search parameters supported by PDex and US Core Servers 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 the ONC [U.S. Core Data for Interoperability (USCDI) Version 3 July 2022](https://www.healthit.gov/isa/sites/isa/files/2022-07/USCDI-Version-3-July-2022-Final.pdf).  PDex Clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.", "license": {"name": "Creative Commons Zero v1.0 Universal", "url": "http://spdx.org/licenses/CC0-1.0.html"}, "version": "2.1.0", "contact": {"email": "mailto:mark.scrimshire@onyxhealth.io", "url": "http://www.hl7.org/Special/committees/fm"}}, "externalDocs": {"url": "http://hl7.org/fhir/smart-app-launch/ImplementationGuide/hl7.fhir.uv.smart-app-launch|2.1.0", "description": "External Docs Description"}, "paths": {"/pdexv2/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"}}}}}}}}, "/pdexv2/AllergyIntolerance": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/AllergyIntolerance/{rid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/AllergyIntolerance/{rid}/_history/{hid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/AllergyIntolerance/{rid}/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/AllergyIntolerance/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/CarePlan": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/CarePlan/{rid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/CarePlan/{rid}/_history/{hid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/CarePlan/{rid}/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/CarePlan/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/CareTeam": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/CareTeam/{rid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/CareTeam/{rid}/_history/{hid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/CareTeam/{rid}/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/CareTeam/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Condition": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Condition/{rid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Condition/{rid}/_history/{hid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Condition/{rid}/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Condition/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Consent/{rid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "description": "Returns a specified Consent 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 Consent 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/Consent.read", "user/Consent.read"]}]}}, "/pdexv2/Consent": {"post": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "description": "Creates a new Consent resource", "responses": {"201": {"description": "Created"}}, "requestBody": {"description": "Section of resource to be updated", "required": true, "content": {"application/json": {"schema": {"type": "object", "externalDocs": {"url": "http://hl7.org/fhir/us/davinci-pdex/StructureDefinition/pdex-provider-consent"}}}}}, "security": [{"smart_on_fhir_oauth2": ["patient/Consent.write", "user/Consent.write"]}]}, "get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "description": "Returns a bundle of the Consent 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 Consent 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": "string"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Consent.read", "user/Consent.read"]}]}}, "/pdexv2/Consent/{rid}/_history/{hid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "description": "Returns a specified Consent 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 Consent 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/Consent.read", "user/Consent.read"]}]}}, "/pdexv2/Consent/{rid}/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "description": "Returns a bundle of all versions for the Consent 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 Consent 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/Consent.read", "user/Consent.read"]}]}}, "/pdexv2/Consent/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "description": "Returns a bundle of all versions for the Consent 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 Consent 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": "string"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Consent.read", "user/Consent.read"]}]}}, "/pdexv2/Coverage": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "description": "Returns a bundle of the Coverage 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 Coverage 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"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Coverage.read", "user/Coverage.read"]}]}}, "/pdexv2/Coverage/{rid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "description": "Returns a specified Coverage 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 Coverage 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/Coverage.read", "user/Coverage.read"]}]}}, "/pdexv2/Coverage/{rid}/_history/{hid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "description": "Returns a specified Coverage 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 Coverage 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/Coverage.read", "user/Coverage.read"]}]}}, "/pdexv2/Coverage/{rid}/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "description": "Returns a bundle of all versions for the Coverage 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 Coverage 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/Coverage.read", "user/Coverage.read"]}]}}, "/pdexv2/Coverage/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "description": "Returns a bundle of all versions for the Coverage 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 Coverage 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"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Coverage.read", "user/Coverage.read"]}]}}, "/pdexv2/Device": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"}}, {"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Device.read", "user/Device.read"]}]}}, "/pdexv2/Device/{rid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Device/{rid}/_history/{hid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Device/{rid}/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Device/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"}}, {"name": "status", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Device.read", "user/Device.read"]}]}}, "/pdexv2/DiagnosticReport": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/DiagnosticReport/{rid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/DiagnosticReport/{rid}/_history/{hid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/DiagnosticReport/{rid}/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/DiagnosticReport/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/DocumentReference": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/DocumentReference/{rid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/DocumentReference/{rid}/_history/{hid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/DocumentReference/{rid}/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/DocumentReference/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Encounter": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Encounter/{rid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Encounter/{rid}/_history/{hid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Encounter/{rid}/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Encounter/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Endpoint": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "description": "Returns a bundle of the Endpoint 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 Endpoint 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/Endpoint.read", "user/Endpoint.read"]}]}}, "/pdexv2/Endpoint/{rid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "description": "Returns a specified Endpoint 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 Endpoint 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/Endpoint.read", "user/Endpoint.read"]}]}}, "/pdexv2/Endpoint/{rid}/_history/{hid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "description": "Returns a specified Endpoint 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 Endpoint 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/Endpoint.read", "user/Endpoint.read"]}]}}, "/pdexv2/Endpoint/{rid}/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "description": "Returns a bundle of all versions for the Endpoint 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 Endpoint 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/Endpoint.read", "user/Endpoint.read"]}]}}, "/pdexv2/Endpoint/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "description": "Returns a bundle of all versions for the Endpoint 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 Endpoint 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/Endpoint.read", "user/Endpoint.read"]}]}}, "/pdexv2/Goal": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Goal/{rid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Goal/{rid}/_history/{hid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Goal/{rid}/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Goal/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Group": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "description": "Returns a bundle of the Group 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 Group 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": "characteristic", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Group.read", "user/Group.read"]}]}}, "/pdexv2/Group/{rid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "description": "Returns a specified Group 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 Group 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/Group.read", "user/Group.read"]}]}}, "/pdexv2/Group/{rid}/_history/{hid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "description": "Returns a specified Group 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 Group 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/Group.read", "user/Group.read"]}]}}, "/pdexv2/Group/{rid}/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "description": "Returns a bundle of all versions for the Group 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 Group 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/Group.read", "user/Group.read"]}]}}, "/pdexv2/Group/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "description": "Returns a bundle of all versions for the Group 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 Group 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": "characteristic", "in": "query", "required": false, "schema": {"type": "token"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Group.read", "user/Group.read"]}]}}, "/pdexv2/Immunization": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Immunization/{rid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Immunization/{rid}/_history/{hid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Immunization/{rid}/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Immunization/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Location": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Location/{rid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Location/{rid}/_history/{hid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Location/{rid}/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Location/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Medication": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Medication/{rid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Medication/{rid}/_history/{hid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Medication/{rid}/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Medication/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/MedicationDispense": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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": "status", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "type", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}], "security": [{"smart_on_fhir_oauth2": ["patient/MedicationDispense.read", "user/MedicationDispense.read"]}]}}, "/pdexv2/MedicationDispense/{rid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/MedicationDispense/{rid}/_history/{hid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/MedicationDispense/{rid}/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/MedicationDispense/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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": "status", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "type", "in": "query", "required": false, "schema": {"type": "token"}}, {"name": "patient", "in": "query", "required": false, "schema": {"type": "reference"}}], "security": [{"smart_on_fhir_oauth2": ["patient/MedicationDispense.read", "user/MedicationDispense.read"]}]}}, "/pdexv2/MedicationRequest": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/MedicationRequest/{rid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/MedicationRequest/{rid}/_history/{hid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/MedicationRequest/{rid}/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/MedicationRequest/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Observation": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Observation/{rid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Observation/{rid}/_history/{hid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Observation/{rid}/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Observation/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Organization": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Organization/{rid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Organization/{rid}/_history/{hid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Organization/{rid}/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Organization/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Patient": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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": "death-date", "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"]}]}}, "/pdexv2/Patient/{rid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Patient/{rid}/_history/{hid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Patient/{rid}/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Patient/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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": "death-date", "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"]}]}}, "/pdexv2/Practitioner": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Practitioner/{rid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Practitioner/{rid}/_history/{hid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Practitioner/{rid}/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Practitioner/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/PractitionerRole": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/PractitionerRole/{rid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/PractitionerRole/{rid}/_history/{hid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/PractitionerRole/{rid}/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/PractitionerRole/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Procedure": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Procedure/{rid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Procedure/{rid}/_history/{hid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Procedure/{rid}/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Procedure/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Provenance": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Provenance/{rid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Provenance/{rid}/_history/{hid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Provenance/{rid}/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Provenance/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Questionnaire": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "description": "Returns a bundle of the Questionnaire 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 Questionnaire 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/Questionnaire.read", "user/Questionnaire.read"]}]}}, "/pdexv2/Questionnaire/{rid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "description": "Returns a specified Questionnaire 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 Questionnaire 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/Questionnaire.read", "user/Questionnaire.read"]}]}}, "/pdexv2/Questionnaire/{rid}/_history/{hid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "description": "Returns a specified Questionnaire 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 Questionnaire 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/Questionnaire.read", "user/Questionnaire.read"]}]}}, "/pdexv2/Questionnaire/{rid}/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "description": "Returns a bundle of all versions for the Questionnaire 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 Questionnaire 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/Questionnaire.read", "user/Questionnaire.read"]}]}}, "/pdexv2/Questionnaire/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "description": "Returns a bundle of all versions for the Questionnaire 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 Questionnaire 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/Questionnaire.read", "user/Questionnaire.read"]}]}}, "/pdexv2/QuestionnaireResponse": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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": "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"]}]}}, "/pdexv2/QuestionnaireResponse/{rid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/QuestionnaireResponse/{rid}/_history/{hid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/QuestionnaireResponse/{rid}/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/QuestionnaireResponse/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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": "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"]}]}}, "/pdexv2/RelatedPerson": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"}}, {"name": "name", "in": "query", "required": false, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/RelatedPerson.read", "user/RelatedPerson.read"]}]}}, "/pdexv2/RelatedPerson/{rid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/RelatedPerson/{rid}/_history/{hid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/RelatedPerson/{rid}/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/RelatedPerson/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"}}, {"name": "name", "in": "query", "required": false, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/RelatedPerson.read", "user/RelatedPerson.read"]}]}}, "/pdexv2/ServiceRequest": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/ServiceRequest/{rid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/ServiceRequest/{rid}/_history/{hid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/ServiceRequest/{rid}/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/ServiceRequest/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "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"]}]}}, "/pdexv2/Specimen": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "description": "Returns a bundle of the Specimen 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 Specimen 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/Specimen.read", "user/Specimen.read"]}]}}, "/pdexv2/Specimen/{rid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "description": "Returns a specified Specimen 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 Specimen 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/Specimen.read", "user/Specimen.read"]}]}}, "/pdexv2/Specimen/{rid}/_history/{hid}": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "description": "Returns a specified Specimen 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 Specimen 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/Specimen.read", "user/Specimen.read"]}]}}, "/pdexv2/Specimen/{rid}/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "description": "Returns a bundle of all versions for the Specimen 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 Specimen 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/Specimen.read", "user/Specimen.read"]}]}}, "/pdexv2/Specimen/_history": {"get": {"tags": ["PDex Server Endpoints with US core 6.1 support"], "description": "Returns a bundle of all versions for the Specimen 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 Specimen 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/Specimen.read", "user/Specimen.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-pa-prd.svc.cluster.local.:8000//authorize?aud=http://fite.pa-prd.gw03.abacusinsights.ai/v1/api", "tokenUrl": "http://onyx-slap-onyx-slap-v3.onyx-slap-pa-prd.svc.cluster.local.:8000//token", "refreshUrl": "http://onyx-slap-onyx-slap-v3.onyx-slap-pa-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/Consent.read": "read a single patient's resources of type Consent", "user/Consent.read": "read multiple patient's resources of type Consent", "patient/Consent.write": "write a single patient's resources of type Consent", "user/Consent.write": "write multiple patient's resources of type Consent", "patient/Coverage.read": "read a single patient's resources of type Coverage", "user/Coverage.read": "read multiple patient's resources of type Coverage", "patient/Device.read": "read a single patient's resources of type Device", "user/Device.read": "read multiple patient's resources of type Device", "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/Endpoint.read": "read a single patient's resources of type Endpoint", "user/Endpoint.read": "read multiple patient's resources of type Endpoint", "patient/Goal.read": "read a single patient's resources of type Goal", "user/Goal.read": "read multiple patient's resources of type Goal", "patient/Group.read": "read a single patient's resources of type Group", "user/Group.read": "read multiple patient's resources of type Group", "patient/Immunization.read": "read a single patient's resources of type Immunization", "user/Immunization.read": "read multiple patient's resources of type Immunization", "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/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/Questionnaire.read": "read a single patient's resources of type Questionnaire", "user/Questionnaire.read": "read multiple patient's resources of type Questionnaire", "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", "patient/Specimen.read": "read a single patient's resources of type Specimen", "user/Specimen.read": "read multiple patient's resources of type Specimen"}}}}}}}