RNDS (Guia de Implementação)
0.1.0 - ci-build

RNDS (Guia de Implementação) - Local Development build (v0.1.0). See the Directory of published versions

Data Type Profile: Endereço

Defining URL:http://www.saude.gov.br/fhir/r4/StructureDefinition/BREndereco-1.0
Version:0.1.0
Name:BREndereco
Title:Endereço
Status:Active as of 2020-03-11T04:06:40.3767721+00:00
Definition:

Padronização de endereços no Brasil.

Publisher:Rede Nacional de Dados em Saúde
Source Resource:XML / JSON / Turtle

The official URL for this profile is:

http://www.saude.gov.br/fhir/r4/StructureDefinition/BREndereco-1.0

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

This structure is derived from Address

Summary

Mandatory: 6 elements
Must-Support: 13 elements
Prohibited: 3 elements

Slices

This structure defines the following Slices:

  • The element Address.line is sliced based on the value of value:line

This structure is derived from Address

NameFlagsCard.TypeDescription & Constraintsdoco
.. Address S0..*AddressDados de Endereçamento
... use S0..1codeUso do Endereço
... type S0..1codeTipo de Endereço
... text 0..0
.... line:streetType S0..1stringTipo de Logradouro
Binding: Tipo de Logradouro (required): Tipo de Logradouro

.... line:street S1..1stringLogradouro
.... line:number S1..1stringNúmero
.... line:complement S0..1stringComplemento
.... line:neighborhood S1..1stringBairro
... city 1..1stringMunicípio
Binding: Município (required): Município

... district 0..0
... state S1..1stringUF
Binding: Unidade Federativa (required): Unidade Federativa

... postalCode S1..1stringCEP
... country 0..0
... period S0..1PeriodPeríodo do Endereço
.... start S0..1dateTimeData de Inicio do Endereço
.... end S0..1dateTimeData de Término do Endereço

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Address S0..*AddressDados de Endereçamento
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... use ?!SΣ0..1codeUso do Endereço
Binding: AddressUse (required): The use of an address.


Example General: home
... Slices for line SΣ3..*stringEndereço
Slice: Unordered, Open by value:line
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
.... line:streetType SΣ0..1stringTipo de Logradouro
Binding: Tipo de Logradouro (required): Tipo de Logradouro


This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
.... line:street SΣ1..1stringLogradouro
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
.... line:number SΣ1..1stringNúmero
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
.... line:complement SΣ0..1stringComplemento
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
.... line:neighborhood SΣ1..1stringBairro
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
... city Σ1..1stringMunicípio
Binding: Município (required): Município


Example General: Erewhon
... state SΣ1..1stringUF
Binding: Unidade Federativa (required): Unidade Federativa

... postalCode SΣ1..1stringCEP
Example General: 9132
... period SΣ0..1PeriodPeríodo do Endereço
Example General: {"start":"2010-03-23","end":"2010-07-01"}
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... start SΣI0..1dateTimeData de Inicio do Endereço
.... end SΣI0..1dateTimeData de Término do Endereço

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Address 0..*AddressDados de Endereçamento
... use ?!Σ0..1codeUso do Endereço
Binding: AddressUse (required): The use of an address.

... type Σ0..1codeTipo de Endereço
Binding: AddressType (required): The type of an address (physical / postal).

... Slices for line Σ3..*stringEndereço
Slice: Unordered, Open by value:line
This repeating element order: The order in which lines should appear in an address label
.... line:streetType Σ0..1stringTipo de Logradouro
Binding: Tipo de Logradouro (required): Tipo de Logradouro


This repeating element order: The order in which lines should appear in an address label
.... line:street Σ1..1stringLogradouro
This repeating element order: The order in which lines should appear in an address label
.... line:number Σ1..1stringNúmero
This repeating element order: The order in which lines should appear in an address label
.... line:complement Σ0..1stringComplemento
This repeating element order: The order in which lines should appear in an address label
.... line:neighborhood Σ1..1stringBairro
This repeating element order: The order in which lines should appear in an address label
... postalCode Σ1..1stringCEP
... period Σ0..1PeriodPeríodo do Endereço
.... start ΣI0..1dateTimeData de Inicio do Endereço
.... end ΣI0..1dateTimeData de Término do Endereço

doco Documentation for this format

This structure is derived from Address

Summary

Mandatory: 6 elements
Must-Support: 13 elements
Prohibited: 3 elements

Slices

This structure defines the following Slices:

  • The element Address.line is sliced based on the value of value:line

Differential View

This structure is derived from Address

NameFlagsCard.TypeDescription & Constraintsdoco
.. Address S0..*AddressDados de Endereçamento
... use S0..1codeUso do Endereço
... type S0..1codeTipo de Endereço
... text 0..0
.... line:streetType S0..1stringTipo de Logradouro
Binding: Tipo de Logradouro (required): Tipo de Logradouro

.... line:street S1..1stringLogradouro
.... line:number S1..1stringNúmero
.... line:complement S0..1stringComplemento
.... line:neighborhood S1..1stringBairro
... city 1..1stringMunicípio
Binding: Município (required): Município

... district 0..0
... state S1..1stringUF
Binding: Unidade Federativa (required): Unidade Federativa

... postalCode S1..1stringCEP
... country 0..0
... period S0..1PeriodPeríodo do Endereço
.... start S0..1dateTimeData de Inicio do Endereço
.... end S0..1dateTimeData de Término do Endereço

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Address S0..*AddressDados de Endereçamento
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... use ?!SΣ0..1codeUso do Endereço
Binding: AddressUse (required): The use of an address.


Example General: home
... Slices for line SΣ3..*stringEndereço
Slice: Unordered, Open by value:line
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
.... line:streetType SΣ0..1stringTipo de Logradouro
Binding: Tipo de Logradouro (required): Tipo de Logradouro


This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
.... line:street SΣ1..1stringLogradouro
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
.... line:number SΣ1..1stringNúmero
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
.... line:complement SΣ0..1stringComplemento
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
.... line:neighborhood SΣ1..1stringBairro
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
... city Σ1..1stringMunicípio
Binding: Município (required): Município


Example General: Erewhon
... state SΣ1..1stringUF
Binding: Unidade Federativa (required): Unidade Federativa

... postalCode SΣ1..1stringCEP
Example General: 9132
... period SΣ0..1PeriodPeríodo do Endereço
Example General: {"start":"2010-03-23","end":"2010-07-01"}
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... start SΣI0..1dateTimeData de Inicio do Endereço
.... end SΣI0..1dateTimeData de Término do Endereço

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet
Address.userequiredAddressUse
Address.typerequiredAddressType
Address.line:streetTyperequiredBRTipoLogradouro
Address.cityrequiredBRMunicipio
Address.staterequiredBRUnidadeFederativa

Constraints

IdPathDetailsRequirements
ele-1AddressAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Address.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Address.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Address.useAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Address.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Address.lineAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Address.line:streetTypeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Address.line:streetAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Address.line:numberAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Address.line:complementAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Address.line:neighborhoodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Address.cityAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Address.stateAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Address.postalCodeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Address.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Address.period.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Address.period.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Address.period.startAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Address.period.endAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())