{
  "resourceType": "StructureDefinition",
  "id": "a1b59755-40a6-4393-9db1-7fa17c585f87",
  "meta": {
    "lastUpdated": "2020-06-30T11:50:18.331+00:00"
  },
  "url": "http://helsedirektoratet.no/fhir/StructureDefinition/hdir-LocationPraksis-v1",
  "name": "HdirLocationPraksisV1",
  "status": "draft",
  "date": "2020-06-25T12:59:24.8051204+00:00",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Location",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Location",
  "derivation": "constraint",
  "snapshot": {},
  "differential": {
    "element": [
      {
        "id": "Location.implicitRules",
        "path": "Location.implicitRules",
        "max": "0"
      },
      {
        "id": "Location.language",
        "path": "Location.language",
        "max": "0"
      },
      {
        "id": "Location.text",
        "path": "Location.text",
        "max": "0"
      },
      {
        "id": "Location.contained",
        "path": "Location.contained",
        "max": "0"
      },
      {
        "id": "Location.extension",
        "path": "Location.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Location.extension:period",
        "path": "Location.extension",
        "sliceName": "period",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://helsedirektoratet.no/fhir/StructureDefinition/hdir-Period"
            ]
          }
        ]
      },
      {
        "id": "Location.extension:period.value[x].start",
        "path": "Location.extension.value[x].start",
        "min": 1
      },
      {
        "id": "Location.identifier",
        "path": "Location.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "closed"
        }
      },
      {
        "id": "Location.identifier:SAR",
        "path": "Location.identifier",
        "sliceName": "SAR",
        "short": "Praksis-id fra Samhandler register.",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Location.identifier:SAR.use",
        "path": "Location.identifier.use",
        "max": "0"
      },
      {
        "id": "Location.identifier:SAR.type",
        "path": "Location.identifier.type",
        "max": "0"
      },
      {
        "id": "Location.identifier:SAR.system",
        "path": "Location.identifier.system",
        "min": 1,
        "fixedUri": "hdir:sar:praksisid"
      },
      {
        "id": "Location.identifier:SAR.value",
        "path": "Location.identifier.value",
        "min": 1
      },
      {
        "id": "Location.identifier:SAR.period",
        "path": "Location.identifier.period",
        "max": "0"
      },
      {
        "id": "Location.identifier:SAR.assigner",
        "path": "Location.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Location.status",
        "path": "Location.status",
        "min": 1
      },
      {
        "id": "Location.operationalStatus",
        "path": "Location.operationalStatus",
        "max": "0"
      },
      {
        "id": "Location.name",
        "path": "Location.name",
        "min": 1
      },
      {
        "id": "Location.description",
        "path": "Location.description",
        "max": "0"
      },
      {
        "id": "Location.mode",
        "path": "Location.mode",
        "max": "0"
      },
      {
        "id": "Location.type",
        "path": "Location.type",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Location.type.coding",
        "path": "Location.type.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Location.type.coding.system",
        "path": "Location.type.coding.system",
        "min": 1,
        "fixedUri": "http://hint.helsedirektoratet.no/kodeverk/api/kodeverk/hdir-fkr-location-type"
      },
      {
        "id": "Location.type.coding.version",
        "path": "Location.type.coding.version",
        "max": "0"
      },
      {
        "id": "Location.type.coding.code",
        "path": "Location.type.coding.code",
        "min": 1
      },
      {
        "id": "Location.type.coding.userSelected",
        "path": "Location.type.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Location.telecom",
        "path": "Location.telecom",
        "max": "0"
      },
      {
        "id": "Location.address",
        "path": "Location.address",
        "max": "0"
      },
      {
        "id": "Location.physicalType",
        "path": "Location.physicalType",
        "max": "0"
      },
      {
        "id": "Location.position",
        "path": "Location.position",
        "max": "0"
      },
      {
        "id": "Location.managingOrganization",
        "path": "Location.managingOrganization",
        "min": 1
      },
      {
        "id": "Location.managingOrganization.type",
        "path": "Location.managingOrganization.type",
        "min": 1
      },
      {
        "id": "Location.partOf",
        "path": "Location.partOf",
        "max": "0"
      },
      {
        "id": "Location.hoursOfOperation",
        "path": "Location.hoursOfOperation",
        "max": "0"
      },
      {
        "id": "Location.availabilityExceptions",
        "path": "Location.availabilityExceptions",
        "max": "0"
      },
      {
        "id": "Location.endpoint",
        "path": "Location.endpoint",
        "max": "0"
      }
    ]
  }
}