{
  "resourceType": "StructureDefinition",
  "id": "42d2c15a-ea61-41f4-9772-80f1fdb46fbf",
  "meta": {
    "lastUpdated": "2020-11-16T08:49:53.85+00:00"
  },
  "url": "http://cambio.se/fhir/StructureDefinition/common-permittedPatientActions/v1",
  "name": "common-permittedPatientActions",
  "status": "draft",
  "date": "2020-09-10T09:10:50.0617363+00:00",
  "description": "Use to describe what a patient is permitted to do in the area of booking, rebooking and cancellations.",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "Appointment"
    },
    {
      "type": "element",
      "expression": "Slot"
    },
    {
      "type": "element",
      "expression": "HealthcareService"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "snapshot": {},
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "Use to describe what a patient is permitted to do",
        "definition": "Use to describe what a patient is permitted to do in the area of booking, rebooking and cancellations."
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "http://cambio.se/fhir/StructureDefinition/common-permittedPatientActions/v1"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "Extension.value[x].system",
        "path": "Extension.value[x].system",
        "min": 1
      },
      {
        "id": "Extension.value[x].code",
        "path": "Extension.value[x].code",
        "min": 1,
        "binding": {
          "strength": "required",
          "valueSet": "https://cambio.codes/vs/permitted-patient-appointment-actions/v1"
        }
      }
    ]
  }
}