Guia de Implementação do Registro de Atendimento Clínico (RAC) da RNDS
0.1.0 - CI Build Brazil flag

Guia de Implementação do Registro de Atendimento Clínico (RAC) da RNDS - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: Registro de Prescrição de Medicamento

Official URL: http://www.saude.gov.br/fhir/r4/StructureDefinition/BRRegistroPrescricaoMedicamento Version: 0.1.0
Standards status: Informative Maturity Level: 1 Computable Name: BRRegistroPrescricaoMedicamento

Modelo que gera o documento de Registro de Prescrição de Medicamento

Usage:

Formal Views of Profile Content

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

This structure is derived from Composition

NameFlagsCard.TypeDescription & Constraintsdoco
.. Composition 0..*CompositionModelo que gera o documento de Registro de Prescrição de Medicamento
... identifier 0..0
... type 1..1CodeableConceptTipo de documento
Binding: Tipo de Documento (required): Tipo de documentos.

.... coding 1..1CodingCode defined by a terminology system
..... system 1..1uriIdentity of the terminology system
..... code 1..1codeSymbol in syntax defined by the system
Fixed Value: RPM
..... display 0..0
..... userSelected 0..0
.... text 0..0
... category 0..0
.... reference ..0
.... type ..0
.... display ..0
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... unidentifiedPatient S0..*(Complex)Dados do Indivíduo Não Identificado
URL: http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0
..... Slices for extension 3..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:gender S1..1ExtensionExtension
..... extension:birthYear S1..1ExtensionExtension
..... extension:reason S1..1ExtensionExtension
... encounter 0..0
... date 1..1dateTimeData e hora em que o medicamento foi prescrito.
... author 1..1Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRPessoaJuridicaProfissionalLiberal-1.0 | http://www.saude.gov.br/fhir/r4/StructureDefinition/BREstabelecimentoSaude-1.0)Responsável por gerar o documento.
.... reference 0..0
.... type 0..0
.... identifier 1..1IdentifierLogical reference, when literal reference is not known
.... display 0..0
... title 1..1stringTítulo do documento
... confidentiality 0..0
... attester 0..0
... custodian 0..0
... relatesTo 0..*BackboneElementRelação a Outros Documentos
... event 0..0
... section 1..1BackboneElementSeções do documento
.... title 0..0
.... code 0..0
.... author 0..0
.... focus 0..0
.... text 0..0
.... mode 0..0
.... orderedBy 0..0
.... entry 1..*Reference(Prescrição de Medicamento | Medicamento)A reference to data that supports this section
..... reference 1..1stringLiteral reference, Relative, internal or absolute URL
..... type 0..0
..... identifier 0..0
..... display 0..0
.... emptyReason 0..0
.... section 0..0

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Composition.typerequiredBRTipoDocumento (a valid code from Tipo de Documento)
http://www.saude.gov.br/fhir/r4/ValueSet/BRTipoDocumento-1.0
from this IG
NameFlagsCard.TypeDescription & Constraintsdoco
.. Composition 0..*CompositionModelo que gera o documento de Registro de Prescrição de Medicamento
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... status ?!Σ1..1codepreliminary | final | amended | entered-in-error
Binding: CompositionStatus (required): The workflow/clinical status of the composition.

.... coding Σ1..1CodingCode defined by a terminology system
..... system Σ1..1uriIdentity of the terminology system
..... code Σ1..1codeSymbol in syntax defined by the system
Fixed Value: RPM
... subject Σ1..1Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuo-1.0)Sujeito da prescrição
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... unidentifiedPatient S0..*(Complex)Dados do Indivíduo Não Identificado
URL: http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0
..... Slices for extension 3..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:gender S1..1ExtensionExtension
...... url 1..1uri"gender"
...... value[x] 1..1codeValue of extension
..... extension:birthYear S1..1ExtensionExtension
...... url 1..1uri"birthYear"
...... value[x] 1..1dateValue of extension
..... extension:reason S1..1ExtensionExtension
...... url 1..1uri"reason"
...... value[x] 1..1CodeableConceptValue of extension
..... url 1..1uri"http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0"
.... reference ΣC0..1stringLiteral reference, Relative, internal or absolute URL
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... display Σ0..1stringText alternative for the resource
... date Σ1..1dateTimeData e hora em que o medicamento foi prescrito.
... author Σ1..1Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRPessoaJuridicaProfissionalLiberal-1.0 | http://www.saude.gov.br/fhir/r4/StructureDefinition/BREstabelecimentoSaude-1.0)Responsável por gerar o documento.
.... identifier Σ1..1IdentifierLogical reference, when literal reference is not known
... title Σ1..1stringTítulo do documento
... relatesTo 0..*BackboneElementRelação a Outros Documentos
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... code 1..1codereplaces | transforms | signs | appends
Binding: DocumentRelationshipType (required): The type of relationship between documents.

