{
  "opencollection": "1.0.0",
  "info": {
    "name": "PointClickCare Long-Term Care EHR Assessments Patients 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": "Patients",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List residents/patients",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.pointclickcare.com/v2/patients",
            "params": [
              {
                "name": "facilityId",
                "value": "",
                "type": "query",
                "description": "Facility identifier"
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Filter by admission status"
              },
              {
                "name": "unitId",
                "value": "",
                "type": "query",
                "description": "Filter by unit/floor"
              },
              {
                "name": "updatedSince",
                "value": "",
                "type": "query",
                "description": "Return only records updated after this timestamp"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns a list of residents/patients at the specified facility."
        },
        {
          "info": {
            "name": "Get a resident/patient",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.pointclickcare.com/v2/patients/:patientId",
            "params": [
              {
                "name": "patientId",
                "value": "",
                "type": "path",
                "description": "PointClickCare resident/patient identifier"
              }
            ]
          },
          "docs": "Returns demographic and admission details for a single resident."
        }
      ]
    }
  ],
  "bundled": true
}