PackagesCanonicalsLogsProblems
    Packages
    healthdata.be.r4.cbb@0.2.0-alpha
    https://fhir.healthdata.be/StructureDefinition/HdBe-AddressInformation
description: Address information includes data where a person resides (temporarily, permanently) or where a building is located.
package_name: healthdata.be.r4.cbb
derivation: constraint
name: HdBeAddressInformation
type: Address
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        addressType:
          match: {url: null}
          schema:
            type: Extension
            url: https://fhir.healthdata.be/StructureDefinition/ext-AddressInformation.AddressType
            index: 1
            elements:
              value:
                choices: []
                index: 3
  use:
    short: AddressType
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/address-use|4.0.1'}
    index: 4
  type:
    short: AddressType
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/address-type|4.0.1'}
    index: 5
  line:
    index: 6
    extensions:
      streetName:
        url: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName
        type: Extension
        index: 8
        elements:
          value:
            short: Street
            choices: []
            index: 10
      houseNumber:
        url: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber
        type: Extension
        index: 11
        elements:
          value:
            short: HouseNumber
            choices: []
            index: 13
      houseNumberLetter-houseNumberAddition:
        url: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix
        type: Extension
        index: 14
        elements:
          value:
            short: HouseNumberLetter / HouseNumberAddition
            choices: []
            index: 16
      houseNumberIndication:
        url: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator
        type: Extension
        index: 17
        elements:
          value:
            constraint:
              houseNumberIndication: {human: Must have value 'by' or 'to', source: 'https://fhir.healthdata.be/StructureDefinition/HdBe-AddressInformation', severity: error, expression: value in ('by' | 'to')}
            short: HouseNumberIndication
            choices: []
            index: 19
      additionalInformation:
        url: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID
        type: Extension
        index: 20
        elements:
          value:
            short: AdditionalInformation
            choices: []
            index: 22
    elements:
      extension:
        index: 7
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            streetName:
              match: {url: null}
              schema:
                type: Extension
                url: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName
                index: 8
                elements:
                  value:
                    short: Street
                    choices: []
                    index: 10
            houseNumber:
              match: {url: null}
              schema:
                type: Extension
                url: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber
                index: 11
                elements:
                  value:
                    short: HouseNumber
                    choices: []
                    index: 13
            houseNumberLetter-houseNumberAddition:
              match: {url: null}
              schema:
                type: Extension
                url: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix
                index: 14
                elements:
                  value:
                    short: HouseNumberLetter / HouseNumberAddition
                    choices: []
                    index: 16
            houseNumberIndication:
              match: {url: null}
              schema:
                type: Extension
                url: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator
                index: 17
                elements:
                  value:
                    constraint:
                      houseNumberIndication: {human: Must have value 'by' or 'to', source: 'https://fhir.healthdata.be/StructureDefinition/HdBe-AddressInformation', severity: error, expression: value in ('by' | 'to')}
                    short: HouseNumberIndication
                    choices: []
                    index: 19
            additionalInformation:
              match: {url: null}
              schema:
                type: Extension
                url: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID
                index: 20
                elements:
                  value:
                    short: AdditionalInformation
                    choices: []
                    index: 22
  city: {short: PlaceOfResidence, index: 23}
  district: {short: Municipality, index: 24}
  postalCode: {short: Postcode, index: 25}
  country:
    index: 26
    extensions:
      countryCode:
        url: https://fhir.healthdata.be/StructureDefinition/ext-CodeSpecification
        type: Extension
        index: 28
        elements:
          value:
            short: Country
            choices: []
            index: 30
    elements:
      extension:
        index: 27
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            countryCode:
              match: {url: null}
              schema:
                type: Extension
                url: https://fhir.healthdata.be/StructureDefinition/ext-CodeSpecification
                index: 28
                elements:
                  value:
                    short: Country
                    choices: []
                    index: 30
package_version: 0.2.0-alpha
extensions:
  addressType:
    url: https://fhir.healthdata.be/StructureDefinition/ext-AddressInformation.AddressType
    type: Extension
    index: 1
    elements:
      value:
        choices: []
        index: 3
class: complex-type
kind: complex-type
url: https://fhir.healthdata.be/StructureDefinition/HdBe-AddressInformation
base: http://hl7.org/fhir/StructureDefinition/Address
version: null