{"openapi": "3.0.3", "info": {"title": "Blues Association Home Plan Capability Statement", "description": "This Section describes the expected capabilities of the PDex Payer Access Server actor. It supports synchronous HRex member-match on Patient and the Patient/$everything bulk export operation used in the Payer-to-Payer (P2P) data exchange flow.", "license": {"name": "Creative Commons Zero v1.0 Universal", "url": "http://spdx.org/licenses/CC0-1.0.html"}, "version": "2.2.0", "contact": {"email": "fm@lists.HL7.org", "url": "http://www.hl7.org/Special/committees/fm"}}, "externalDocs": {"url": "http://hl7.org/fhir/us/davinci-pdex/ImplementationGuide/hl7.fhir.us.davinci-pdex", "description": "External Docs Description"}, "paths": {"/v1/api/blues-home/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"}}}}}}}}, "/v1/api/blues-home/Patient/{rid}": {"get": {"tags": ["Blues Association Home Plan Endpoints"], "description": "Returns a specified Patient resource with a given resource id", "responses": {"default": {"description": "Error, with details", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}, "200": {"description": "A Patient with specified resource id.", "content": {"application/fhir+json": {"schema": {"type": "object", "externalDocs": {"url": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome"}}}}}}, "parameters": [{"name": "rid", "in": "path", "required": true, "schema": {"type": "string"}}], "security": [{"smart_on_fhir_oauth2": ["patient/Patient.read", "user/Patient.read"]}]}}}, "components": {"securitySchemes": {"smart_on_fhir_oauth2": {"type": "oauth2", "description": "Smart on FHIR implementation of OAuth2", "flows": {"authorizationCode": {"authorizationUrl": "https://api-dmdh-alpha.safhir.io/v1/authorize?aud=https://api-dmdh-alpha.safhir.io/v1/api", "tokenUrl": "https://api-dmdh-alpha.safhir.io/v1/token", "refreshUrl": "https://api-dmdh-alpha.safhir.io/v1/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/Patient.read": "read a single patient's resources of type Patient", "user/Patient.read": "read multiple patient's resources of type Patient"}}}}}}}