.... target[x] 1..1Target of the relationship
..... targetIdentifierIdentifier
..... targetReferenceReference(Composition)
... section C1..1BackboneElementSeções do documento
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... entry C1..*Reference(Prescrição de Medicamento | Medicamento)A reference to data that supports this section
..... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Composition.statusrequiredCompositionStatus
http://hl7.org/fhir/ValueSet/composition-status|4.0.1
from the FHIR Standard
Composition.typerequiredBRTipoDocumento (a valid code from Tipo de Documento)
http://www.saude.gov.br/fhir/r4/ValueSet/BRTipoDocumento-1.0
from this IG
Composition.subject.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
Composition.attester.moderequiredCompositionAttestationMode
http://hl7.org/fhir/ValueSet/composition-attestation-mode|4.0.1
from the FHIR Standard
Composition.relatesTo.coderequiredDocumentRelationshipType
http://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
cmp-1errorComposition.sectionA section must contain at least one of text, entries, or sub-sections
: text.exists() or entry.exists() or section.exists()
cmp-2errorComposition.sectionA section can only have an emptyReason if it is empty
: emptyReason.empty() or entry.empty()
dom-2errorCompositionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorCompositionIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: 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()
dom-4errorCompositionIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorCompositionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceCompositionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Composition 0..*CompositionModelo que gera o documento de Registro de Prescrição de Medicamento
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... status ?!Σ1..1codepreliminary | final | amended | entered-in-error
Binding: CompositionStatus (required): The workflow/clinical status of the composition.

... type Σ1..1CodeableConceptTipo de documento
Binding: Tipo de Documento (required): Tipo de documentos.

.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ1..1CodingCode defined by a terminology system
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ1..1uriIdentity of the terminology system
..... version Σ0..1stringVersion of the system - if relevant
..... code Σ1..1codeSymbol in syntax defined by the system
Fixed Value: RPM
... subject Σ1..1Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuo-1.0)Sujeito da prescrição
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... unidentifiedPatient S0..*(Complex)Dados do Indivíduo Não Identificado
URL: http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 3..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:gender S1..1ExtensionExtension
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... url 1..1uri"gender"
...... value[x] 1..1codeValue of extension
..... extension:birthYear S1..1ExtensionExtension
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... url 1..1uri"birthYear"
...... value[x] 1..1dateValue of extension
..... extension:reason S1..1ExtensionExtension
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... url 1..1uri"reason"
...... value[x] 1..1CodeableConceptValue of extension
..... url 1..1uri"http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0"
.... reference ΣC0..1stringLiteral reference, Relative, internal or absolute URL
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
.... display Σ0..1stringText alternative for the resource
... date Σ1..1dateTimeData e hora em que o medicamento foi prescrito.
... author Σ1..1Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRPessoaJuridicaProfissionalLiberal-1.0 | http://www.saude.gov.br/fhir/r4/StructureDefinition/BREstabelecimentoSaude-1.0)Responsável por gerar o documento.
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... identifier Σ1..1IdentifierLogical reference, when literal reference is not known
... title Σ1..1stringTítulo do documento
... relatesTo 0..*BackboneElementRelação a Outros Documentos
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... code 1..1codereplaces | transforms | signs | appends
Binding: DocumentRelationshipType (required): The type of relationship between documents.

.... target[x] 1..1Target of the relationship
..... targetIdentifierIdentifier
..... targetReferenceReference(Composition)
... section C1..1BackboneElementSeções do documento
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... entry C1..*Reference(Prescrição de Medicamento | Medicamento)A reference to data that supports this section
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Composition.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Composition.statusrequiredCompositionStatus
http://hl7.org/fhir/ValueSet/composition-status|4.0.1
from the FHIR Standard
Composition.typerequiredBRTipoDocumento (a valid code from Tipo de Documento)
http://www.saude.gov.br/fhir/r4/ValueSet/BRTipoDocumento-1.0
from this IG
Composition.subject.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
Composition.attester.moderequiredCompositionAttestationMode
http://hl7.org/fhir/ValueSet/composition-attestation-mode|4.0.1
from the FHIR Standard
Composition.relatesTo.coderequiredDocumentRelationshipType
http://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1
from the FHIR Standard
Composition.event.codeexampleActCode
http://terminology.hl7.org/ValueSet/v3-ActCode

Constraints

IdGradePath(s)DetailsRequirements
cmp-1errorComposition.sectionA section must contain at least one of text, entries, or sub-sections
: text.exists() or entry.exists() or section.exists()
cmp-2errorComposition.sectionA section can only have an emptyReason if it is empty
: emptyReason.empty() or entry.empty()
dom-2errorCompositionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorCompositionIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: 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()
dom-4errorCompositionIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorCompositionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceCompositionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from Composition

