{"openapi": "3.0.3", "info": {"title": "EPA", "description": "This statement defines the expected capabilities of payer systems supporting Electronic Prior Authorization (EPA), including CDS Hooks order-sign service, DTR questionnaire operations (questionnaire-package and next-question), ValueSet expansion, PAS claim submission and inquiry, and subscription-based prior authorization notifications.", "license": {"name": "Creative Commons Zero v1.0 Universal", "url": "http://spdx.org/licenses/CC0-1.0.html"}, "version": "2.1.0"}, "externalDocs": {"url": "", "description": "External Docs Description"}, "paths": {"/epa/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"}}}}}}}}, "/epa/Questionnaire/{rid}": {"get": {"tags": ["EPA"], "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"]}]}}, "/epa/Questionnaire": {"post": {"tags": ["EPA"], "description": "Creates a new Questionnaire 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-dtr/StructureDefinition/dtr-std-questionnaire"}}}}}, "security": [{"smart_on_fhir_oauth2": ["patient/Questionnaire.write", "user/Questionnaire.write"]}]}}, "/epa/Claim/{rid}": {"get": {"tags": ["EPA"], "description": "Returns a specified Claim 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 Claim with 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/Claim.read", "user/Claim.read"]}]}}, "/epa/Claim": {"post": {"tags": ["EPA"], "description": "Creates a new Claim resource", "responses": {"201": {"description": "Created"}}, "requestBody": {"description": "Section of resource to be updated", "required": true, "content": {"application/json": {"schema": {"type": "object", "externalDocs": {"url": "https://www.hl7.org/fhir/Claim.html"}}}}}, "security": [{"smart_on_fhir_oauth2": ["patient/Claim.write", "user/Claim.write"]}]}}}, "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-ri-prd.svc.cluster.local:8000//authorize?aud=http://fite.ri-prd.gw01.abacusinsights.ai/v1/api", "tokenUrl": "http://onyx-slap-onyx-slap-v3.onyx-slap-ri-prd.svc.cluster.local:8000//token", "refreshUrl": "http://onyx-slap-onyx-slap-v3.onyx-slap-ri-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/Questionnaire.read": "read a single patient's resources of type Questionnaire", "user/Questionnaire.read": "read multiple patient's resources of type Questionnaire", "patient/Questionnaire.write": "write a single patient's resources of type Questionnaire", "user/Questionnaire.write": "write multiple patient's resources of type Questionnaire", "patient/Claim.read": "read a single patient's resources of type Claim", "user/Claim.read": "read multiple patient's resources of type Claim", "patient/Claim.write": "write a single patient's resources of type Claim", "user/Claim.write": "write multiple patient's resources of type Claim"}}}}}}}