br-core-medicationadministration
type: StructureDefinition
node role: treeRoot
id:
  v: br-core-medicationadministration
text:
  status:
    v: extensions
  div: Narrativa gerada: StructureDefinition br-core-medicationadministration Nome Bandeiras Card. Tipo Descrição e condicionalismos<img src="[binary]" alt="doco" style="background-color: inherit"/> MedicationAdministration MedicationAdministration #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 Recursos contidos no recurso #xD; extension 0..* Extension Extensões adicionais que não fazem parte do modelo base #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; instantiates 0..* uri Instancia protocolo ou definição #xD; partOf 0..* Reference(br-core-medicationadministration | BRCoreProcedure) Parte do evento referenciado #xD; status 1..1 code Códigos de status de administração de medicamentos #xD; statusReason 0..* CodeableConcept Motivo da não realização da administração Vínculo: https://terminologia.saude.gov.br/fhir/ValueSet/reason-medication-not-given (required) #xD; category 0..1 CodeableConcept Tipo de uso de medicamentos #xD; medication[x] 1..1 CodeableConcept, Reference(Medication) O que foi administrado #xD; subject 1..1 Reference(BRCorePatient) Referência ao paciente que recebeu o medicamento #xD; context 0..1 Reference(br-core-encounter) Referência ao atendimento que administrou o medicamento #xD; supportingInformation 0..* Reference(Resource) Informações adicionais para suporte à administração #xD; effective[x] 1..1 dateTime, Period Hora de início e término da administração do medicamento #xD; performer 0..* BackboneElement Quem realizou a administração da medicamento e o que eles fizeram #xD; id 0..1 string Identificador exclusivo para referênci…
url:
  v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-medicationadministration
version:
  v: 1.0.0
name:
  v: BRCoreMedicationAdministration
title:
  v: br-core-medicationadministration
status:
  v: active
date:
  v: 2026-01-14T12:59:48+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: Descreve o evento de um paciente consumindo ou de algum medicamento sendo administrado a um paciente. Isso pode ser tão simples quanto engolir um comprimido ou pode ser uma infusão de longa duração. Recursos relacionados vinculam esse evento à prescrição de autorização e ao atendimento specífco entre o paciente e o profissional de saúde
jurisdiction:
  coding:
    system:
      v: urn:iso:std:iso:3166
    code:
      v: BR
    display:
      v: Brazil
fhir version:
  v: 4.0.1
mapping:
  identity:
    v: workflow
  uri:
    v: http://hl7.org/fhir/workflow
  name:
    v: Workflow Pattern
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
mapping:
  identity:
    v: w3c.prov
  uri:
    v: http://www.w3.org/ns/prov
  name:
    v: W3C PROV
kind:
  v: resource
abstract:
  v: false
type:
  v: MedicationAdministration
base definition:
  v: http://hl7.org/fhir/StructureDefinition/MedicationAdministration
  link: http://hl7.org/fhir/StructureDefinition/MedicationAdministration
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: MedicationAdministration
    path:
      v: MedicationAdministration
    short:
      v: Administration of medication to a patient
    definition:
      v: Describes the event of a patient consuming or otherwise being administered a medication. This may be as simple as swallowing a tablet or it may be a long running infusion. Related resources tie this event to the authorizing prescription, and the specific encounter between patient and health care practitioner.
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: MedicationAdministration
      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

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.

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

identity:
  v: workflow
map:
  v: Event

identity:
  v: rim
map:
  v: SubstanceAdministration

id:
  v: MedicationAdministration.id
path:
  v: MedicationAdministration.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
    value: url
      v: id
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: true

id:
  v: MedicationAdministration.meta
path:
  v: MedicationAdministration.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: MedicationAdministration.implicitRules
path:
  v: MedicationAdministration.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: MedicationAdministration.language
path:
  v: MedicationAdministration.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: MedicationAdministration.text
path:
  v: MedicationAdministration.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: MedicationAdministration.contained
path:
  v: MedicationAdministration.contained
short:
  v: Recursos contidos no recurso
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: MedicationAdministration.extension
path:
  v: MedicationAdministration.extension
