br-core-observationpregnancystatus
type: StructureDefinition
node role: treeRoot
id:
  v: br-core-observationpregnancystatus
text:
  status:
    v: extensions
  div:
    v: Narrativa gerada: StructureDefinition br-core-observationpregnancystatus Nome Bandeiras Card. Tipo Descrição e condicionalismos<img src="[binary]" alt="doco" style="background-color: inherit"/> Observation 0..* BRCoreObservation Measurements and simple assertions #xD; Fatias para value[x] 0..1 Quantity, CodeableConcept, string, boolean, integer, Range, Ratio, SampledData, time, dateTime, Period Resultado da observação Fatia: Não ordenado, Aberto por type:$this #xD; value[x]:valueCodeableConcept 0..1 CodeableConcept Resultado da observação Vínculo: Pregnancy Status - IPS (required) #xD; <img src="[binary]" alt="doco" style="background-color: inherit"/> Documentação para este formato
url:
  v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-observationpregnancystatus
  l: br-core-observationpregnancystatus
version:
  v: 1.0.0
name:
  v: BRCoreObservationPregnancyStatus
status:
  v: active
date:
  v: 2026-07-25T10:22:45-03:00
publisher:
  v: Ministério do Saúde do Brasil
contact:
  name:
    v: Ministério do Saúde do Brasil
  telecom:
    system:
      v: url
    value:
      v: https://gov.br/saude
  telecom:
    system:
      v: email
contact:
  name:
    v: Italo Macedo
  telecom:
    system:
      v: email
    use:
      v: work
