Guia de Implementação do Registro de Atendimento Clínico (RAC) da RNDS
0.1.0 - CI Build
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
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:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from Composition
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Composition | 0..* | Composition | Modelo que gera o documento de Registro de Prescrição de Medicamento | |
identifier | 0..0 | |||
type | 1..1 | CodeableConcept | Tipo de documento Binding: Tipo de Documento (required): Tipo de documentos. | |
coding | 1..1 | Coding | Code defined by a terminology system | |
system | 1..1 | uri | Identity of the terminology system | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: RPM | |
display | 0..0 | |||
userSelected | 0..0 | |||
text | 0..0 | |||
category | 0..0 | |||
subject | 1..1 | Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuo-1.0) | Sujeito da prescrição | |
reference | ..0 | |||
type | ..0 | |||
display | ..0 | |||
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
unidentifiedPatient | S | 0..* | (Complex) | Dados do Indivíduo Não Identificado URL: http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0 |
Slices for extension | 3..* | Extension | Extension Slice: Unordered, Open by value:url | |
extension:gender | S | 1..1 | Extension | Extension |
extension:birthYear | S | 1..1 | Extension | Extension |
extension:reason | S | 1..1 | Extension | Extension |
encounter | 0..0 | |||
date | 1..1 | dateTime | Data e hora em que o medicamento foi prescrito. | |
author | 1..1 | Reference(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..1 | Identifier | Logical reference, when literal reference is not known | |
display | 0..0 | |||
title | 1..1 | string | Título do documento | |
confidentiality | 0..0 | |||
attester | 0..0 | |||
custodian | 0..0 | |||
relatesTo | 0..* | BackboneElement | Relação a Outros Documentos | |
event | 0..0 | |||
section | 1..1 | BackboneElement | Seçõ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..1 | string | Literal reference, Relative, internal or absolute URL | |
type | 0..0 | |||
identifier | 0..0 | |||
display | 0..0 | |||
emptyReason | 0..0 | |||
section | 0..0 | |||
Documentation for this format |
Path | Conformance | ValueSet | URI |
Composition.type | required | BRTipoDocumento (a valid code from Tipo de Documento)http://www.saude.gov.br/fhir/r4/ValueSet/BRTipoDocumento-1.0 from this IG |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Composition | 0..* | Composition | Modelo que gera o documento de Registro de Prescrição de Medicamento | |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
status | ?!Σ | 1..1 | code | preliminary | final | amended | entered-in-error Binding: CompositionStatus (required): The workflow/clinical status of the composition. |
type | Σ | 1..1 | CodeableConcept | Tipo de documento Binding: Tipo de Documento (required): Tipo de documentos. |
coding | Σ | 1..1 | Coding | Code defined by a terminology system |
system | Σ | 1..1 | uri | Identity of the terminology system |
code | Σ | 1..1 | code | Symbol in syntax defined by the system Fixed Value: RPM |
subject | Σ | 1..1 | Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuo-1.0) | Sujeito da prescrição |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
unidentifiedPatient | S | 0..* | (Complex) | Dados do Indivíduo Não Identificado URL: http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0 |
Slices for extension | 3..* | Extension | Extension Slice: Unordered, Open by value:url | |
extension:gender | S | 1..1 | Extension | Extension |
url | 1..1 | uri | "gender" | |
value[x] | 1..1 | code | Value of extension | |
extension:birthYear | S | 1..1 | Extension | Extension |
url | 1..1 | uri | "birthYear" | |
value[x] | 1..1 | date | Value of extension | |
extension:reason | S | 1..1 | Extension | Extension |
url | 1..1 | uri | "reason" | |
value[x] | 1..1 | CodeableConcept | Value of extension | |
url | 1..1 | uri | "http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0" | |
reference | ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL |
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). |
display | Σ | 0..1 | string | Text alternative for the resource |
date | Σ | 1..1 | dateTime | Data e hora em que o medicamento foi prescrito. |
author | Σ | 1..1 | Reference(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..1 | Identifier | Logical reference, when literal reference is not known |
title | Σ | 1..1 | string | Título do documento |
relatesTo | 0..* | BackboneElement | Relação a Outros Documentos | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
code | 1..1 | code | replaces | transforms | signs | appends Binding: DocumentRelationshipType (required): The type of relationship between documents. | |
target[x] | 1..1 | Target of the relationship | ||
targetIdentifier | Identifier | |||
targetReference | Reference(Composition) | |||
section | C | 1..1 | BackboneElement | Seçõ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..* | Extension | Extensions that cannot be ignored even if unrecognized |
entry | C | 1..* | Reference(Prescrição de Medicamento | Medicamento) | A reference to data that supports this section |
reference | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
Documentation for this format |
Path | Conformance | ValueSet | URI |
Composition.status | required | CompositionStatushttp://hl7.org/fhir/ValueSet/composition-status|4.0.1 from the FHIR Standard | |
Composition.type | required | BRTipoDocumento (a valid code from Tipo de Documento)http://www.saude.gov.br/fhir/r4/ValueSet/BRTipoDocumento-1.0 from this IG | |
Composition.subject.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | |
Composition.attester.mode | required | CompositionAttestationModehttp://hl7.org/fhir/ValueSet/composition-attestation-mode|4.0.1 from the FHIR Standard | |
Composition.relatesTo.code | required | DocumentRelationshipTypehttp://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
cmp-1 | error | Composition.section | A section must contain at least one of text, entries, or sub-sections : text.exists() or entry.exists() or section.exists() | |
cmp-2 | error | Composition.section | A section can only have an emptyReason if it is empty : emptyReason.empty() or entry.empty() | |
dom-2 | error | Composition | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Composition | 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 : 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-4 | error | Composition | If 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-5 | error | Composition | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Composition | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
Composition | 0..* | Composition | Modelo que gera o documento de Registro de Prescrição de Medicamento | |||||
id | Σ | 0..1 | id | Logical id of this artifact | ||||
meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
status | ?!Σ | 1..1 | code | preliminary | final | amended | entered-in-error Binding: CompositionStatus (required): The workflow/clinical status of the composition. | ||||
type | Σ | 1..1 | CodeableConcept | Tipo de documento Binding: Tipo de Documento (required): Tipo de documentos. | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
coding | Σ | 1..1 | Coding | Code defined by a terminology system | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
system | Σ | 1..1 | uri | Identity of the terminology system | ||||
version | Σ | 0..1 | string | Version of the system - if relevant | ||||
code | Σ | 1..1 | code | Symbol in syntax defined by the system Fixed Value: RPM | ||||
subject | Σ | 1..1 | Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuo-1.0) | Sujeito da prescrição | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
unidentifiedPatient | S | 0..* | (Complex) | Dados do Indivíduo Não Identificado URL: http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0 | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
Slices for extension | 3..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
extension:gender | S | 1..1 | Extension | Extension | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
url | 1..1 | uri | "gender" | |||||
value[x] | 1..1 | code | Value of extension | |||||
extension:birthYear | S | 1..1 | Extension | Extension | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
url | 1..1 | uri | "birthYear" | |||||
value[x] | 1..1 | date | Value of extension | |||||
extension:reason | S | 1..1 | Extension | Extension | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
url | 1..1 | uri | "reason" | |||||
value[x] | 1..1 | CodeableConcept | Value of extension | |||||
url | 1..1 | uri | "http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0" | |||||
reference | ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
display | Σ | 0..1 | string | Text alternative for the resource | ||||
date | Σ | 1..1 | dateTime | Data e hora em que o medicamento foi prescrito. | ||||
author | Σ | 1..1 | Reference(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..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
identifier | Σ | 1..1 | Identifier | Logical reference, when literal reference is not known | ||||
title | Σ | 1..1 | string | Título do documento | ||||
relatesTo | 0..* | BackboneElement | Relação a Outros Documentos | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
code | 1..1 | code | replaces | transforms | signs | appends Binding: DocumentRelationshipType (required): The type of relationship between documents. | |||||
target[x] | 1..1 | Target of the relationship | ||||||
targetIdentifier | Identifier | |||||||
targetReference | Reference(Composition) | |||||||
section | C | 1..1 | BackboneElement | Seçõ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..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
entry | C | 1..* | Reference(Prescrição de Medicamento | Medicamento) | A reference to data that supports this section | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
reference | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL | ||||
Documentation for this format |
Path | Conformance | ValueSet | URI | |||
Composition.language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard | ||||
Composition.status | required | CompositionStatushttp://hl7.org/fhir/ValueSet/composition-status|4.0.1 from the FHIR Standard | ||||
Composition.type | required | BRTipoDocumento (a valid code from Tipo de Documento)http://www.saude.gov.br/fhir/r4/ValueSet/BRTipoDocumento-1.0 from this IG | ||||
Composition.subject.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | ||||
Composition.attester.mode | required | CompositionAttestationModehttp://hl7.org/fhir/ValueSet/composition-attestation-mode|4.0.1 from the FHIR Standard | ||||
Composition.relatesTo.code | required | DocumentRelationshipTypehttp://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1 from the FHIR Standard | ||||
Composition.event.code | example | ActCodehttp://terminology.hl7.org/ValueSet/v3-ActCode |
Id | Grade | Path(s) | Details | Requirements |
cmp-1 | error | Composition.section | A section must contain at least one of text, entries, or sub-sections : text.exists() or entry.exists() or section.exists() | |
cmp-2 | error | Composition.section | A section can only have an emptyReason if it is empty : emptyReason.empty() or entry.empty() | |
dom-2 | error | Composition | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Composition | 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 : 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-4 | error | Composition | If 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-5 | error | Composition | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Composition | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must 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: 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
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Composition | 0..* | Composition | Modelo que gera o documento de Registro de Prescrição de Medicamento | |
identifier | 0..0 | |||
type | 1..1 | CodeableConcept | Tipo de documento Binding: Tipo de Documento (required): Tipo de documentos. | |
coding | 1..1 | Coding | Code defined by a terminology system | |
system | 1..1 | uri | Identity of the terminology system | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: RPM | |
display | 0..0 | |||
userSelected | 0..0 | |||
text | 0..0 | |||
category | 0..0 | |||
subject | 1..1 | Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuo-1.0) | Sujeito da prescrição | |
reference | ..0 | |||
type | ..0 | |||
display | ..0 | |||
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
unidentifiedPatient | S | 0..* | (Complex) | Dados do Indivíduo Não Identificado URL: http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0 |
Slices for extension | 3..* | Extension | Extension Slice: Unordered, Open by value:url | |
extension:gender | S | 1..1 | Extension | Extension |
extension:birthYear | S | 1..1 | Extension | Extension |
extension:reason | S | 1..1 | Extension | Extension |
encounter | 0..0 | |||
date | 1..1 | dateTime | Data e hora em que o medicamento foi prescrito. | |
author | 1..1 | Reference(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..1 | Identifier | Logical reference, when literal reference is not known | |
display | 0..0 | |||
title | 1..1 | string | Título do documento | |
confidentiality | 0..0 | |||
attester | 0..0 | |||
custodian | 0..0 | |||
relatesTo | 0..* | BackboneElement | Relação a Outros Documentos | |
event | 0..0 | |||
section | 1..1 | BackboneElement | Seçõ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..1 | string | Literal reference, Relative, internal or absolute URL | |
type | 0..0 | |||
identifier | 0..0 | |||
display | 0..0 | |||
emptyReason | 0..0 | |||
section | 0..0 | |||
Documentation for this format |
Path | Conformance | ValueSet | URI |
Composition.type | required | BRTipoDocumento (a valid code from Tipo de Documento)http://www.saude.gov.br/fhir/r4/ValueSet/BRTipoDocumento-1.0 from this IG |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Composition | 0..* | Composition | Modelo que gera o documento de Registro de Prescrição de Medicamento | |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
status | ?!Σ | 1..1 | code | preliminary | final | amended | entered-in-error Binding: CompositionStatus (required): The workflow/clinical status of the composition. |
type | Σ | 1..1 | CodeableConcept | Tipo de documento Binding: Tipo de Documento (required): Tipo de documentos. |
coding | Σ | 1..1 | Coding | Code defined by a terminology system |
system | Σ | 1..1 | uri | Identity of the terminology system |
code | Σ | 1..1 | code | Symbol in syntax defined by the system Fixed Value: RPM |
subject | Σ | 1..1 | Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuo-1.0) | Sujeito da prescrição |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
unidentifiedPatient | S | 0..* | (Complex) | Dados do Indivíduo Não Identificado URL: http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0 |
Slices for extension | 3..* | Extension | Extension Slice: Unordered, Open by value:url | |
extension:gender | S | 1..1 | Extension | Extension |
url | 1..1 | uri | "gender" | |
value[x] | 1..1 | code | Value of extension | |
extension:birthYear | S | 1..1 | Extension | Extension |
url | 1..1 | uri | "birthYear" | |
value[x] | 1..1 | date | Value of extension | |
extension:reason | S | 1..1 | Extension | Extension |
url | 1..1 | uri | "reason" | |
value[x] | 1..1 | CodeableConcept | Value of extension | |
url | 1..1 | uri | "http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0" | |
reference | ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL |
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). |
display | Σ | 0..1 | string | Text alternative for the resource |
date | Σ | 1..1 | dateTime | Data e hora em que o medicamento foi prescrito. |
author | Σ | 1..1 | Reference(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..1 | Identifier | Logical reference, when literal reference is not known |
title | Σ | 1..1 | string | Título do documento |
relatesTo | 0..* | BackboneElement | Relação a Outros Documentos | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
code | 1..1 | code | replaces | transforms | signs | appends Binding: DocumentRelationshipType (required): The type of relationship between documents. | |
target[x] | 1..1 | Target of the relationship | ||
targetIdentifier | Identifier | |||
targetReference | Reference(Composition) | |||
section | C | 1..1 | BackboneElement | Seçõ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..* | Extension | Extensions that cannot be ignored even if unrecognized |
entry | C | 1..* | Reference(Prescrição de Medicamento | Medicamento) | A reference to data that supports this section |
reference | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
Documentation for this format |
Path | Conformance | ValueSet | URI |
Composition.status | required | CompositionStatushttp://hl7.org/fhir/ValueSet/composition-status|4.0.1 from the FHIR Standard | |
Composition.type | required | BRTipoDocumento (a valid code from Tipo de Documento)http://www.saude.gov.br/fhir/r4/ValueSet/BRTipoDocumento-1.0 from this IG | |
Composition.subject.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | |
Composition.attester.mode | required | CompositionAttestationModehttp://hl7.org/fhir/ValueSet/composition-attestation-mode|4.0.1 from the FHIR Standard | |
Composition.relatesTo.code | required | DocumentRelationshipTypehttp://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
cmp-1 | error | Composition.section | A section must contain at least one of text, entries, or sub-sections : text.exists() or entry.exists() or section.exists() | |
cmp-2 | error | Composition.section | A section can only have an emptyReason if it is empty : emptyReason.empty() or entry.empty() | |
dom-2 | error | Composition | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Composition | 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 : 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-4 | error | Composition | If 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-5 | error | Composition | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Composition | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
Composition | 0..* | Composition | Modelo que gera o documento de Registro de Prescrição de Medicamento | |||||
id | Σ | 0..1 | id | Logical id of this artifact | ||||
meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
status | ?!Σ | 1..1 | code | preliminary | final | amended | entered-in-error Binding: CompositionStatus (required): The workflow/clinical status of the composition. | ||||
type | Σ | 1..1 | CodeableConcept | Tipo de documento Binding: Tipo de Documento (required): Tipo de documentos. | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
coding | Σ | 1..1 | Coding | Code defined by a terminology system | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
system | Σ | 1..1 | uri | Identity of the terminology system | ||||
version | Σ | 0..1 | string | Version of the system - if relevant | ||||
code | Σ | 1..1 | code | Symbol in syntax defined by the system Fixed Value: RPM | ||||
subject | Σ | 1..1 | Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuo-1.0) | Sujeito da prescrição | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
unidentifiedPatient | S | 0..* | (Complex) | Dados do Indivíduo Não Identificado URL: http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0 | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
Slices for extension | 3..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
extension:gender | S | 1..1 | Extension | Extension | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
url | 1..1 | uri | "gender" | |||||
value[x] | 1..1 | code | Value of extension | |||||
extension:birthYear | S | 1..1 | Extension | Extension | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
url | 1..1 | uri | "birthYear" | |||||
value[x] | 1..1 | date | Value of extension | |||||
extension:reason | S | 1..1 | Extension | Extension | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
url | 1..1 | uri | "reason" | |||||
value[x] | 1..1 | CodeableConcept | Value of extension | |||||
url | 1..1 | uri | "http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0" | |||||
reference | ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
display | Σ | 0..1 | string | Text alternative for the resource | ||||
date | Σ | 1..1 | dateTime | Data e hora em que o medicamento foi prescrito. | ||||
author | Σ | 1..1 | Reference(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..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
identifier | Σ | 1..1 | Identifier | Logical reference, when literal reference is not known | ||||
title | Σ | 1..1 | string | Título do documento | ||||
relatesTo | 0..* | BackboneElement | Relação a Outros Documentos | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
code | 1..1 | code | replaces | transforms | signs | appends Binding: DocumentRelationshipType (required): The type of relationship between documents. | |||||
target[x] | 1..1 | Target of the relationship | ||||||
targetIdentifier | Identifier | |||||||
targetReference | Reference(Composition) | |||||||
section | C | 1..1 | BackboneElement | Seçõ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..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
entry | C | 1..* | Reference(Prescrição de Medicamento | Medicamento) | A reference to data that supports this section | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
reference | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL | ||||
Documentation for this format |
Path | Conformance | ValueSet | URI | |||
Composition.language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard | ||||
Composition.status | required | CompositionStatushttp://hl7.org/fhir/ValueSet/composition-status|4.0.1 from the FHIR Standard | ||||
Composition.type | required | BRTipoDocumento (a valid code from Tipo de Documento)http://www.saude.gov.br/fhir/r4/ValueSet/BRTipoDocumento-1.0 from this IG | ||||
Composition.subject.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | ||||
Composition.attester.mode | required | CompositionAttestationModehttp://hl7.org/fhir/ValueSet/composition-attestation-mode|4.0.1 from the FHIR Standard | ||||
Composition.relatesTo.code | required | DocumentRelationshipTypehttp://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1 from the FHIR Standard | ||||
Composition.event.code | example | ActCodehttp://terminology.hl7.org/ValueSet/v3-ActCode |
Id | Grade | Path(s) | Details | Requirements |
cmp-1 | error | Composition.section | A section must contain at least one of text, entries, or sub-sections : text.exists() or entry.exists() or section.exists() | |
cmp-2 | error | Composition.section | A section can only have an emptyReason if it is empty : emptyReason.empty() or entry.empty() | |
dom-2 | error | Composition | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Composition | 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 : 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-4 | error | Composition | If 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-5 | error | Composition | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Composition | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must 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: 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