{
  "opencollection": "1.0.0",
  "info": {
    "name": "athenahealth FHIR R4 API",
    "version": "25.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://api.platform.athenahealth.com/oauth2/v1/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Conformance",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Capability Statement",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.platform.athenahealth.com/fhir/r4/metadata"
          },
          "docs": "Get Capability Statement"
        }
      ]
    },
    {
      "info": {
        "name": "Patient",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Search Patients",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.platform.athenahealth.com/fhir/r4/Patient",
            "params": [
              {
                "name": "identifier",
                "value": "",
                "type": "query"
              },
              {
                "name": "family",
                "value": "",
                "type": "query"
              },
              {
                "name": "given",
                "value": "",
                "type": "query"
              },
              {
                "name": "birthdate",
                "value": "",
                "type": "query"
              },
              {
                "name": "_id",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Search Patients"
        },
        {
          "info": {
            "name": "Read Patient",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.platform.athenahealth.com/fhir/r4/Patient/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Read Patient"
        }
      ]
    },
    {
      "info": {
        "name": "Encounter",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Search Encounters",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.platform.athenahealth.com/fhir/r4/Encounter",
            "params": [
              {
                "name": "patient",
                "value": "",
                "type": "query"
              },
              {
                "name": "date",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Search Encounters"
        },
        {
          "info": {
            "name": "Read Encounter",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.platform.athenahealth.com/fhir/r4/Encounter/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Read Encounter"
        }
      ]
    },
    {
      "info": {
        "name": "Observation",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Search Observations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.platform.athenahealth.com/fhir/r4/Observation",
            "params": [
              {
                "name": "patient",
                "value": "",
                "type": "query"
              },
              {
                "name": "category",
                "value": "",
                "type": "query"
              },
              {
                "name": "code",
                "value": "",
                "type": "query"
              },
              {
                "name": "date",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Search Observations"
        }
      ]
    },
    {
      "info": {
        "name": "Condition",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Search Conditions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.platform.athenahealth.com/fhir/r4/Condition",
            "params": [
              {
                "name": "patient",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Search Conditions"
        }
      ]
    },
    {
      "info": {
        "name": "MedicationRequest",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Search Medication Requests",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.platform.athenahealth.com/fhir/r4/MedicationRequest",
            "params": [
              {
                "name": "patient",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Search Medication Requests"
        }
      ]
    },
    {
      "info": {
        "name": "AllergyIntolerance",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Search Allergies",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.platform.athenahealth.com/fhir/r4/AllergyIntolerance",
            "params": [
              {
                "name": "patient",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Search Allergies"
        }
      ]
    },
    {
      "info": {
        "name": "DocumentReference",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Search Document References",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.platform.athenahealth.com/fhir/r4/DocumentReference",
            "params": [
              {
                "name": "patient",
                "value": "",
                "type": "query"
              },
              {
                "name": "category",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Search Document References"
        }
      ]
    },
    {
      "info": {
        "name": "DiagnosticReport",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Search Diagnostic Reports",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.platform.athenahealth.com/fhir/r4/DiagnosticReport",
            "params": [
              {
                "name": "patient",
                "value": "",
                "type": "query"
              },
              {
                "name": "category",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Search Diagnostic Reports"
        }
      ]
    },
    {
      "info": {
        "name": "Immunization",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Search Immunizations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.platform.athenahealth.com/fhir/r4/Immunization",
            "params": [
              {
                "name": "patient",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Search Immunizations"
        }
      ]
    },
    {
      "info": {
        "name": "Appointment",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Search Appointments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.platform.athenahealth.com/fhir/r4/Appointment",
            "params": [
              {
                "name": "patient",
                "value": "",
                "type": "query"
              },
              {
                "name": "date",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Search Appointments"
        }
      ]
    }
  ],
  "bundled": true
}