{
  "resourceType" : "Bundle",
  "id" : "DigitalHealthService-list-requests-example",
  "type" : "collection",
  "entry" : [{
    "fullUrl" : "urn:uuid:0b3a9f9c-1111-4c0a-9e0a-000000000001",
    "resource" : {
      "resourceType" : "Parameters",
      "id" : "DigitalHealthService-list-requests-example-request",
      "parameter" : [{
        "name" : "digitalHealthServiceId",
        "valueIdentifier" : {
          "system" : "http://atostek.com/dipko/fhir/sid/digitalhealthservice",
          "value" : "OIREPVK-001"
        }
      },
      {
        "name" : "status",
        "valueCode" : "active"
      },
      {
        "name" : "patientIdentifier",
        "valueIdentifier" : {
          "system" : "urn:oid:1.2.246.21",
          "value" : "010101-900X"
        }
      }]
    }
  },
  {
    "fullUrl" : "urn:uuid:0b3a9f9c-2222-4c0a-9e0a-000000000002",
    "resource" : {
      "resourceType" : "Parameters",
      "id" : "DigitalHealthService-list-requests-example-response",
      "parameter" : [{
        "name" : "return",
        "resource" : {
          "resourceType" : "Bundle",
          "id" : "DigitalHealthService-list-requests-example-bundle",
          "type" : "searchset",
          "total" : 2,
          "entry" : [{
            "fullUrl" : "http://atostek.com/dipko/fhir/DeviceRequest/list-requests-example-1",
            "resource" : {
              "resourceType" : "DeviceRequest",
              "id" : "list-requests-example-1",
              "meta" : {
                "profile" : ["http://atostek.com/dipko/fhir/StructureDefinition/DigitalHealthServiceRequest"]
              },
              "extension" : [{
                "url" : "http://atostek.com/dipko/fhir/StructureDefinition/DigitalHealthServiceReference",
                "valueReference" : {
                  "reference" : "DeviceDefinition/DigitalHealthServiceExample-OirePvk",
                  "display" : "Oirepäiväkirja"
                }
              }],
              "identifier" : [{
                "system" : "http://atostek.com/dipko/fhir/sid/digitalhealthservicerequest",
                "value" : "OIREPVK-REQ-001"
              }],
              "status" : "active",
              "intent" : "order",
              "codeCodeableConcept" : {
                "text" : "Oirepäiväkirja"
              },
              "subject" : {
                "reference" : "Patient/OirePvkExample",
                "display" : "Pertti Esimerkki"
              },
              "occurrencePeriod" : {
                "start" : "2026-06-16T00:00:00+03:00",
                "end" : "2026-12-16T23:59:59+03:00"
              },
              "authoredOn" : "2026-06-16T10:00:00+03:00",
              "requester" : {
                "reference" : "PractitionerRole/OirePvkPrescriberRole",
                "display" : "Marja Lääkäri (lääkäri)"
              }
            },
            "search" : {
              "mode" : "match"
            }
          },
          {
            "fullUrl" : "http://atostek.com/dipko/fhir/DeviceRequest/list-requests-example-2",
            "resource" : {
              "resourceType" : "DeviceRequest",
              "id" : "list-requests-example-2",
              "meta" : {
                "profile" : ["http://atostek.com/dipko/fhir/StructureDefinition/DigitalHealthServiceRequest"]
              },
              "extension" : [{
                "url" : "http://atostek.com/dipko/fhir/StructureDefinition/DigitalHealthServiceReference",
                "valueReference" : {
                  "reference" : "DeviceDefinition/DigitalHealthServiceExample-OirePvk",
                  "display" : "Oirepäiväkirja"
                }
              }],
              "identifier" : [{
                "system" : "http://atostek.com/dipko/fhir/sid/digitalhealthservicerequest",
                "value" : "OIREPVK-REQ-002"
              }],
              "status" : "active",
              "intent" : "order",
              "codeCodeableConcept" : {
                "text" : "Oirepäiväkirja"
              },
              "subject" : {
                "reference" : "Patient/OirePvkExample",
                "display" : "Pertti Esimerkki"
              },
              "occurrencePeriod" : {
                "start" : "2026-06-20T00:00:00+03:00",
                "end" : "2026-12-20T23:59:59+03:00"
              },
              "authoredOn" : "2026-06-20T09:30:00+03:00",
              "requester" : {
                "reference" : "PractitionerRole/OirePvkPrescriberRole",
                "display" : "Marja Lääkäri (lääkäri)"
              }
            },
            "search" : {
              "mode" : "match"
            }
          }]
        }
      }]
    }
  }]
}