{"openapi":"3.0.1","info":{"title":"Patient Access API","description":"API FHIR R4 conforme a CMS-9115-F para el acceso de pacientes a sus datos de salud. Compatible con SMART App Launch 2.0, las clases de datos USCDI v3 y los perfiles CARIN Blue Button.","version":"v1"},"paths":{"/api/consent/me":{"get":{"tags":["Consent"],"summary":"The member's consent state for every disclosure category","parameters":[{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ConsentStateResponse"}}}}}}}},"/api/consent/me/{category}":{"put":{"tags":["Consent"],"summary":"Record or change the member's decision for one category","parameters":[{"name":"category","in":"path","required":true,"schema":{"type":"string"}},{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsentDecisionRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/ConsentDecisionRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ConsentDecisionRequest"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsentStateResponse"}}}}}}},"/api/consent/me/history":{"get":{"tags":["Consent"],"summary":"Every consent decision this member has made, newest first","parameters":[{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ConsentHistoryEntry"}}}}}}}},"/api/Patient":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: Patient","parameters":[{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/Bundle"}}}}}}},"/api/Patient/{id}":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: read Patient by id","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/Patient"}}}}}}},"/api/ExplanationOfBenefit":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: ExplanationOfBenefit","parameters":[{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/Bundle"}}}}}}},"/api/ExplanationOfBenefit/{id}":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: read ExplanationOfBenefit by id","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/ExplanationOfBenefit"}}}}}}},"/api/Claim":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: Claim","parameters":[{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/Bundle"}}}}}}},"/api/Claim/{id}":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: read Claim by id","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/Claim"}}}}}}},"/api/ClaimResponse":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: ClaimResponse","parameters":[{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/Bundle"}}}}}}},"/api/ClaimResponse/{id}":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: read ClaimResponse by id","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/ClaimResponse"}}}}}}},"/api/Coverage":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: Coverage","parameters":[{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/Bundle"}}}}}}},"/api/Coverage/{id}":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: read Coverage by id","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/Coverage"}}}}}}},"/api/Condition":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: Condition","parameters":[{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/Bundle"}}}}}}},"/api/Condition/{id}":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: read Condition by id","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/Condition"}}}}}}},"/api/Immunization":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: Immunization","parameters":[{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/Bundle"}}}}}}},"/api/Immunization/{id}":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: read Immunization by id","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/Immunization"}}}}}}},"/api/Encounter":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: Encounter","parameters":[{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/Bundle"}}}}}}},"/api/Encounter/{id}":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: read Encounter by id","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/Encounter"}}}}}}},"/api/Medication":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: Medication","parameters":[{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/Bundle"}}}}}}},"/api/Medication/{id}":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: read Medication by id","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/Medication"}}}}}}},"/api/MedicationRequest":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: MedicationRequest","parameters":[{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/Bundle"}}}}}}},"/api/MedicationRequest/{id}":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: read MedicationRequest by id","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/MedicationRequest"}}}}}}},"/api/Procedure":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: Procedure","parameters":[{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/Bundle"}}}}}}},"/api/Procedure/{id}":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: read Procedure by id","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/Procedure"}}}}}}},"/api/Observation":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: Observation","parameters":[{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/Bundle"}}}}}}},"/api/Observation/{id}":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: read Observation by id","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/Observation"}}}}}}},"/api/DiagnosticReport":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: DiagnosticReport","parameters":[{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/Bundle"}}}}}}},"/api/DiagnosticReport/{id}":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: read DiagnosticReport by id","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/DiagnosticReport"}}}}}}},"/api/AllergyIntolerance":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: AllergyIntolerance","parameters":[{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/Bundle"}}}}}}},"/api/AllergyIntolerance/{id}":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: read AllergyIntolerance by id","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/AllergyIntolerance"}}}}}}},"/api/CarePlan":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: CarePlan","parameters":[{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/Bundle"}}}}}}},"/api/CarePlan/{id}":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: read CarePlan by id","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/CarePlan"}}}}}}},"/api/CareTeam":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: CareTeam","parameters":[{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/Bundle"}}}}}}},"/api/CareTeam/{id}":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: read CareTeam by id","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/CareTeam"}}}}}}},"/api/Goal":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: Goal","parameters":[{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/Bundle"}}}}}}},"/api/Goal/{id}":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: read Goal by id","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/Goal"}}}}}}},"/api/DocumentReference":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: DocumentReference","parameters":[{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/Bundle"}}}}}}},"/api/DocumentReference/{id}":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: read DocumentReference by id","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/DocumentReference"}}}}}}},"/api/Device":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: Device","parameters":[{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/Bundle"}}}}}}},"/api/Device/{id}":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: read Device by id","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/Device"}}}}}}},"/api/Provenance":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: Provenance","parameters":[{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/Bundle"}}}}}}},"/api/Provenance/{id}":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: read Provenance by id","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/Provenance"}}}}}}},"/api/Organization":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: Organization","parameters":[{"name":"name","in":"query","schema":{"type":"string"}},{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/Bundle"}}}}}}},"/api/Organization/{id}":{"get":{"tags":["PatientAccess"],"summary":"The First Medical Patient Access API: read Organization by id","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/Organization"}}}}}}},"/.well-known/smart-configuration":{"get":{"tags":["SmartConfiguration"],"parameters":[{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmartConfiguration"}}}}}}},"/api/.well-known/smart-configuration":{"get":{"tags":["SmartConfiguration"],"parameters":[{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmartConfiguration"}}}}}}},"/metadata":{"get":{"tags":["SmartConfiguration"],"parameters":[{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/CapabilityStatement"}}}}}}},"/api/metadata":{"get":{"tags":["SmartConfiguration"],"parameters":[{"name":"api-version","in":"query","schema":{"type":"string"}},{"name":"x-api-version","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/fhir+json":{"schema":{"$ref":"#/components/schemas/CapabilityStatement"}}}}}}},"/health":{"get":{"tags":["Health"],"summary":"Health probe","operationId":"health-probe","responses":{"200":{"description":"Healthy, with build provenance (gitSha).","content":{"application/json":{"schema":{"required":["status","gitSha","buildNumber","builtAt"],"type":"object","properties":{"status":{"enum":["ok","degraded","unhealthy"],"type":"string"},"gitSha":{"type":"string"},"buildNumber":{"type":"string"},"builtAt":{"type":"string"},"redisKeyspaces":{"type":"object","properties":{"status":{"type":"string"},"refused":{"type":"array","items":{"type":"string"}}}}}}}}},"503":{"description":"A dependency check failed.","content":{"application/json":{"schema":{"required":["status","gitSha","buildNumber","builtAt"],"type":"object","properties":{"status":{"enum":["ok","degraded","unhealthy"],"type":"string"},"gitSha":{"type":"string"},"buildNumber":{"type":"string"},"builtAt":{"type":"string"},"redisKeyspaces":{"type":"object","properties":{"status":{"type":"string"},"refused":{"type":"array","items":{"type":"string"}}}}}}}}}}},"head":{"tags":["Health"],"summary":"Health probe (HEAD)","operationId":"head-health-probe","responses":{"200":{"description":"Healthy, with build provenance (gitSha).","content":{"application/json":{"schema":{"required":["status","gitSha","buildNumber","builtAt"],"type":"object","properties":{"status":{"enum":["ok","degraded","unhealthy"],"type":"string"},"gitSha":{"type":"string"},"buildNumber":{"type":"string"},"builtAt":{"type":"string"},"redisKeyspaces":{"type":"object","properties":{"status":{"type":"string"},"refused":{"type":"array","items":{"type":"string"}}}}}}}}},"503":{"description":"A dependency check failed.","content":{"application/json":{"schema":{"required":["status","gitSha","buildNumber","builtAt"],"type":"object","properties":{"status":{"enum":["ok","degraded","unhealthy"],"type":"string"},"gitSha":{"type":"string"},"buildNumber":{"type":"string"},"builtAt":{"type":"string"},"redisKeyspaces":{"type":"object","properties":{"status":{"type":"string"},"refused":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"/openapi.json":{"get":{"tags":["Discovery"],"summary":"This API's OpenAPI document","operationId":"get-openapi","responses":{"200":{"description":"The OpenAPI 3 document for this API.","content":{"application/json":{"schema":{"required":["openapi","info","paths"],"type":"object","properties":{"openapi":{"type":"string"},"info":{"type":"object"},"servers":{"type":"array","items":{"type":"object"}},"paths":{"type":"object"},"components":{"type":"object"}},"externalDocs":{"url":"https://spec.openapis.org/oas/v3.0.1"}}}}}}}}},"components":{"schemas":{"AllergyIntolerance":{"required":["resourceType"],"type":"object","properties":{"resourceType":{"enum":["AllergyIntolerance"],"type":"string"},"id":{"type":"string"},"meta":{"type":"object","properties":{"lastUpdated":{"type":"string","format":"date-time"},"profile":{"type":"array","items":{"type":"string"}}}}},"description":"A FHIR R4 AllergyIntolerance. Elements beyond these follow the FHIR R4 definition and the profiles the CapabilityStatement lists for this type.","externalDocs":{"url":"https://hl7.org/fhir/R4/allergyintolerance.html"}},"Bundle":{"required":["resourceType","type"],"type":"object","properties":{"resourceType":{"enum":["Bundle"],"type":"string"},"id":{"type":"string"},"meta":{"type":"object","properties":{"lastUpdated":{"type":"string","format":"date-time"},"profile":{"type":"array","items":{"type":"string"}}}},"type":{"enum":["searchset"],"type":"string"},"total":{"type":"integer"},"link":{"type":"array","items":{"type":"object","properties":{"relation":{"type":"string"},"url":{"type":"string","format":"uri"}}}},"entry":{"type":"array","items":{"type":"object","properties":{"fullUrl":{"type":"string","format":"uri"},"resource":{"$ref":"#/components/schemas/Resource"},"search":{"type":"object","properties":{"mode":{"enum":["match","include","outcome"],"type":"string"}}}}}}},"description":"A FHIR R4 searchset Bundle. Every entry is the member's own record; an entry with search.mode \"outcome\" is an OperationOutcome naming ignored parameters.","externalDocs":{"url":"https://hl7.org/fhir/R4/bundle.html"}},"CapabilityStatement":{"required":["resourceType"],"type":"object","properties":{"resourceType":{"enum":["CapabilityStatement"],"type":"string"},"id":{"type":"string"},"meta":{"type":"object","properties":{"lastUpdated":{"type":"string","format":"date-time"},"profile":{"type":"array","items":{"type":"string"}}}}},"description":"A FHIR R4 CapabilityStatement. Elements beyond these follow the FHIR R4 definition and the profiles the CapabilityStatement lists for this type.","externalDocs":{"url":"https://hl7.org/fhir/R4/capabilitystatement.html"}},"CarePlan":{"required":["resourceType"],"type":"object","properties":{"resourceType":{"enum":["CarePlan"],"type":"string"},"id":{"type":"string"},"meta":{"type":"object","properties":{"lastUpdated":{"type":"string","format":"date-time"},"profile":{"type":"array","items":{"type":"string"}}}}},"description":"A FHIR R4 CarePlan. Elements beyond these follow the FHIR R4 definition and the profiles the CapabilityStatement lists for this type.","externalDocs":{"url":"https://hl7.org/fhir/R4/careplan.html"}},"CareTeam":{"required":["resourceType"],"type":"object","properties":{"resourceType":{"enum":["CareTeam"],"type":"string"},"id":{"type":"string"},"meta":{"type":"object","properties":{"lastUpdated":{"type":"string","format":"date-time"},"profile":{"type":"array","items":{"type":"string"}}}}},"description":"A FHIR R4 CareTeam. Elements beyond these follow the FHIR R4 definition and the profiles the CapabilityStatement lists for this type.","externalDocs":{"url":"https://hl7.org/fhir/R4/careteam.html"}},"Claim":{"required":["resourceType"],"type":"object","properties":{"resourceType":{"enum":["Claim"],"type":"string"},"id":{"type":"string"},"meta":{"type":"object","properties":{"lastUpdated":{"type":"string","format":"date-time"},"profile":{"type":"array","items":{"type":"string"}}}}},"description":"A FHIR R4 Claim. Elements beyond these follow the FHIR R4 definition and the profiles the CapabilityStatement lists for this type.","externalDocs":{"url":"https://hl7.org/fhir/R4/claim.html"}},"ClaimResponse":{"required":["resourceType"],"type":"object","properties":{"resourceType":{"enum":["ClaimResponse"],"type":"string"},"id":{"type":"string"},"meta":{"type":"object","properties":{"lastUpdated":{"type":"string","format":"date-time"},"profile":{"type":"array","items":{"type":"string"}}}}},"description":"A FHIR R4 ClaimResponse. Elements beyond these follow the FHIR R4 definition and the profiles the CapabilityStatement lists for this type.","externalDocs":{"url":"https://hl7.org/fhir/R4/claimresponse.html"}},"Condition":{"required":["resourceType"],"type":"object","properties":{"resourceType":{"enum":["Condition"],"type":"string"},"id":{"type":"string"},"meta":{"type":"object","properties":{"lastUpdated":{"type":"string","format":"date-time"},"profile":{"type":"array","items":{"type":"string"}}}}},"description":"A FHIR R4 Condition. Elements beyond these follow the FHIR R4 definition and the profiles the CapabilityStatement lists for this type.","externalDocs":{"url":"https://hl7.org/fhir/R4/condition.html"}},"ConsentDecisionRequest":{"required":["optOut"],"type":"object","properties":{"optOut":{"type":"boolean","description":"True to opt out of disclosure, false to opt back in. Named for the\r\ndirection 42 CFR 422.121(a)(4)(i) names, so the field cannot be read\r\nbackwards."},"reason":{"type":"string","description":"Optional. Never required: the regulation conditions the right to opt out\r\non nothing, so a client must not make this mandatory.","nullable":true}},"additionalProperties":false,"description":"A member's request to change one category."},"ConsentHistoryEntry":{"required":["actorType","category","channel","decidedAt","inForce","optedOut"],"type":"object","properties":{"category":{"type":"string","nullable":true},"optedOut":{"type":"boolean"},"decidedAt":{"type":"string","format":"date-time"},"channel":{"type":"string","nullable":true},"actorType":{"type":"string","nullable":true},"inForce":{"type":"boolean"},"reason":{"type":"string","nullable":true}},"additionalProperties":false,"description":"One past decision, for the member's own history view."},"ConsentStateResponse":{"required":["category","changeable","decisionOnRecord","disclosurePermitted"],"type":"object","properties":{"category":{"type":"string","description":"Wire name of the category, for example `provider-access`.","nullable":true},"disclosurePermitted":{"type":"boolean","description":"True when data may currently be disclosed for this category. This is the\r\nanswer the member should see, already combining their decision with the\r\ncategory default, so no client has to know which way the default runs."},"decisionOnRecord":{"type":"boolean","description":"False when the member has never decided and the value above is the\r\ncategory default rather than their choice. A portal should say\r\n\"you have not chosen yet\" rather than implying an affirmative decision."},"changeable":{"type":"boolean","description":"Whether this category can be changed through this API. See PatientAccessApi.Models.ConsentStateResponse.ChangeableReason."},"changeableReason":{"type":"string","description":"Why a category cannot be changed here, when it cannot. Null otherwise.","nullable":true},"decidedAt":{"type":"string","format":"date-time","nullable":true},"channel":{"type":"string","nullable":true},"actorType":{"type":"string","nullable":true}},"additionalProperties":false,"description":"A member's consent state for one disclosure category, as the portal and any\r\nthird-party app see it."},"Coverage":{"required":["resourceType"],"type":"object","properties":{"resourceType":{"enum":["Coverage"],"type":"string"},"id":{"type":"string"},"meta":{"type":"object","properties":{"lastUpdated":{"type":"string","format":"date-time"},"profile":{"type":"array","items":{"type":"string"}}}}},"description":"A FHIR R4 Coverage. Elements beyond these follow the FHIR R4 definition and the profiles the CapabilityStatement lists for this type.","externalDocs":{"url":"https://hl7.org/fhir/R4/coverage.html"}},"Device":{"required":["resourceType"],"type":"object","properties":{"resourceType":{"enum":["Device"],"type":"string"},"id":{"type":"string"},"meta":{"type":"object","properties":{"lastUpdated":{"type":"string","format":"date-time"},"profile":{"type":"array","items":{"type":"string"}}}}},"description":"A FHIR R4 Device. Elements beyond these follow the FHIR R4 definition and the profiles the CapabilityStatement lists for this type.","externalDocs":{"url":"https://hl7.org/fhir/R4/device.html"}},"DiagnosticReport":{"required":["resourceType"],"type":"object","properties":{"resourceType":{"enum":["DiagnosticReport"],"type":"string"},"id":{"type":"string"},"meta":{"type":"object","properties":{"lastUpdated":{"type":"string","format":"date-time"},"profile":{"type":"array","items":{"type":"string"}}}}},"description":"A FHIR R4 DiagnosticReport. Elements beyond these follow the FHIR R4 definition and the profiles the CapabilityStatement lists for this type.","externalDocs":{"url":"https://hl7.org/fhir/R4/diagnosticreport.html"}},"DocumentReference":{"required":["resourceType"],"type":"object","properties":{"resourceType":{"enum":["DocumentReference"],"type":"string"},"id":{"type":"string"},"meta":{"type":"object","properties":{"lastUpdated":{"type":"string","format":"date-time"},"profile":{"type":"array","items":{"type":"string"}}}}},"description":"A FHIR R4 DocumentReference. Elements beyond these follow the FHIR R4 definition and the profiles the CapabilityStatement lists for this type.","externalDocs":{"url":"https://hl7.org/fhir/R4/documentreference.html"}},"Encounter":{"required":["resourceType"],"type":"object","properties":{"resourceType":{"enum":["Encounter"],"type":"string"},"id":{"type":"string"},"meta":{"type":"object","properties":{"lastUpdated":{"type":"string","format":"date-time"},"profile":{"type":"array","items":{"type":"string"}}}}},"description":"A FHIR R4 Encounter. Elements beyond these follow the FHIR R4 definition and the profiles the CapabilityStatement lists for this type.","externalDocs":{"url":"https://hl7.org/fhir/R4/encounter.html"}},"ExplanationOfBenefit":{"required":["resourceType"],"type":"object","properties":{"resourceType":{"enum":["ExplanationOfBenefit"],"type":"string"},"id":{"type":"string"},"meta":{"type":"object","properties":{"lastUpdated":{"type":"string","format":"date-time"},"profile":{"type":"array","items":{"type":"string"}}}}},"description":"A FHIR R4 ExplanationOfBenefit. Elements beyond these follow the FHIR R4 definition and the profiles the CapabilityStatement lists for this type.","externalDocs":{"url":"https://hl7.org/fhir/R4/explanationofbenefit.html"}},"Goal":{"required":["resourceType"],"type":"object","properties":{"resourceType":{"enum":["Goal"],"type":"string"},"id":{"type":"string"},"meta":{"type":"object","properties":{"lastUpdated":{"type":"string","format":"date-time"},"profile":{"type":"array","items":{"type":"string"}}}}},"description":"A FHIR R4 Goal. Elements beyond these follow the FHIR R4 definition and the profiles the CapabilityStatement lists for this type.","externalDocs":{"url":"https://hl7.org/fhir/R4/goal.html"}},"Immunization":{"required":["resourceType"],"type":"object","properties":{"resourceType":{"enum":["Immunization"],"type":"string"},"id":{"type":"string"},"meta":{"type":"object","properties":{"lastUpdated":{"type":"string","format":"date-time"},"profile":{"type":"array","items":{"type":"string"}}}}},"description":"A FHIR R4 Immunization. Elements beyond these follow the FHIR R4 definition and the profiles the CapabilityStatement lists for this type.","externalDocs":{"url":"https://hl7.org/fhir/R4/immunization.html"}},"Medication":{"required":["resourceType"],"type":"object","properties":{"resourceType":{"enum":["Medication"],"type":"string"},"id":{"type":"string"},"meta":{"type":"object","properties":{"lastUpdated":{"type":"string","format":"date-time"},"profile":{"type":"array","items":{"type":"string"}}}}},"description":"A FHIR R4 Medication. Elements beyond these follow the FHIR R4 definition and the profiles the CapabilityStatement lists for this type.","externalDocs":{"url":"https://hl7.org/fhir/R4/medication.html"}},"MedicationRequest":{"required":["resourceType"],"type":"object","properties":{"resourceType":{"enum":["MedicationRequest"],"type":"string"},"id":{"type":"string"},"meta":{"type":"object","properties":{"lastUpdated":{"type":"string","format":"date-time"},"profile":{"type":"array","items":{"type":"string"}}}}},"description":"A FHIR R4 MedicationRequest. Elements beyond these follow the FHIR R4 definition and the profiles the CapabilityStatement lists for this type.","externalDocs":{"url":"https://hl7.org/fhir/R4/medicationrequest.html"}},"Observation":{"required":["resourceType"],"type":"object","properties":{"resourceType":{"enum":["Observation"],"type":"string"},"id":{"type":"string"},"meta":{"type":"object","properties":{"lastUpdated":{"type":"string","format":"date-time"},"profile":{"type":"array","items":{"type":"string"}}}}},"description":"A FHIR R4 Observation. Elements beyond these follow the FHIR R4 definition and the profiles the CapabilityStatement lists for this type.","externalDocs":{"url":"https://hl7.org/fhir/R4/observation.html"}},"Organization":{"required":["resourceType"],"type":"object","properties":{"resourceType":{"enum":["Organization"],"type":"string"},"id":{"type":"string"},"meta":{"type":"object","properties":{"lastUpdated":{"type":"string","format":"date-time"},"profile":{"type":"array","items":{"type":"string"}}}}},"description":"A FHIR R4 Organization. Elements beyond these follow the FHIR R4 definition and the profiles the CapabilityStatement lists for this type.","externalDocs":{"url":"https://hl7.org/fhir/R4/organization.html"}},"Patient":{"required":["resourceType"],"type":"object","properties":{"resourceType":{"enum":["Patient"],"type":"string"},"id":{"type":"string"},"meta":{"type":"object","properties":{"lastUpdated":{"type":"string","format":"date-time"},"profile":{"type":"array","items":{"type":"string"}}}}},"description":"A FHIR R4 Patient. Elements beyond these follow the FHIR R4 definition and the profiles the CapabilityStatement lists for this type.","externalDocs":{"url":"https://hl7.org/fhir/R4/patient.html"}},"Procedure":{"required":["resourceType"],"type":"object","properties":{"resourceType":{"enum":["Procedure"],"type":"string"},"id":{"type":"string"},"meta":{"type":"object","properties":{"lastUpdated":{"type":"string","format":"date-time"},"profile":{"type":"array","items":{"type":"string"}}}}},"description":"A FHIR R4 Procedure. Elements beyond these follow the FHIR R4 definition and the profiles the CapabilityStatement lists for this type.","externalDocs":{"url":"https://hl7.org/fhir/R4/procedure.html"}},"Provenance":{"required":["resourceType"],"type":"object","properties":{"resourceType":{"enum":["Provenance"],"type":"string"},"id":{"type":"string"},"meta":{"type":"object","properties":{"lastUpdated":{"type":"string","format":"date-time"},"profile":{"type":"array","items":{"type":"string"}}}}},"description":"A FHIR R4 Provenance. Elements beyond these follow the FHIR R4 definition and the profiles the CapabilityStatement lists for this type.","externalDocs":{"url":"https://hl7.org/fhir/R4/provenance.html"}},"Resource":{"required":["resourceType"],"type":"object","properties":{"resourceType":{"type":"string"},"id":{"type":"string"},"meta":{"type":"object","properties":{"lastUpdated":{"type":"string","format":"date-time"},"profile":{"type":"array","items":{"type":"string"}}}}},"description":"A FHIR R4 resource.","externalDocs":{"url":"https://hl7.org/fhir/R4/resource.html"}},"SmartConfiguration":{"required":["capabilities","code_challenge_methods_supported"],"type":"object","properties":{"issuer":{"type":"string","format":"uri"},"authorization_endpoint":{"type":"string","format":"uri"},"token_endpoint":{"type":"string","format":"uri"},"jwks_uri":{"type":"string","format":"uri"},"revocation_endpoint":{"type":"string","format":"uri"},"introspection_endpoint":{"type":"string","format":"uri"},"token_endpoint_auth_methods_supported":{"type":"array","items":{"type":"string"}},"grant_types_supported":{"type":"array","items":{"type":"string"}},"scopes_supported":{"type":"array","items":{"type":"string"}},"response_types_supported":{"type":"array","items":{"type":"string"}},"capabilities":{"type":"array","items":{"type":"string"}},"code_challenge_methods_supported":{"type":"array","items":{"type":"string"}}},"description":"SMART App Launch 2.0 configuration (.well-known/smart-configuration).","externalDocs":{"url":"https://hl7.org/fhir/smart-app-launch/STU2/conformance.html"}}},"securitySchemes":{"Bearer":{"type":"http","description":"Paste a JWT token.","scheme":"Bearer","bearerFormat":"JWT"},"oauth2":{"type":"oauth2","description":"SMART App Launch 2.0, authorization code with PKCE S256. The full scope list is scopes_supported in .well-known/smart-configuration.","flows":{"authorizationCode":{"authorizationUrl":"https://apim-fmcom-interoppatientaccess-prod-001.azure-api.net/smart-auth/oauth2/authorize","tokenUrl":"https://apim-fmcom-interoppatientaccess-prod-001.azure-api.net/smart-auth/api/token","scopes":{"launch/patient":"Select the patient at launch","openid":"OpenID Connect","fhirUser":"The signed-in user's FHIR resource","offline_access":"Refresh token","patient/*.rs":"Read and search the patient's records (SMART v2)","patient/*.read":"Read and search the patient's records (SMART v1)"}}}}}},"security":[{"Bearer":[]},{"oauth2":[]}],"servers":[{"url":"https://apim-fmcom-interoppatientaccess-prod-001.azure-api.net/patient-access"}]}