{
  "resourceType" : "Bundle",
  "id" : "DigitalHealthService-list-requests-by-register-example",
  "type" : "collection",
  "entry" : [{
    "fullUrl" : "urn:uuid:7e2c4a10-1111-4a0a-9e0a-000000000001",
    "resource" : {
      "resourceType" : "Parameters",
      "id" : "DigitalHealthService-list-requests-by-register-example-request",
      "parameter" : [{
        "name" : "digitalHealthServiceId",
        "valueIdentifier" : {
          "system" : "http://atostek.com/dipko/fhir/sid/digitalhealthservice",
          "value" : "OIREPVK-001"
        }
      },
      {
        "name" : "registerType",
        "valueCoding" : {
          "system" : "https://gen.kanta.fi/fhir/CodeSystem/fipta-cs-registertype",
          "code" : "1",
          "display" : "Julkisen terveydenhuollon rekisteri"
        }
      }]
    }
  },
  {
    "fullUrl" : "urn:uuid:7e2c4a10-2222-4a0a-9e0a-000000000002",
    "resource" : {
      "resourceType" : "Parameters",
      "id" : "DigitalHealthService-list-requests-by-register-example-response",
      "parameter" : [{
        "name" : "return",
        "resource" : {
          "resourceType" : "Bundle",
          "id" : "DigitalHealthService-list-requests-by-register-example-bundle",
          "type" : "searchset",
          "total" : 1,
          "entry" : [{
            "fullUrl" : "http://atostek.com/dipko/fhir/DeviceRequest/list-requests-by-register-example-1",
            "resource" : {
              "resourceType" : "DeviceRequest",
              "id" : "list-requests-by-register-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" : "completed",
              "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"
            }
          }]
        }
      }]
    }
  }]
}