{
  "resourceType": "OperationDefinition",
  "id": "UpdateConsentEffectivePeriod",
  "url": "http://electronichealth.se/fhir/NDI/OperationDefinition/UpdateConsentEffectivePeriod",
  "description": "Updates effective period of a Consent resource.",
  "resource": [
    "Consent"
  ],
  "parameter": [
    {
      "name": "updatedBy",
      "documentation": "Identifier of person who is updating the Consent, with system and value.",
      "use": "in",
      "min": 1,
      "max": "1",
      "type": "Identifier"
    },
    {
      "name": "period",
      "documentation": "New effective period of Consent, with at least start time supplied.",
      "use": "in",
      "min": 1,
      "max": "1",
      "type": "Period"
    },
    {
      "name": "provisioningDestination",
      "documentation": "Identifier of organization to which the Consent effective period update should be provisioned, with system and value.",
      "use": "in",
      "min": 0,
      "max": "1",
      "type": "Identifier"
    },
    {
      "name": "return",
      "documentation": "Outcome of operation",
      "use": "out",
      "min": 1,
      "max": "1",
      "type": "OperationOutcome"
    }
  ],
  "status": "draft",
  "version": "0.1.0",
  "kind": "operation",
  "affectsState": true,
  "system": false,
  "type": false,
  "instance": true,
  "code": "update-period",
  "name": "UpdateConsentEffectivePeriod"
}