Summary

Mandatory: 8 elements (3 nested mandatory elements)
Must-Support: 4 elements
Fixed Value: 1 element
Prohibited: 28 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Maturity: 1

Differential View

This structure is derived from Composition

NameFlagsCard.TypeDescription & Constraintsdoco
.. Composition 0..*CompositionModelo que gera o documento de Registro de Prescrição de Medicamento
... identifier 0..0
... type 1..1CodeableConceptTipo de documento
Binding: Tipo de Documento (required): Tipo de documentos.

.... coding 1..1CodingCode defined by a terminology system
..... system 1..1uriIdentity of the terminology system
..... code 1..1codeSymbol in syntax defined by the system
Fixed Value: RPM
..... display 0..0
..... userSelected 0..0
.... text 0..0
... category 0..0
.... reference ..0
.... type ..0
.... display ..0
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... unidentifiedPatient S0..*(Complex)Dados do Indivíduo Não Identificado
URL: http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0
..... Slices for extension 3..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:gender S1..1ExtensionExtension
..... extension:birthYear S1..1ExtensionExtension
..... extension:reason S1..1ExtensionExtension
... encounter 0..0
... date 1..1dateTimeData e hora em que o medicamento foi prescrito.
... author 1..1Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRPessoaJuridicaProfissionalLiberal-1.0 | http://www.saude.gov.br/fhir/r4/StructureDefinition/BREstabelecimentoSaude-1.0)Responsável por gerar o documento.
.... reference 0..0
.... type 0..0
.... identifier 1..1IdentifierLogical reference, when literal reference is not known
.... display 0..0
... title 1..1stringTítulo do documento
... confidentiality 0..0
... attester 0..0
... custodian 0..0
... relatesTo 0..*BackboneElementRelação a Outros Documentos
... event 0..0
... section 1..1BackboneElementSeções do documento
.... title 0..0
.... code 0..0
.... author 0..0
.... focus 0..0
.... text 0..0
.... mode 0..0
.... orderedBy 0..0
.... entry 1..*Reference(Prescrição de Medicamento | Medicamento)A reference to data that supports this section
..... reference 1..1stringLiteral reference, Relative, internal or absolute URL
..... type 0..0
..... identifier 0..0
..... display 0..0
.... emptyReason 0..0
.... section 0..0

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Composition.typerequiredBRTipoDocumento (a valid code from Tipo de Documento)
http://www.saude.gov.br/fhir/r4/ValueSet/BRTipoDocumento-1.0
from this IG

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Composition 0..*CompositionModelo que gera o documento de Registro de Prescrição de Medicamento
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... status ?!Σ1..1codepreliminary | final | amended | entered-in-error
Binding: CompositionStatus (required): The workflow/clinical status of the composition.

.... coding Σ1..1CodingCode defined by a terminology system
..... system Σ1..1uriIdentity of the terminology system
..... code Σ1..1codeSymbol in syntax defined by the system
Fixed Value: RPM
... subject Σ1..1Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuo-1.0)Sujeito da prescrição
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... unidentifiedPatient S0..*(Complex)Dados do Indivíduo Não Identificado
URL: http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0
..... Slices for extension 3..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:gender S1..1ExtensionExtension
...... url 1..1uri"gender"
...... value[x] 1..1codeValue of extension
..... extension:birthYear S1..1ExtensionExtension
...... url 1..1uri"birthYear"
...... value[x] 1..1dateValue of extension
..... extension:reason S1..1ExtensionExtension
...... url 1..1uri"reason"
...... value[x] 1..1CodeableConceptValue of extension
..... url 1..1uri"http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0"
.... reference ΣC0..1stringLiteral reference, Relative, internal or absolute URL
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... display Σ0..1stringText alternative for the resource
... date Σ1..1dateTimeData e hora em que o medicamento foi prescrito.
... author Σ1..1Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRPessoaJuridicaProfissionalLiberal-1.0 | http://www.saude.gov.br/fhir/r4/StructureDefinition/BREstabelecimentoSaude-1.0)Responsável por gerar o documento.
.... identifier Σ1..1IdentifierLogical reference, when literal reference is not known
... title Σ1..1stringTítulo do documento
... relatesTo 0..*BackboneElementRelação a Outros Documentos
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... code 1..1codereplaces | transforms | signs | appends
Binding: DocumentRelationshipType (required): The type of relationship between documents.