short:
  v: Extensões adicionais que não fazem parte do modelo base
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: MedicationAdministration.modifierExtension
path:
  v: MedicationAdministration.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: MedicationAdministration.identifier
path:
  v: MedicationAdministration.identifier
short:
  v: Identificadores externos para este recurso
definition:
  v: Identificadores externos para este recurso
comment:
  v: This is a business identifier, not a resource identifier.
min:
  v: 0
max:
  v: *
base:
  path:
    v: MedicationAdministration.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: false
mapping:
  identity:
    v: workflow
  map:
    v: Event.identifier
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.identifier
mapping:
  identity:
    v: rim
  map:
    v: .id

id:
  v: MedicationAdministration.instantiates
path:
  v: MedicationAdministration.instantiates
short:
  v: Instancia protocolo ou definição
definition:
  v: Instancia protocolo ou definição
min:
  v: 0
max:
  v: *
base:
  path:
    v: MedicationAdministration.instantiates
  min:
    v: 0
  max:
    v: *
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
mapping:
  identity:
    v: workflow
  map:
    v: Event.instantiates
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=DEFN].target[classCode=unspecified]

id:
  v: MedicationAdministration.partOf
path:
  v: MedicationAdministration.partOf
short:
  v: Parte do evento referenciado
definition:
  v: Parte do evento referenciado
min:
  v: 0
max:
  v: *
base:
  path:
    v: MedicationAdministration.partOf
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-medicationadministration
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-medicationadministration
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-procedure
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-procedure
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: workflow
  map:
    v: Event.partOf
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=COMP]/target[classCode=SBADM or PROC,moodCode=EVN]

id:
  v: MedicationAdministration.status
path:
  v: MedicationAdministration.status
short:
  v: Códigos de status de administração de medicamentos
definition:
  v: Códigos de status de administração de medicamentos
comment:
  v: This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: MedicationAdministration.status
  min:
    v: 1
  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: MedicationAdministrationStatus
  strength:
    v: required
  description:
    v: A set of codes indicating the current status of a MedicationAdministration.
  value set:
    v: http://hl7.org/fhir/ValueSet/medication-admin-status|4.0.1
    link: 4.0
    link: .1
mapping:
  identity:
    v: workflow
  map:
    v: Event.status
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.status
mapping:
  identity:
    v: v2
  map:
    v: RXA-20-Completion Status
mapping:
  identity:
    v: rim
  map:
    v: .statusCode

id:
  v: MedicationAdministration.statusReason
path:
  v: MedicationAdministration.statusReason
short:
  v: Motivo da não realização da administração
definition:
  v: Motivo da não realização da administração
min:
  v: 0
max:
  v: *
base:
  path:
    v: MedicationAdministration.statusReason
  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: false
binding:
  strength:
    v: required
  value set:
    v: https://terminologia.saude.gov.br/fhir/ValueSet/reason-medication-not-given
    link: https://terminologia.saude.gov.br/fhir/ValueSet/reason-medication-not-given
mapping:
  identity:
    v: workflow
  map:
    v: Event.statusReason
mapping:
  identity:
    v: v2
  map:
    v: RXA-9-Administration Notes / RXA-18 Substance/Treatment Refusal Reason
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=RSON]/target[classCode=OBS,moodCode=EVN, code="reason not given"].value

id:
  v: MedicationAdministration.category
path:
  v: MedicationAdministration.category
short:
  v: Tipo de uso de medicamentos
definition:
  v: Tipo de uso de medicamentos
min:
  v: 0
max:
  v: 1
base:
  path:
    v: MedicationAdministration.category
  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: MedicationAdministrationCategory
  strength:
    v: preferred
  description:
    v: A coded concept describing where the medication administered is expected to occur.
  value set:
    v: http://hl7.org/fhir/ValueSet/medication-admin-category
    link: http://hl7.org/fhir/ValueSet/medication-admin-category
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code="type of medication usage"].value

id:
  v: MedicationAdministration.medication[x]
path:
  v: MedicationAdministration.medication[x]
short:
  v: O que foi administrado
definition:
  v: O que foi administrado
