PackagesCanonicalsLogsProblems
    Packages
    ehelse.fhir.no.grunndata@2.3.1
    http://ehelse.no/fhir/StructureDefinition/gd-separately-occupied-unit
description: Identifies the number and type of a separately occupied unit as registered in the Norwegian Master Person Index.
package_name: ehelse.fhir.no.grunndata
derivation: constraint
name: GdSeparatelyOccupiedUnit
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        separatelyOccupiedUnitType:
          match: {url: separatelyOccupiedUnitType}
          schema:
            short: bruksenhetstype fra FREG
            binding: {strength: required, valueSet: 'http://ehelse.no/fhir/ValueSet/gd-address-separatelyoccupiedunittype-v200'}
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: separatelyOccupiedUnitType}
                index: 2
              value:
                choices: [valueCode]
                index: 4
              valueCode: {type: code, choiceOf: value, index: 5}
        separatelyOccupiedUnitNumber:
          match: {url: separatelyOccupiedUnitNumber}
          schema:
            short: bruksenhetsnummer fra FREG
            index: 6
            elements:
              url:
                pattern: {type: Uri, value: separatelyOccupiedUnitNumber}
                index: 7
              value:
                choices: [valueString]
                index: 9
              valueString: {type: string, choiceOf: value, index: 10}
  url:
    pattern: {type: Uri, value: 'http://ehelse.no/fhir/StructureDefinition/gd-separately-occupied-unit'}
    index: 11
  value:
    choices: []
    index: 13
package_version: 2.3.1
extensions:
  separatelyOccupiedUnitType:
    url: separatelyOccupiedUnitType
    short: bruksenhetstype fra FREG
    binding: {strength: required, valueSet: 'http://ehelse.no/fhir/ValueSet/gd-address-separatelyoccupiedunittype-v200'}
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: separatelyOccupiedUnitType}
        index: 2
      value:
        choices: [valueCode]
        index: 4
      valueCode: {type: code, choiceOf: value, index: 5}
  separatelyOccupiedUnitNumber:
    url: separatelyOccupiedUnitNumber
    short: bruksenhetsnummer fra FREG
    index: 6
    elements:
      url:
        pattern: {type: Uri, value: separatelyOccupiedUnitNumber}
        index: 7
      value:
        choices: [valueString]
        index: 9
      valueString: {type: string, choiceOf: value, index: 10}
class: extension
kind: complex-type
url: http://ehelse.no/fhir/StructureDefinition/gd-separately-occupied-unit
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 2.3.0