.... target[x] 1..1Target of the relationship
..... targetIdentifierIdentifier
..... targetReferenceReference(Composition)
... section C1..1BackboneElementSeções do documento
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... entry C1..*Reference(Prescrição de Medicamento | Medicamento)A reference to data that supports this section
..... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Composition.statusrequiredCompositionStatus
http://hl7.org/fhir/ValueSet/composition-status|4.0.1
from the FHIR Standard
Composition.typerequiredBRTipoDocumento (a valid code from Tipo de Documento)
http://www.saude.gov.br/fhir/r4/ValueSet/BRTipoDocumento-1.0
from this IG
Composition.subject.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
Composition.attester.moderequiredCompositionAttestationMode
http://hl7.org/fhir/ValueSet/composition-attestation-mode|4.0.1
from the FHIR Standard
Composition.relatesTo.coderequiredDocumentRelationshipType
http://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
cmp-1errorComposition.sectionA section must contain at least one of text, entries, or sub-sections
: text.exists() or entry.exists() or section.exists()
cmp-2errorComposition.sectionA section can only have an emptyReason if it is empty
: emptyReason.empty() or entry.empty()
dom-2errorCompositionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorCompositionIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: 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()
dom-4errorCompositionIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorCompositionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceCompositionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Composition 0..*CompositionModelo que gera o documento de Registro de Prescrição de Medicamento
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... status ?!Σ1..1codepreliminary | final | amended | entered-in-error
Binding: CompositionStatus (required): The workflow/clinical status of the composition.

... type Σ1..1CodeableConceptTipo de documento
Binding: Tipo de Documento (required): Tipo de documentos.

.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ1..1CodingCode defined by a terminology system
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ1..1uriIdentity of the terminology system
..... version Σ0..1stringVersion of the system - if relevant
..... code Σ1..1codeSymbol in syntax defined by the system
Fixed Value: RPM
... subject Σ1..1Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuo-1.0)Sujeito da prescrição
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... unidentifiedPatient S0..*(Complex)Dados do Indivíduo Não Identificado
URL: http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 3..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:gender S1..1ExtensionExtension
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... url 1..1uri"gender"
...... value[x] 1..1codeValue of extension
..... extension:birthYear S1..1ExtensionExtension
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... url 1..1uri"birthYear"
...... value[x] 1..1dateValue of extension
..... extension:reason S1..1ExtensionExtension
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... url 1..1uri"reason"
...... value[x] 1..1CodeableConceptValue of extension
..... url 1..1uri"http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0"
.... reference ΣC0..1stringLiteral reference, Relative, internal or absolute URL
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
.... display Σ0..1stringText alternative for the resource
... date Σ1..1dateTimeData e hora em que o medicamento foi prescrito.
... author Σ1..1Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRPessoaJuridicaProfissionalLiberal-1.0 | http://www.saude.gov.br/fhir/r4/StructureDefinition/BREstabelecimentoSaude-1.0)Responsável por gerar o documento.
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... identifier Σ1..1IdentifierLogical reference, when literal reference is not known
... title Σ1..1stringTítulo do documento
... relatesTo 0..*BackboneElementRelação a Outros Documentos
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... code 1..1codereplaces | transforms | signs | appends
Binding: DocumentRelationshipType (required): The type of relationship between documents.

.... target[x] 1..1Target of the relationship
..... targetIdentifierIdentifier
..... targetReferenceReference(Composition)
... section C1..1BackboneElementSeções do documento
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... entry C1..*Reference(Prescrição de Medicamento | Medicamento)A reference to data that supports this section
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Composition.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Composition.statusrequiredCompositionStatus
http://hl7.org/fhir/ValueSet/composition-status|4.0.1
from the FHIR Standard
Composition.typerequiredBRTipoDocumento (a valid code from Tipo de Documento)
http://www.saude.gov.br/fhir/r4/ValueSet/BRTipoDocumento-1.0
from this IG
Composition.subject.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
Composition.attester.moderequiredCompositionAttestationMode
http://hl7.org/fhir/ValueSet/composition-attestation-mode|4.0.1
from the FHIR Standard
Composition.relatesTo.coderequiredDocumentRelationshipType
http://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1
from the FHIR Standard
Composition.event.codeexampleActCode
http://terminology.hl7.org/ValueSet/v3-ActCode

Constraints

IdGradePath(s)DetailsRequirements
cmp-1errorComposition.sectionA section must contain at least one of text, entries, or sub-sections
: text.exists() or entry.exists() or section.exists()
cmp-2errorComposition.sectionA section can only have an emptyReason if it is empty
: emptyReason.empty() or entry.empty()
dom-2errorCompositionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorCompositionIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: 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()
dom-4errorCompositionIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorCompositionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceCompositionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from Composition

Summary

Mandatory: 8 elements (3 nested mandatory elements)
Must-Support: 4 elements
Fixed Value: 1 element
Prohibited: 28 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Maturity: 1

 

Other representations of profile: CSV, Excel, Schematron