{
  "opencollection": "1.0.0",
  "info": {
    "name": "athenahealth athenaOne REST AllergyIntolerance Patients API",
    "version": "1.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": "Patients",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Search Patients",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.platform.athenahealth.com/v1/{practiceid}/patients",
            "params": [
              {
                "name": "firstname",
                "value": "",
                "type": "query"
              },
              {
                "name": "lastname",
                "value": "",
                "type": "query"
              },
              {
                "name": "dob",
                "value": "",
                "type": "query"
              },
              {
                "name": "departmentid",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Search Patients"
        },
        {
          "info": {
            "name": "Create Patient",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.platform.athenahealth.com/v1/{practiceid}/patients",
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "Create Patient"
        },
        {
          "info": {
            "name": "Get Patient",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.platform.athenahealth.com/v1/{practiceid}/patients/:patientid",
            "params": [
              {
                "name": "patientid",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get Patient"
        },
        {
          "info": {
            "name": "Update Patient",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.platform.athenahealth.com/v1/{practiceid}/patients/:patientid",
            "params": [
              {
                "name": "patientid",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "Update Patient"
        }
      ]
    }
  ],
  "bundled": true
}