br-core-specimen
type: StructureDefinition
node role: treeRoot
id:
  v: br-core-specimen
text:
  status:
    v: extensions
  div: Narrativa gerada: StructureDefinition br-core-specimen Nome Bandeiras Card. Tipo Descrição e condicionalismos<img src="[binary]" alt="doco" style="background-color: inherit"/> Specimen Specimen #xD; id 0..1 id Identificador lógico deste artefato #xD; meta 0..1 Meta Metadados sobre o recurso #xD; implicitRules 0..1 uri Um conjunto de regras sob as quais este conteúdo foi criado #xD; language 0..1 code Idioma do recurso #xD; text 0..1 Narrative Resumo do texto do recurso em linguagem natural #xD; contained 0..* Resource Contained, inline Resources #xD; extension 0..* Extension Extension #xD; modifierExtension 0..* Extension Extensões adicionais que não podem ser ignoradas, mesmo que não reconhecidas #xD; identifier 0..* Identifier Identificadores externos para este recurso #xD; accessionIdentifier 0..1 Identifier Identificador atribuído pelo laboratório #xD; status 0..1 code Status da amostra: disponível | indisponível | insatisfatório | inserido com erro: códigos que fornecem o status/disponibilidade de uma amostra #xD; type 0..1 CodeableConcept Tipo de material que compõem a amostra Vínculo: BRTipoAmostra (required) #xD; subject 0..1 Reference(BRCorePatient | Group | Device | Substance | br-core-location) Referência de onde veio a amostra. Pode ser de paciente(s), de um local (por exemplo, a fonte de uma amostra ambiental) ou uma amostra de uma substância ou dispositivo #xD; id 0..1 string ID exclusivo para referência entre elementos #xD; extension 0..* Extension Conteúdo adicional definido por implementações #xD; reference 0..1 string Referência literal, URL relativa, interna ou absoluta #xD; type 0..1 uri Tipo ao qual a referência se refere (por exemplo, Paciente) #xD; identifier 0..1 Identifier Referência lógica, quando a referência literal não é conhecida #xD; display 0..1 string Texto alternativo para o recurso #xD; receivedTime 0..1 dateTime Data/hora em que a amostra foi recebida para processamento #xD; parent 0..* Reference(BRCoreSpecimen) Referencia a orige…
url:
  v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-specimen
version:
  v: 1.0.0
name:
  v: BRCoreSpecimen
status:
  v: active
date:
  v: 2025-07-21T19:43:10+00: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 Specimen para representar as características de amostras biológicas no contexto de resultados laboratoriais integrados a um Sumário do Paciente. O recurso Specimen descreve uma amostra utilizada para análise laboratorial
jurisdiction:
  coding:
    system:
      v: urn:iso:std:iso:3166
    code:
      v: BR
    display:
      v: Brazil
fhir version:
  v: 4.0.1
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
  name:
    v: RIM Mapping
mapping:
  identity:
    v: w5
  uri:
    v: http://hl7.org/fhir/fivews
  name:
    v: FiveWs Pattern Mapping
mapping:
  identity:
    v: v2
  uri:
    v: http://hl7.org/v2
  name:
    v: HL7 v2 Mapping
kind:
  v: resource
abstract:
  v: false
type:
  v: Specimen
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Specimen
  link: http://hl7.org/fhir/StructureDefinition/Specimen
derivation:
  v: constraint
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
    value: string
      v: 4.0.1
  element:
    id:
      v: Specimen
    path:
      v: Specimen
    short:
      v: Sample for analysis
    definition:
      v: A sample to be used for analysis.
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Specimen
      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
        link: http://hl7.org/fhir/StructureDefinition/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
        link: http://hl7.org/fhir/StructureDefinition/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
        link: http://hl7.org/fhir/StructureDefinition/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))
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        link: http://hl7.org/fhir/StructureDefinition/DomainResource
    constraint:
      extension:
        value: boolean
      extension:
        value: markdown
      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
        link: http://hl7.org/fhir/StructureDefinition/DomainResource
    is modifier:
      v: false
    is summary:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: Entity. Role, or Act
    mapping:
      identity:
        v: rim
      map:
        v: Role[classCode=SPEC]
  element:
    id:
      v: Specimen.id
    path:
      v: Specimen.id

