{
  "opencollection": "1.0.0",
  "info": {
    "name": "Tenet Healthcare FHIR R4 Patient Appointments Conditions API",
    "version": "R4"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://auth.tenethealth.com/oauth2/authorize",
      "accessTokenUrl": "https://auth.tenethealth.com/oauth2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Conditions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Patient Conditions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tenethealth.com/fhir/r4/Patient/:id/Condition",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Patient FHIR resource ID"
              },
              {
                "name": "clinical-status",
                "value": "",
                "type": "query",
                "description": "Condition status (active, resolved, inactive)"
              }
            ]
          },
          "docs": "Retrieve active and historical conditions (diagnoses, problems, and health concerns) for a patient in FHIR Condition format with ICD-10 coding."
        }
      ]
    }
  ],
  "bundled": true
}