{
  "resourceType": "StructureDefinition",
  "id": "b81ac446-8bac-4188-b2c0-6edae3b23022",
  "meta": {
    "lastUpdated": "2022-11-01T14:16:31.2546045+00:00"
  },
  "url": "http://helsedirektoratet.no/fhir/StructureDefinition/hdir-PractitionerRoleSubstitute-v1",
  "name": "HdirPractitionerRoleSubstituteV1",
  "status": "draft",
  "date": "2022-11-01T14:17:31.5381136+00:00",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "servd",
      "uri": "http://www.omg.org/spec/ServD/1.0/",
      "name": "ServD"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "PractitionerRole",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "PractitionerRole",
        "path": "PractitionerRole",
        "constraint": [
          {
            "key": "single-active-helfoAccount",
            "severity": "error",
            "human": "Kan bare være 1 aktiv Helfo bank konto",
            "expression": "telecom.where(extension('http://helsedirektoratet.no/fhir/StructureDefinition/hdir-Ubw-Firma').value = 'ST' and (use.empty() or use != 'old')).count() <= 1"
          },
          {
            "key": "single-active-hdirAccount",
            "severity": "error",
            "human": "Kan bare være 1 aktiv Hdir bank konto",
            "expression": "telecom.where(extension('http://helsedirektoratet.no/fhir/StructureDefinition/hdir-Ubw-Firma').value = '1S' and (use.empty() or use != 'old')).count() <= 1"
          }
        ]
      },
      {
        "id": "PractitionerRole.meta",
        "path": "PractitionerRole.meta"
      },
      {
        "id": "PractitionerRole.meta.security",
        "path": "PractitionerRole.meta.security",
        "max": "0"
      },
      {
        "id": "PractitionerRole.implicitRules",
        "path": "PractitionerRole.implicitRules",
        "max": "0"
      },
      {
        "id": "PractitionerRole.language",
        "path": "PractitionerRole.language",
        "max": "0"
      },
      {
        "id": "PractitionerRole.text",
        "path": "PractitionerRole.text",
        "max": "0"
      },
      {
        "id": "PractitionerRole.contained",
        "path": "PractitionerRole.contained",
        "max": "0"
      },
      {
        "id": "PractitionerRole.extension",
        "path": "PractitionerRole.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "PractitionerRole.extension:substituted",
        "path": "PractitionerRole.extension",
        "sliceName": "substituted",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://helsedirektoratet.no/fhir/StructureDefinition/hdir-Replaces"
            ]
          }
        ]
      },
      {
        "id": "PractitionerRole.extension:substituted.extension",
        "path": "PractitionerRole.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 2
      },
      {
        "id": "PractitionerRole.extension:substituted.extension:reference",
        "path": "PractitionerRole.extension.extension",
        "sliceName": "reference",
        "min": 1
      },
      {
        "id": "PractitionerRole.extension:substituted.extension:reference.value[x]",
        "path": "PractitionerRole.extension.extension.value[x]",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/PractitionerRole"
            ]
          }
        ]
      },
      {
        "id": "PractitionerRole.extension:substituted.extension:type",
        "path": "PractitionerRole.extension.extension",
        "sliceName": "type",
        "min": 1
      },
      {
        "id": "PractitionerRole.extension:substituted.extension:type.value[x].coding",
        "path": "PractitionerRole.extension.extension.value[x].coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "PractitionerRole.extension:substituted.extension:type.value[x].coding.system",
        "path": "PractitionerRole.extension.extension.value[x].coding.system",
        "min": 1,
        "fixedUri": "http://hint.helsedirektoratet.no/kodeverk/api/kodeverk/hdir-relasjonstype"
      },
      {
        "id": "PractitionerRole.extension:substituted.extension:type.value[x].coding.version",
        "path": "PractitionerRole.extension.extension.value[x].coding.version",
        "max": "0"
      },
      {
        "id": "PractitionerRole.extension:substituted.extension:type.value[x].coding.code",
        "path": "PractitionerRole.extension.extension.value[x].coding.code",
        "min": 1,
        "fixedCode": "vikar-for"
      },
      {
        "id": "PractitionerRole.extension:substituted.extension:type.value[x].coding.userSelected",
        "path": "PractitionerRole.extension.extension.value[x].coding.userSelected",
        "max": "0"
      },
      {
        "id": "PractitionerRole.extension:usePractitionerEmail",
        "path": "PractitionerRole.extension",
        "sliceName": "usePractitionerEmail",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://helsedirektoratet.no/fhir/StructureDefinition/hdir-UsePractitionerEmail"
            ]
          }
        ]
      },
      {
        "id": "PractitionerRole.extension:usePractitionerEmail.value[x]",
        "path": "PractitionerRole.extension.value[x]",
        "fixedBoolean": true
      },
      {
        "id": "PractitionerRole.identifier",
        "path": "PractitionerRole.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "closed"
        },
        "min": 1
      },
      {
        "id": "PractitionerRole.identifier:FLO",
        "path": "PractitionerRole.identifier",
        "sliceName": "FLO"
      },
      {
        "id": "PractitionerRole.identifier:FLO.use",
        "path": "PractitionerRole.identifier.use",
        "max": "0"
      },
      {
        "id": "PractitionerRole.identifier:FLO.type",
        "path": "PractitionerRole.identifier.type",
        "max": "0"
      },
      {
        "id": "PractitionerRole.identifier:FLO.system",
        "path": "PractitionerRole.identifier.system",
        "min": 1,
        "fixedUri": "hdir:flo:legeperiodeid"
      },
      {
        "id": "PractitionerRole.identifier:FLO.value",
        "path": "PractitionerRole.identifier.value",
        "min": 1
      },
      {
        "id": "PractitionerRole.identifier:FLO.period",
        "path": "PractitionerRole.identifier.period",
        "max": "0"
      },
      {
        "id": "PractitionerRole.identifier:FLO.assigner",
        "path": "PractitionerRole.identifier.assigner",
        "max": "0"
      },
      {
        "id": "PractitionerRole.identifier:SAR-Praksis",
        "path": "PractitionerRole.identifier",
        "sliceName": "SAR-Praksis"
      },
      {
        "id": "PractitionerRole.identifier:SAR-Praksis.use",
        "path": "PractitionerRole.identifier.use",
        "max": "0"
      },
      {
        "id": "PractitionerRole.identifier:SAR-Praksis.type",
        "path": "PractitionerRole.identifier.type",
        "max": "0"
      },
      {
        "id": "PractitionerRole.identifier:SAR-Praksis.system",
        "path": "PractitionerRole.identifier.system",
        "min": 1,
        "fixedUri": "hdir:sar:praksisid"
      },
      {
        "id": "PractitionerRole.identifier:SAR-Praksis.value",
        "path": "PractitionerRole.identifier.value",
        "min": 1
      },
      {
        "id": "PractitionerRole.identifier:SAR-Praksis.period",
        "path": "PractitionerRole.identifier.period",
        "max": "0"
      },
      {
        "id": "PractitionerRole.identifier:SAR-Praksis.assigner",
        "path": "PractitionerRole.identifier.assigner",
        "max": "0"
      },
      {
        "id": "PractitionerRole.identifier:SAR-Vikar",
        "path": "PractitionerRole.identifier",
        "sliceName": "SAR-Vikar",
        "max": "1"
      },
      {
        "id": "PractitionerRole.identifier:SAR-Vikar.use",
        "path": "PractitionerRole.identifier.use",
        "max": "0"
      },
      {
        "id": "PractitionerRole.identifier:SAR-Vikar.type",
        "path": "PractitionerRole.identifier.type",
        "max": "0"
      },
      {
        "id": "PractitionerRole.identifier:SAR-Vikar.system",
        "path": "PractitionerRole.identifier.system",
        "min": 1,
        "fixedUri": "hdir:sar:praksis-vikarid"
      },
      {
        "id": "PractitionerRole.identifier:SAR-Vikar.value",
        "path": "PractitionerRole.identifier.value",
        "min": 1
      },
      {
        "id": "PractitionerRole.identifier:SAR-Vikar.period",
        "path": "PractitionerRole.identifier.period",
        "max": "0"
      },
      {
        "id": "PractitionerRole.identifier:SAR-Vikar.assigner",
        "path": "PractitionerRole.identifier.assigner",
        "max": "0"
      },
      {
        "id": "PractitionerRole.identifier:SAR-VikarPeriode",
        "path": "PractitionerRole.identifier",
        "sliceName": "SAR-VikarPeriode",
        "max": "1"
      },
      {
        "id": "PractitionerRole.identifier:SAR-VikarPeriode.use",
        "path": "PractitionerRole.identifier.use",
        "max": "0"
      },
      {
        "id": "PractitionerRole.identifier:SAR-VikarPeriode.type",
        "path": "PractitionerRole.identifier.type",
        "max": "0"
      },
      {
        "id": "PractitionerRole.identifier:SAR-VikarPeriode.system",
        "path": "PractitionerRole.identifier.system",
        "min": 1,
        "fixedUri": "hdir:sar:vikar-periode"
      },
      {
        "id": "PractitionerRole.identifier:SAR-VikarPeriode.value",
        "path": "PractitionerRole.identifier.value",
        "min": 1
      },
      {
        "id": "PractitionerRole.identifier:SAR-VikarPeriode.period",
        "path": "PractitionerRole.identifier.period",
        "max": "0"
      },
      {
        "id": "PractitionerRole.identifier:SAR-VikarPeriode.assigner",
        "path": "PractitionerRole.identifier.assigner",
        "max": "0"
      },
      {
        "id": "PractitionerRole.identifier:UBW-helfo-kunde",
        "path": "PractitionerRole.identifier",
        "sliceName": "UBW-helfo-kunde",
        "max": "1"
      },
      {
        "id": "PractitionerRole.identifier:UBW-helfo-kunde.use",
        "path": "PractitionerRole.identifier.use",
        "max": "0"
      },
      {
        "id": "PractitionerRole.identifier:UBW-helfo-kunde.type",
        "path": "PractitionerRole.identifier.type",
        "max": "0"
      },
      {
        "id": "PractitionerRole.identifier:UBW-helfo-kunde.system",
        "path": "PractitionerRole.identifier.system",
        "min": 1,
        "fixedUri": "ubw:helfo:kunde"
      },
      {
        "id": "PractitionerRole.identifier:UBW-helfo-kunde.value",
        "path": "PractitionerRole.identifier.value",
        "min": 1
      },
      {
        "id": "PractitionerRole.identifier:UBW-helfo-kunde.period",
        "path": "PractitionerRole.identifier.period",
        "min": 1
      },
      {
        "id": "PractitionerRole.identifier:UBW-helfo-kunde.assigner",
        "path": "PractitionerRole.identifier.assigner",
        "min": 1
      },
      {
        "id": "PractitionerRole.identifier:UBW-hdir-kunde",
        "path": "PractitionerRole.identifier",
        "sliceName": "UBW-hdir-kunde",
        "max": "1"
      },
      {
        "id": "PractitionerRole.identifier:UBW-hdir-kunde.use",
        "path": "PractitionerRole.identifier.use",
        "max": "0"
      },
      {
        "id": "PractitionerRole.identifier:UBW-hdir-kunde.type",
        "path": "PractitionerRole.identifier.type",
        "max": "0"
      },
      {
        "id": "PractitionerRole.identifier:UBW-hdir-kunde.system",
        "path": "PractitionerRole.identifier.system",
        "min": 1,
        "fixedUri": "ubw:hdir:kunde"
      },
      {
        "id": "PractitionerRole.identifier:UBW-hdir-kunde.value",
        "path": "PractitionerRole.identifier.value",
        "min": 1
      },
      {
        "id": "PractitionerRole.identifier:UBW-hdir-kunde.period",
        "path": "PractitionerRole.identifier.period",
        "max": "0"
      },
      {
        "id": "PractitionerRole.identifier:UBW-hdir-kunde.assigner",
        "path": "PractitionerRole.identifier.assigner",
        "max": "0"
      },
      {
        "id": "PractitionerRole.identifier:UBW-helfo-leverandor",
        "path": "PractitionerRole.identifier",
        "sliceName": "UBW-helfo-leverandor",
        "max": "1"
      },
      {
        "id": "PractitionerRole.identifier:UBW-helfo-leverandor.use",
        "path": "PractitionerRole.identifier.use",
        "max": "0"
      },
      {
        "id": "PractitionerRole.identifier:UBW-helfo-leverandor.type",
        "path": "PractitionerRole.identifier.type",
        "max": "0"
      },
      {
        "id": "PractitionerRole.identifier:UBW-helfo-leverandor.system",
        "path": "PractitionerRole.identifier.system",
        "min": 1,
        "fixedUri": "ubw:helfo:leverandor"
      },
      {
        "id": "PractitionerRole.identifier:UBW-helfo-leverandor.value",
        "path": "PractitionerRole.identifier.value",
        "min": 1
      },
      {
        "id": "PractitionerRole.identifier:UBW-helfo-leverandor.period",
        "path": "PractitionerRole.identifier.period",
        "max": "0"
      },
      {
        "id": "PractitionerRole.identifier:UBW-helfo-leverandor.assigner",
        "path": "PractitionerRole.identifier.assigner",
        "max": "0"
      },
      {
        "id": "PractitionerRole.identifier:UBW-hdir-leverandor",
        "path": "PractitionerRole.identifier",
        "sliceName": "UBW-hdir-leverandor",
        "max": "1"
      },
      {
        "id": "PractitionerRole.identifier:UBW-hdir-leverandor.use",
        "path": "PractitionerRole.identifier.use",
        "max": "0"
      },
      {
        "id": "PractitionerRole.identifier:UBW-hdir-leverandor.type",
        "path": "PractitionerRole.identifier.type",
        "max": "0"
      },
      {
        "id": "PractitionerRole.identifier:UBW-hdir-leverandor.system",
        "path": "PractitionerRole.identifier.system",
        "min": 1,
        "fixedUri": "ubw:hdir:leverandor"
      },
      {
        "id": "PractitionerRole.identifier:UBW-hdir-leverandor.value",
        "path": "PractitionerRole.identifier.value",
        "min": 1
      },
      {
        "id": "PractitionerRole.identifier:UBW-hdir-leverandor.period",
        "path": "PractitionerRole.identifier.period",
        "max": "0"
      },
      {
        "id": "PractitionerRole.identifier:UBW-hdir-leverandor.assigner",
        "path": "PractitionerRole.identifier.assigner",
        "max": "0"
      },
      {
        "id": "PractitionerRole.active",
        "path": "PractitionerRole.active",
        "min": 1
      },
      {
        "id": "PractitionerRole.period",
        "path": "PractitionerRole.period",
        "min": 1
      },
      {
        "id": "PractitionerRole.period.start",
        "path": "PractitionerRole.period.start",
        "min": 1
      },
      {
        "id": "PractitionerRole.code",
        "path": "PractitionerRole.code",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "coding.system"
            }
          ],
          "rules": "closed"
        },
        "min": 1
      },
      {
        "id": "PractitionerRole.code:Yrkesgruppe",
        "path": "PractitionerRole.code",
        "sliceName": "Yrkesgruppe",
        "max": "1"
      },
      {
        "id": "PractitionerRole.code:Yrkesgruppe.coding",
        "path": "PractitionerRole.code.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "PractitionerRole.code:Yrkesgruppe.coding.system",
        "path": "PractitionerRole.code.coding.system",
        "min": 1,
        "fixedUri": "urn:oid:2.16.578.1.12.4.1.1.9060"
      },
      {
        "id": "PractitionerRole.code:Yrkesgruppe.coding.version",
        "path": "PractitionerRole.code.coding.version",
        "max": "0"
      },
      {
        "id": "PractitionerRole.code:Yrkesgruppe.coding.code",
        "path": "PractitionerRole.code.coding.code",
        "min": 1
      },
      {
        "id": "PractitionerRole.code:Yrkesgruppe.coding.userSelected",
        "path": "PractitionerRole.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "PractitionerRole.code:R3Yrke",
        "path": "PractitionerRole.code",
        "sliceName": "R3Yrke",
        "max": "1"
      },
      {
        "id": "PractitionerRole.code:R3Yrke.coding",
        "path": "PractitionerRole.code.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "PractitionerRole.code:R3Yrke.coding.system",
        "path": "PractitionerRole.code.coding.system",
        "min": 1,
        "fixedUri": "http://hint.helsedirektoratet.no/kodeverk/api/kodeverk/hdir:refusjonsrettsregisteret:yrkesgruppe"
      },
      {
        "id": "PractitionerRole.code:R3Yrke.coding.version",
        "path": "PractitionerRole.code.coding.version",
        "max": "0"
      },
      {
        "id": "PractitionerRole.code:R3Yrke.coding.code",
        "path": "PractitionerRole.code.coding.code",
        "min": 1
      },
      {
        "id": "PractitionerRole.code:R3Yrke.coding.userSelected",
        "path": "PractitionerRole.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "PractitionerRole.code:ForholdsKode",
        "path": "PractitionerRole.code",
        "sliceName": "ForholdsKode",
        "max": "1"
      },
      {
        "id": "PractitionerRole.code:ForholdsKode.coding",
        "path": "PractitionerRole.code.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "PractitionerRole.code:ForholdsKode.coding.system",
        "path": "PractitionerRole.code.coding.system",
        "min": 1,
        "fixedUri": "urn:oid:2.16.578.1.12.4.1.1.7750"
      },
      {
        "id": "PractitionerRole.code:ForholdsKode.coding.version",
        "path": "PractitionerRole.code.coding.version",
        "max": "0"
      },
      {
        "id": "PractitionerRole.code:ForholdsKode.coding.code",
        "path": "PractitionerRole.code.coding.code",
        "min": 1,
        "fixedCode": "LPVI"
      },
      {
        "id": "PractitionerRole.code:ForholdsKode.coding.userSelected",
        "path": "PractitionerRole.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "PractitionerRole.code:HdirForholdsKode",
        "path": "PractitionerRole.code",
        "sliceName": "HdirForholdsKode",
        "max": "1"
      },
      {
        "id": "PractitionerRole.code:HdirForholdsKode.coding",
        "path": "PractitionerRole.code.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "PractitionerRole.code:HdirForholdsKode.coding.system",
        "path": "PractitionerRole.code.coding.system",
        "min": 1,
        "fixedUri": "http://hint.helsedirektoratet.no/kodeverk/api/kodeverk/hdir:fkr:forholdskode"
      },
      {
        "id": "PractitionerRole.code:HdirForholdsKode.coding.version",
        "path": "PractitionerRole.code.coding.version",
        "max": "0"
      },
      {
        "id": "PractitionerRole.code:HdirForholdsKode.coding.code",
        "path": "PractitionerRole.code.coding.code",
        "min": 1,
        "fixedCode": "VIKA"
      },
      {
        "id": "PractitionerRole.code:HdirForholdsKode.coding.userSelected",
        "path": "PractitionerRole.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "PractitionerRole.specialty",
        "path": "PractitionerRole.specialty",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "coding.system"
            }
          ],
          "rules": "closed"
        },
        "max": "1"
      },
      {
        "id": "PractitionerRole.specialty:Hpr",
        "path": "PractitionerRole.specialty",
        "sliceName": "Hpr",
        "max": "1"
      },
      {
        "id": "PractitionerRole.specialty:Hpr.coding",
        "path": "PractitionerRole.specialty.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "PractitionerRole.specialty:Hpr.coding.system",
        "path": "PractitionerRole.specialty.coding.system",
        "min": 1,
        "fixedUri": "urn:oid:2.16.578.1.12.4.1.1.7426"
      },
      {
        "id": "PractitionerRole.specialty:Hpr.coding.version",
        "path": "PractitionerRole.specialty.coding.version",
        "max": "0"
      },
      {
        "id": "PractitionerRole.specialty:Hpr.coding.code",
        "path": "PractitionerRole.specialty.coding.code",
        "min": 1
      },
      {
        "id": "PractitionerRole.specialty:Hpr.coding.userSelected",
        "path": "PractitionerRole.specialty.coding.userSelected",
        "max": "0"
      },
      {
        "id": "PractitionerRole.specialty:R3",
        "path": "PractitionerRole.specialty",
        "sliceName": "R3",
        "max": "1"
      },
      {
        "id": "PractitionerRole.specialty:R3.coding",
        "path": "PractitionerRole.specialty.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "PractitionerRole.specialty:R3.coding.system",
        "path": "PractitionerRole.specialty.coding.system",
        "min": 1,
        "fixedUri": "http://hint.helsedirektoratet.no/kodeverk/api/kodeverk/hdir:refusjonsrettsregisteret:spesialiteter"
      },
      {
        "id": "PractitionerRole.specialty:R3.coding.version",
        "path": "PractitionerRole.specialty.coding.version",
        "max": "0"
      },
      {
        "id": "PractitionerRole.specialty:R3.coding.code",
        "path": "PractitionerRole.specialty.coding.code",
        "min": 1
      },
      {
        "id": "PractitionerRole.specialty:R3.coding.userSelected",
        "path": "PractitionerRole.specialty.coding.userSelected",
        "max": "0"
      },
      {
        "id": "PractitionerRole.location",
        "path": "PractitionerRole.location",
        "max": "1"
      },
      {
        "id": "PractitionerRole.healthcareService",
        "path": "PractitionerRole.healthcareService",
        "min": 1,
        "max": "1"
      },
      {
        "id": "PractitionerRole.telecom",
        "path": "PractitionerRole.telecom",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "extension('http://helsedirektoratet.no/fhir/StructureDefinition/hdir-Ubw-Firma').value"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "PractitionerRole.telecom:HdirBankAccount",
        "path": "PractitionerRole.telecom",
        "sliceName": "HdirBankAccount",
        "type": [
          {
            "code": "ContactPoint",
            "profile": [
              "http://helsedirektoratet.no/fhir/StructureDefinition/hdir-ContactPoint-bankAccount"
            ]
          }
        ]
      },
      {
        "id": "PractitionerRole.telecom:HdirBankAccount.extension",
        "path": "PractitionerRole.telecom.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "PractitionerRole.telecom:HdirBankAccount.extension:ubwFirma",
        "path": "PractitionerRole.telecom.extension",
        "sliceName": "ubwFirma",
        "min": 1
      },
      {
        "id": "PractitionerRole.telecom:HdirBankAccount.extension:ubwFirma.value[x]",
        "path": "PractitionerRole.telecom.extension.value[x]",
        "fixedCode": "1S"
      },
      {
        "id": "PractitionerRole.telecom:HelfoBankAccount",
        "path": "PractitionerRole.telecom",
        "sliceName": "HelfoBankAccount",
        "type": [
          {
            "code": "ContactPoint",
            "profile": [
              "http://helsedirektoratet.no/fhir/StructureDefinition/hdir-ContactPoint-bankAccount"
            ]
          }
        ]
      },
      {
        "id": "PractitionerRole.telecom:HelfoBankAccount.extension",
        "path": "PractitionerRole.telecom.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "PractitionerRole.telecom:HelfoBankAccount.extension:ubwFirma",
        "path": "PractitionerRole.telecom.extension",
        "sliceName": "ubwFirma",
        "min": 1
      },
      {
        "id": "PractitionerRole.telecom:HelfoBankAccount.extension:ubwFirma.value[x]",
        "path": "PractitionerRole.telecom.extension.value[x]",
        "fixedCode": "ST"
      },
      {
        "id": "PractitionerRole.availableTime",
        "path": "PractitionerRole.availableTime",
        "min": 1,
        "max": "1"
      },
      {
        "id": "PractitionerRole.availableTime.extension",
        "path": "PractitionerRole.availableTime.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "PractitionerRole.availableTime.extension:Stillingsprosent",
        "path": "PractitionerRole.availableTime.extension",
        "sliceName": "Stillingsprosent",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://helsedirektoratet.no/fhir/StructureDefinition/hdir-Stillingsprosent"
            ]
          }
        ]
      },
      {
        "id": "PractitionerRole.availableTime.daysOfWeek",
        "path": "PractitionerRole.availableTime.daysOfWeek",
        "max": "0"
      },
      {
        "id": "PractitionerRole.availableTime.allDay",
        "path": "PractitionerRole.availableTime.allDay",
        "max": "0"
      },
      {
        "id": "PractitionerRole.availableTime.availableStartTime",
        "path": "PractitionerRole.availableTime.availableStartTime",
        "max": "0"
      },
      {
        "id": "PractitionerRole.availableTime.availableEndTime",
        "path": "PractitionerRole.availableTime.availableEndTime",
        "max": "0"
      },
      {
        "id": "PractitionerRole.notAvailable",
        "path": "PractitionerRole.notAvailable",
        "max": "0"
      },
      {
        "id": "PractitionerRole.availabilityExceptions",
        "path": "PractitionerRole.availabilityExceptions",
        "max": "0"
      },
      {
        "id": "PractitionerRole.endpoint",
        "path": "PractitionerRole.endpoint",
        "max": "0"
      }
    ]
  }
}