{
  "resourceType": "StructureDefinition",
  "url": "http://fhir.cezih.hr/specifikacije/StructureDefinition/HRCancelRepeatesRequestMessage",
  "name": "HRCancelPrescriptionRepeatesRequestMessage",
  "status": "draft",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Bundle",
  "baseDefinition": "http://fhir.cezih.hr/specifikacije/StructureDefinition/hr-request-message",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Bundle.entry",
        "path": "Bundle.entry",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "min": 2,
        "max": "2"
      },
      {
        "id": "Bundle.entry:messageHeader",
        "path": "Bundle.entry",
        "sliceName": "messageHeader",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:messageHeader.resource",
        "path": "Bundle.entry.resource",
        "type": [
          {
            "code": "Resource",
            "profile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/HRPrescriptionMessageHeader"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:ukidanjePonovljivosti",
        "path": "Bundle.entry",
        "sliceName": "ukidanjePonovljivosti",
        "short": "Recept kojem ukidamo ponovljivost",
        "definition": "Podaci o recept kojem ukidamo ponovljivost, autoru poruke i pacijentu.",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:ukidanjePonovljivosti.resource",
        "path": "Bundle.entry.resource",
        "type": [
          {
            "code": "Resource",
            "profile": [
              "http://fhir.cezih.hr/specifikacije/StructureDefinition/HRUkidanjePonovljivostiRecept"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:ukidanjePonovljivosti.resource.identifier",
        "path": "Bundle.entry.resource.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "closed"
        },
        "min": 1
      },
      {
        "id": "Bundle.entry:ukidanjePonovljivosti.resource.supportingInformation",
        "path": "Bundle.entry.resource.supportingInformation",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "identifier.system"
            }
          ],
          "rules": "closed"
        },
        "min": 1
      }
    ]
  }
}