{
  "resourceType": "StructureDefinition",
  "id": "pcm-request-catalog-update-parameters",
  "url": "http://pcm.fhir.health.gov.il/StructureDefinition/pcm-request-catalog-update-parameters",
  "version": "0.3.2",
  "name": "PCMRequestCatalogUpdateParameters",
  "title": "PCM Catalog Update Request Parameters",
  "status": "active",
  "description": "Closed Parameters request for a proposed non-material change to a canonical HealthcareService. The complete proposed canonical is compared with the current authoritative target.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Parameters",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Parameters",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Parameters.meta.versionId",
        "path": "Parameters.meta.versionId",
        "comment": "Server-managed FHIR metadata. Prohibited in client requests.",
        "max": "0"
      },
      {
        "id": "Parameters.meta.lastUpdated",
        "path": "Parameters.meta.lastUpdated",
        "comment": "Server-managed FHIR metadata. Prohibited in client requests.",
        "max": "0"
      },
      {
        "id": "Parameters.meta.source",
        "path": "Parameters.meta.source",
        "max": "0"
      },
      {
        "id": "Parameters.meta.profile",
        "path": "Parameters.meta.profile",
        "comment": "Clients may assert the interaction-specific request profile, but PCM validates the request shape independently and does not require this declaration."
      },
      {
        "id": "Parameters.meta.security",
        "path": "Parameters.meta.security",
        "max": "0"
      },
      {
        "id": "Parameters.meta.tag",
        "path": "Parameters.meta.tag",
        "max": "0"
      },
      {
        "id": "Parameters.implicitRules",
        "path": "Parameters.implicitRules",
        "max": "0"
      },
      {
        "id": "Parameters.language",
        "path": "Parameters.language",
        "max": "0"
      },
      {
        "id": "Parameters.parameter",
        "path": "Parameters.parameter",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "name"
            }
          ],
          "rules": "closed"
        },
        "min": 1
      },
      {
        "id": "Parameters.parameter.modifierExtension",
        "path": "Parameters.parameter.modifierExtension",
        "max": "0"
      },
      {
        "id": "Parameters.parameter:proposedCatalog",
        "path": "Parameters.parameter",
        "sliceName": "proposedCatalog",
        "comment": "Complete proposed canonical representation. Its id must match the operation target. Only name, extraDetails, and exampleQuery may differ semantically from the current canonical, and the proposed name must remain unique. Any difference in another known protected business field is material or unsupported and rejects the whole request. The outer Parameters meta.versionId and meta.lastUpdated are prohibited. Within proposedCatalog, optional meta.versionId, meta.lastUpdated, coding display text, representation ordering, and unknown ordinary non-modifier extensions are comparison-neutral. Unknown ordinary extensions are not interpreted or guaranteed to round-trip; unsupported modifier extensions are rejected. The active canonical remains unchanged until an active PCM/MoH decision approves a supported non-material change.",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Parameters.parameter:proposedCatalog.name",
        "path": "Parameters.parameter.name",
        "fixedString": "proposedCatalog"
      },
      {
        "id": "Parameters.parameter:proposedCatalog.value[x]",
        "path": "Parameters.parameter.value[x]",
        "max": "0"
      },
      {
        "id": "Parameters.parameter:proposedCatalog.resource",
        "path": "Parameters.parameter.resource",
        "min": 1,
        "type": [
          {
            "code": "HealthcareService",
            "profile": [
              "http://pcm.fhir.health.gov.il/StructureDefinition/pcm-healthcareservice-catalog-update-proposal"
            ]
          }
        ]
      },
      {
        "id": "Parameters.parameter:proposedCatalog.part",
        "path": "Parameters.parameter.part",
        "max": "0"
      },
      {
        "id": "Parameters.parameter:reason",
        "path": "Parameters.parameter",
        "sliceName": "reason",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Parameters.parameter:reason.name",
        "path": "Parameters.parameter.name",
        "fixedString": "reason"
      },
      {
        "id": "Parameters.parameter:reason.value[x]",
        "path": "Parameters.parameter.value[x]",
        "min": 1,
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Parameters.parameter:reason.resource",
        "path": "Parameters.parameter.resource",
        "max": "0"
      },
      {
        "id": "Parameters.parameter:reason.part",
        "path": "Parameters.parameter.part",
        "max": "0"
      }
    ]
  }
}