comment:
  v: If only a code is specified, then it needs to be a code for a specific product. If more information is required, then the use of the medication resource is recommended. For example, if you require form or lot number, then you must reference the Medication resource.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: MedicationAdministration.medication[x]
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Medication
    link: http://hl7.org/fhir/StructureDefinition/Medication
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: MedicationCode
  strength:
    v: example
  description:
    v: Codes identifying substance or product that can be administered.
  value set:
    v: http://hl7.org/fhir/ValueSet/medication-codes
    link: http://hl7.org/fhir/ValueSet/medication-codes
mapping:
  identity:
    v: workflow
  map:
    v: Event.code
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.what[x]
mapping:
  identity:
    v: v2
  map:
    v: RXA-5-Administered Code
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=CSM].role[classCode=ADMM]

id:
  v: MedicationAdministration.subject
path:
  v: MedicationAdministration.subject
short:
  v: Referência ao paciente que recebeu o medicamento
definition:
  v: Referência ao paciente que recebeu o medicamento
min:
  v: 1
max:
  v: 1
base:
  path:
    v: MedicationAdministration.subject
  min:
    v: 1
  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
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: workflow
  map:
    v: Event.subject
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.subject[x]
mapping:
  identity:
    v: v2
  map:
    v: PID-3-Patient ID List
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=SBJ].role[classCode=PAT]
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.subject

id:
  v: MedicationAdministration.context
path:
  v: MedicationAdministration.context
short:
  v: Referência ao atendimento que administrou o medicamento
definition:
  v: Referência ao atendimento que administrou o medicamento
min:
  v: 0
max:
  v: 1
base:
  path:
    v: MedicationAdministration.context
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-encounter
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Event.context
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.context
mapping:
  identity:
    v: v2
  map:
    v: PV1-19-Visit Number
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN, code="type of encounter or episode"]

id:
  v: MedicationAdministration.supportingInformation
path:
  v: MedicationAdministration.supportingInformation
short:
  v: Informações adicionais para suporte à administração
definition:
  v: Informações adicionais para suporte à administração
min:
  v: 0
max:
  v: *
base:
  path:
    v: MedicationAdministration.supportingInformation
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Resource
    link: 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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.context
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=PERT].target[A_SupportingClinicalStatement CMET minimal with many different choices of classCodes(ORG, ENC, PROC, SPLY, SBADM, OBS) and each of the act class codes draws from one or more of the following moodCodes (EVN, DEF, INT PRMS, RQO, PRP, APT, ARQ, GOL)]

id:
  v: MedicationAdministration.effective[x]
path:
  v: MedicationAdministration.effective[x]
short:
  v: Hora de início e término da administração do medicamento
definition:
  v: Hora de início e término da administração do medicamento
min:
  v: 1
max:
  v: 1
base:
  path:
    v: MedicationAdministration.effective[x]
  min:
    v: 1
  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: workflow
  map:
    v: Event.occurrence[x]
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.done[x]
mapping:
  identity:
    v: v2
  map:
    v: RXA-3-Date/Time Start of Administration / RXA-4-Date/Time End of Administration
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime

id:
  v: MedicationAdministration.performer
path:
  v: MedicationAdministration.performer
short:
  v: Quem realizou a administração da medicamento e o que eles fizeram
definition:
  v: Quem realizou a administração da medicamento e o que eles fizeram
min:
  v: 0
max:
  v: *
base:
  path:
    v: MedicationAdministration.performer
  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: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.performer
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.actor
mapping:
  identity:
    v: v2
  map:
    v: RXA-10-Administering Provider / PRT-5-Participation Person: PRT-4-Participation='AP' (RXA-10 is deprecated)
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=PRF]

id:
  v: MedicationAdministration.performer.id
path:
  v: MedicationAdministration.performer.id
representation:
  v: xmlAttr
short:
  v: Identificador exclusivo para referência entre elementos
definition:
  v: Identificador 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: MedicationAdministration.performer.extension
path:
  v: MedicationAdministration.performer.extension
short:
  v: Conteúdo adicional definido pelas implementações
definition:
  v: Conteúdo adicional definido pelas 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: MedicationAdministration.performer.modifierExtension