boolean
v: true

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.

v: Identificador lógico deste artefato

v: Identificador lógico deste artefato

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.

v: 0

v: 1

path:
  v: Resource.id
min:
  v: 0
max:
  v: 1

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
  value: url
    v: id
code:
  v: http://hl7.org/fhirpath/System.String

v: false

v: true

id:
  v: Specimen.meta
path:
  v: Specimen.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
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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true

id:
  v: Specimen.implicitRules
path:
  v: Specimen.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
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
    link: http://hl7.org/fhir/StructureDefinition/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: Specimen.language
path:
  v: Specimen.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
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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet
    value: canonical
      v: http://hl7.org/fhir/ValueSet/all-languages
      link: http://hl7.org/fhir/ValueSet/all-languages
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: Language
  strength:
    v: preferred
  description:
    v: A human language.
  value set:
    v: http://hl7.org/fhir/ValueSet/languages
    link: http://hl7.org/fhir/ValueSet/languages

id:
  v: Specimen.text
path:
  v: Specimen.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
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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: Act.text?

id:
  v: Specimen.contained
path:
  v: Specimen.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
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Specimen.extension
path:
  v: Specimen.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false

id:
  v: Specimen.modifierExtension
path:
  v: Specimen.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/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: Specimen.identifier
path:
  v: Specimen.identifier
short:
  v: Identificadores externos para este recurso
definition:
  v: Identificadores externos para este recurso
min:
  v: 0
max:
  v: *
base:
  path:
    v: Specimen.identifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: 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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.identifier
mapping:
  identity:
    v: v2
  map:
    v: SPM-2
mapping:
  identity:
    v: rim
  map:
    v: .id

id:
  v: Specimen.accessionIdentifier
path:
  v: Specimen.accessionIdentifier
short:
  v: Identificador atribuído pelo laboratório
definition:
  v: Identificador atribuído pelo laboratório
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Specimen.accessionIdentifier
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: 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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.identifier
mapping:
  identity:
    v: v2
  map:
    v: SPM-30 (v2.7+)
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=SBJ].act[classCode=ACSN, moodCode=EVN].id

id:
  v: Specimen.status
path:
  v: Specimen.status
short:
  v: Status da amostra: disponível | indisponível | insatisfatório | inserido com erro: códigos que fornecem o status/disponibilidade de uma amostra
definition:
  v: Status da amostra: disponível | indisponível | insatisfatório | inserido com erro: códigos que fornecem o status/disponibilidade de uma amostra
comment:
  v: This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Specimen.status
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: 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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: true
is modifier reason:
  v: This element is labelled 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
    value: string
      v: SpecimenStatus
  strength:
    v: required
  description:
    v: Codes providing the status/availability of a specimen.
  value set:
    v: http://hl7.org/fhir/ValueSet/specimen-status|4.0.1
    link: 4.0
    link: .1
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.status
mapping:
  identity:
    v: v2
  map:
    v: SPM-20
mapping:
  identity:
    v: rim
  map:
    v: status

id:
  v: Specimen.type
path:
  v: Specimen.type
short:
  v: Tipo de material que compõem a amostra
definition:
  v: Tipo de material que compõem a amostra
comment:
  v: The type can change the way that a specimen is handled and drives what kind of analyses can properly be performed on the specimen. It is frequently used in diagnostic work flow decision making systems.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Specimen.type
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: 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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
binding:
  strength:
    v: required
  value set:
    v: https://terminologia.saude.gov.br/fhir/ValueSet/BRTipoAmostra
    link: https://terminologia.saude.gov.br/fhir/ValueSet/BRTipoAmostra
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.what[x]
mapping:
  identity:
    v: v2
  map:
    v: SPM-4 and possibly SPM-5
mapping:
  identity:
    v: rim
  map:
    v: .code

id:
  v: Specimen.subject
path:
  v: Specimen.subject
short:
  v: Referência de onde veio a amostra. Pode ser de paciente(s), de um local (por exemplo, a fonte de uma amostra ambiental) ou uma amostra de uma substância ou dispositivo
definition:
  v: Referência de onde veio a amostra. Pode ser de paciente(s), de um local (por exemplo, a fonte de uma amostra ambiental) ou uma amostra de uma substância ou dispositivo
