PackagesCanonicalsLogsProblems
    Packages
    no.nhn.fhir.helsenorge.profiles@2.5.23-beta
    http://helsenorge.no/fhir/StructureDefinition/hn-basis-slot
{
  "description": "Profil for slot i Helsenorge. Basert på FHIR Slot (R4)",
  "_filename": "StructureDefinition-hn-basis-slot.json",
  "package_name": "no.nhn.fhir.helsenorge.profiles",
  "date": null,
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.0.1",
  "jurisdiction": [ {
    "coding": [ {
      "code": "NO",
      "system": "urn:iso:std:iso:3166",
      "display": "Norway"
    } ]
  } ],
  "name": "HnBasisSlot",
  "abstract": false,
  "type": "Slot",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "HnBasisSlot",
  "package_version": "2.5.23-beta",
  "status": "draft",
  "id": "41b764ce-676c-4e68-9596-a4721e698242",
  "kind": "resource",
  "url": "http://helsenorge.no/fhir/StructureDefinition/hn-basis-slot",
  "version": "1.3.2",
  "differential": {
    "element": [ {
      "id": "Slot.identifier",
      "max": "1",
      "min": 1,
      "path": "Slot.identifier",
      "short": "Identifer must be UUID/GUID",
      "definition": "Identifer must be UUID/GUID"
    }, {
      "id": "Slot.identifier.system",
      "min": 1,
      "path": "Slot.identifier.system"
    }, {
      "id": "Slot.identifier.value",
      "min": 1,
      "path": "Slot.identifier.value"
    }, {
      "id": "Slot.identifier.assigner",
      "path": "Slot.identifier.assigner",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Organization", "http://hl7.no/fhir/StructureDefinition/no-basis-Organization" ]
      } ]
    }, {
      "id": "Slot.serviceCategory",
      "max": "1",
      "min": 1,
      "path": "Slot.serviceCategory",
      "binding": {
        "strength": "preferred",
        "valueSet": "http://hl7.org/fhir/ValueSet/service-category"
      }
    }, {
      "id": "Slot.serviceCategory.coding",
      "path": "Slot.serviceCategory.coding",
      "constraint": [ {
        "key": "inv-4",
        "human": "If code is used in a codable consept the system must be used",
        "source": "http://helsenorge.no/fhir/StructureDefinition/hn-basis-slot",
        "severity": "error",
        "expression": "code > '' implies (system > '' )"
      } ]
    }, {
      "id": "Slot.serviceType",
      "path": "Slot.serviceType",
      "binding": {
        "strength": "required",
        "valueSet": "http://helsenorge.no/fhir/ValueSet/hn-scheduleandslot-type-vs"
      }
    }, {
      "id": "Slot.serviceType.coding",
      "path": "Slot.serviceType.coding",
      "constraint": [ {
        "key": "inv-4",
        "human": "If code is used in a codable consept the system must be used",
        "source": "http://helsenorge.no/fhir/StructureDefinition/hn-basis-slot",
        "severity": "error",
        "expression": "code > '' implies (system > '' )"
      } ]
    }, {
      "id": "Slot.specialty.coding",
      "path": "Slot.specialty.coding",
      "constraint": [ {
        "key": "inv-4",
        "human": "If code is used in a codable consept the system must be used",
        "source": "http://helsenorge.no/fhir/StructureDefinition/hn-basis-slot",
        "severity": "error",
        "expression": "code > '' implies (system > '' )"
      } ]
    }, {
      "id": "Slot.appointmentType",
      "path": "Slot.appointmentType",
      "binding": {
        "strength": "required",
        "valueSet": "http://helsenorge.no/fhir/ValueSet/hn-scheduleandslot-type-vs"
      }
    }, {
      "id": "Slot.appointmentType.coding",
      "path": "Slot.appointmentType.coding",
      "constraint": [ {
        "key": "inv-4",
        "human": "If code is used in a codable consept the system must be used",
        "source": "http://helsenorge.no/fhir/StructureDefinition/hn-basis-slot",
        "severity": "error",
        "expression": "code > '' implies (system > '' )"
      } ]
    }, {
      "id": "Slot.schedule",
      "path": "Slot.schedule",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Schedule", "http://helsenorge.no/fhir/StructureDefinition/hn-basis-schedule" ]
      } ]
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Slot"
}