PackagesCanonicalsLogsProblems
    Packages
    rs/BRCore@01.00.00-1.0.0
    http://www.saude.gov.br/fhir/r4/StructureDefinition/BREndereco-1.0
description: Padronização de endereços no Brasil.
package_name: rs/BRCore
derivation: constraint
name: BREndereco
type: Address
elements:
  use: {short: Uso do Endereço, mustSupport: true, index: 0}
  city:
    short: Município
    binding: {strength: required, valueSet: 'http://www.saude.gov.br/fhir/r4/ValueSet/BRMunicipio-1.0'}
    index: 9
  type: {short: Tipo de Endereço, mustSupport: true, index: 1}
  state:
    short: UF
    binding: {strength: required, valueSet: 'http://www.saude.gov.br/fhir/r4/ValueSet/BRUnidadeFederativa-1.0'}
    mustSupport: true
    index: 11
  line:
    short: Endereço
    mustSupport: true
    index: 3
    slicing:
      rules: open
      discriminator:
      - {path: line, type: value}
      min: 1
      slices:
        streetType:
          match: {line: null}
          schema:
            short: Tipo de Logradouro
            binding: {strength: required, valueSet: 'http://www.saude.gov.br/fhir/r4/ValueSet/BRTipoLogradouro-1.0'}
            mustSupport: true
            index: 4
          max: 1
        street:
          match: {line: null}
          schema: {short: Logradouro, mustSupport: true, _required: true, index: 5}
          min: 1
          max: 1
        number:
          match: {line: null}
          schema: {short: Número, mustSupport: true, _required: true, index: 6}
          min: 1
          max: 1
        complement:
          match: {line: null}
          schema: {short: Complemento, mustSupport: true, index: 7}
          max: 1
        neighborhood:
          match: {line: null}
          schema: {short: Bairro, mustSupport: true, _required: true, index: 8}
          min: 1
          max: 1
  postalCode: {short: CEP, mustSupport: true, index: 12}
  period:
    short: Período do Endereço
    mustSupport: true
    index: 14
    elements:
      start: {short: Data de Inicio do Endereço, mustSupport: true, index: 15}
      end: {short: Data de Término do Endereço, mustSupport: true, index: 16}
  country: {index: 13}
  district: {index: 10}
  text: {index: 2}
package_version: 01.00.00-1.0.0
class: complex-type
kind: complex-type
url: http://www.saude.gov.br/fhir/r4/StructureDefinition/BREndereco-1.0
base: http://hl7.org/fhir/StructureDefinition/Address
version: '1.0'
required: [city, line, postalCode, state]