requirements:
  v: Must know the subject context.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Specimen.subject
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-patient
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-patient
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Group
    link: http://hl7.org/fhir/StructureDefinition/Group
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Device
    link: http://hl7.org/fhir/StructureDefinition/Device
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Substance
    link: http://hl7.org/fhir/StructureDefinition/Substance
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-location
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-location
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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.subject[x]
mapping:
  identity:
    v: rim
  map:
    v: .scoper or .scoper.playsRole
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.subject

id:
  v: Specimen.subject.id
path:
  v: Specimen.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
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Specimen.subject.extension
path:
  v: Specimen.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false

id:
  v: Specimen.subject.reference
path:
  v: Specimen.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
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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Specimen.subject.type
path:
  v: Specimen.subject.type
short:
  v: Tipo ao qual a referência se refere (por exemplo, Paciente)
definition:
  v: Tipo ao qual a referência se refere (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
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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/ValueSet/resource-types
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Specimen.subject.identifier
path:
  v: Specimen.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
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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .identifier

id:
  v: Specimen.subject.display
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
  value: boolean
    v: true
path:
  v: Specimen.subject.display
short:
  v: Texto alternativo para o recurso
definition:
  v: Texto alternativo para o 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
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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Specimen.receivedTime
path:
  v: Specimen.receivedTime
short:
  v: Data/hora em que a amostra foi recebida para processamento
definition:
  v: Data/hora em que a amostra foi recebida para processamento
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Specimen.receivedTime
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.done[x]
mapping:
  identity:
    v: v2
  map:
    v: SPM-18
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=SBJ].act[code=SPCREC, moodCode=EVN].effectiveTime

id:
  v: Specimen.parent
path:
  v: Specimen.parent
short:
  v: Referencia a origem da amostra
definition:
  v: Referencia a origem da amostra
comment:
  v: The parent specimen could be the source from which the current specimen is derived by some processing step (e.g. an aliquot or isolate or extracted nucleic acids from clinical samples) or one of many specimens that were combined to create a pooled sample.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Specimen.parent
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-specimen
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .scoper (if parent) .player.scopesRole[classCode=SPEC].player (if child)

id:
  v: Specimen.request
path:
  v: Specimen.request
short:
  v: Referencia a requisição associada
definition:
  v: Referencia a requisição associada
comment:
  v: The request may be explicit or implied such with a ServiceRequest that requires a blood draw.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Specimen.request
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-servicerequest
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.why[x]
mapping:
  identity:
    v: v2
  map:
    v: ORC? OBR-2/3?
mapping:
  identity:
    v: rim
  map:
    v: outboundRelationship[typeCode=FLFS].target

id:
  v: Specimen.collection
path:
  v: Specimen.collection
short:
  v: Detalhes da coleta
definition:
  v: Detalhes da coleta
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Specimen.collection
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: 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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: v2
  map:
    v: SPM-14
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=SBJ].act[classCode=SPECCOLLECT, moodCode=EVN]

id:
  v: Specimen.collection.id
path:
  v: Specimen.collection.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
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Specimen.collection.extension
path:
  v: Specimen.collection.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false

id:
  v: Specimen.collection.modifierExtension
path:
  v: Specimen.collection.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/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: Specimen.collection.collector
path:
  v: Specimen.collection.collector
short:
  v: Referência ao profissional responsável pela coleta
definition:
  v: Referência ao profissional responsável pela coleta
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Specimen.collection.collector
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-practitioner
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-practitioner
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-practitionerrole
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-practitionerrole
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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.actor
mapping:
  identity:
    v: v2
  map:
    v: PRT
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=PFM].role

id:
  v: Specimen.collection.collected[x]
path:
  v: Specimen.collection.collected[x]
short:
  v: Data/Hora-Período da coleta
