{
  "name": "FHIR Appointment - Auto Detection",
  "nodes": [
    {
      "parameters": {
        "values": {
          "string": [
            {
              "name": "appointment_id",
              "value": "APT-AUTO-2024-789"
            },
            {
              "name": "visit_datetime",
              "value": "2024-12-22T14:15:00Z"
            },
            {
              "name": "appointment_status",
              "value": "confirmed"
            },
            {
              "name": "duration_minutes",
              "value": "45"
            },
            {
              "name": "visit_reason",
              "value": "Follow-up consultation for hypertension"
            },
            {
              "name": "patient_id",
              "value": "Patient/pt-12345"
            },
            {
              "name": "practitioner_id",
              "value": "Practitioner/dr-williams"
            },
            {
              "name": "location_id",
              "value": "Location/clinic-room-205"
            },
            {
              "name": "appointment_type",
              "value": "follow-up"
            },
            {
              "name": "priority_level",
              "value": "routine"
            },
            {
              "name": "created_date",
              "value": "2024-12-18T09:30:00Z"
            },
            {
              "name": "specialty_needed",
              "value": "Cardiology"
            },
            {
              "name": "service_category",
              "value": "Outpatient"
            },
            {
              "name": "service_type",
              "value": "Consultation"
            }
          ]
        }
      },
      "id": "appointment-auto-data",
      "name": "Standard Appointment Data",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.3,
      "position": [
        640,
        300
      ]
    },
    {
      "parameters": {
        "mode": "auto",
        "options": {
          "includeDetailedMapping": true
        }
      },
      "id": "fhir-appointment-auto",
      "name": "FHIR Appointment Auto-Detection",
      "type": "fhir-n8n-custom-nodes.fhirAppointment",
      "typeVersion": 1,
      "position": [
        860,
        300
      ]
    },
    {
      "parameters": {},
      "id": "manual-trigger-appointment",
      "name": "Manual Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        420,
        300
      ]
    }
  ],
  "connections": {
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "Standard Appointment Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Standard Appointment Data": {
      "main": [
        [
          {
            "node": "FHIR Appointment Auto-Detection",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {},
  "meta": {
    "created": "2024-12-18T08:40:00Z",
    "description": "Auto-detection of standard appointment scheduling data with high-confidence field matching"
  }
}