{
  "resourceType" : "Parameters",
  "id" : "BookAppointmentRequestExample",
  "parameter" : [{
    "name" : "appointment-resource",
    "resource" : {
      "resourceType" : "Appointment",
      "id" : "001-2026-06-15T09-30-00-B9-E3-R1",
      "meta" : {
        "profile" : ["https://canonical.fhir.link/servicewell/wof-portal/StructureDefinition/portal-available-appointment"]
      },
      "extension" : [{
        "url" : "https://canonical.fhir.link/servicewell/wof-portal/StructureDefinition/activity-definition-reference",
        "valueReference" : {
          "reference" : "ActivityDefinition/50490e09-f308-4368-a64d-5df12661c48c",
          "display" : "Akut tandvård"
        }
      }],
      "identifier" : [{
        "system" : "http://canonical.fhir.link/servicewell/wof-connect/identifiercodesystem/slot-id",
        "value" : "001-2026-06-15T09-30-00-B9-E3-R1"
      },
      {
        "system" : "https://canonical.fhir.link/servicewell/wof-portal/identifier-system/endpoint-identifier-system-for-appointment",
        "value" : "e0a17fdc-c86c-42a6-82bb-a26b2402db97"
      }],
      "status" : "proposed",
      "serviceType" : [{
        "coding" : [{
          "system" : "http://portal.wof.purified.link/fhir/CodeSystem/csServiceType",
          "code" : "Akut",
          "display" : "Akut tandvård"
        }]
      }],
      "start" : "2026-06-15T07:30:00+00:00",
      "end" : "2026-06-15T07:50:00+00:00",
      "participant" : [{
        "actor" : {
          "reference" : "HealthcareService/7e2b91ad-5b3c-4a84-9c5e-1a6d2f8c4b17"
        },
        "status" : "accepted"
      },
      {
        "actor" : {
          "reference" : "PractitionerRole/89a530d3-7363-4a1b-9d86-df8802550319",
          "display" : "Tandläkare Olle Ohlsson"
        },
        "status" : "accepted"
      },
      {
        "actor" : {
          "identifier" : {
            "system" : "urn:oid:1.2.752.129.2.1.3.1",
            "value" : "17710325-8809"
          }
        },
        "status" : "accepted"
      }]
    }
  },
  {
    "name" : "patient-resource",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "17710325-8809-0000-0000-000000000000",
      "meta" : {
        "profile" : ["https://canonical.fhir.link/servicewell/wof-portal/StructureDefinition/portal-patient"]
      },
      "identifier" : [{
        "system" : "urn:oid:1.2.752.129.2.1.3.1",
        "value" : "17710325-8809"
      }],
      "name" : [{
        "text" : "Tester Testsson",
        "family" : "Testsson",
        "given" : ["Tester"]
      }],
      "telecom" : [{
        "system" : "phone",
        "value" : "+46701234567"
      },
      {
        "system" : "email",
        "value" : "patient@example.se"
      }]
    }
  },
  {
    "name" : "comment",
    "valueString" : "Patienten onskar tandlakarbesok fore kl 10.00."
  }]
}