path:
  v: MedicationAdministration.performer.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: MedicationAdministration.performer.function
path:
  v: MedicationAdministration.performer.function
short:
  v: Função do profissional que administrou o medicamento
definition:
  v: Função do profissional que administrou o medicamento
min:
  v: 0
max:
  v: 1
base:
  path:
    v: MedicationAdministration.performer.function
  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: preferred
  value set:
    v: http://hl7.org/fhir/ValueSet/med-admin-perform-function
    link: http://hl7.org/fhir/ValueSet/med-admin-perform-function
mapping:
  identity:
    v: workflow
  map:
    v: Event.performer.function
mapping:
  identity:
    v: rim
  map:
    v: participation[typeCode=PRF].functionCode

id:
  v: MedicationAdministration.performer.actor
path:
  v: MedicationAdministration.performer.actor
short:
  v: Referência ao profissional que realizou a administração do medicamento
definition:
  v: Referência ao profissional que realizou a administração do medicamento
min:
  v: 1
max:
  v: 1
base:
  path:
    v: MedicationAdministration.performer.actor
  min:
    v: 1
  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
  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: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-relatedperson
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-relatedperson
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Device
    link: http://hl7.org/fhir/StructureDefinition/Device
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: workflow
  map:
    v: Event.performer.actor
mapping:
  identity:
    v: rim
  map:
    v: .role

id:
  v: MedicationAdministration.reasonCode
path:
  v: MedicationAdministration.reasonCode
short:
  v: Motivo da administração do medicamento
definition:
  v: Motivo da administração do medicamento
min:
  v: 0
max:
  v: *
base:
  path:
    v: MedicationAdministration.reasonCode
  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: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: MedicationAdministrationReason
  strength:
    v: example
  description:
    v: A set of codes indicating the reason why the MedicationAdministration was made.
  value set:
    v: http://hl7.org/fhir/ValueSet/reason-medication-given-codes
    link: http://hl7.org/fhir/ValueSet/reason-medication-given-codes
mapping:
  identity:
    v: workflow
  map:
    v: Event.reasonCode
mapping:
  identity:
    v: v2
  map:
    v: RXE-27 Give Indication
mapping:
  identity:
    v: rim
  map:
    v: .reasonCode

id:
  v: MedicationAdministration.reasonReference
path:
  v: MedicationAdministration.reasonReference
short:
  v: Referência à condição ou observação que é o motivo da administração do medicamento
definition:
  v: Referência à condição ou observação que é o motivo da administração do medicamento
comment:
  v: This is a reference to a condition that is the reason for the medication request. If only a code exists, use reasonCode.
min:
  v: 0
max:
  v: *
base:
  path:
    v: MedicationAdministration.reasonReference
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-condition
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-condition
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-observation
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-observation
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-diagnosticreport
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-diagnosticreport
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: workflow
  map:
    v: Event.reasonReference
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.why[x]
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=RSON]/target[classCode=OBS,moodCode=EVN, code="reason for use ASSERTION"].value
mapping:
  identity:
    v: w3c.prov
  map:
    v: no mapping

id:
  v: MedicationAdministration.request
path:
  v: MedicationAdministration.request
short:
  v: Referência à solicitação do medicamento
definition:
  v: Referência à solicitação do medicamento
comment:
  v: This is a reference to the MedicationRequest where the intent is either order or instance-order. It should not reference MedicationRequests where the intent is any other value.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: MedicationAdministration.request
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-medicationrequest
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-medicationrequest
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: workflow
  map:
    v: Event.basedOn
mapping:
  identity:
    v: v2
  map:
    v: ORC-2-Placer Order Number / ORC-3-Filler Order Number
mapping:
  identity:
    v: rim
  map:
    v: InFullfillmentOf->SubstanceAdministration

id:
  v: MedicationAdministration.device
path:
  v: MedicationAdministration.device
short:
  v: Referência ao dispositivo utilizado para administrar o medicamento
definition:
  v: Referência ao dispositivo utilizado para administrar o medicamento
min:
  v: 0
max:
  v: *