definition:
  v: Data/Hora-Período da coleta
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Specimen.collection.collected[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
type:
  code:
    v: 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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.init
mapping:
  identity:
    v: v2
  map:
    v: SPM-17
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime

id:
  v: Specimen.collection.duration
path:
  v: Specimen.collection.duration
short:
  v: Duração da coleta
definition:
  v: Duracao da coleta
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Specimen.collection.duration
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Duration
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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.init

id:
  v: Specimen.collection.quantity
path:
  v: Specimen.collection.quantity
short:
  v: Quantidade de amostra coletada
definition:
  v: Quantidade de amostra coletada
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Specimen.collection.quantity
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Quantity
  profile:
    v: http://hl7.org/fhir/StructureDefinition/SimpleQuantity
    link: http://hl7.org/fhir/StructureDefinition/SimpleQuantity
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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: v2
  map:
    v: SPM-12
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=SBJ].role[classCode=SPEC].player.quantity

id:
  v: Specimen.collection.method
path:
  v: Specimen.collection.method
short:
  v: Método de coleta da amostra
definition:
  v: Método de coleta da amostra
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Specimen.collection.method
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: 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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/fhir/ValueSet/specimen-collection-method
    link: http://hl7.org/fhir/ValueSet/specimen-collection-method
mapping:
  identity:
    v: v2
  map:
    v: SPM-7
mapping:
  identity:
    v: rim
  map:
    v: .methodCode

id:
  v: Specimen.collection.bodySite
path:
  v: Specimen.collection.bodySite
short:
  v: Local anatômico de coleta da amostra
definition:
  v: Local anatômico de coleta da amostra