description:
  v: Este perfil restringe o recurso [Observation](https://hl7.org/fhir/R4/observation.html) para representar o estado da gravidez.
jurisdiction:
  coding:
    system:
      v: urn:iso:std:iso:3166
      l: 3166
    code:
      v: BR
    display:
      v: Brazil
fhir version:
  v: 4.0.1
mapping:
  identity:
    v: workflow
  uri:
    v: http://hl7.org/fhir/workflow
    l: workflow
  name:
    v: Workflow Pattern
mapping:
  identity:
    v: sct-concept
  uri:
    v: http://snomed.info/conceptdomain
    l: conceptdomain
  name:
    v: SNOMED CT Concept Domain Binding
mapping:
  identity:
    v: v2
  uri:
    v: http://hl7.org/v2
    l: v2
  name:
    v: HL7 v2 Mapping
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
    l: v3
  name:
    v: RIM Mapping
mapping:
  identity:
    v: w5
  uri:
    v: http://hl7.org/fhir/fivews
    l: fivews
  name:
    v: FiveWs Pattern Mapping
mapping:
  identity:
    v: sct-attr
  uri:
    v: http://snomed.org/attributebinding
    l: attributebinding
  name:
    v: SNOMED CT Attribute Binding
kind:
  v: resource
abstract:
  v: false
type:
  v: Observation
  l: Observation
base definition:
  v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-observation
  l: br-core-observation
derivation:
  v: constraint
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 1.0.0
  element:
    id:
      v: Observation
    path:
      v: Observation
    short:
      v: Measurements and simple assertions
    definition:
      v: Measurements and simple assertions made about a patient, device or other subject.
    comment:
      v: Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc.
    alias:
      v: Vital Signs
    alias:
      v: Measurement
    alias:
      v: Results
    alias:
      v: Tests
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Observation
      min:
        v: 0
      max:
        v: *
    constraint:
      key:
        v: dom-2
      severity:
        v: error
      human:
        v: If the resource is contained in another resource, it SHALL NOT contain nested Resources
      expression:
        v: contained.contained.empty()
      xpath:
        v: not(parent::f:contained and f:contained)
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource
    constraint:
      key:
        v: dom-3
      severity:
        v: error
      human:
        v: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
      expression:
        v: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
      xpath:
        v: not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource
    constraint:
      key:
        v: dom-4
      severity:
        v: error
      human:
        v: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
      expression:
        v: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
      xpath:
        v: not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource
    constraint:
      key:
        v: dom-5
      severity:
        v: error
      human:
        v: If a resource is contained in another resource, it SHALL NOT have a security label
      expression:
        v: contained.meta.security.empty()
      xpath:
        v: not(exists(f:contained/*/f:meta/f:security))

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice
    l: elementdefinition-bestpractice
  value: Boolean
    v: true
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation
    l: elementdefinition-bestpractice-explanation
  value: Markdown
    v: When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time.
key:
  v: dom-6
severity:
  v: warning
human:
  v: A resource should have narrative for robust management
expression:
  v: text.`div`.exists()
xpath:
  v: exists(f:text/h:div)
source:
  v: http://hl7.org/fhir/StructureDefinition/DomainResource
  l: DomainResource

key:
  v: obs-6
severity:
  v: error
human:
  v: dataAbsentReason SHALL only be present if Observation.value[x] is not present
expression:
  v: dataAbsentReason.empty() or value.empty()
xpath:
  v: not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))
source:
  v: http://hl7.org/fhir/StructureDefinition/Observation
  l: Observation

key:
  v: obs-7
severity:
  v: error
human:
  v: If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present
expression:
  v: value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()
xpath:
  v: not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))
source:
  v: http://hl7.org/fhir/StructureDefinition/Observation
  l: Observation

v: false

v: false

identity:
  v: rim
map:
  v: Entity. Role, or Act

identity:
  v: workflow
map:
  v: Event

identity:
  v: sct-concept
map:
  v: < 363787002 |Observable entity|

identity:
  v: v2
map:
  v: OBX

identity:
  v: rim
map:
  v: Observation[classCode=OBS, moodCode=EVN]

id:
  v: Observation.id
path:
  v: Observation.id
short:
  v: Identificador lógico deste artefato
definition:
  v: Identificador lógico deste artefato
comment:
  v: The only time that a resource does not have an id is when it is being submitted to the server using a create operation.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: id
      l: id
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: true

id:
  v: Observation.meta
path:
  v: Observation.meta
short:
  v: Metadados sobre o recurso
definition:
  v: Metadados sobre o recurso
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.meta
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Meta
    l: Meta
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true

id:
  v: Observation.implicitRules
path:
  v: Observation.implicitRules
short:
  v: Um conjunto de regras sob as quais este conteúdo foi criado
definition:
  v: Um conjunto de regras sob as quais este conteúdo foi criado
comment:
  v: Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.implicitRules
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: true
is modifier reason:
  v: This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation
is summary:
  v: true

id:
  v: Observation.language
path:
  v: Observation.language
short:
  v: Idioma do recurso
definition:
  v: Idioma do recurso
comment:
  v: Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.language
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet
      l: elementdefinition-maxValueSet
    value: Canonical
      v: http://hl7.org/fhir/ValueSet/all-languages
      l: all-languages
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: Language
  strength:
    v: preferred
  description:
    v: A human language.
  value set:
    v: http://hl7.org/fhir/ValueSet/languages|4.0.1
    l: http://hl7.org/fhir/ValueSet/languages

id:
  v: Observation.text
path:
  v: Observation.text
short:
  v: Resumo do texto do recurso em linguagem natural
definition:
  v: Resumo do texto do recurso em linguagem natural
comment:
  v: Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later.
alias:
  v: narrative
alias:
  v: html
alias:
  v: xhtml
alias:
  v: display
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.text
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Narrative
    l: Narrative
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: Act.text?

id:
  v: Observation.contained
path:
  v: Observation.contained
short:
  v: Contained, inline Resources
definition:
  v: Recursos contidos no recurso
comment:
  v: This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.
alias:
  v: inline resources
alias:
  v: anonymous resources
alias:
  v: contained resources
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.contained
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Resource
    l: Resource
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Observation.extension
path:
  v: Observation.extension
short:
  v: Extension
definition:
  v: Extensões adicionais que não fazem parte do modelo base
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false

id:
  v: Observation.modifierExtension
path:
  v: Observation.modifierExtension
short:
  v: Extensões adicionais que não podem ser ignoradas, mesmo que não reconhecidas
definition:
  v: Extensões adicionais que não podem ser ignoradas, mesmo que não reconhecidas
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them
is summary:
  v: false

id:
  v: Observation.identifier
path:
  v: Observation.identifier
short:
  v: Identificadores externos para este recurso
definition:
  v: Identificadores externos para este recurso
requirements:
  v: Allows observations to be distinguished and referenced.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Observation.identifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
    l: Identifier
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.identifier
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.identifier
mapping:
  identity:
    v: v2
  map:
    v: OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4.
mapping:
  identity:
    v: rim
  map:
    v: id

id:
  v: Observation.basedOn
path:
  v: Observation.basedOn
short:
  v: Referência ao pedido ou ao plano de tratamento que gerou este recurso
definition:
  v: Referência ao pedido ou ao plano de tratamento que gerou este recurso
requirements:
  v: Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.
alias:
  v: Fulfills
min:
  v: 0
max:
  v: *
base:
  path:
    v: Observation.basedOn
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-careplan
    l: br-core-careplan
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/DeviceRequest
    l: DeviceRequest
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation
    l: ImmunizationRecommendation
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-medicationrequest
    l: br-core-medicationrequest
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/NutritionOrder
    l: NutritionOrder
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-servicerequest
    l: br-core-servicerequest
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.basedOn
mapping:
  identity:
    v: v2
  map:
    v: ORC
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=COMP].source[moodCode=EVN]

id:
  v: Observation.partOf
path:
  v: Observation.partOf
short:
  v: Referência ao evento do qual este recurso faz parte
definition:
  v: Referência ao evento do qual este recurso faz parte
comment:
  v: To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below for guidance on referencing another Observation.
alias:
  v: Container
min:
  v: 0
max:
  v: *
base:
  path:
    v: Observation.partOf
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-medicationadministration
    l: br-core-medicationadministration
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-medicationdispense
    l: br-core-medicationdispense
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-medicationstatement
    l: br-core-medicationstatement
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-procedure
    l: br-core-procedure
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-immunization
    l: br-core-immunization
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/ImagingStudy
    l: ImagingStudy
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.partOf
mapping:
  identity:
    v: v2
  map:
    v: Varies by domain
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=FLFS].target

id:
  v: Observation.status
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint
    l: structuredefinition-display-hint
  value: String
    v: default: final
path:
  v: Observation.status
short:
  v: Status atual da observação
definition:
  v: active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken
comment:
  v: This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.
requirements:
  v: Need to track the status of individual results. Some results are finalized before the whole report is finalized.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Observation.status
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: true
is modifier reason:
  v: This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ObservationStatus
  strength:
    v: required
  description:
    v: Codes providing the status of an observation.
  value set:
    v: http://hl7.org/fhir/ValueSet/observation-status|4.0.1
    l: http://hl7.org/fhir/ValueSet/observation-status
mapping:
  identity:
    v: workflow
  map:
    v: Event.status
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.status
mapping:
  identity:
    v: sct-concept
  map:
    v: < 445584004 |Report by finality status|
mapping:
  identity:
    v: v2
  map:
    v: OBX-11
mapping:
  identity:
    v: rim
  map:
    v: status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of "revise"

id:
  v: Observation.category
path:
  v: Observation.category
short:
  v: Categoria da observação
definition:
  v: Categoria da observação
comment:
  v: In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.
requirements:
  v: Used for filtering what observations are retrieved and displayed.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Observation.category
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ObservationCategory
  strength:
    v: preferred
  description:
    v: Codes for high level observation categories.
  value set:
    v: http://hl7.org/fhir/ValueSet/observation-category|4.0.1
    l: http://hl7.org/fhir/ValueSet/observation-category
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.class
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="EVN"].code

id:
  v: Observation.code
path:
  v: Observation.code
short:
  v: Código da observação
definition:
  v: Código da observação
comment:
  v: *All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.
requirements:
  v: Knowing what kind of observation is being made is essential to understanding the observation.
alias:
  v: Name
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Observation.code
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ObservationCode
  strength:
    v: example
  description:
    v: Codes identifying names of simple observations.
  value set:
    v: http://hl7.org/fhir/ValueSet/observation-codes|4.0.1
    l: http://hl7.org/fhir/ValueSet/observation-codes
mapping:
  identity:
    v: workflow
  map:
    v: Event.code
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.what[x]
mapping:
  identity:
    v: sct-concept
  map:
    v: < 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|
mapping:
  identity:
    v: v2
  map:
    v: OBX-3
mapping:
  identity:
    v: rim
  map:
    v: code
mapping:
  identity:
    v: sct-attr
  map:
    v: 116680003 |Is a|

id:
  v: Observation.subject
path:
  v: Observation.subject
short:
  v: Referência ao paciente ou local ou dispositivo ou grupo desta bservação
definition:
  v: Referência ao paciente ou local ou dispositivo ou grupo desta bservação
comment:
  v: One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.
requirements:
  v: Observations have no value if you don't know who or what they're about.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Observation.subject
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-patient
    l: br-core-patient
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-location
    l: br-core-location
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Device
    l: Device
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Group
    l: Group
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.subject
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.subject[x]
mapping:
  identity:
    v: v2
  map:
    v: PID-3
mapping:
  identity:
    v: rim
  map:
    v: participation[typeCode=RTGT]
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.subject

id:
  v: Observation.subject.id
path:
  v: Observation.subject.id
representation:
  v: xmlAttr
short:
  v: ID exclusivo para referência entre elementos
definition:
  v: ID exclusivo para referência entre elementos
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Observation.subject.extension
path:
  v: Observation.subject.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Conteúdo adicional definido por implementações
definition:
  v: Conteúdo adicional definido por implementações
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false

id:
  v: Observation.subject.reference
path:
  v: Observation.subject.reference
short:
  v: Referência literal, URL relativa, interna ou absoluta
definition:
  v: Referência literal, URL relativa, interna ou absoluta
comment:
  v: Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.reference
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
condition:
  v: ref-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Observation.subject.type
path:
  v: Observation.subject.type
short:
  v: Tipo de referência (por exemplo, Paciente)
definition:
  v: Tipo de referência (por exemplo, Paciente)
comment:
  v: This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.type
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: FHIRResourceTypeExt
  strength:
    v: extensible
  description:
    v: Aa resource (or, for logical models, the URI of the logical model).
  value set:
    v: http://hl7.org/fhir/ValueSet/resource-types|4.0.1
    l: http://hl7.org/fhir/ValueSet/resource-types
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Observation.subject.identifier
path:
  v: Observation.subject.identifier
short:
  v: Referência lógica, quando a referência literal não é conhecida
definition:
  v: Referência lógica, quando a referência literal não é conhecida
comment:
  v: When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it. Reference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.identifier
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .identifier

id:
  v: Observation.subject.display
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
    l: elementdefinition-translatable
  value: Boolean
    v: true
path:
  v: Observation.subject.display
short:
  v: Texto alternativo para este rescurso
definition:
  v: Texto alternativo para este recurso
comment:
  v: This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.display
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Observation.focus
path:
  v: Observation.focus
short:
  v: Referência à outro recurso desta observação
definition:
  v: Referência à outro recurso desta observação
comment:
  v: Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., "Blood Glucose") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/R4/extension-observation-focuscode.html).
min:
  v: 0
max:
  v: *
base:
  path:
    v: Observation.focus
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Resource|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Resource
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.subject[x]
mapping:
  identity:
    v: v2
  map:
    v: OBX-3
mapping:
  identity:
    v: rim
  map:
    v: participation[typeCode=SBJ]
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.subject

id:
  v: Observation.encounter
path:
  v: Observation.encounter
short:
  v: Referência ao atendimento durante o qual esta observação foi registrada
definition:
  v: Referência ao atendimento durante o qual esta observação foi registrada
comment:
  v: This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).
requirements:
  v: For some observations it may be important to know the link between an observation and a particular encounter.
alias:
  v: Context
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Observation.encounter
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-encounter
    l: br-core-encounter
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.context
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.context
mapping:
  identity:
    v: v2
  map:
    v: PV1
mapping:
  identity:
    v: rim
  map:
    v: inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]

id:
  v: Observation.effective[x]
path:
  v: Observation.effective[x]
short:
  v: Tempo ou período de tempo clinicamente relevante para a observação
definition:
  v: Tempo ou período de tempo clinicamente relevante para a observação
comment:
  v: At least a date should be present unless this observation is a historical report. For recording imprecise or "fuzzy" times (For example, a blood glucose measurement taken "after breakfast") use the [Timing](http://hl7.org/fhir/R4/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.
requirements:
  v: Knowing when an observation was deemed true is important to its relevance as well as determining trends.
alias:
  v: Occurrence
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Observation.effective[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime
type:
  code:
    v: Period
    l: Period
type:
  code:
    v: Timing
    l: Timing
type:
  code:
    v: instant
    l: instant
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.occurrence[x]
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.done[x]
mapping:
  identity:
    v: v2
  map:
    v: OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)
mapping:
  identity:
    v: rim
  map:
    v: effectiveTime

id:
  v: Observation.issued
path:
  v: Observation.issued
short:
  v: Data/hora em que esta versão foi disponibilizada
definition:
  v: Data/hora em que esta versão foi disponibilizada
comment:
  v: For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/R4/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Observation.issued
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: instant
    l: instant
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.recorded
mapping:
  identity:
    v: v2
  map:
    v: OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)
mapping:
  identity:
    v: rim
  map:
    v: participation[typeCode=AUT].time

id:
  v: Observation.performer
path:
  v: Observation.performer
short:
  v: Referência ao responsável pela observação
definition:
  v: Quem é o responsável pela observação
requirements:
  v: May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Observation.performer
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-practitioner
    l: br-core-practitioner
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-practitionerrole
    l: br-core-practitionerrole
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-organization
    l: br-core-organization
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/CareTeam
    l: CareTeam
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-patient
    l: br-core-patient
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-relatedperson
    l: br-core-relatedperson
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.performer.actor
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.actor
mapping:
  identity:
    v: v2
  map:
    v: OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'
mapping:
  identity:
    v: rim
  map:
    v: participation[typeCode=PRF]

id:
  v: Observation.value[x]
path:
  v: Observation.value[x]
slicing:
  discriminator:
    type:
      v: type
    path:
      v: $this
  ordered:
    v: false
  rules:
    v: open
short:
  v: Resultado da observação
definition:
  v: Resultado da observação
comment:
  v: An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below.
requirements:
  v: An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Observation.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Quantity
    l: Quantity
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
type:
  code:
    v: string
    l: string
type:
  code:
    v: boolean
    l: boolean
type:
  code:
    v: integer
    l: integer
type:
  code:
    v: Range
    l: Range
type:
  code:
    v: Ratio
    l: Ratio
type:
  code:
    v: SampledData
    l: SampledData
type:
  code:
    v: time
    l: time
type:
  code:
    v: dateTime
    l: dateTime
type:
  code:
    v: Period
    l: Period
condition:
  v: obs-7
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: sct-concept
  map:
    v: < 441742003 |Evaluation finding|
mapping:
  identity:
    v: v2
  map:
    v: OBX.2, OBX.5, OBX.6
mapping:
  identity:
    v: rim
  map:
    v: value
mapping:
  identity:
    v: sct-attr
  map:
    v: 363714003 |Interprets|

id:
  v: Observation.value[x]:valueCodeableConcept
path:
  v: Observation.value[x]
slice name:
  v: valueCodeableConcept
short:
  v: Resultado da observação
definition:
  v: Resultado da observação
comment:
  v: An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below.
requirements:
  v: An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Observation.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
condition:
  v: obs-7
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/fhir/uv/ips/ValueSet/pregnancy-status-uv-ips
    l: pregnancy-status-uv-ips
mapping:
  identity:
    v: sct-concept
  map:
    v: < 441742003 |Evaluation finding|
mapping:
  identity:
    v: v2
  map:
    v: OBX.2, OBX.5, OBX.6
mapping:
  identity:
    v: rim
  map:
    v: value
mapping:
  identity:
    v: sct-attr
  map:
    v: 363714003 |Interprets|

id:
  v: Observation.dataAbsentReason
path:
  v: Observation.dataAbsentReason
short:
  v: Por quê o resultado está faltando
definition:
  v: Utilizado para especificar o porquê o valor esperado não está presente
comment:
  v: Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be "detected", "not detected", "inconclusive", or "specimen unsatisfactory". The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code "error" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.
requirements:
  v: For many results it is necessary to handle exceptional values in measurements.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Observation.dataAbsentReason
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
condition:
  v: obs-6
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ObservationValueAbsentReason
  strength:
    v: extensible
  description:
    v: Codes specifying why the result (`Observation.value[x]`) is missing.
  value set:
    v: http://hl7.org/fhir/ValueSet/data-absent-reason|4.0.1
    l: http://hl7.org/fhir/ValueSet/data-absent-reason
mapping:
  identity:
    v: v2
  map:
    v: N/A
mapping:
  identity:
    v: rim
  map:
    v: value.nullFlavor

id:
  v: Observation.interpretation
path:
  v: Observation.interpretation
short:
  v: Interpretação do resultado
definition:
  v: Interpretação da observação. Por exemplo: valor alto, baixo, normal
comment:
  v: Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.
requirements:
  v: For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.
alias:
  v: Abnormal Flag
min:
  v: 0
max:
  v: *
base:
  path:
    v: Observation.interpretation
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ObservationInterpretation
  strength:
    v: extensible
  description:
    v: Codes identifying interpretations of observations.
  value set:
    v: http://hl7.org/fhir/ValueSet/observation-interpretation|4.0.1
    l: http://hl7.org/fhir/ValueSet/observation-interpretation
mapping:
  identity:
    v: sct-concept
  map:
    v: < 260245000 |Findings values|
mapping:
  identity:
    v: v2
  map:
    v: OBX-8
mapping:
  identity:
    v: rim
  map:
    v: interpretationCode
mapping:
  identity:
    v: sct-attr
  map:
    v: 363713009 |Has interpretation|

id:
  v: Observation.note
path:
  v: Observation.note
short:
  v: Comentários sobre a observação
definition:
  v: Comentários sobre a observação
comment:
  v: May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.
requirements:
  v: Need to be able to provide free text additional information.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Observation.note
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Annotation
    l: Annotation
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: v2
  map:
    v: NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)
mapping:
  identity:
    v: rim
  map:
    v: subjectOf.observationEvent[code="annotation"].value

id:
  v: Observation.bodySite
path:
  v: Observation.bodySite
short:
  v: Parte anatômica alvo da observação
definition:
  v: Parte anatômica alvo da observação
comment:
  v: Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/R4/extension-bodysite.html).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Observation.bodySite
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: BodySite
  strength:
    v: example
  description:
    v: Codes describing anatomical locations. May include laterality.
  value set:
    v: http://hl7.org/fhir/ValueSet/body-site|4.0.1
    l: http://hl7.org/fhir/ValueSet/body-site
mapping:
  identity:
    v: sct-concept
  map:
    v: < 123037004 |Body structure|
mapping:
  identity:
    v: v2
  map:
    v: OBX-20
mapping:
  identity:
    v: rim
  map:
    v: targetSiteCode
mapping:
  identity:
    v: sct-attr
  map:
    v: 718497002 |Inherent location|

id:
  v: Observation.method
path:
  v: Observation.method
short:
  v: Método de medida da observação
definition:
  v: Método de medida da observação
comment:
  v: Only used if not implicit in code for Observation.code.
requirements:
  v: In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Observation.method
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ObservationMethod
  strength:
    v: example
  description:
    v: Methods for simple observations.
  value set:
    v: http://hl7.org/fhir/ValueSet/observation-methods|4.0.1
    l: http://hl7.org/fhir/ValueSet/observation-methods
mapping:
  identity:
    v: v2
  map:
    v: OBX-17
mapping:
  identity:
    v: rim
  map:
    v: methodCode

id:
  v: Observation.specimen
path:
  v: Observation.specimen
short:
  v: Amostra utilizada para esta observação
definition:
  v: Amostra utilizada para esta observação
comment:
  v: Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Observation.specimen
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-specimen
    l: br-core-specimen
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: sct-concept
  map:
    v: < 123038009 |Specimen|
mapping:
  identity:
    v: v2
  map:
    v: SPM segment
mapping:
  identity:
    v: rim
  map:
    v: participation[typeCode=SPC].specimen
mapping:
  identity:
    v: sct-attr
  map:
    v: 704319004 |Inherent in|

id:
  v: Observation.device
path:
  v: Observation.device
short:
  v: Dispositivo de medida da observação
definition:
  v: Dispositivo utilizado para registrar esta observação
comment:
  v: Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Observation.device
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Device|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Device
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/DeviceMetric|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/DeviceMetric
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: sct-concept
  map:
    v: < 49062001 |Device|
mapping:
  identity:
    v: v2
  map:
    v: OBX-17 / PRT -10
mapping:
  identity:
    v: rim
  map:
    v: participation[typeCode=DEV]
mapping:
  identity:
    v: sct-attr
  map:
    v: 424226004 |Using device|

id:
  v: Observation.referenceRange
path:
  v: Observation.referenceRange
short:
  v: Fornece um guia para interpretação
definition:
  v: Fornece um guia para interpretação
comment:
  v: Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.
requirements:
  v: Knowing what values are considered "normal" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Observation.referenceRange
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: obs-3
  severity:
    v: error
  human:
    v: Must have at least a low or a high or text
  expression:
    v: low.exists() or high.exists() or text.exists()
  xpath:
    v: (exists(f:low) or exists(f:high)or exists(f:text))
  source:
    v: http://hl7.org/fhir/StructureDefinition/Observation
    l: Observation
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: v2
  map:
    v: OBX.7
mapping:
  identity:
    v: rim
  map:
    v: outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]

id:
  v: Observation.referenceRange.id
path:
  v: Observation.referenceRange.id
representation:
  v: xmlAttr
short:
  v: Identificador único para referência cruzada
definition:
  v: Identificador único para referência cruzada
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Observation.referenceRange.extension
path:
  v: Observation.referenceRange.extension
short:
  v: Extensões adicionais que não fazem parte do modelo de dados básico
definition:
  v: Extensões adicionais que não fazem parte do modelo de dados básico
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false

id:
  v: Observation.referenceRange.modifierExtension
path:
  v: Observation.referenceRange.modifierExtension
short:
  v: Extensões adicionais que não podem ser ignoradas, mesmo que não reconhecidas
definition:
  v: Extensões adicionais que não podem ser ignoradas, mesmo que não reconhecidas
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true

id:
  v: Observation.referenceRange.low
path:
  v: Observation.referenceRange.low
short:
  v: Limite inferior do intervalo
definition:
  v: Limite inferior do intervalo de valores de referência
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Observation.referenceRange.low
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Quantity
    l: Quantity
  profile:
    v: http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/SimpleQuantity
condition:
  v: obs-3
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: v2
  map:
    v: OBX-7
mapping:
  identity:
    v: rim
  map:
    v: value:IVL_PQ.low

id:
  v: Observation.referenceRange.high
path:
  v: Observation.referenceRange.high
short:
  v: Limite superior do intervalo
definition:
  v: Limite superior do intervalo de valores de referência
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Observation.referenceRange.high
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Quantity
    l: Quantity
  profile:
    v: http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/SimpleQuantity
condition:
  v: obs-3
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: v2
  map:
    v: OBX-7
mapping:
  identity:
    v: rim
  map:
    v: value:IVL_PQ.high

id:
  v: Observation.referenceRange.type
path:
  v: Observation.referenceRange.type
short:
  v: Qualificador do valor de referência
definition:
  v: Qualificador do valor de referência
comment:
  v: This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.
requirements:
  v: Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Observation.referenceRange.type
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ObservationRangeMeaning
  strength:
    v: preferred
  description:
    v: Code for the meaning of a reference range.
  value set:
    v: http://hl7.org/fhir/ValueSet/referencerange-meaning|4.0.1
    l: http://hl7.org/fhir/ValueSet/referencerange-meaning
mapping:
  identity:
    v: sct-concept
  map:
    v: < 260245000 |Findings values| OR < 365860008 |General clinical state finding| OR < 250171008 |Clinical history or observation findings| OR < 415229000 |Racial group| OR < 365400002 |Finding of puberty stage| OR < 443938003 |Procedure carried out on subject|
mapping:
  identity:
    v: v2
  map:
    v: OBX-10
mapping:
  identity:
    v: rim
  map:
    v: interpretationCode

id:
  v: Observation.referenceRange.appliesTo
path:
  v: Observation.referenceRange.appliesTo
short:
  v: População do intervalo de referência
definition:
  v: População do intervalo de referência
comment:
  v: This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.
requirements:
  v: Need to be able to identify the target population for proper interpretation.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Observation.referenceRange.appliesTo
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ObservationRangeType
  strength:
    v: example
  description:
    v: Codes identifying the population the reference range applies to.
  value set:
    v: http://hl7.org/fhir/ValueSet/referencerange-appliesto|4.0.1
    l: http://hl7.org/fhir/ValueSet/referencerange-appliesto
mapping:
  identity:
    v: sct-concept
  map:
    v: < 260245000 |Findings values| OR < 365860008 |General clinical state finding| OR < 250171008 |Clinical history or observation findings| OR < 415229000 |Racial group| OR < 365400002 |Finding of puberty stage| OR < 443938003 |Procedure carried out on subject|
mapping:
  identity:
    v: v2
  map:
    v: OBX-10
mapping:
  identity:
    v: rim
  map:
    v: interpretationCode

id:
  v: Observation.referenceRange.age
path:
  v: Observation.referenceRange.age
short:
  v: Faixa etária aplicável
definition:
  v: Faixa etária aplicável, se relevante
requirements:
  v: Some analytes vary greatly over age.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Observation.referenceRange.age
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Range
    l: Range
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: outboundRelationship[typeCode=PRCN].targetObservationCriterion[code="age"].value

id:
  v: Observation.referenceRange.text
path:
  v: Observation.referenceRange.text
short:
  v: Intervalo de referência em formato textual
definition:
  v: Intervalo de referência em formato textual
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Observation.referenceRange.text
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: v2
  map:
    v: OBX-7
mapping:
  identity:
    v: rim
  map:
    v: value:ST

id:
  v: Observation.hasMember
path:
  v: Observation.hasMember
short:
  v: Referência à Observação/Resposta de questionário associada a esta observação
definition:
  v: Referência à Observação/Resposta de questionário associada a esta observação
comment:
  v: When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/R4/questionnaireresponse.html) into a final score and represent the score as an Observation.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Observation.hasMember
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-observation
    l: br-core-observation
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse
    l: QuestionnaireResponse
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/MolecularSequence
    l: MolecularSequence
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: Relationships established by OBX-4 usage
mapping:
  identity:
    v: rim
  map:
    v: outBoundRelationship

id:
  v: Observation.derivedFrom
path:
  v: Observation.derivedFrom
short:
  v: Referência à Documents, Imagens, Mídias associadas a esta observação
definition:
  v: Referência à Documents, Imagens, Mídias associadas a esta observação
comment:
  v: All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Observation.derivedFrom
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/DocumentReference
    l: DocumentReference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/ImagingStudy
    l: ImagingStudy
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Media
    l: Media
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse
    l: QuestionnaireResponse
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-observation
    l: br-core-observation
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/MolecularSequence
    l: MolecularSequence
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: Relationships established by OBX-4 usage
mapping:
  identity:
    v: rim
  map:
    v: .targetObservation

id:
  v: Observation.component
path:
  v: Observation.component
short:
  v: Resultado dos componentes da observação
definition:
  v: Resultado dos componentes da observação
comment:
  v: For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/R4/observation.html#notes) below.
requirements:
  v: Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Observation.component
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: containment by OBX-4?
mapping:
  identity:
    v: rim
  map:
    v: outBoundRelationship[typeCode=COMP]

id:
  v: Observation.component.id
path:
  v: Observation.component.id
representation:
  v: xmlAttr
short:
  v: ID exclusivo para referência entre elementos
definition:
  v: ID exclusivo para referência entre elementos
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Observation.component.extension
path:
  v: Observation.component.extension
short:
  v: Conteúdo adicional definido por implementações
definition:
  v: Conteúdo adicional definido por implementações
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false

id:
  v: Observation.component.modifierExtension
path:
  v: Observation.component.modifierExtension
short:
  v: Extensões que não podem ser ignoradas mesmo que não sejam reconhecidas
definition:
  v: Extensões que não podem ser ignoradas mesmo que não sejam reconhecidas
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true

id:
  v: Observation.component.code
path:
  v: Observation.component.code
short:
  v: Tipo do componente da observação
definition:
  v: Tipo do componente da observação
comment:
  v: *All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.
requirements:
  v: Knowing what kind of observation is being made is essential to understanding the observation.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Observation.component.code
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ObservationCode
  strength:
    v: example
  description:
    v: Codes identifying names of simple observations.
  value set:
    v: http://hl7.org/fhir/ValueSet/observation-codes|4.0.1
    l: http://hl7.org/fhir/ValueSet/observation-codes
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.what[x]
mapping:
  identity:
    v: sct-concept
  map:
    v: < 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|
mapping:
  identity:
    v: v2
  map:
    v: OBX-3
mapping:
  identity:
    v: rim
  map:
    v: code

id:
  v: Observation.component.value[x]
path:
  v: Observation.component.value[x]
short:
  v: Resultado do componente
definition:
  v: Resultado do componente
comment:
  v: Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below.
requirements:
  v: An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Observation.component.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Quantity
    l: Quantity
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
type:
  code:
    v: string
    l: string
type:
  code:
    v: boolean
    l: boolean
type:
  code:
    v: integer
    l: integer
type:
  code:
    v: Range
    l: Range
type:
  code:
    v: Ratio
    l: Ratio
type:
  code:
    v: SampledData
    l: SampledData
type:
  code:
    v: time
    l: time
type:
  code:
    v: dateTime
    l: dateTime
type:
  code:
    v: Period
    l: Period
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: sct-concept
  map:
    v: 363714003 |Interprets| < 441742003 |Evaluation finding|
mapping:
  identity:
    v: v2
  map:
    v: OBX.2, OBX.5, OBX.6
mapping:
  identity:
    v: rim
  map:
    v: value
mapping:
  identity:
    v: sct-attr
  map:
    v: 363714003 |Interprets|

id:
  v: Observation.component.dataAbsentReason
path:
  v: Observation.component.dataAbsentReason
short:
  v: Por que o resultado do componente está ausente
definition:
  v: Por que o resultado do componente está ausente
comment:
  v: "Null" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be "detected", "not detected", "inconclusive", or "test not done". The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code "error" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.
requirements:
  v: For many results it is necessary to handle exceptional values in measurements.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Observation.component.dataAbsentReason
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
condition:
  v: obs-6
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ObservationValueAbsentReason
  strength:
    v: extensible
  description:
    v: Codes specifying why the result (`Observation.value[x]`) is missing.
  value set:
    v: http://hl7.org/fhir/ValueSet/data-absent-reason|4.0.1
    l: http://hl7.org/fhir/ValueSet/data-absent-reason
mapping:
  identity:
    v: v2
  map:
    v: N/A
mapping:
  identity:
    v: rim
  map:
    v: value.nullFlavor

id:
  v: Observation.component.interpretation
path:
  v: Observation.component.interpretation
short:
  v: Interpretação do resultado do componente
definition:
  v: Interpretação do resultado do componente
comment:
  v: Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.
requirements:
  v: For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.
alias:
  v: Abnormal Flag
min:
  v: 0
max:
  v: *
base:
  path:
    v: Observation.component.interpretation
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ObservationInterpretation
  strength:
    v: extensible
  description:
    v: Codes identifying interpretations of observations.
  value set:
    v: http://hl7.org/fhir/ValueSet/observation-interpretation|4.0.1
    l: http://hl7.org/fhir/ValueSet/observation-interpretation
mapping:
  identity:
    v: sct-concept
  map:
    v: < 260245000 |Findings values|
mapping:
  identity:
    v: v2
  map:
    v: OBX-8
mapping:
  identity:
    v: rim
  map:
    v: interpretationCode
mapping:
  identity:
    v: sct-attr
  map:
    v: 363713009 |Has interpretation|

id:
  v: Observation.component.referenceRange
path:
  v: Observation.component.referenceRange
short:
  v: Valores de referência
definition:
  v: Valores de referência para auxiliar na interpretação do resultado
comment:
  v: Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.
requirements:
  v: Knowing what values are considered "normal" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Observation.component.referenceRange
  min:
    v: 0
  max:
    v: *
content reference:
  v: http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange
  l: Observation.referenceRange
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: v2
  map:
    v: OBX.7
mapping:
  identity:
    v: rim
  map:
    v: outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]

element:
  id:
    v: Observation
  path:
    v: Observation
element:
  id:
    v: Observation.value[x]
  path:
    v: Observation.value[x]
  slicing:
    discriminator:
      type:
        v: type
      path:
        v: $this
    ordered:
      v: false
    rules:
      v: open
element:
  id:
    v: Observation.value[x]:valueCodeableConcept
  path:
    v: Observation.value[x]
  slice name:
    v: valueCodeableConcept
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: CodeableConcept
      l: CodeableConcept
  binding:
    strength:
      v: required
    value set:
      v: http://hl7.org/fhir/uv/ips/ValueSet/pregnancy-status-uv-ips
      l: pregnancy-status-uv-ips