{
  "opencollection": "1.0.0",
  "info": {
    "name": "PointClickCare Long-Term Care EHR Assessments API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://login.pointclickcare.com/oauth2/authorize",
      "accessTokenUrl": "https://login.pointclickcare.com/oauth2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Assessments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List patient assessments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.pointclickcare.com/v2/patients/:patientId/assessments",
            "params": [
              {
                "name": "patientId",
                "value": "",
                "type": "path",
                "description": "PointClickCare resident/patient identifier"
              },
              {
                "name": "type",
                "value": "",
                "type": "query",
                "description": "Filter by assessment type"
              },
              {
                "name": "startDate",
                "value": "",
                "type": "query"
              },
              {
                "name": "endDate",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns clinical assessments (MDS, fall risk, skin assessment, etc.) for a resident."
        }
      ]
    }
  ],
  "bundled": true
}