comment:
  v: If the use case requires BodySite to be handled as a separate resource instead of an inline coded element (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: Specimen.collection.bodySite
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: 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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/ValueSet/body-site
mapping:
  identity:
    v: v2
  map:
    v: SPM-8 and SPM-9
mapping:
  identity:
    v: rim
  map:
    v: .targetSiteCode

id:
  v: Specimen.collection.fastingStatus[x]
path:
  v: Specimen.collection.fastingStatus[x]
short:
  v: Tempo de jejum do paciente, se for o caso
definition:
  v: Tempo de jejum do paciente, se for o caso
comment:
  v: Representing fasting status using this element is preferred to representing it with an observation using a 'pre-coordinated code' such as LOINC 2005-7 (Calcium [Moles/​time] in 2 hour Urine --12 hours fasting), or using a component observation ` such as `Observation.component code` = LOINC 49541-6 (Fasting status - Reported).
requirements:
  v: Many diagnostic tests require fasting to facilitate accurate interpretation.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Specimen.collection.fastingStatus[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
type:
  code:
    v: Duration
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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: FastingStatus
  strength:
    v: extensible
  description:
    v: Codes describing the fasting status of the patient.
  value set:
    v: http://terminology.hl7.org/ValueSet/v2-0916
    link: http://terminology.hl7.org/ValueSet/v2-0916
mapping:
  identity:
    v: v2
  map:
    v: OBR-

id:
  v: Specimen.processing
path:
  v: Specimen.processing
short:
  v: Detalhes da etapa de processamento da amostra e respectivos passos
definition:
  v: Detalhes da etapa de processamento da amostra e respectivos passos
min:
  v: 0
max:
  v: *
base:
  path:
    v: Specimen.processing
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: 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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=SBJ].act[code=SPCTRT, moodCode=EVN]

id:
  v: Specimen.processing.id
path:
  v: Specimen.processing.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
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Specimen.processing.extension
path:
  v: Specimen.processing.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false

id:
  v: Specimen.processing.modifierExtension
path:
  v: Specimen.processing.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/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: Specimen.processing.description
path:
  v: Specimen.processing.description
short:
  v: Texto que descreve o procedimento
definition:
  v: Texto que descreve o procedimento
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Specimen.processing.description
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: 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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .text

id:
  v: Specimen.processing.procedure
path:
  v: Specimen.processing.procedure
short:
  v: Indica a etapa de tratamento aplicada a amostra
definition:
  v: Indica a etapa de tratamento aplicada a amostra
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Specimen.processing.procedure
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: 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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: SpecimenProcessingProcedure
  strength:
    v: example
  description:
    v: Type indicating the technique used to process the specimen.
  value set:
    v: http://hl7.org/fhir/ValueSet/specimen-processing-procedure
    link: http://hl7.org/fhir/ValueSet/specimen-processing-procedure
mapping:
  identity:
    v: rim
  map:
    v: .code

id:
  v: Specimen.processing.additive
path:
  v: Specimen.processing.additive
short:
  v: Referência ao material utilizado na etapa de processamento da amostra
definition:
  v: Referência ao material utilizado na etapa de processamento da amostra
min:
  v: 0
max:
  v: *
base:
  path:
    v: Specimen.processing.additive
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Substance
    link: http://hl7.org/fhir/StructureDefinition/Substance
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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: v2
  map:
    v: SPM-6
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=CSM].role[classCode=ADTV].code

id:
  v: Specimen.processing.time[x]
path:
  v: Specimen.processing.time[x]
short:
  v: Data e hora do processamento da amostra
definition:
  v: Data e hora do processamento da amostra
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Specimen.processing.time[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
type:
  code:
    v: 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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime

id:
  v: Specimen.container
path:
  v: Specimen.container
short:
  v: Recipiente que contém a amostra (tubo/lâmina, etc.)
definition:
  v: Recipiente que contém a amostra (tubo/lâmina, etc.)
min:
  v: 0
max:
  v: *
base:
  path:
    v: Specimen.container
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: 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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .player.scopingRole[classCode=CONT].scoper

id:
  v: Specimen.container.id
path:
  v: Specimen.container.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
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Specimen.container.extension
path:
  v: Specimen.container.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false

id:
  v: Specimen.container.modifierExtension
path:
  v: Specimen.container.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/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: Specimen.container.identifier
path:
  v: Specimen.container.identifier
short:
  v: Id do recipiente
definition:
  v: Id do recipiente que contém a amostra
min:
  v: 0
max:
  v: *
base:
  path:
    v: Specimen.container.identifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: 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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: SAC-3
mapping:
  identity:
    v: rim
  map:
    v: .id

id:
  v: Specimen.container.description
path:
  v: Specimen.container.description
short:
  v: Descrição do recipiente
definition:
  v: Descrição do recipiente que contém a amostra
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Specimen.container.description
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: 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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .desc

id:
  v: Specimen.container.type
path:
  v: Specimen.container.type
short:
  v: Tipo de recipiente associado a amostra
definition:
  v: Tipo de recipiente associado a amostra
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Specimen.container.type
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: 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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: SpecimenContainerType
  strength:
    v: example
  description:
    v: Type of specimen container.
  value set:
    v: http://hl7.org/fhir/ValueSet/specimen-container-type
    link: http://hl7.org/fhir/ValueSet/specimen-container-type
mapping:
  identity:
    v: v2
  map:
    v: SPM-27
mapping:
  identity:
    v: rim
  map:
    v: .code

id:
  v: Specimen.container.capacity
path:
  v: Specimen.container.capacity
short:
  v: Volume ou tamanho do recipiente
definition:
  v: Volume ou tamanho do recipiente
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Specimen.container.capacity
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Quantity
  profile:
    v: http://hl7.org/fhir/StructureDefinition/SimpleQuantity
    link: http://hl7.org/fhir/StructureDefinition/SimpleQuantity
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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: v2
  map:
    v: one of: SAC 16, SAC17 and SAC 20, or SAC 21 and SAC 20
mapping:
  identity:
    v: rim
  map:
    v: .quantity

id:
  v: Specimen.container.specimenQuantity
path:
  v: Specimen.container.specimenQuantity
short:
  v: Quantidade de amostra no recipiente
definition:
  v: Quantidade de amostra no recipiente
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Specimen.container.specimenQuantity
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Quantity
  profile:
    v: http://hl7.org/fhir/StructureDefinition/SimpleQuantity
    link: http://hl7.org/fhir/StructureDefinition/SimpleQuantity
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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: v2
  map:
    v: SAC-23 (value) SAC-24 (units
mapping:
  identity:
    v: rim
  map:
    v: .playedRole[classCode=CONT].quantity

id:
  v: Specimen.container.additive[x]
path:
  v: Specimen.container.additive[x]
short:
  v: Aditivo associado ao recipiente
definition:
  v: Aditivo associado ao recipiente
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Specimen.container.additive[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Substance
    link: http://hl7.org/fhir/StructureDefinition/Substance
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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: SpecimenContainerAdditive
  strength:
    v: example
  description:
    v: Substance added to specimen container.
  value set:
    v: http://terminology.hl7.org/ValueSet/v2-0371
    link: http://terminology.hl7.org/ValueSet/v2-0371
mapping:
  identity:
    v: v2
  map:
    v: SAC-27
mapping:
  identity:
    v: rim
  map:
    v: .scopesRole[classCode=ADTV].player

id:
  v: Specimen.condition
path:
  v: Specimen.condition
short:
  v: Condições da amostra
definition:
  v: Condições da amostra
comment:
  v: Specimen condition is an observation made about the specimen. It's a point-in-time assessment. It can be used to assess its quality or appropriateness for a specific test.
requirements:
  v: The specimen condition can be used to assess its quality or appropriateness for a specific test.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Specimen.condition
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: 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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v2-0493
    link: http://terminology.hl7.org/ValueSet/v2-0493
mapping:
  identity:
    v: v2
  map:
    v: SPM-24

id:
  v: Specimen.note
path:
  v: Specimen.note
short:
  v: Comentários
definition:
  v: Comentários
min:
  v: 0
max:
  v: *
base:
  path:
    v: Specimen.note
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: 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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: v2
  map:
    v: OBX
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="annotation"].value

element:
  id:
    v: Specimen.id
  path:
    v: Specimen.id
  short:
    v: Identificador lógico deste artefato
  definition:
    v: Identificador lógico deste artefato
element:
  id:
    v: Specimen.meta
  path:
    v: Specimen.meta
  short:
    v: Metadados sobre o recurso
  definition:
    v: Metadados sobre o recurso
element:
  id:
    v: Specimen.implicitRules
  path:
    v: Specimen.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
element:
  id:
    v: Specimen.language
  path:
    v: Specimen.language
  short:
    v: Idioma do recurso
  definition:
    v: Idioma do recurso
element:
  id:
    v: Specimen.text
  path:
    v: Specimen.text
  short:
    v: Resumo do texto do recurso em linguagem natural
  definition:
    v: Resumo do texto do recurso em linguagem natural
element:
  id:
    v: Specimen.contained
  path:
    v: Specimen.contained
  definition:
    v: Recursos contidos no recurso
element:
  id:
    v: Specimen.extension
  path:
    v: Specimen.extension
  definition:
    v: Extensões adicionais que não fazem parte do modelo base
element:
  id:
    v: Specimen.modifierExtension
  path:
    v: Specimen.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
element:
  id:
    v: Specimen.identifier
  path:
    v: Specimen.identifier
  short:
    v: Identificadores externos para este recurso
  definition:
    v: Identificadores externos para este recurso
element:
  id:
    v: Specimen.accessionIdentifier
  path:
    v: Specimen.accessionIdentifier
  short:
    v: Identificador atribuído pelo laboratório
  definition:
    v: Identificador atribuído pelo laboratório
element:
  id:
    v: Specimen.status
  path:
    v: Specimen.status
  short:
    v: Status da amostra: disponível | indisponível | insatisfatório | inserido com erro: códigos que fornecem o status/disponibilidade de uma amostra
  definition:
    v: Status da amostra: disponível | indisponível | insatisfatório | inserido com erro: códigos que fornecem o status/disponibilidade de uma amostra
element:
  id:
    v: Specimen.type
  path:
    v: Specimen.type
  short:
    v: Tipo de material que compõem a amostra
  definition:
    v: Tipo de material que compõem a amostra
  binding:
    strength:
      v: required
    value set:
      v: https://terminologia.saude.gov.br/fhir/ValueSet/BRTipoAmostra
      link: https://terminologia.saude.gov.br/fhir/ValueSet/BRTipoAmostra
element:
  id:
    v: Specimen.subject
  path:
    v: Specimen.subject
  short:
    v: Referência de onde veio a amostra. Pode ser de paciente(s), de um local (por exemplo, a fonte de uma amostra ambiental) ou uma amostra de uma substância ou dispositivo
  definition:
    v: Referência de onde veio a amostra. Pode ser de paciente(s), de um local (por exemplo, a fonte de uma amostra ambiental) ou uma amostra de uma substância ou dispositivo
  type:
    code:
      v: Reference
    target profile:
      v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-patient
      link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-patient
    target profile:
      v: http://hl7.org/fhir/StructureDefinition/Group
      link: http://hl7.org/fhir/StructureDefinition/Group
    target profile:
      v: http://hl7.org/fhir/StructureDefinition/Device
      link: http://hl7.org/fhir/StructureDefinition/Device
    target profile:
      v: http://hl7.org/fhir/StructureDefinition/Substance
      link: http://hl7.org/fhir/StructureDefinition/Substance
    target profile:
      v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-location
      link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-location
element:
  id:
    v: Specimen.subject.id
  path:
    v: Specimen.subject.id
  short:
    v: ID exclusivo para referência entre elementos
  definition:
    v: ID exclusivo para referência entre elementos
element:
  id:
    v: Specimen.subject.extension
  path:
    v: Specimen.subject.extension
  short:
    v: Conteúdo adicional definido por implementações
  definition:
    v: Conteúdo adicional definido por implementações
element:
  id:
    v: Specimen.subject.reference
  path:
    v: Specimen.subject.reference
  short:
    v: Referência literal, URL relativa, interna ou absoluta
  definition:
    v: Referência literal, URL relativa, interna ou absoluta
element:
  id:
    v: Specimen.subject.type
  path:
    v: Specimen.subject.type
  short:
    v: Tipo ao qual a referência se refere (por exemplo, Paciente)
  definition:
    v: Tipo ao qual a referência se refere (por exemplo, Paciente)
element:
  id:
    v: Specimen.subject.identifier
  path:
    v: Specimen.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
element:
  id:
    v: Specimen.subject.display
  path:
    v: Specimen.subject.display
  short:
    v: Texto alternativo para o recurso
  definition:
    v: Texto alternativo para o recurso
element:
  id:
    v: Specimen.receivedTime
  path:
    v: Specimen.receivedTime
  short:
    v: Data/hora em que a amostra foi recebida para processamento
  definition:
    v: Data/hora em que a amostra foi recebida para processamento

id:
  v: Specimen.parent
path:
  v: Specimen.parent
short:
  v: Referencia a origem da amostra
definition:
  v: Referencia a origem da amostra
type:
  code:
    v: Reference
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-specimen
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-specimen

id:
  v: Specimen.request
path:
  v: Specimen.request
short:
  v: Referencia a requisição associada
definition:
  v: Referencia a requisição associada
type:
  code:
    v: Reference
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-servicerequest
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-servicerequest

id:
  v: Specimen.collection
path:
  v: Specimen.collection
short:
  v: Detalhes da coleta
definition:
  v: Detalhes da coleta

id:
  v: Specimen.collection.id
path:
  v: Specimen.collection.id
short:
  v: ID exclusivo para referência entre elementos
definition:
  v: ID exclusivo para referência entre elementos

id:
  v: Specimen.collection.extension
path:
  v: Specimen.collection.extension
short:
  v: Conteúdo adicional definido por implementações
definition:
  v: Conteúdo adicional definido por implementações

id:
  v: Specimen.collection.modifierExtension
path:
  v: Specimen.collection.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

id:
  v: Specimen.collection.collector
path:
  v: Specimen.collection.collector
short:
  v: Referência ao profissional responsável pela coleta
definition:
  v: Referência ao profissional responsável pela coleta
type:
  code:
    v: Reference
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-practitioner
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-practitioner
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-practitionerrole
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-practitionerrole

id:
  v: Specimen.collection.collected[x]
path:
  v: Specimen.collection.collected[x]
short:
  v: Data/Hora-Período da coleta
definition:
  v: Data/Hora-Período da coleta
min:
  v: 1

id:
  v: Specimen.collection.duration
path:
  v: Specimen.collection.duration
short:
  v: Duração da coleta
definition:
  v: Duracao da coleta

id:
  v: Specimen.collection.quantity
path:
  v: Specimen.collection.quantity
short:
  v: Quantidade de amostra coletada
definition:
  v: Quantidade de amostra coletada
min:
  v: 1

id:
  v: Specimen.collection.method
path:
  v: Specimen.collection.method
short:
  v: Método de coleta da amostra
definition:
  v: Método de coleta da amostra
min:
  v: 1
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/fhir/ValueSet/specimen-collection-method
    link: http://hl7.org/fhir/ValueSet/specimen-collection-method

id:
  v: Specimen.collection.bodySite
path:
  v: Specimen.collection.bodySite
short:
  v: Local anatômico de coleta da amostra
definition:
  v: Local anatômico de coleta da amostra

id:
  v: Specimen.collection.fastingStatus[x]
path:
  v: Specimen.collection.fastingStatus[x]
short:
  v: Tempo de jejum do paciente, se for o caso
definition:
  v: Tempo de jejum do paciente, se for o caso

id:
  v: Specimen.processing
path:
  v: Specimen.processing
short:
  v: Detalhes da etapa de processamento da amostra e respectivos passos
definition:
  v: Detalhes da etapa de processamento da amostra e respectivos passos

id:
  v: Specimen.processing.id
path:
  v: Specimen.processing.id
short:
  v: ID exclusivo para referência entre elementos
definition:
  v: ID exclusivo para referência entre elementos

id:
  v: Specimen.processing.extension
path:
  v: Specimen.processing.extension
short:
  v: Conteúdo adicional definido por implementações
definition:
  v: Conteúdo adicional definido por implementações

id:
  v: Specimen.processing.modifierExtension
path:
  v: Specimen.processing.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

id:
  v: Specimen.processing.description
path:
  v: Specimen.processing.description
short:
  v: Texto que descreve o procedimento
definition:
  v: Texto que descreve o procedimento

id:
  v: Specimen.processing.procedure
path:
  v: Specimen.processing.procedure
short:
  v: Indica a etapa de tratamento aplicada a amostra
definition:
  v: Indica a etapa de tratamento aplicada a amostra

id:
  v: Specimen.processing.additive
path:
  v: Specimen.processing.additive
short:
  v: Referência ao material utilizado na etapa de processamento da amostra
definition:
  v: Referência ao material utilizado na etapa de processamento da amostra

id:
  v: Specimen.processing.time[x]
path:
  v: Specimen.processing.time[x]
short:
  v: Data e hora do processamento da amostra
definition:
  v: Data e hora do processamento da amostra

id:
  v: Specimen.container
path:
  v: Specimen.container
short:
  v: Recipiente que contém a amostra (tubo/lâmina, etc.)
definition:
  v: Recipiente que contém a amostra (tubo/lâmina, etc.)

id:
  v: Specimen.container.id
path:
  v: Specimen.container.id
short:
  v: ID exclusivo para referência entre elementos
definition:
  v: ID exclusivo para referência entre elementos

id:
  v: Specimen.container.extension
path:
  v: Specimen.container.extension
short:
  v: Conteúdo adicional definido por implementações
definition:
  v: Conteúdo adicional definido por implementações

id:
  v: Specimen.container.modifierExtension
path:
  v: Specimen.container.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

id:
  v: Specimen.container.identifier
path:
  v: Specimen.container.identifier
short:
  v: Id do recipiente
definition:
  v: Id do recipiente que contém a amostra

id:
  v: Specimen.container.description
path:
  v: Specimen.container.description
short:
  v: Descrição do recipiente
definition:
  v: Descrição do recipiente que contém a amostra

id:
  v: Specimen.container.type
path:
  v: Specimen.container.type
short:
  v: Tipo de recipiente associado a amostra
definition:
  v: Tipo de recipiente associado a amostra

id:
  v: Specimen.container.capacity
path:
  v: Specimen.container.capacity
short:
  v: Volume ou tamanho do recipiente
definition:
  v: Volume ou tamanho do recipiente

id:
  v: Specimen.container.specimenQuantity
path:
  v: Specimen.container.specimenQuantity
short:
  v: Quantidade de amostra no recipiente
definition:
  v: Quantidade de amostra no recipiente

id:
  v: Specimen.container.additive[x]
path:
  v: Specimen.container.additive[x]
short:
  v: Aditivo associado ao recipiente
definition:
  v: Aditivo associado ao recipiente

id:
  v: Specimen.condition
path:
  v: Specimen.condition
short:
  v: Condições da amostra
definition:
  v: Condições da amostra
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v2-0493
    link: http://terminology.hl7.org/ValueSet/v2-0493

id:
  v: Specimen.note
path:
  v: Specimen.note
short:
  v: Comentários
definition:
  v: Comentários