{
  "opencollection": "1.0.0",
  "info": {
    "name": "Tenet Healthcare FHIR R4 Patient 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": "Patients",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Patient",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tenethealth.com/fhir/r4/Patient/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Patient FHIR resource ID"
              }
            ]
          },
          "docs": "Retrieve a FHIR Patient resource by patient identifier. Returns patient demographic information including name, date of birth, gender, contact information, and insurance details."
        }
      ]
    },
    {
      "info": {
        "name": "Appointments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Patient Appointments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tenethealth.com/fhir/r4/Patient/:id/Appointment",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Patient FHIR resource ID"
              },
              {
                "name": "date",
                "value": "",
                "type": "query",
                "description": "Filter appointments by date (YYYY-MM-DD)"
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Filter by appointment status"
              }
            ]
          },
          "docs": "Retrieve all appointments for a specific patient including scheduled, pending, and completed appointments. Returns appointment date, time, provider, location, and appointment type."
        },
        {
          "info": {
            "name": "Search Appointments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tenethealth.com/fhir/r4/Appointment",
            "params": [
              {
                "name": "patient",
                "value": "",
                "type": "query",
                "description": "Patient reference (e.g., Patient/12345)"
              },
              {
                "name": "date",
                "value": "",
                "type": "query",
                "description": "Appointment date filter"
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Appointment status filter"
              },
              {
                "name": "_count",
                "value": "",
                "type": "query",
                "description": "Maximum results per page"
              }
            ]
          },
          "docs": "Search for appointments using FHIR search parameters. Supports filtering by patient, date range, practitioner, location, and appointment type."
        }
      ]
    },
    {
      "info": {
        "name": "Observations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Patient Observations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tenethealth.com/fhir/r4/Patient/:id/Observation",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Patient FHIR resource ID"
              },
              {
                "name": "category",
                "value": "",
                "type": "query",
                "description": "Observation category (vital-signs, laboratory, imaging, survey)"
              },
              {
                "name": "date",
                "value": "",
                "type": "query",
                "description": "Date range filter"
              },
              {
                "name": "_count",
                "value": "",
                "type": "query",
                "description": "Maximum results per page"
              }
            ]
          },
          "docs": "Retrieve clinical observations for a patient including vital signs, laboratory results, imaging results, and clinical assessments. Supports filtering by observation category and date range."
        }
      ]
    },
    {
      "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."
        }
      ]
    },
    {
      "info": {
        "name": "Medications",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Patient Medications",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tenethealth.com/fhir/r4/Patient/:id/MedicationRequest",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Patient FHIR resource ID"
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Medication request status (active, completed, cancelled)"
              }
            ]
          },
          "docs": "Retrieve medication requests (prescriptions) for a patient with drug name, dosage, frequency, prescriber, and prescription status."
        }
      ]
    },
    {
      "info": {
        "name": "Documents",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Patient Documents",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tenethealth.com/fhir/r4/Patient/:id/DocumentReference",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Patient FHIR resource ID"
              },
              {
                "name": "type",
                "value": "",
                "type": "query",
                "description": "Document type LOINC code"
              }
            ]
          },
          "docs": "Retrieve document references for a patient including clinical notes, discharge summaries, radiology reports, and consent documents. Returns document metadata and retrieval links."
        }
      ]
    }
  ],
  "bundled": true
}