---
openapi: 3.0.1
info:
  title: HealthShareFHIRPatient
  description: This Section describes the expected capabilities of the US Core Server
    actor which is responsible for providing responses to the queries submitted by
    the US Core Requestors. The complete list of FHIR profiles, RESTful operations,
    and search parameters supported by 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 4 July 2023](https://www.healthit.gov/sites/isa/files/2023-07/Final-USCDI-Version-4-July-2023-Final.pdf).
  contact:
    name: HL7 International / Cross-Group Projects
    url: http://www.hl7.org/Special/committees/cgp
    email: cgp@lists.HL7.org
  version: v1
externalDocs:
  description: FHIR CapabilityStatement
  url: http://hl7.org/fhir/us/core/CapabilityStatement/us-core-server
servers:
- url: https://api.caresource.com/csp/healthshare/hsods/fhir/r4
security:
- OAuth.External:
  - patient/*.read
paths:
  "/DocumentReference/_history":
    get:
      summary: Read the past states of the resource
      operationId: histtypeDocumentReference
      responses:
        default:
          description: successful operation
  "/Patient/{rid}":
    get:
      summary: Read the current state of the resource
      operationId: readPatient
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/RelatedPerson/{rid}":
    get:
      summary: Read the current state of the resource
      operationId: readRelatedPerson
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Coverage/{rid}":
    get:
      summary: Read the current state of the resource
      operationId: readCoverage
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/ServiceRequest/{rid}/_history":
    get:
      summary: Read the past states of the resource
      operationId: histinstServiceRequest
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Location/{rid}":
    get:
      summary: Read the current state of the resource
      operationId: readLocation
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Specimen":
    get:
      summary: Search all resources of type Specimen based on a set of criteria
      operationId: searchSpecimen
      responses:
        default:
          description: successful operation
  "/DocumentReference/{rid}":
    get:
      summary: Read the current state of the resource
      operationId: readDocumentReference
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/QuestionnaireResponse/{rid}/_history":
    get:
      summary: Read the past states of the resource
      operationId: histinstQuestionnaireResponse
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Encounter":
    get:
      summary: Search all resources of type Encounter based on a set of criteria
      operationId: searchEncounter
      responses:
        default:
          description: successful operation
  "/Medication":
    get:
      summary: Search all resources of type Medication based on a set of criteria
      operationId: searchMedication
      responses:
        default:
          description: successful operation
  "/Immunization/{rid}/_history/{hid}":
    get:
      summary: Read a past state of the resource
      operationId: vreadImmunization
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      - name: hid
        in: path
        description: id of the history entry (=Resource.meta.versionId)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Encounter/{rid}":
    get:
      summary: Read the current state of the resource
      operationId: readEncounter
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Device":
    get:
      summary: Search all resources of type Device based on a set of criteria
      operationId: searchDevice
      responses:
        default:
          description: successful operation
  "/Location/{rid}/_history":
    get:
      summary: Read the past states of the resource
      operationId: histinstLocation
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/ServiceRequest/_history":
    get:
      summary: Read the past states of the resource
      operationId: histtypeServiceRequest
      responses:
        default:
          description: successful operation
  "/Goal":
    get:
      summary: Search all resources of type Goal based on a set of criteria
      operationId: searchGoal
      responses:
        default:
          description: successful operation
  "/Coverage/_history":
    get:
      summary: Read the past states of the resource
      operationId: histtypeCoverage
      responses:
        default:
          description: successful operation
  "/Location":
    get:
      summary: Search all resources of type Location based on a set of criteria
      operationId: searchLocation
      responses:
        default:
          description: successful operation
  "/Encounter/{rid}/_history/{hid}":
    get:
      summary: Read a past state of the resource
      operationId: vreadEncounter
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      - name: hid
        in: path
        description: id of the history entry (=Resource.meta.versionId)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Procedure/_history":
    get:
      summary: Read the past states of the resource
      operationId: histtypeProcedure
      responses:
        default:
          description: successful operation
  "/Condition/{rid}/_history/{hid}":
    get:
      summary: Read a past state of the resource
      operationId: vreadCondition
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      - name: hid
        in: path
        description: id of the history entry (=Resource.meta.versionId)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Immunization/{rid}":
    get:
      summary: Read the current state of the resource
      operationId: readImmunization
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Questionnaire":
    get:
      summary: Search all resources of type Questionnaire based on a set of criteria
      operationId: searchQuestionnaire
      responses:
        default:
          description: successful operation
  "/Provenance":
    get:
      summary: Search all resources of type Provenance based on a set of criteria
      operationId: searchProvenance
      responses:
        default:
          description: successful operation
  "/DiagnosticReport/{rid}/_history/{hid}":
    get:
      summary: Read a past state of the resource
      operationId: vreadDiagnosticReport
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      - name: hid
        in: path
        description: id of the history entry (=Resource.meta.versionId)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Questionnaire/{rid}/_history":
    get:
      summary: Read the past states of the resource
      operationId: histinstQuestionnaire
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Medication/{rid}/_history":
    get:
      summary: Read the past states of the resource
      operationId: histinstMedication
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Coverage/{rid}/_history":
    get:
      summary: Read the past states of the resource
      operationId: histinstCoverage
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Practitioner/_history":
    get:
      summary: Read the past states of the resource
      operationId: histtypePractitioner
      responses:
        default:
          description: successful operation
  "/MedicationDispense/{rid}/_history/{hid}":
    get:
      summary: Read a past state of the resource
      operationId: vreadMedicationDispense
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      - name: hid
        in: path
        description: id of the history entry (=Resource.meta.versionId)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/RelatedPerson/{rid}/_history":
    get:
      summary: Read the past states of the resource
      operationId: histinstRelatedPerson
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Patient/{rid}/_history/{hid}":
    get:
      summary: Read a past state of the resource
      operationId: vreadPatient
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      - name: hid
        in: path
        description: id of the history entry (=Resource.meta.versionId)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/DocumentReference":
    get:
      summary: Search all resources of type DocumentReference based on a set of criteria
      operationId: searchDocumentReference
      responses:
        default:
          description: successful operation
  "/Condition/{rid}/_history":
    get:
      summary: Read the past states of the resource
      operationId: histinstCondition
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Coverage/{rid}/_history/{hid}":
    get:
      summary: Read a past state of the resource
      operationId: vreadCoverage
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      - name: hid
        in: path
        description: id of the history entry (=Resource.meta.versionId)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/MedicationRequest/{rid}/_history":
    get:
      summary: Read the past states of the resource
      operationId: histinstMedicationRequest
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Patient/_history":
    get:
      summary: Read the past states of the resource
      operationId: histtypePatient
      responses:
        default:
          description: successful operation
  "/Medication/_history":
    get:
      summary: Read the past states of the resource
      operationId: histtypeMedication
      responses:
        default:
          description: successful operation
  "/MedicationDispense/{rid}/_history":
    get:
      summary: Read the past states of the resource
      operationId: histinstMedicationDispense
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/CareTeam/{rid}/_history/{hid}":
    get:
      summary: Read a past state of the resource
      operationId: vreadCareTeam
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      - name: hid
        in: path
        description: id of the history entry (=Resource.meta.versionId)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Medication/{rid}/_history/{hid}":
    get:
      summary: Read a past state of the resource
      operationId: vreadMedication
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      - name: hid
        in: path
        description: id of the history entry (=Resource.meta.versionId)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/MedicationRequest":
    get:
      summary: Search all resources of type MedicationRequest based on a set of criteria
      operationId: searchMedicationRequest
      responses:
        default:
          description: successful operation
  "/Specimen/{rid}/_history/{hid}":
    get:
      summary: Read a past state of the resource
      operationId: vreadSpecimen
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      - name: hid
        in: path
        description: id of the history entry (=Resource.meta.versionId)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Coverage":
    get:
      summary: Search all resources of type Coverage based on a set of criteria
      operationId: searchCoverage
      responses:
        default:
          description: successful operation
  "/Goal/_history":
    get:
      summary: Read the past states of the resource
      operationId: histtypeGoal
      responses:
        default:
          description: successful operation
  "/Media":
    get:
      summary: Search all resources of type Media based on a set of criteria
      operationId: searchMedia
      responses:
        default:
          description: successful operation
  "/CarePlan/{rid}/_history":
    get:
      summary: Read the past states of the resource
      operationId: histinstCarePlan
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/DiagnosticReport/{rid}":
    get:
      summary: Read the current state of the resource
      operationId: readDiagnosticReport
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/DiagnosticReport/{rid}/_history":
    get:
      summary: Read the past states of the resource
      operationId: histinstDiagnosticReport
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/PractitionerRole/{rid}":
    get:
      summary: Read the current state of the resource
      operationId: readPractitionerRole
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Encounter/_history":
    get:
      summary: Read the past states of the resource
      operationId: histtypeEncounter
      responses:
        default:
          description: successful operation
  "/PractitionerRole/_history":
    get:
      summary: Read the past states of the resource
      operationId: histtypePractitionerRole
      responses:
        default:
          description: successful operation
  "/Provenance/{rid}/_history/{hid}":
    get:
      summary: Read a past state of the resource
      operationId: vreadProvenance
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      - name: hid
        in: path
        description: id of the history entry (=Resource.meta.versionId)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Goal/{rid}/_history/{hid}":
    get:
      summary: Read a past state of the resource
      operationId: vreadGoal
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      - name: hid
        in: path
        description: id of the history entry (=Resource.meta.versionId)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Media/{rid}/_history":
    get:
      summary: Read the past states of the resource
      operationId: histinstMedia
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Practitioner/{rid}/_history":
    get:
      summary: Read the past states of the resource
      operationId: histinstPractitioner
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Patient/{rid}/_history":
    get:
      summary: Read the past states of the resource
      operationId: histinstPatient
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Endpoint/{rid}":
    get:
      summary: Read the current state of the resource
      operationId: readEndpoint
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Specimen/{rid}/_history":
    get:
      summary: Read the past states of the resource
      operationId: histinstSpecimen
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/MedicationRequest/_history":
    get:
      summary: Read the past states of the resource
      operationId: histtypeMedicationRequest
      responses:
        default:
          description: successful operation
  "/PractitionerRole/{rid}/_history":
    get:
      summary: Read the past states of the resource
      operationId: histinstPractitionerRole
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Provenance/{rid}":
    get:
      summary: Read the current state of the resource
      operationId: readProvenance
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Condition/{rid}":
    get:
      summary: Read the current state of the resource
      operationId: readCondition
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/ServiceRequest/{rid}/_history/{hid}":
    get:
      summary: Read a past state of the resource
      operationId: vreadServiceRequest
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      - name: hid
        in: path
        description: id of the history entry (=Resource.meta.versionId)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/RelatedPerson":
    get:
      summary: Search all resources of type RelatedPerson based on a set of criteria
      operationId: searchRelatedPerson
      responses:
        default:
          description: successful operation
  "/Patient":
    get:
      summary: Search all resources of type Patient based on a set of criteria
      operationId: searchPatient
      responses:
        default:
          description: successful operation
  "/RelatedPerson/_history":
    get:
      summary: Read the past states of the resource
      operationId: histtypeRelatedPerson
      responses:
        default:
          description: successful operation
  "/Specimen/_history":
    get:
      summary: Read the past states of the resource
      operationId: histtypeSpecimen
      responses:
        default:
          description: successful operation
  "/Observation":
    get:
      summary: Search all resources of type Observation based on a set of criteria
      operationId: searchObservation
      responses:
        default:
          description: successful operation
  "/CareTeam/{rid}/_history":
    get:
      summary: Read the past states of the resource
      operationId: histinstCareTeam
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Immunization":
    get:
      summary: Search all resources of type Immunization based on a set of criteria
      operationId: searchImmunization
      responses:
        default:
          description: successful operation
  "/CarePlan/_history":
    get:
      summary: Read the past states of the resource
      operationId: histtypeCarePlan
      responses:
        default:
          description: successful operation
  "/MedicationDispense":
    get:
      summary: Search all resources of type MedicationDispense based on a set of criteria
      operationId: searchMedicationDispense
      responses:
        default:
          description: successful operation
  "/MedicationRequest/{rid}":
    get:
      summary: Read the current state of the resource
      operationId: readMedicationRequest
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/HealthcareService/{rid}/_history":
    get:
      summary: Read the past states of the resource
      operationId: histinstHealthcareService
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Media/_history":
    get:
      summary: Read the past states of the resource
      operationId: histtypeMedia
      responses:
        default:
          description: successful operation
  "/PractitionerRole":
    get:
      summary: Search all resources of type PractitionerRole based on a set of criteria
      operationId: searchPractitionerRole
      responses:
        default:
          description: successful operation
  "/Organization/{rid}/_history":
    get:
      summary: Read the past states of the resource
      operationId: histinstOrganization
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Endpoint/_history":
    get:
      summary: Read the past states of the resource
      operationId: histtypeEndpoint
      responses:
        default:
          description: successful operation
  "/Questionnaire/{rid}/_history/{hid}":
    get:
      summary: Read a past state of the resource
      operationId: vreadQuestionnaire
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      - name: hid
        in: path
        description: id of the history entry (=Resource.meta.versionId)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Endpoint/{rid}/_history/{hid}":
    get:
      summary: Read a past state of the resource
      operationId: vreadEndpoint
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      - name: hid
        in: path
        description: id of the history entry (=Resource.meta.versionId)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/AllergyIntolerance/{rid}":
    get:
      summary: Read the current state of the resource
      operationId: readAllergyIntolerance
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/HealthcareService":
    get:
      summary: Search all resources of type HealthcareService based on a set of criteria
      operationId: searchHealthcareService
      responses:
        default:
          description: successful operation
  "/DiagnosticReport":
    get:
      summary: Search all resources of type DiagnosticReport based on a set of criteria
      operationId: searchDiagnosticReport
      responses:
        default:
          description: successful operation
  "/QuestionnaireResponse":
    get:
      summary: Search all resources of type QuestionnaireResponse based on a set of
        criteria
      operationId: searchQuestionnaireResponse
      responses:
        default:
          description: successful operation
  "/AllergyIntolerance/_history":
    get:
      summary: Read the past states of the resource
      operationId: histtypeAllergyIntolerance
      responses:
        default:
          description: successful operation
  "/Encounter/{rid}/_history":
    get:
      summary: Read the past states of the resource
      operationId: histinstEncounter
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Organization/_history":
    get:
      summary: Read the past states of the resource
      operationId: histtypeOrganization
      responses:
        default:
          description: successful operation
  "/QuestionnaireResponse/{rid}":
    get:
      summary: Read the current state of the resource
      operationId: readQuestionnaireResponse
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/AllergyIntolerance/{rid}/_history/{hid}":
    get:
      summary: Read a past state of the resource
      operationId: vreadAllergyIntolerance
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      - name: hid
        in: path
        description: id of the history entry (=Resource.meta.versionId)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Provenance/_history":
    get:
      summary: Read the past states of the resource
      operationId: histtypeProvenance
      responses:
        default:
          description: successful operation
  "/CareTeam/_history":
    get:
      summary: Read the past states of the resource
      operationId: histtypeCareTeam
      responses:
        default:
          description: successful operation
  "/AllergyIntolerance/{rid}/_history":
    get:
      summary: Read the past states of the resource
      operationId: histinstAllergyIntolerance
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/CareTeam":
    get:
      summary: Search all resources of type CareTeam based on a set of criteria
      operationId: searchCareTeam
      responses:
        default:
          description: successful operation
  "/HealthcareService/{rid}/_history/{hid}":
    get:
      summary: Read a past state of the resource
      operationId: vreadHealthcareService
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      - name: hid
        in: path
        description: id of the history entry (=Resource.meta.versionId)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/metadata":
    get:
      summary: Return the server's capability statement
      operationId: metadata
      responses:
        default:
          description: successful operation
  "/Questionnaire/_history":
    get:
      summary: Read the past states of the resource
      operationId: histtypeQuestionnaire
      responses:
        default:
          description: successful operation
  "/Procedure/{rid}/_history":
    get:
      summary: Read the past states of the resource
      operationId: histinstProcedure
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Procedure":
    get:
      summary: Search all resources of type Procedure based on a set of criteria
      operationId: searchProcedure
      responses:
        default:
          description: successful operation
  "/HealthcareService/_history":
    get:
      summary: Read the past states of the resource
      operationId: histtypeHealthcareService
      responses:
        default:
          description: successful operation
  "/MedicationDispense/_history":
    get:
      summary: Read the past states of the resource
      operationId: histtypeMedicationDispense
      responses:
        default:
          description: successful operation
  "/PractitionerRole/{rid}/_history/{hid}":
    get:
      summary: Read a past state of the resource
      operationId: vreadPractitionerRole
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      - name: hid
        in: path
        description: id of the history entry (=Resource.meta.versionId)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Observation/{rid}/_history":
    get:
      summary: Read the past states of the resource
      operationId: histinstObservation
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Immunization/_history":
    get:
      summary: Read the past states of the resource
      operationId: histtypeImmunization
      responses:
        default:
          description: successful operation
  "/Device/{rid}":
    get:
      summary: Read the current state of the resource
      operationId: readDevice
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/ServiceRequest":
    get:
      summary: Search all resources of type ServiceRequest based on a set of criteria
      operationId: searchServiceRequest
      responses:
        default:
          description: successful operation
  "/Observation/{rid}/_history/{hid}":
    get:
      summary: Read a past state of the resource
      operationId: vreadObservation
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      - name: hid
        in: path
        description: id of the history entry (=Resource.meta.versionId)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Device/_history":
    get:
      summary: Read the past states of the resource
      operationId: histtypeDevice
      responses:
        default:
          description: successful operation
  "/Organization":
    get:
      summary: Search all resources of type Organization based on a set of criteria
      operationId: searchOrganization
      responses:
        default:
          description: successful operation
  "/Goal/{rid}/_history":
    get:
      summary: Read the past states of the resource
      operationId: histinstGoal
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/QuestionnaireResponse/_history":
    get:
      summary: Read the past states of the resource
      operationId: histtypeQuestionnaireResponse
      responses:
        default:
          description: successful operation
  "/CarePlan":
    get:
      summary: Search all resources of type CarePlan based on a set of criteria
      operationId: searchCarePlan
      responses:
        default:
          description: successful operation
  "/Device/{rid}/_history/{hid}":
    get:
      summary: Read a past state of the resource
      operationId: vreadDevice
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      - name: hid
        in: path
        description: id of the history entry (=Resource.meta.versionId)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Condition":
    get:
      summary: Search all resources of type Condition based on a set of criteria
      operationId: searchCondition
      responses:
        default:
          description: successful operation
  "/Endpoint/{rid}/_history":
    get:
      summary: Read the past states of the resource
      operationId: histinstEndpoint
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Provenance/{rid}/_history":
    get:
      summary: Read the past states of the resource
      operationId: histinstProvenance
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Practitioner":
    get:
      summary: Search all resources of type Practitioner based on a set of criteria
      operationId: searchPractitioner
      responses:
        default:
          description: successful operation
  "/Media/{rid}":
    get:
      summary: Read the current state of the resource
      operationId: readMedia
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/HealthcareService/{rid}":
    get:
      summary: Read the current state of the resource
      operationId: readHealthcareService
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Location/{rid}/_history/{hid}":
    get:
      summary: Read a past state of the resource
      operationId: vreadLocation
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      - name: hid
        in: path
        description: id of the history entry (=Resource.meta.versionId)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/DocumentReference/{rid}/_history/{hid}":
    get:
      summary: Read a past state of the resource
      operationId: vreadDocumentReference
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      - name: hid
        in: path
        description: id of the history entry (=Resource.meta.versionId)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Device/{rid}/_history":
    get:
      summary: Read the past states of the resource
      operationId: histinstDevice
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Medication/{rid}":
    get:
      summary: Read the current state of the resource
      operationId: readMedication
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Condition/_history":
    get:
      summary: Read the past states of the resource
      operationId: histtypeCondition
      responses:
        default:
          description: successful operation
  "/Immunization/{rid}/_history":
    get:
      summary: Read the past states of the resource
      operationId: histinstImmunization
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/CareTeam/{rid}":
    get:
      summary: Read the current state of the resource
      operationId: readCareTeam
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/MedicationDispense/{rid}":
    get:
      summary: Read the current state of the resource
      operationId: readMedicationDispense
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Observation/_history":
    get:
      summary: Read the past states of the resource
      operationId: histtypeObservation
      responses:
        default:
          description: successful operation
  "/Organization/{rid}":
    get:
      summary: Read the current state of the resource
      operationId: readOrganization
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Location/_history":
    get:
      summary: Read the past states of the resource
      operationId: histtypeLocation
      responses:
        default:
          description: successful operation
  "/Media/{rid}/_history/{hid}":
    get:
      summary: Read a past state of the resource
      operationId: vreadMedia
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      - name: hid
        in: path
        description: id of the history entry (=Resource.meta.versionId)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Specimen/{rid}":
    get:
      summary: Read the current state of the resource
      operationId: readSpecimen
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Organization/{rid}/_history/{hid}":
    get:
      summary: Read a past state of the resource
      operationId: vreadOrganization
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      - name: hid
        in: path
        description: id of the history entry (=Resource.meta.versionId)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/DocumentReference/{rid}/_history":
    get:
      summary: Read the past states of the resource
      operationId: histinstDocumentReference
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/ServiceRequest/{rid}":
    get:
      summary: Read the current state of the resource
      operationId: readServiceRequest
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/MedicationRequest/{rid}/_history/{hid}":
    get:
      summary: Read a past state of the resource
      operationId: vreadMedicationRequest
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      - name: hid
        in: path
        description: id of the history entry (=Resource.meta.versionId)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Practitioner/{rid}/_history/{hid}":
    get:
      summary: Read a past state of the resource
      operationId: vreadPractitioner
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      - name: hid
        in: path
        description: id of the history entry (=Resource.meta.versionId)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/CarePlan/{rid}":
    get:
      summary: Read the current state of the resource
      operationId: readCarePlan
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Practitioner/{rid}":
    get:
      summary: Read the current state of the resource
      operationId: readPractitioner
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Goal/{rid}":
    get:
      summary: Read the current state of the resource
      operationId: readGoal
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/QuestionnaireResponse/{rid}/_history/{hid}":
    get:
      summary: Read a past state of the resource
      operationId: vreadQuestionnaireResponse
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      - name: hid
        in: path
        description: id of the history entry (=Resource.meta.versionId)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/DiagnosticReport/_history":
    get:
      summary: Read the past states of the resource
      operationId: histtypeDiagnosticReport
      responses:
        default:
          description: successful operation
  "/Procedure/{rid}":
    get:
      summary: Read the current state of the resource
      operationId: readProcedure
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Questionnaire/{rid}":
    get:
      summary: Read the current state of the resource
      operationId: readQuestionnaire
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/RelatedPerson/{rid}/_history/{hid}":
    get:
      summary: Read a past state of the resource
      operationId: vreadRelatedPerson
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      - name: hid
        in: path
        description: id of the history entry (=Resource.meta.versionId)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/AllergyIntolerance":
    get:
      summary: Search all resources of type AllergyIntolerance based on a set of criteria
      operationId: searchAllergyIntolerance
      responses:
        default:
          description: successful operation
  "/CarePlan/{rid}/_history/{hid}":
    get:
      summary: Read a past state of the resource
      operationId: vreadCarePlan
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      - name: hid
        in: path
        description: id of the history entry (=Resource.meta.versionId)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Endpoint":
    get:
      summary: Search all resources of type Endpoint based on a set of criteria
      operationId: searchEndpoint
      responses:
        default:
          description: successful operation
  "/Observation/{rid}":
    get:
      summary: Read the current state of the resource
      operationId: readObservation
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
  "/Procedure/{rid}/_history/{hid}":
    get:
      summary: Read a past state of the resource
      operationId: vreadProcedure
      parameters:
      - name: rid
        in: path
        description: id of the resource (=Resource.id)
        required: true
        schema:
          type: string
      - name: hid
        in: path
        description: id of the history entry (=Resource.meta.versionId)
        required: true
        schema:
          type: string
      responses:
        default:
          description: successful operation
components:
  securitySchemes:
    OAuth.External:
      type: oauth2
      description: OAuth (External)
      flows:
        implicit:
          authorizationUrl: https://localhost:8089/api/oauth/authorize
          scopes:
            patient/*.read: ''
          x-axway:
            typeDisplayName: OAuth 2.0
            scopesMatching: Any
            accessTokenLocation: HEADER
            tokenName: access_token
            authorizationHeaderPrefix: Bearer
        clientCredentials:
          tokenUrl: https://localhost:8089/api/oauth/token
          scopes:
            patient/*.read: ''
          x-axway:
            typeDisplayName: OAuth 2.0
            scopesMatching: Any
            accessTokenLocation: HEADER
            tokenName: access_token
            authorizationHeaderPrefix: Bearer
        authorizationCode:
          authorizationUrl: https://localhost:8089/api/oauth/authorize
          tokenUrl: https://localhost:8089/api/oauth/token
          scopes:
            patient/*.read: ''
          x-axway:
            typeDisplayName: OAuth 2.0
            scopesMatching: Any
            accessTokenLocation: HEADER
            clientIdName: client_id
            clientSecretName: client_secret
            tokenName: access_code
            authorizationHeaderPrefix: Bearer
x-axway:
  serviceType: rest
  basePaths:
  - https://api.caresource.com
  expired: false
  retirementDate: 0
  corsEnabled: true
  deprecated: false
  availableSDK:
    ios-swift: "/discovery/sdk/82752c2f-3f7d-4846-9146-5708922be9d0/ios-swift"
    android: "/discovery/sdk/82752c2f-3f7d-4846-9146-5708922be9d0/android"
    nodejs: "/discovery/sdk/82752c2f-3f7d-4846-9146-5708922be9d0/nodejs"
  apiResourceType: oas30
  id: 82752c2f-3f7d-4846-9146-5708922be9d0
  state: unpublished
  accessGrantedDate: 1740091542984