base:
  path:
    v: MedicationAdministration.device
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Device
    link: http://hl7.org/fhir/StructureDefinition/Device
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: PRT-10 Participation Device / RXR-3 Administrative Device
mapping:
  identity:
    v: rim
  map:
    v: device->Access OR device->AssignedDevice

id:
  v: MedicationAdministration.note
path:
  v: MedicationAdministration.note
short:
  v: Informações sobre a administração do medicamento
definition:
  v: Informações sobre a administração do medicamento
min:
  v: 0
max:
  v: *
base:
  path:
    v: MedicationAdministration.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: workflow
  map:
    v: Event.note
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=SUBJ]/source[classCode=OBS,moodCode=EVN,code="annotation"].value

id:
  v: MedicationAdministration.dosage
path:
  v: MedicationAdministration.dosage
short:
  v: Dose administrada do medicamento
definition:
  v: Dose administrada do medicamento
min:
  v: 0
max:
  v: 1
base:
  path:
    v: MedicationAdministration.dosage
  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
constraint:
  key:
    v: mad-1
  severity:
    v: error
  human:
    v: SHALL have at least one of dosage.dose or dosage.rate[x]
  expression:
    v: dose.exists() or rate.exists()
  xpath:
    v: exists(f:dose) or exists(f:*[starts-with(local-name(.), 'rate')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/MedicationAdministration
    link: http://hl7.org/fhir/StructureDefinition/MedicationAdministration
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: component->SubstanceAdministrationEvent

id:
  v: MedicationAdministration.dosage.id
path:
  v: MedicationAdministration.dosage.id
representation:
  v: xmlAttr
short:
  v: Identificador exclusivo para referência entre elementos
definition:
  v: Identificador 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: MedicationAdministration.dosage.extension
path:
  v: MedicationAdministration.dosage.extension
short:
  v: Conteúdo adicional definido pelas implementações
definition:
  v: Conteúdo adicional definido pelas 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: MedicationAdministration.dosage.modifierExtension
path:
  v: MedicationAdministration.dosage.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: MedicationAdministration.dosage.text
path:
  v: MedicationAdministration.dosage.text
short:
  v: Instruções de dosagem em texto livre, por exemplo, SIG
definition:
  v: Instruções de dosagem em texto livre, por exemplo, SIG
min:
  v: 0
max:
  v: 1
base:
  path:
    v: MedicationAdministration.dosage.text
  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: MedicationAdministration.dosage.site
path:
  v: MedicationAdministration.dosage.site
short:
  v: Local do corpo que o corpo foi administrado
definition:
  v: Local do corpo que o corpo foi administrado
comment:
  v: If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [bodySite](http://hl7.org/fhir/R4/extension-bodysite.html). May be a summary code, or a reference to a very precise definition of the location, or both.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: MedicationAdministration.dosage.site
  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/body-site
    link: http://hl7.org/fhir/ValueSet/body-site
mapping:
  identity:
    v: v2
  map:
    v: RXR-2 Administration Site / RXR-6 Administration Site Modifier
mapping:
  identity:
    v: rim
  map:
    v: .approachSiteCode

id:
  v: MedicationAdministration.dosage.route
path:
  v: MedicationAdministration.dosage.route
short:
  v: Via de administração do medicamento
definition:
  v: Via de administração do medicamento
min:
  v: 0
max:
  v: 1
base:
  path:
    v: MedicationAdministration.dosage.route
  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/uv/ips/ValueSet/medicine-route-of-administration
    link: http://hl7.org/fhir/uv/ips/ValueSet/medicine-route-of-administration
mapping:
  identity:
    v: v2
  map:
    v: RXR-1-Route
mapping:
  identity:
    v: rim
  map:
    v: .routeCode

id:
  v: MedicationAdministration.dosage.method
path:
  v: MedicationAdministration.dosage.method
short:
  v: Método de admnistração do medicamento
definition:
  v: Método de admnistração do medicamento
comment:
  v: One of the reasons this attribute is not used often, is that the method is often pre-coordinated with the route and/or form of administration. This means the codes used in route or form may pre-coordinate the method in the route code or the form code. The implementation decision about what coding system to use for route or form code will determine how frequently the method code will be populated e.g. if route or form code pre-coordinate method code, then this attribute will not be populated often; if there is no pre-coordination then method code may be used frequently.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: MedicationAdministration.dosage.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:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: MedicationAdministrationMethod
  strength:
    v: example
  description:
    v: A coded concept describing the technique by which the medicine is administered.
  value set:
    v: http://hl7.org/fhir/ValueSet/administration-method-codes
    link: http://hl7.org/fhir/ValueSet/administration-method-codes
mapping:
  identity:
    v: v2
  map:
    v: RXR-4-Administration Method
mapping:
  identity:
    v: rim
  map:
    v: .methodCode

id:
  v: MedicationAdministration.dosage.dose
path:
  v: MedicationAdministration.dosage.dose
short:
  v: Quantidade da dose do medicamento
definition:
  v: Quantidade da dose do medicamento
comment:
  v: If the administration is not instantaneous (rate is present), this can be specified to convey the total amount administered over period of time of a single administration.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: MedicationAdministration.dosage.dose
  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: RXA-6 Administered Amount / RXA-7 Administered Units
mapping:
  identity:
    v: rim
  map:
    v: .doseQuantity

id:
  v: MedicationAdministration.dosage.rate[x]
path:
  v: MedicationAdministration.dosage.rate[x]
short:
  v: Quantidade da dose por unidade de tempo
definition:
  v: Quantidade da dose por unidade de tempo
comment:
  v: If the rate changes over time, and you want to capture this in MedicationAdministration, then each change should be captured as a distinct MedicationAdministration, with a specific MedicationAdministration.dosage.rate, and the date time when the rate change occurred. Typically, the MedicationAdministration.dosage.rate element is not used to convey an average rate.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: MedicationAdministration.dosage.rate[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Ratio
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: RXA-12-Administered Per (Time Unit)
mapping:
  identity:
    v: rim
  map:
    v: .rateQuantity

id:
  v: MedicationAdministration.eventHistory
path:
  v: MedicationAdministration.eventHistory
short:
  v: Referência à uma lista de eventos
definition:
  v: Referência à uma lista de eventos
comment:
  v: This might not include provenances for all versions of the request – only those deemed “relevant” or important. This SHALL NOT include the Provenance associated with this current version of the resource. (If that provenance is deemed to be a “relevant” change, it will need to be added as part of a later update. Until then, it can be queried directly as the Provenance that points to this version using _revinclude All Provenances should have some historical version of this Request as their subject.
min:
  v: 0
max:
  v: *
base:
  path:
    v: MedicationAdministration.eventHistory
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Provenance
    link: http://hl7.org/fhir/StructureDefinition/Provenance
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: .inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]

element:
  id:
    v: MedicationAdministration.id
  path:
    v: MedicationAdministration.id
  short:
    v: Identificador lógico deste artefato
  definition:
    v: Identificador lógico deste artefato
element:
  id:
    v: MedicationAdministration.meta
  path:
    v: MedicationAdministration.meta
  short:
    v: Metadados sobre o recurso
  definition:
    v: Metadados sobre o recurso
element:
  id:
    v: MedicationAdministration.implicitRules
  path:
    v: MedicationAdministration.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: MedicationAdministration.language
  path:
    v: MedicationAdministration.language
  short:
    v: Idioma do recurso
  definition:
    v: Idioma do recurso
element:
  id:
    v: MedicationAdministration.text
  path:
    v: MedicationAdministration.text
  short:
    v: Resumo do texto do recurso em linguagem natural
  definition:
    v: Resumo do texto do recurso em linguagem natural
element:
  id:
    v: MedicationAdministration.contained
  path:
    v: MedicationAdministration.contained
  short:
    v: Recursos contidos no recurso
  definition:
    v: Recursos contidos no recurso
element:
  id:
    v: MedicationAdministration.extension
  path:
    v: MedicationAdministration.extension
  short:
    v: Extensões adicionais que não fazem parte do modelo base
  definition:
    v: Extensões adicionais que não fazem parte do modelo base
element:
  id:
    v: MedicationAdministration.modifierExtension
  path:
    v: MedicationAdministration.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: MedicationAdministration.identifier
  path:
    v: MedicationAdministration.identifier
  short:
    v: Identificadores externos para este recurso
  definition:
    v: Identificadores externos para este recurso
element:
  id:
    v: MedicationAdministration.instantiates
  path:
    v: MedicationAdministration.instantiates
  short:
    v: Instancia protocolo ou definição
  definition:
    v: Instancia protocolo ou definição
element:
  id:
    v: MedicationAdministration.partOf
  path:
    v: MedicationAdministration.partOf
  short:
    v: Parte do evento referenciado
  definition:
    v: Parte do evento referenciado
  type:
    code:
      v: Reference
    target profile:
      v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-medicationadministration
      link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-medicationadministration
    target profile:
      v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-procedure
      link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-procedure
element:
  id:
    v: MedicationAdministration.status
  path:
    v: MedicationAdministration.status
  short:
    v: Códigos de status de administração de medicamentos
  definition:
    v: Códigos de status de administração de medicamentos
element:
  id:
    v: MedicationAdministration.statusReason
  path:
    v: MedicationAdministration.statusReason
  short:
    v: Motivo da não realização da administração
  definition:
    v: Motivo da não realização da administração
  binding:
    strength:
      v: required
    value set:
      v: https://terminologia.saude.gov.br/fhir/ValueSet/reason-medication-not-given
      link: https://terminologia.saude.gov.br/fhir/ValueSet/reason-medication-not-given
element:
  id:
    v: MedicationAdministration.category
  path:
    v: MedicationAdministration.category
  short:
    v: Tipo de uso de medicamentos
  definition:
    v: Tipo de uso de medicamentos
element:
  id:
    v: MedicationAdministration.medication[x]
  path:
    v: MedicationAdministration.medication[x]
  short:
    v: O que foi administrado
  definition:
    v: O que foi administrado
element:
  id:
    v: MedicationAdministration.subject
  path:
    v: MedicationAdministration.subject
  short:
    v: Referência ao paciente que recebeu o medicamento
  definition:
    v: Referência ao paciente que recebeu o medicamento
  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
element:
  id:
    v: MedicationAdministration.context
  path:
    v: MedicationAdministration.context
  short:
    v: Referência ao atendimento que administrou o medicamento
  definition:
    v: Referência ao atendimento que administrou o medicamento
  type:
    code:
      v: Reference
    target profile:
      v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-encounter
      link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-encounter
element:
  id:
    v: MedicationAdministration.supportingInformation
  path:
    v: MedicationAdministration.supportingInformation
  short:
    v: Informações adicionais para suporte à administração
  definition:
    v: Informações adicionais para suporte à administração
element:
  id:
    v: MedicationAdministration.effective[x]
  path:
    v: MedicationAdministration.effective[x]
  short:
    v: Hora de início e término da administração do medicamento
  definition:
    v: Hora de início e término da administração do medicamento
element:
  id:
    v: MedicationAdministration.performer

v: MedicationAdministration.performer

v: Quem realizou a administração da medicamento e o que eles fizeram

v: Quem realizou a administração da medicamento e o que eles fizeram

id:
  v: MedicationAdministration.performer.id
path:
  v: MedicationAdministration.performer.id
short:
  v: Identificador exclusivo para referência entre elementos
definition:
  v: Identificador exclusivo para referência entre elementos

id:
  v: MedicationAdministration.performer.extension
path:
  v: MedicationAdministration.performer.extension
short:
  v: Conteúdo adicional definido pelas implementações
definition:
  v: Conteúdo adicional definido pelas implementações

id:
  v: MedicationAdministration.performer.modifierExtension
path:
  v: MedicationAdministration.performer.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: MedicationAdministration.performer.function
path:
  v: MedicationAdministration.performer.function
short:
  v: Função do profissional que administrou o medicamento
definition:
  v: Função do profissional que administrou o medicamento
binding:
  strength:
    v: preferred
  value set:
    v: http://hl7.org/fhir/ValueSet/med-admin-perform-function
    link: http://hl7.org/fhir/ValueSet/med-admin-perform-function

id:
  v: MedicationAdministration.performer.actor
path:
  v: MedicationAdministration.performer.actor
short:
  v: Referência ao profissional que realizou a administração do medicamento
definition:
  v: Referência ao profissional que realizou a administração do medicamento
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
  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: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-relatedperson
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-relatedperson
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Device
    link: http://hl7.org/fhir/StructureDefinition/Device

id:
  v: MedicationAdministration.reasonCode
path:
  v: MedicationAdministration.reasonCode
short:
  v: Motivo da administração do medicamento
definition:
  v: Motivo da administração do medicamento

id:
  v: MedicationAdministration.reasonReference
path:
  v: MedicationAdministration.reasonReference
short:
  v: Referência à condição ou observação que é o motivo da administração do medicamento
definition:
  v: Referência à condição ou observação que é o motivo da administração do medicamento
type:
  code:
    v: Reference
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-condition
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-condition
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-observation
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-observation
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-diagnosticreport
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-diagnosticreport

id:
  v: MedicationAdministration.request
path:
  v: MedicationAdministration.request
short:
  v: Referência à solicitação do medicamento
definition:
  v: Referência à solicitação do medicamento
type:
  code:
    v: Reference
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-medicationrequest
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-medicationrequest

id:
  v: MedicationAdministration.device
path:
  v: MedicationAdministration.device
short:
  v: Referência ao dispositivo utilizado para administrar o medicamento
definition:
  v: Referência ao dispositivo utilizado para administrar o medicamento

id:
  v: MedicationAdministration.note
path:
  v: MedicationAdministration.note
short:
  v: Informações sobre a administração do medicamento
definition:
  v: Informações sobre a administração do medicamento

id:
  v: MedicationAdministration.dosage
path:
  v: MedicationAdministration.dosage
short:
  v: Dose administrada do medicamento
definition:
  v: Dose administrada do medicamento

id:
  v: MedicationAdministration.dosage.id
path:
  v: MedicationAdministration.dosage.id
short:
  v: Identificador exclusivo para referência entre elementos
definition:
  v: Identificador exclusivo para referência entre elementos

id:
  v: MedicationAdministration.dosage.extension
path:
  v: MedicationAdministration.dosage.extension
short:
  v: Conteúdo adicional definido pelas implementações
definition:
  v: Conteúdo adicional definido pelas implementações

id:
  v: MedicationAdministration.dosage.modifierExtension
path:
  v: MedicationAdministration.dosage.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: MedicationAdministration.dosage.text
path:
  v: MedicationAdministration.dosage.text
short:
  v: Instruções de dosagem em texto livre, por exemplo, SIG
definition:
  v: Instruções de dosagem em texto livre, por exemplo, SIG

id:
  v: MedicationAdministration.dosage.site
path:
  v: MedicationAdministration.dosage.site
short:
  v: Local do corpo que o corpo foi administrado
definition:
  v: Local do corpo que o corpo foi administrado
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/fhir/ValueSet/body-site
    link: http://hl7.org/fhir/ValueSet/body-site

id:
  v: MedicationAdministration.dosage.route
path:
  v: MedicationAdministration.dosage.route
short:
  v: Via de administração do medicamento
definition:
  v: Via de administração do medicamento
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/fhir/uv/ips/ValueSet/medicine-route-of-administration
    link: http://hl7.org/fhir/uv/ips/ValueSet/medicine-route-of-administration

id:
  v: MedicationAdministration.dosage.method
path:
  v: MedicationAdministration.dosage.method
short:
  v: Método de admnistração do medicamento
definition:
  v: Método de admnistração do medicamento

id:
  v: MedicationAdministration.dosage.dose
path:
  v: MedicationAdministration.dosage.dose
short:
  v: Quantidade da dose do medicamento
definition:
  v: Quantidade da dose do medicamento

id:
  v: MedicationAdministration.dosage.rate[x]
path:
  v: MedicationAdministration.dosage.rate[x]
short:
  v: Quantidade da dose por unidade de tempo
definition:
  v: Quantidade da dose por unidade de tempo

id:
  v: MedicationAdministration.eventHistory
path:
  v: MedicationAdministration.eventHistory
short:
  v: Referência à uma lista de eventos
definition:
  v: Referência à uma lista de eventos