Tervisetõendi teenus (HCERT)
1.0.0 - trial-use Estonia flag

Tervisetõendi teenus (HCERT) - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: EEHealthCertificate - Detailed Descriptions

Active as of 2025-07-03

Definitions for the ee-health-certificate resource profile.

Guidance on how to interpret the contents of this table can be foundhere

0. Composition
Definition

A set of healthcare-related information that is assembled together into a single logical package that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. A Composition defines the structure and narrative content necessary for a document. However, a Composition alone does not constitute a document. Rather, the Composition must be the first entry in a Bundle where Bundle.type=document, and any other resources referenced from Composition must be included as subsequent entries in the Bundle (for example Patient, Practitioner, Encounter, etc.).

ShortA set of resources composed into a single coherent clinical statement with clinical attestation
Comments

While the focus of this specification is on patient-specific clinical statements, this resource can also apply to other healthcare-related statements such as study protocol designs, healthcare invoices and other activities that are not necessarily patient-specific or clinical.

Control0..*
Is Modifierfalse
Must Supportfalse
Summaryfalse
Invariantsdom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources (contained.contained.empty())
dom-3: 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty())
dom-4: 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: If a resource is contained in another resource, it SHALL NOT have a security label (contained.meta.security.empty())
dom-6: A resource should have narrative for robust management (text.`div`.exists())
2. Composition.implicitRules
Definition

A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.

ShortA set of rules under which this content was created
Comments

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 its narrative along with other profiles, value sets, etc.

Control0..01
Typeuri
Is Modifiertrue because This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies its meaning or interpretation
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Must Supportfalse
Summarytrue
Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
4. Composition.contained
Definition

These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning.

ShortContained, inline Resources
Comments

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.

Control10..*
This element is affected by the following invariants: dom-2, dom-4, dom-3, dom-5
TypeResource
Is Modifierfalse
Must Supportfalse
Summaryfalse
Alternate Namesinline resources, anonymous resources, contained resources
SlicingThis element introduces a set of slices on Composition.contained. The slices areUnordered and Open, and can be differentiated using the following discriminators:
  • type @ $this
  • profile @ $this
  • 6. Composition.contained:decision
    Slice Namedecision
    Definition

    Measurements and simple assertions made about a patient, device or other subject.


    These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning.

    ShortTervisetõendi otsusContained, inline Resources
    Comments

    Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc.


    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.

    Control0..1*
    This element is affected by the following invariants: dom-2, dom-4, dom-3, dom-5
    TypeObservationResource(Tervisetõendi otsus)
    Is Modifierfalse
    Must Supportfalse
    Summaryfalse
    Alternate NamesVital Signs, Measurement, Results, Tests, inline resources, anonymous resources, contained resources
    8. Composition.contained:medicalRestriction
    Slice NamemedicalRestriction
    Definition

    Measurements and simple assertions made about a patient, device or other subject.


    These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning.

    ShortMeditsiiniline piirangContained, inline Resources
    Comments

    Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc.


    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.

    Control0..*
    This element is affected by the following invariants: dom-2, dom-4, dom-3, dom-5
    TypeObservationResource(Meditsiiniline piirang)
    Is Modifierfalse
    Must Supportfalse
    Summaryfalse
    Alternate NamesVital Signs, Measurement, Results, Tests, inline resources, anonymous resources, contained resources
    10. Composition.contained:author
    Slice Nameauthor
    Definition

    These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning.

    ShortTervisetõendi autorContained, inline Resources
    Comments

    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.

    Control10..1*
    This element is affected by the following invariants: dom-2, dom-4, dom-3, dom-5
    TypePractitionerRoleResource
    Is Modifierfalse
    Must Supportfalse
    Summaryfalse
    Alternate Namesinline resources, anonymous resources, contained resources
    12. Composition.contained:author.implicitRules
    Definition

    A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.

    ShortA set of rules under which this content was created
    Comments

    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 its narrative along with other profiles, value sets, etc.

    Control0..01
    Typeuri
    Is Modifiertrue because This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies its meaning or interpretation
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    Must Supportfalse
    Summarytrue
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    14. Composition.contained:author.contained
    Definition

    These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning.

    ShortContained, inline Resources
    Comments

    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.

    Control0..0*
    This element is affected by the following invariants: dom-2, dom-4, dom-3, dom-5
    TypeResource
    Is Modifierfalse
    Must Supportfalse
    Summaryfalse
    Alternate Namesinline resources, anonymous resources, contained resources
    16. Composition.contained:author.modifierExtension
    Definition

    An Extension


    May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

    Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

    ShortExtensionExtensions that cannot be ignored
    Comments

    There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

    Control0..0*
    TypeExtension
    Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them
    Must Supportfalse
    Summarytrue
    Requirements

    Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

    Alternate Namesextensions, user content
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    18. Composition.contained:author.practitioner
    Definition

    Practitioner that is able to provide the defined services for the organization.

    ShortViide SPD Practitioner ressursilePractitioner that provides services for the organization
    Control10..1
    TypeReference(Practitioner)
    Is Modifierfalse
    Must Supportfalse
    Summarytrue
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    20. Composition.contained:author.organization
    Definition

    The organization where the Practitioner performs the roles associated.

    ShortViide SPD Organization ressursileOrganization where the roles are available
    Control10..1
    TypeReference(Organization)
    Is Modifierfalse
    Must Supportfalse
    Summarytrue
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    22. Composition.modifierExtension
    Definition

    An Extension


    May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

    Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

    ShortExtensionExtensions that cannot be ignored
    Comments

    There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

    Control0..0*
    TypeExtension
    Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them
    Must Supportfalse
    Summarytrue
    Requirements

    Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

    Alternate Namesextensions, user content
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    24. Composition.url
    Definition

    An absolute URI that is used to identify this Composition when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which an authoritative instance of this Composition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the Composition is stored on different servers.

    ShortCanonical identifier for this Composition, represented as a URI (globally unique)
    Comments

    Can be a urn:uuid: or a urn:oid: but real http: addresses are preferred. Multiple instances may share the same URL if they have a distinct version.

    Control0..01
    Typeuri
    Is Modifierfalse
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    Must Supportfalse
    Summarytrue
    Requirements

    Allows the Composition to be referenced by a single globally unique identifier.

    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    26. Composition.identifier
    Definition

    A version-independent identifier for the Composition. This identifier stays constant as the composition is changed over time.

    ShortDokumendi numberVersion-independent identifier for the Composition
    Comments

    Similar to ClinicalDocument/setId in CDA. See discussion in resource definition for how these relate.

    NoteThis is a business identifier, not a resource identifier (see discussion)
    Control10..1*
    TypeIdentifier
    Is Modifierfalse
    Must Supportfalse
    Summarytrue
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    28. Composition.identifier.use
    Definition

    The purpose of this identifier.

    Shortusual | official | temp | secondary | old (If known)
    Comments

    Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.

    Control0..01
    BindingThe codes SHALL be taken from IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0
    (required to http://hl7.org/fhir/ValueSet/identifier-use|5.0.0)

    Identifies the purpose for this identifier, if known .

    Typecode
    Is Modifiertrue because This is labeled as "Is Modifier" because applications should not mistake a temporary id for a permanent one.
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    Summarytrue
    Requirements

    Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.

    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    30. Composition.identifier.system
    Definition

    Establishes the namespace for the value - that is, an absolute URL that describes a set values that are unique.

    ShortThe namespace for the identifier value
    Comments

    Identifier.system is always case sensitive.

    Control10..1
    Typeuri
    Is Modifierfalse
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    Summarytrue
    Requirements

    There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.

    Pattern Valuehttps://fhir.ee/hcert/health-certificate-number
    Example<br/><b>General</b>:http://www.acme.com/identifiers/patient
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    32. Composition.identifier.value
    Definition

    The portion of the identifier typically relevant to the user and which is unique within the context of the system.

    ShortThe value that is unique
    Comments

    If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the http://hl7.org/fhir/StructureDefinition/rendered-value). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.

    Control10..1
    This element is affected by the following invariants: ident-1
    Typestring
    Is Modifierfalse
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    Summarytrue
    Example<br/><b>General</b>:123456
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    34. Composition.status
    Definition

    The workflow/clinical status of this composition. The status is a marker for the clinical standing of the document.

    ShortTõendi staatusregistered | partial | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | deprecated | unknown
    Comments

    If a composition is marked as withdrawn, the compositions/documents in the series, or data from the composition or document series, should never be displayed to a user without being clearly marked as untrustworthy. The flag "entered-in-error" is why this element is labeled as a modifier of other elements.

    Some reporting work flows require that the original narrative of a final document never be altered; instead, only new narrative can be added. The composition resource has no explicit status for explicitly noting whether this business rule is in effect. This would be handled by an extension if required.

    Control1..1
    BindingThe codes SHALL be taken from Tervisetõendi staatushttp://hl7.org/fhir/ValueSet/composition-status|5.0.0
    (required to https://fhir.ee/hcert/ValueSet/ee-health-certificate-status)
    Typecode
    Is Modifiertrue because 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
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    Must Supportfalse
    Summarytrue
    Requirements

    Need to be able to mark interim, amended, or withdrawn compositions or documents.

    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    36. Composition.type
    Definition

    Specifies the particular kind of composition (e.g. History and Physical, Discharge Summary, Progress Note). This usually equates to the purpose of making the composition.

    ShortComposition ressursi tüüp. Fikseeritud väärtusKind of composition (LOINC if possible)
    Comments

    For Composition type, LOINC is ubiquitous and strongly endorsed by HL7. Most implementation guides will require a specific LOINC code, or use LOINC as an extensible binding.

    Control1..1
    BindingThe codes SHOULD be taken from FHIRDocumentTypeCodeshttp://hl7.org/fhir/ValueSet/doc-typecodes
    (preferred to http://hl7.org/fhir/ValueSet/doc-typecodes)

    Type of a composition.

    TypeCodeableConcept
    Is Modifierfalse
    Must Supportfalse
    Summarytrue
    Requirements

    Key metadata element describing the composition, used in searching/filtering.

    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    38. Composition.type.coding
    Definition

    A reference to a code defined by a terminology system.

    ShortCode defined by a terminology system
    Comments

    Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.

    Control0..*
    TypeCoding
    Is Modifierfalse
    Summarytrue
    Requirements

    Allows for alternative encodings within a code system, and translations to other code systems.

    Pattern Value{
      "system" : "http://snomed.info/sct",
      "code" : "772786005",
      "display" : "Medical certificate (record artifact)"
    }
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    40. Composition.category
    Definition

    A categorization for the type of the composition - helps for indexing and searching. This may be implied by or derived from the code specified in the Composition Type.

    ShortTervisekontrolli kasutusalaCategorization of Composition
    Control10..1*
    BindingThe codes SHALL be taken from For example codes, see https://fhir.ee/ValueSet/tervisekontrolli-kasutusalahttp://hl7.org/fhir/ValueSet/referenced-item-category
    (required to https://fhir.ee/ValueSet/tervisekontrolli-kasutusala)
    TypeCodeableConcept
    Is Modifierfalse
    Must Supportfalse
    Summarytrue
    Requirements

    Helps humans to assess whether the composition is of interest when viewing an index of compositions or documents.

    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    42. Composition.subject
    Definition

    Who or what the composition is about. The composition can be about a person, (patient or healthcare practitioner), a device (e.g. a machine) or even a group of subjects (such as a document about a herd of livestock, or a set of patients that share a common exposure).

    ShortMPI Patient referenceWho and/or what the composition is about
    Comments

    For clinical documents, this is usually the patient.

    Control10..1*
    TypeReference(EE MPI Patient Verified, Resource)
    Is Modifierfalse
    Must Supportfalse
    Summarytrue
    Requirements

    Essential metadata for searching for the composition. Identifies who and/or what the composition/document is about.

    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    44. Composition.encounter
    Definition

    Describes the clinical encounter or type of care this documentation is associated with.

    ShortContext of the Composition
    Control0..01
    TypeReference(Encounter)
    Is Modifierfalse
    Must Supportfalse
    Summarytrue
    Requirements

    Provides context for the composition and supports searching.

    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    46. Composition.date
    Definition

    The composition editing time, when the composition was last logically changed by the author.

    ShortDokumendi väljastamise aegComposition editing time
    Comments

    The Last Modified Date on the composition may be after the date of the document was attested without being changed. This means that the date on an amended document is the date of the amendment, not the date of original authorship.

    Control1..1
    TypedateTime
    Is Modifierfalse
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    Must Supportfalse
    Summarytrue
    Requirements

    dateTime is used for tracking, organizing versions and searching. Note that this is the time of authoring this version of the Composition. When packaged in a document, Bundle.timestamp is the date of packaging.


    dateTime is used for tracking, organizing versions and searching. Note that this is the time of authoring this version of the Composition. When packaged in a document, Bundle.timestamp is the date of packaging.

    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    48. Composition.useContext
    Definition

    The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate Composition instances.

    ShortThe context that the content is intended to support
    Comments

    When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.

    Control0..0*
    TypeUsageContext
    Is Modifierfalse
    Must Supportfalse
    Summarytrue
    Requirements

    Assist in searching for appropriate content.

    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    50. Composition.author
    Definition

    Identifies who is responsible for the information in the composition, not necessarily who typed it in.

    ShortViide contained PractitionerRole ressursileWho and/or what authored the composition
    Control1..1*
    TypeReference(PractitionerRole, Practitioner, Device, Patient, RelatedPerson, Organization)
    Is Modifierfalse
    Must Supportfalse
    Summarytrue
    Requirements

    Identifies who is responsible for the content.

    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    52. Composition.name
    Definition

    A natural language name identifying the {{title}}. This name should be usable as an identifier for the module by machine processing applications such as code generation.

    ShortName for this Composition (computer friendly)
    Comments

    The name is not expected to be globally unique. The name should be a simple alphanumeric type name to ensure that it is machine-processing friendly.

    Control0..01
    Typestring
    Is Modifierfalse
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    Must Supportfalse
    Summarytrue
    Requirements

    Support human navigation and code generation.

    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    54. Composition.title
    Definition

    Official human-readable label for the composition.

    ShortTõendi nimetus. Sama mis categoryHuman Readable name/title
    Comments

    For many compositions, the title is the same as the text or a display name of Composition.type (e.g. a "consultation" or "progress note"). Note that CDA does not make title mandatory, but there are no known cases where it is useful for title to be omitted, so it is mandatory here. Feedback on this requirement is welcome during the trial use period.

    Control1..1
    Typestring
    Is Modifierfalse
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    Must Supportfalse
    Summarytrue
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    56. Composition.note
    Definition

    For any additional notes.

    ShortFor any additional notes
    Comments

    A comment, general note or annotation not coded elsewhere.

    Control0..0*
    TypeAnnotation
    Is Modifierfalse
    Must Supportfalse
    Summaryfalse
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    58. Composition.attester
    Definition

    A participant who has attested to the accuracy of the composition/document.

    ShortAttests to accuracy of composition
    Comments

    Only list each attester once.

    Control0..0*
    TypeBackboneElement
    Is Modifierfalse
    Must Supportfalse
    Summaryfalse
    Requirements

    Identifies responsibility for the accuracy of the composition content.

    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    62. Composition.custodian
    Definition

    Identifies the organization or group who is responsible for ongoing maintenance of and access to the composition/document information.

    ShortOrganization which maintains the composition
    Comments

    This is useful when documents are derived from a composition - provides guidance for how to get the latest version of the document. This is optional because this is sometimes not known by the authoring system, and can be inferred by context. However, it is important that this information be known when working with a derived document, so providing a custodian is encouraged.

    Control0..01
    TypeReference(Organization)
    Is Modifierfalse
    Must Supportfalse
    Summarytrue
    Requirements

    Identifies where to go to find the current version, where to report issues, etc.

    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    64. Composition.relatesTo
    Definition

    Relationships that this composition has with other compositions or documents that already exist.

    ShortRelationships to other compositions/documents
    Comments

    To reference (using relatesTo) a Bundle of type "document" or another Composition where you only have the identifier, use a resourceReference with an identifier.
    When a Composition is an alternate representation of another type of document e.g. CDA, the other document could be referenced in a DocumentReference resource.
    Here is an example of using relatesTo to reference another Bundle of type "document" or Composition where you only have the identifier:

    "relatesTo": [{
      "type": "replaces",
      "resourceReference": {
        "identifier": { 
          "system": "...", 
          "value": "..."
        }
      } 
    }]
    
    Control0..0*
    TypeRelatedArtifact
    Is Modifierfalse
    Must Supportfalse
    Summaryfalse
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    66. Composition.event
    Definition

    The clinical service, such as a colonoscopy or an appendectomy, being documented.

    ShortTervisetõendi kehtivusThe clinical service(s) being documented
    Comments

    The event needs to be consistent with the type element, though can provide further information if desired.

    Control10..1*
    TypeBackboneElement
    Is Modifierfalse
    Must Supportfalse
    Summarytrue
    Requirements

    Provides context for the composition and creates a linkage between a resource describing an event and the composition created describing the event.

    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    68. Composition.event.modifierExtension
    Definition

    An Extension


    May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

    Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

    ShortExtensionExtensions that cannot be ignored even if unrecognized
    Comments

    There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

    Control0..0*
    TypeExtension
    Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
    Summarytrue
    Requirements

    Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

    Alternate Namesextensions, user content, modifiers
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    70. Composition.event.period
    Definition

    The period of time covered by the documentation. There is no assertion that the documentation is a complete representation for this period, only that it documents events during this time.

    ShortThe period covered by the documentation
    Control10..1
    TypePeriod
    Is Modifierfalse
    Must Supportfalse
    Summarytrue
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    72. Composition.event.period.start
    Definition

    The start of the period. The boundary is inclusive.

    ShortAlguskuupäevStarting time with inclusive boundary
    Comments

    If the low element is missing, the meaning is that the low boundary is not known.

    Control10..1
    This element is affected by the following invariants: per-1
    TypedateTime
    Is Modifierfalse
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    Summarytrue
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    74. Composition.event.period.end
    Definition

    The end of the period. If the end of the period is missing, it means no end was known or planned at the time the instance was created. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.

    ShortLõppkuupäevEnd time with inclusive boundary, if not ongoing
    Comments

    The end value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has an end value of 2012-02-03.

    Control10..1
    This element is affected by the following invariants: per-1
    TypedateTime
    Is Modifierfalse
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    Summarytrue
    Meaning if MissingIf the end of the period is missing, it means that the period is ongoing
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    76. Composition.event.detail
    Definition

    Represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a "History and Physical Report" in which case the procedure being documented is necessarily a "History and Physical" act. The events may be included as a code or as a reference to an other resource.

    ShortThe event(s) being documented, as code(s), reference(s), or both
    Comments

    An event can further specialize the act inherent in the typeCode, such as where it is simply "Procedure Report" and the procedure was a "colonoscopy". If one or more events are included, they SHALL NOT conflict with the values inherent in the classCode, practiceSettingCode or typeCode, as such a conflict would create an ambiguous situation. This short list of codes is provided to be used as key words for certain types of queries.

    Control0..0*
    BindingFor example codes, see v3 Code System ActCodehttp://terminology.hl7.org/ValueSet/v3-ActCode
    (example to http://terminology.hl7.org/ValueSet/v3-ActCode)

    This list of codes represents the main clinical acts being documented.

    TypeCodeableReference(Resource)
    Is Modifierfalse
    Must Supportfalse
    Summarytrue
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    78. Composition.section
    Definition

    The root of the sections that make up the composition.

    ShortComposition is broken into sections
    Control10..*
    TypeBackboneElement
    Is Modifierfalse
    Must Supportfalse
    Summaryfalse
    Invariantscmp-1: A section must contain at least one of text, entries, or sub-sections (text.exists() or entry.exists() or section.exists())
    cmp-2: A section can only have an emptyReason if it is empty (emptyReason.empty() or entry.empty())
    ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    SlicingThis element introduces a set of slices on Composition.section. The slices areUnordered and Open, and can be differentiated using the following discriminators:
    • value @ code
    • 80. Composition.section.modifierExtension
      Definition

      May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

      Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

      ShortExtensions that cannot be ignored even if unrecognized
      Comments

      There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

      Control0..*
      TypeExtension
      Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
      Summarytrue
      Requirements

      Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

      Alternate Namesextensions, user content, modifiers
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
      82. Composition.section.entry
      Definition

      A reference to the actual resource from which the narrative in the section is derived.

      ShortA reference to data that supports this section
      Comments

      If there are no entries in the list, an emptyReason SHOULD be provided.

      Control0..*
      This element is affected by the following invariants: cmp-1, cmp-2
      TypeReference(Resource)
      Is Modifierfalse
      Must Supportfalse
      Summaryfalse
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      84. Composition.section:decision
      Slice Namedecision
      Definition

      The root of the sections that make up the composition.

      ShortTervisetõendi otsusComposition is broken into sections
      Control0..1*
      TypeBackboneElement
      Is Modifierfalse
      Must Supportfalse
      Summaryfalse
      Invariantscmp-1: A section must contain at least one of text, entries, or sub-sections (text.exists() or entry.exists() or section.exists())
      cmp-2: A section can only have an emptyReason if it is empty (emptyReason.empty() or entry.empty())
      ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      86. Composition.section:decision.modifierExtension
      Definition

      An Extension


      May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

      Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

      ShortExtensionExtensions that cannot be ignored even if unrecognized
      Comments

      There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

      Control0..0*
      TypeExtension
      Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
      Summarytrue
      Requirements

      Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

      Alternate Namesextensions, user content, modifiers
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
      88. Composition.section:decision.code
      Definition

      A code identifying the kind of content contained within the section. This must be consistent with the section title.

      ShortClassification of section (recommended)
      Comments

      The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document.

      If the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.

      Control10..1
      BindingFor example codes, see DocumentSectionCodeshttp://hl7.org/fhir/ValueSet/doc-section-codes
      (example to http://hl7.org/fhir/ValueSet/doc-section-codes)

      Classification of a section of a composition/document.

      TypeCodeableConcept
      Is Modifierfalse
      Must Supportfalse
      Summaryfalse
      Requirements

      Provides computable standardized labels to topics within the document.

      Pattern Value{
        "coding" : [{
          "system" : "https://fhir.ee/CodeSystem/tervisetoendi-sektsioon",
          "code" : "decision"
        }]
      }
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      90. Composition.section:decision.entry
      Definition

      A reference to the actual resource from which the narrative in the section is derived.

      ShortViide contained Observation ressursile otsuse koodigaA reference to data that supports this section
      Comments

      If there are no entries in the list, an emptyReason SHOULD be provided.

      Control10..1*
      This element is affected by the following invariants: cmp-1, cmp-2
      TypeReference(Tervisetõendi otsus, Resource)
      Is Modifierfalse
      Must Supportfalse
      Summaryfalse
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      92. Composition.section:healthDeclaration
      Slice NamehealthDeclaration
      Definition

      The root of the sections that make up the composition.

      ShortTervisedeklaratsioonComposition is broken into sections
      Control10..1*
      TypeBackboneElement
      Is Modifierfalse
      Must Supportfalse
      Summaryfalse
      Invariantscmp-1: A section must contain at least one of text, entries, or sub-sections (text.exists() or entry.exists() or section.exists())
      cmp-2: A section can only have an emptyReason if it is empty (emptyReason.empty() or entry.empty())
      ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      94. Composition.section:healthDeclaration.modifierExtension
      Definition

      An Extension


      May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

      Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

      ShortExtensionExtensions that cannot be ignored even if unrecognized
      Comments

      There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

      Control0..0*
      TypeExtension
      Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
      Summarytrue
      Requirements

      Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

      Alternate Namesextensions, user content, modifiers
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
      96. Composition.section:healthDeclaration.code
      Definition

      A code identifying the kind of content contained within the section. This must be consistent with the section title.

      ShortClassification of section (recommended)
      Comments

      The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document.

      If the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.

      Control10..1
      BindingFor example codes, see DocumentSectionCodeshttp://hl7.org/fhir/ValueSet/doc-section-codes
      (example to http://hl7.org/fhir/ValueSet/doc-section-codes)

      Classification of a section of a composition/document.

      TypeCodeableConcept
      Is Modifierfalse
      Must Supportfalse
      Summaryfalse
      Requirements

      Provides computable standardized labels to topics within the document.

      Pattern Value{
        "coding" : [{
          "system" : "https://fhir.ee/CodeSystem/tervisetoendi-sektsioon",
          "code" : "health-declaration"
        }]
      }
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      98. Composition.section:healthDeclaration.entry
      Definition

      A reference to the actual resource from which the narrative in the section is derived.

      ShortViide QuestionnaireResponse ressursileA reference to data that supports this section
      Comments

      If there are no entries in the list, an emptyReason SHOULD be provided.

      Control10..1*
      This element is affected by the following invariants: cmp-1, cmp-2
      TypeReference(QuestionnaireResponse, Resource)
      Is Modifierfalse
      Must Supportfalse
      Summaryfalse
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      100. Composition.section:medicalRestriction
      Slice NamemedicalRestriction
      Definition

      The root of the sections that make up the composition.

      ShortMeditsiinilised piirangudComposition is broken into sections
      Control0..1*
      TypeBackboneElement
      Is Modifierfalse
      Must Supportfalse
      Summaryfalse
      Invariantscmp-1: A section must contain at least one of text, entries, or sub-sections (text.exists() or entry.exists() or section.exists())
      cmp-2: A section can only have an emptyReason if it is empty (emptyReason.empty() or entry.empty())
      ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      102. Composition.section:medicalRestriction.modifierExtension
      Definition

      An Extension


      May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

      Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

      ShortExtensionExtensions that cannot be ignored even if unrecognized
      Comments

      There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

      Control0..0*
      TypeExtension
      Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
      Summarytrue
      Requirements

      Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

      Alternate Namesextensions, user content, modifiers
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
      104. Composition.section:medicalRestriction.code
      Definition

      A code identifying the kind of content contained within the section. This must be consistent with the section title.

      ShortClassification of section (recommended)
      Comments

      The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document.

      If the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.

      Control10..1
      BindingFor example codes, see DocumentSectionCodeshttp://hl7.org/fhir/ValueSet/doc-section-codes
      (example to http://hl7.org/fhir/ValueSet/doc-section-codes)

      Classification of a section of a composition/document.

      TypeCodeableConcept
      Is Modifierfalse
      Must Supportfalse
      Summaryfalse
      Requirements

      Provides computable standardized labels to topics within the document.

      Pattern Value{
        "coding" : [{
          "system" : "https://fhir.ee/CodeSystem/tervisetoendi-sektsioon",
          "code" : "medical-restrictions"
        }]
      }
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      106. Composition.section:medicalRestriction.entry
      Definition

      A reference to the actual resource from which the narrative in the section is derived.

      ShortViide contained Observation ressursile (Meditsiiniline piirang)A reference to data that supports this section
      Comments

      If there are no entries in the list, an emptyReason SHOULD be provided.

      Control0..*
      This element is affected by the following invariants: cmp-1, cmp-2
      TypeReference(Meditsiiniline piirang, Resource)
      Is Modifierfalse
      Must Supportfalse
      Summaryfalse
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      108. Composition.section:shortenedReason
      Slice NameshortenedReason
      Definition

      The root of the sections that make up the composition.

      ShortLühema tervisekontrolli aja põhjusComposition is broken into sections
      Control0..1*
      TypeBackboneElement
      Is Modifierfalse
      Must Supportfalse
      Summaryfalse
      Invariantscmp-1: A section must contain at least one of text, entries, or sub-sections (text.exists() or entry.exists() or section.exists())
      cmp-2: A section can only have an emptyReason if it is empty (emptyReason.empty() or entry.empty())
      ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      110. Composition.section:shortenedReason.modifierExtension
      Definition

      An Extension


      May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

      Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

      ShortExtensionExtensions that cannot be ignored even if unrecognized
      Comments

      There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

      Control0..0*
      TypeExtension
      Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
      Summarytrue
      Requirements

      Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

      Alternate Namesextensions, user content, modifiers
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
      112. Composition.section:shortenedReason.code
      Definition

      A code identifying the kind of content contained within the section. This must be consistent with the section title.

      ShortClassification of section (recommended)
      Comments

      The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document.

      If the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.

      Control10..1
      BindingFor example codes, see DocumentSectionCodeshttp://hl7.org/fhir/ValueSet/doc-section-codes
      (example to http://hl7.org/fhir/ValueSet/doc-section-codes)

      Classification of a section of a composition/document.

      TypeCodeableConcept
      Is Modifierfalse
      Must Supportfalse
      Summaryfalse
      Requirements

      Provides computable standardized labels to topics within the document.

      Pattern Value{
        "coding" : [{
          "system" : "https://fhir.ee/CodeSystem/tervisetoendi-sektsioon",
          "code" : "shortened-reason"
        }]
      }
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      114. Composition.section:shortenedReason.text
      Definition

      A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative.

      ShortVabatekst lühema tervisekontrolli aja põhjusegaText summary of the section, for human interpretation
      Comments

      Document profiles may define what content should be represented in the narrative to ensure clinical safety.

      Control10..1
      This element is affected by the following invariants: cmp-1
      TypeNarrative
      Is Modifierfalse
      Must Supportfalse
      Summaryfalse
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      116. Composition.section:shortenedReason.text.status
      Definition

      The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data.

      Shortgenerated | extensions | additional | empty
      Control1..1
      BindingThe codes SHALL be taken from NarrativeStatushttp://hl7.org/fhir/ValueSet/narrative-status|5.0.0
      (required to http://hl7.org/fhir/ValueSet/narrative-status|5.0.0)

      The status of a resource narrative.

      Typecode
      Is Modifierfalse
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      Summaryfalse
      Pattern Valueadditional
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      118. Composition.section:shortenedReason.text.div
      Definition

      The actual narrative content, a stripped down version of XHTML.

      ShortLimited xhtml content
      Comments

      The contents of the html element are an XHTML fragment containing only the basic html formatting elements described in chapters 7-11 and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained stylesheets. The XHTML content SHALL NOT contain a head, a body, external stylesheet references, scripts, forms, base/link/xlink, frames, iframes and objects.

      Control1..1
      Typexhtml
      Is Modifierfalse
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      Summaryfalse
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      txt-1: The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes (htmlChecks())
      txt-2: The narrative SHALL have some non-whitespace content (htmlChecks())
      120. Composition.section:shortenedReason.entry
      Definition

      A reference to the actual resource from which the narrative in the section is derived.

      ShortA reference to data that supports this section
      Comments

      If there are no entries in the list, an emptyReason SHOULD be provided.

      Control0..0*
      This element is affected by the following invariants: cmp-1, cmp-2
      TypeReference(Resource)
      Is Modifierfalse
      Must Supportfalse
      Summaryfalse
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      122. Composition.section:rejectReason
      Slice NamerejectReason
      Definition

      The root of the sections that make up the composition.

      ShortEitava otsuse põhjendusComposition is broken into sections
      Control0..1*
      TypeBackboneElement
      Is Modifierfalse
      Must Supportfalse
      Summaryfalse
      Invariantscmp-1: A section must contain at least one of text, entries, or sub-sections (text.exists() or entry.exists() or section.exists())
      cmp-2: A section can only have an emptyReason if it is empty (emptyReason.empty() or entry.empty())
      ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      124. Composition.section:rejectReason.modifierExtension
      Definition

      An Extension


      May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

      Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

      ShortExtensionExtensions that cannot be ignored even if unrecognized
      Comments

      There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

      Control0..0*
      TypeExtension
      Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
      Summarytrue
      Requirements

      Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

      Alternate Namesextensions, user content, modifiers
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
      126. Composition.section:rejectReason.code
      Definition

      A code identifying the kind of content contained within the section. This must be consistent with the section title.

      ShortClassification of section (recommended)
      Comments

      The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document.

      If the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.

      Control10..1
      BindingFor example codes, see DocumentSectionCodeshttp://hl7.org/fhir/ValueSet/doc-section-codes
      (example to http://hl7.org/fhir/ValueSet/doc-section-codes)

      Classification of a section of a composition/document.

      TypeCodeableConcept
      Is Modifierfalse
      Must Supportfalse
      Summaryfalse
      Requirements

      Provides computable standardized labels to topics within the document.

      Pattern Value{
        "coding" : [{
          "system" : "https://fhir.ee/CodeSystem/tervisetoendi-sektsioon",
          "code" : "reject-reason"
        }]
      }
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      128. Composition.section:rejectReason.text
      Definition

      A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative.

      ShortVabatekst eitava otsuse põhjendusegaText summary of the section, for human interpretation
      Comments

      Document profiles may define what content should be represented in the narrative to ensure clinical safety.

      Control10..1
      This element is affected by the following invariants: cmp-1
      TypeNarrative
      Is Modifierfalse
      Must Supportfalse
      Summaryfalse
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      130. Composition.section:rejectReason.text.status
      Definition

      The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data.

      Shortgenerated | extensions | additional | empty
      Control1..1
      BindingThe codes SHALL be taken from NarrativeStatushttp://hl7.org/fhir/ValueSet/narrative-status|5.0.0
      (required to http://hl7.org/fhir/ValueSet/narrative-status|5.0.0)

      The status of a resource narrative.

      Typecode
      Is Modifierfalse
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      Summaryfalse
      Pattern Valueadditional
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      132. Composition.section:rejectReason.text.div
      Definition

      The actual narrative content, a stripped down version of XHTML.

      ShortLimited xhtml content
      Comments

      The contents of the html element are an XHTML fragment containing only the basic html formatting elements described in chapters 7-11 and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained stylesheets. The XHTML content SHALL NOT contain a head, a body, external stylesheet references, scripts, forms, base/link/xlink, frames, iframes and objects.

      Control1..1
      Typexhtml
      Is Modifierfalse
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      Summaryfalse
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      txt-1: The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes (htmlChecks())
      txt-2: The narrative SHALL have some non-whitespace content (htmlChecks())
      134. Composition.section:rejectReason.entry
      Definition

      A reference to the actual resource from which the narrative in the section is derived.

      ShortA reference to data that supports this section
      Comments

      If there are no entries in the list, an emptyReason SHOULD be provided.

      Control0..0*
      This element is affected by the following invariants: cmp-1, cmp-2
      TypeReference(Resource)
      Is Modifierfalse
      Must Supportfalse
      Summaryfalse
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      136. Composition.section:changeReason
      Slice NamechangeReason
      Definition

      The root of the sections that make up the composition.

      ShortTervisetõendi muutmise põhjusComposition is broken into sections
      Control0..1*
      TypeBackboneElement
      Is Modifierfalse
      Must Supportfalse
      Summaryfalse
      Invariantscmp-1: A section must contain at least one of text, entries, or sub-sections (text.exists() or entry.exists() or section.exists())
      cmp-2: A section can only have an emptyReason if it is empty (emptyReason.empty() or entry.empty())
      ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      138. Composition.section:changeReason.modifierExtension
      Definition

      An Extension


      May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

      Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

      ShortExtensionExtensions that cannot be ignored even if unrecognized
      Comments

      There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

      Control0..0*
      TypeExtension
      Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
      Summarytrue
      Requirements

      Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

      Alternate Namesextensions, user content, modifiers
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
      140. Composition.section:changeReason.code
      Definition

      A code identifying the kind of content contained within the section. This must be consistent with the section title.

      ShortClassification of section (recommended)
      Comments

      The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document.

      If the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.

      Control10..1
      BindingFor example codes, see DocumentSectionCodeshttp://hl7.org/fhir/ValueSet/doc-section-codes
      (example to http://hl7.org/fhir/ValueSet/doc-section-codes)

      Classification of a section of a composition/document.

      TypeCodeableConcept
      Is Modifierfalse
      Must Supportfalse
      Summaryfalse
      Requirements

      Provides computable standardized labels to topics within the document.

      Pattern Value{
        "coding" : [{
          "system" : "https://fhir.ee/CodeSystem/tervisetoendi-sektsioon",
          "code" : "change-reason"
        }]
      }
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      142. Composition.section:changeReason.text
      Definition

      A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative.

      ShortVabatekst tervisetõendi muutmise põhjusegaText summary of the section, for human interpretation
      Comments

      Document profiles may define what content should be represented in the narrative to ensure clinical safety.

      Control10..1
      This element is affected by the following invariants: cmp-1
      TypeNarrative
      Is Modifierfalse
      Must Supportfalse
      Summaryfalse
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      144. Composition.section:changeReason.text.status
      Definition

      The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data.

      Shortgenerated | extensions | additional | empty
      Control1..1
      BindingThe codes SHALL be taken from NarrativeStatushttp://hl7.org/fhir/ValueSet/narrative-status|5.0.0
      (required to http://hl7.org/fhir/ValueSet/narrative-status|5.0.0)

      The status of a resource narrative.

      Typecode
      Is Modifierfalse
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      Summaryfalse
      Pattern Valueadditional
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      146. Composition.section:changeReason.text.div
      Definition

      The actual narrative content, a stripped down version of XHTML.

      ShortLimited xhtml content
      Comments

      The contents of the html element are an XHTML fragment containing only the basic html formatting elements described in chapters 7-11 and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained stylesheets. The XHTML content SHALL NOT contain a head, a body, external stylesheet references, scripts, forms, base/link/xlink, frames, iframes and objects.

      Control1..1
      Typexhtml
      Is Modifierfalse
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      Summaryfalse
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      txt-1: The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes (htmlChecks())
      txt-2: The narrative SHALL have some non-whitespace content (htmlChecks())
      148. Composition.section:changeReason.entry
      Definition

      A reference to the actual resource from which the narrative in the section is derived.

      ShortA reference to data that supports this section
      Comments

      If there are no entries in the list, an emptyReason SHOULD be provided.

      Control0..0*
      This element is affected by the following invariants: cmp-1, cmp-2
      TypeReference(Resource)
      Is Modifierfalse
      Must Supportfalse
      Summaryfalse
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      150. Composition.section:cancelReason
      Slice NamecancelReason
      Definition

      The root of the sections that make up the composition.

      ShortTervisetõendi tühistamise põhjus. Read-only sektsioon, põhjus määratakse operatsiooniga.Composition is broken into sections
      Control0..1*
      TypeBackboneElement
      Is Modifierfalse
      Must Supportfalse
      Summaryfalse
      Invariantscmp-1: A section must contain at least one of text, entries, or sub-sections (text.exists() or entry.exists() or section.exists())
      cmp-2: A section can only have an emptyReason if it is empty (emptyReason.empty() or entry.empty())
      ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      152. Composition.section:cancelReason.modifierExtension
      Definition

      An Extension


      May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

      Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

      ShortExtensionExtensions that cannot be ignored even if unrecognized
      Comments

      There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

      Control0..0*
      TypeExtension
      Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
      Summarytrue
      Requirements

      Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

      Alternate Namesextensions, user content, modifiers
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
      154. Composition.section:cancelReason.code
      Definition

      A code identifying the kind of content contained within the section. This must be consistent with the section title.

      ShortClassification of section (recommended)
      Comments

      The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document.

      If the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.

      Control10..1
      BindingFor example codes, see DocumentSectionCodeshttp://hl7.org/fhir/ValueSet/doc-section-codes
      (example to http://hl7.org/fhir/ValueSet/doc-section-codes)

      Classification of a section of a composition/document.

      TypeCodeableConcept
      Is Modifierfalse
      Must Supportfalse
      Summaryfalse
      Requirements

      Provides computable standardized labels to topics within the document.

      Pattern Value{
        "coding" : [{
          "system" : "https://fhir.ee/CodeSystem/tervisetoendi-sektsioon",
          "code" : "cancel-reason"
        }]
      }
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      156. Composition.section:cancelReason.text
      Definition

      A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative.

      ShortVabatekst tervisetõendi tühistamise põhjusegaText summary of the section, for human interpretation
      Comments

      Document profiles may define what content should be represented in the narrative to ensure clinical safety.

      Control10..1
      This element is affected by the following invariants: cmp-1
      TypeNarrative
      Is Modifierfalse
      Must Supportfalse
      Summaryfalse
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      158. Composition.section:cancelReason.text.status
      Definition

      The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data.

      Shortgenerated | extensions | additional | empty
      Control1..1
      BindingThe codes SHALL be taken from NarrativeStatushttp://hl7.org/fhir/ValueSet/narrative-status|5.0.0
      (required to http://hl7.org/fhir/ValueSet/narrative-status|5.0.0)

      The status of a resource narrative.

      Typecode
      Is Modifierfalse
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      Summaryfalse
      Pattern Valueadditional
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      160. Composition.section:cancelReason.text.div
      Definition

      The actual narrative content, a stripped down version of XHTML.

      ShortLimited xhtml content
      Comments

      The contents of the html element are an XHTML fragment containing only the basic html formatting elements described in chapters 7-11 and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained stylesheets. The XHTML content SHALL NOT contain a head, a body, external stylesheet references, scripts, forms, base/link/xlink, frames, iframes and objects.

      Control1..1
      Typexhtml
      Is Modifierfalse
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      Summaryfalse
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      txt-1: The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes (htmlChecks())
      txt-2: The narrative SHALL have some non-whitespace content (htmlChecks())
      162. Composition.section:cancelReason.entry
      Definition

      A reference to the actual resource from which the narrative in the section is derived.

      ShortA reference to data that supports this section
      Comments

      If there are no entries in the list, an emptyReason SHOULD be provided.

      Control0..0*
      This element is affected by the following invariants: cmp-1, cmp-2
      TypeReference(Resource)
      Is Modifierfalse
      Must Supportfalse
      Summaryfalse
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      164. Composition.section:suspendReason
      Slice NamesuspendReason
      Definition

      The root of the sections that make up the composition.

      ShortTervisetõendi peatamise põhjus. Read-only sektsioon, põhjus määratakse operatsiooniga.Composition is broken into sections
      Control0..1*
      TypeBackboneElement
      Is Modifierfalse
      Must Supportfalse
      Summaryfalse
      Invariantscmp-1: A section must contain at least one of text, entries, or sub-sections (text.exists() or entry.exists() or section.exists())
      cmp-2: A section can only have an emptyReason if it is empty (emptyReason.empty() or entry.empty())
      ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      166. Composition.section:suspendReason.modifierExtension
      Definition

      An Extension


      May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

      Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

      ShortExtensionExtensions that cannot be ignored even if unrecognized
      Comments

      There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

      Control0..0*
      TypeExtension
      Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
      Summarytrue
      Requirements

      Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

      Alternate Namesextensions, user content, modifiers
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
      168. Composition.section:suspendReason.code
      Definition

      A code identifying the kind of content contained within the section. This must be consistent with the section title.

      ShortClassification of section (recommended)
      Comments

      The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document.

      If the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.

      Control10..1
      BindingFor example codes, see DocumentSectionCodeshttp://hl7.org/fhir/ValueSet/doc-section-codes
      (example to http://hl7.org/fhir/ValueSet/doc-section-codes)

      Classification of a section of a composition/document.

      TypeCodeableConcept
      Is Modifierfalse
      Must Supportfalse
      Summaryfalse
      Requirements

      Provides computable standardized labels to topics within the document.

      Pattern Value{
        "coding" : [{
          "system" : "https://fhir.ee/CodeSystem/tervisetoendi-sektsioon",
          "code" : "suspend-reason"
        }]
      }
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      170. Composition.section:suspendReason.text
      Definition

      A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative.

      ShortVabatekst tervisetõendi peatamise põhjusegaText summary of the section, for human interpretation
      Comments

      Document profiles may define what content should be represented in the narrative to ensure clinical safety.

      Control10..1
      This element is affected by the following invariants: cmp-1
      TypeNarrative
      Is Modifierfalse
      Must Supportfalse
      Summaryfalse
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      172. Composition.section:suspendReason.text.status
      Definition

      The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data.

      Shortgenerated | extensions | additional | empty
      Control1..1
      BindingThe codes SHALL be taken from NarrativeStatushttp://hl7.org/fhir/ValueSet/narrative-status|5.0.0
      (required to http://hl7.org/fhir/ValueSet/narrative-status|5.0.0)

      The status of a resource narrative.

      Typecode
      Is Modifierfalse
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      Summaryfalse
      Pattern Valueadditional
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      174. Composition.section:suspendReason.text.div
      Definition

      The actual narrative content, a stripped down version of XHTML.

      ShortLimited xhtml content
      Comments

      The contents of the html element are an XHTML fragment containing only the basic html formatting elements described in chapters 7-11 and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained stylesheets. The XHTML content SHALL NOT contain a head, a body, external stylesheet references, scripts, forms, base/link/xlink, frames, iframes and objects.

      Control1..1
      Typexhtml
      Is Modifierfalse
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      Summaryfalse
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      txt-1: The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes (htmlChecks())
      txt-2: The narrative SHALL have some non-whitespace content (htmlChecks())
      176. Composition.section:suspendReason.entry
      Definition

      A reference to the actual resource from which the narrative in the section is derived.

      ShortA reference to data that supports this section
      Comments

      If there are no entries in the list, an emptyReason SHOULD be provided.

      Control0..0*
      This element is affected by the following invariants: cmp-1, cmp-2
      TypeReference(Resource)
      Is Modifierfalse
      Must Supportfalse
      Summaryfalse
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))

      Guidance on how to interpret the contents of this table can be foundhere

      0. Composition
      2. Composition.implicitRules
      Control0..0
      4. Composition.contained
      Control1..?
      SlicingThis element introduces a set of slices on Composition.contained. The slices areUnordered and Open, and can be differentiated using the following discriminators:
      • type @ $this
      • profile @ $this
      • 6. Composition.contained:decision
        Slice Namedecision
        ShortTervisetõendi otsus
        Control0..1
        TypeObservation(Tervisetõendi otsus)
        8. Composition.contained:medicalRestriction
        Slice NamemedicalRestriction
        ShortMeditsiiniline piirang
        Control0..*
        TypeObservation(Meditsiiniline piirang)
        10. Composition.contained:author
        Slice Nameauthor
        ShortTervisetõendi autor
        Control1..1
        TypePractitionerRole
        12. Composition.contained:author.implicitRules
        Control0..0
        14. Composition.contained:author.contained
        Control0..0
        16. Composition.contained:author.modifierExtension
        Control0..0
        18. Composition.contained:author.practitioner
        ShortViide SPD Practitioner ressursile
        Control1..?
        20. Composition.contained:author.organization
        ShortViide SPD Organization ressursile
        Control1..?
        22. Composition.modifierExtension
        Control0..0
        24. Composition.url
        Control0..0
        26. Composition.identifier
        ShortDokumendi number
        NoteThis is a business identifier, not a resource identifier (see discussion)
        Control1..1
        28. Composition.identifier.use
        Control0..0
        30. Composition.identifier.system
        Control1..?
        Pattern Valuehttps://fhir.ee/hcert/health-certificate-number
        32. Composition.identifier.value
        Control1..?
        34. Composition.status
        ShortTõendi staatus
        BindingThe codes SHALL be taken from Tervisetõendi staatus
        (required to https://fhir.ee/hcert/ValueSet/ee-health-certificate-status)
        36. Composition.type
        ShortComposition ressursi tüüp. Fikseeritud väärtus
        38. Composition.type.coding
        Pattern Value{
          "system" : "http://snomed.info/sct",
          "code" : "772786005",
          "display" : "Medical certificate (record artifact)"
        }
        40. Composition.category
        ShortTervisekontrolli kasutusala
        Control1..1
        BindingThe codes SHALL be taken from https://fhir.ee/ValueSet/tervisekontrolli-kasutusala
        (required to https://fhir.ee/ValueSet/tervisekontrolli-kasutusala)
        42. Composition.subject
        ShortMPI Patient reference
        Control1..1
        TypeReference(EE MPI Patient Verified)
        44. Composition.encounter
        Control0..0
        46. Composition.date
        ShortDokumendi väljastamise aeg
        48. Composition.useContext
        Control0..0
        50. Composition.author
        ShortViide contained PractitionerRole ressursile
        Control0..1
        TypeReference(PractitionerRole)
        52. Composition.name
        Control0..0
        54. Composition.title
        ShortTõendi nimetus. Sama mis category
        56. Composition.note
        Control0..0
        58. Composition.attester
        Control0..0
        60. Composition.custodian
        Control0..0
        62. Composition.relatesTo
        Control0..0
        64. Composition.event
        ShortTervisetõendi kehtivus
        Control1..1
        66. Composition.event.modifierExtension
        Control0..0
        68. Composition.event.period
        Control1..?
        70. Composition.event.period.start
        ShortAlguskuupäev
        Control1..?
        72. Composition.event.period.end
        ShortLõppkuupäev
        Control1..?
        74. Composition.event.detail
        Control0..0
        76. Composition.section
        Control1..?
        SlicingThis element introduces a set of slices on Composition.section. The slices areUnordered and Open, and can be differentiated using the following discriminators:
        • value @ code
        • 78. Composition.section:decision
          Slice Namedecision
          ShortTervisetõendi otsus
          Control0..1
          80. Composition.section:decision.modifierExtension
          Control0..0
          82. Composition.section:decision.code
          Control1..?
          Pattern Value{
            "coding" : [{
              "system" : "https://fhir.ee/CodeSystem/tervisetoendi-sektsioon",
              "code" : "decision"
            }]
          }
          84. Composition.section:decision.entry
          ShortViide contained Observation ressursile otsuse koodiga
          Control1..1
          TypeReference(Tervisetõendi otsus)
          86. Composition.section:healthDeclaration
          Slice NamehealthDeclaration
          ShortTervisedeklaratsioon
          Control1..1
          88. Composition.section:healthDeclaration.modifierExtension
          Control0..0
          90. Composition.section:healthDeclaration.code
          Control1..?
          Pattern Value{
            "coding" : [{
              "system" : "https://fhir.ee/CodeSystem/tervisetoendi-sektsioon",
              "code" : "health-declaration"
            }]
          }
          92. Composition.section:healthDeclaration.entry
          ShortViide QuestionnaireResponse ressursile
          Control1..1
          TypeReference(QuestionnaireResponse)
          94. Composition.section:medicalRestriction
          Slice NamemedicalRestriction
          ShortMeditsiinilised piirangud
          Control0..1
          96. Composition.section:medicalRestriction.modifierExtension
          Control0..0
          98. Composition.section:medicalRestriction.code
          Control1..?
          Pattern Value{
            "coding" : [{
              "system" : "https://fhir.ee/CodeSystem/tervisetoendi-sektsioon",
              "code" : "medical-restrictions"
            }]
          }
          100. Composition.section:medicalRestriction.entry
          ShortViide contained Observation ressursile (Meditsiiniline piirang)
          TypeReference(Meditsiiniline piirang)
          102. Composition.section:shortenedReason
          Slice NameshortenedReason
          ShortLühema tervisekontrolli aja põhjus
          Control0..1
          104. Composition.section:shortenedReason.modifierExtension
          Control0..0
          106. Composition.section:shortenedReason.code
          Control1..?
          Pattern Value{
            "coding" : [{
              "system" : "https://fhir.ee/CodeSystem/tervisetoendi-sektsioon",
              "code" : "shortened-reason"
            }]
          }
          108. Composition.section:shortenedReason.text
          ShortVabatekst lühema tervisekontrolli aja põhjusega
          Control1..?
          110. Composition.section:shortenedReason.text.status
          Pattern Valueadditional
          112. Composition.section:shortenedReason.entry
          Control0..0
          114. Composition.section:rejectReason
          Slice NamerejectReason
          ShortEitava otsuse põhjendus
          Control0..1
          116. Composition.section:rejectReason.modifierExtension
          Control0..0
          118. Composition.section:rejectReason.code
          Control1..?
          Pattern Value{
            "coding" : [{
              "system" : "https://fhir.ee/CodeSystem/tervisetoendi-sektsioon",
              "code" : "reject-reason"
            }]
          }
          120. Composition.section:rejectReason.text
          ShortVabatekst eitava otsuse põhjendusega
          Control1..?
          122. Composition.section:rejectReason.text.status
          Pattern Valueadditional
          124. Composition.section:rejectReason.entry
          Control0..0
          126. Composition.section:changeReason
          Slice NamechangeReason
          ShortTervisetõendi muutmise põhjus
          Control0..1
          128. Composition.section:changeReason.modifierExtension
          Control0..0
          130. Composition.section:changeReason.code
          Control1..?
          Pattern Value{
            "coding" : [{
              "system" : "https://fhir.ee/CodeSystem/tervisetoendi-sektsioon",
              "code" : "change-reason"
            }]
          }
          132. Composition.section:changeReason.text
          ShortVabatekst tervisetõendi muutmise põhjusega
          Control1..?
          134. Composition.section:changeReason.text.status
          Pattern Valueadditional
          136. Composition.section:changeReason.entry
          Control0..0
          138. Composition.section:cancelReason
          Slice NamecancelReason
          ShortTervisetõendi tühistamise põhjus. Read-only sektsioon, põhjus määratakse operatsiooniga.
          Control0..1
          140. Composition.section:cancelReason.modifierExtension
          Control0..0
          142. Composition.section:cancelReason.code
          Control1..?
          Pattern Value{
            "coding" : [{
              "system" : "https://fhir.ee/CodeSystem/tervisetoendi-sektsioon",
              "code" : "cancel-reason"
            }]
          }
          144. Composition.section:cancelReason.text
          ShortVabatekst tervisetõendi tühistamise põhjusega
          Control1..?
          146. Composition.section:cancelReason.text.status
          Pattern Valueadditional
          148. Composition.section:cancelReason.entry
          Control0..0
          150. Composition.section:suspendReason
          Slice NamesuspendReason
          ShortTervisetõendi peatamise põhjus. Read-only sektsioon, põhjus määratakse operatsiooniga.
          Control0..1
          152. Composition.section:suspendReason.modifierExtension
          Control0..0
          154. Composition.section:suspendReason.code
          Control1..?
          Pattern Value{
            "coding" : [{
              "system" : "https://fhir.ee/CodeSystem/tervisetoendi-sektsioon",
              "code" : "suspend-reason"
            }]
          }
          156. Composition.section:suspendReason.text
          ShortVabatekst tervisetõendi peatamise põhjusega
          Control1..?
          158. Composition.section:suspendReason.text.status
          Pattern Valueadditional
          160. Composition.section:suspendReason.entry
          Control0..0

          Guidance on how to interpret the contents of this table can be foundhere

          0. Composition
          Definition

          A set of healthcare-related information that is assembled together into a single logical package that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. A Composition defines the structure and narrative content necessary for a document. However, a Composition alone does not constitute a document. Rather, the Composition must be the first entry in a Bundle where Bundle.type=document, and any other resources referenced from Composition must be included as subsequent entries in the Bundle (for example Patient, Practitioner, Encounter, etc.).

          ShortA set of resources composed into a single coherent clinical statement with clinical attestation
          Comments

          While the focus of this specification is on patient-specific clinical statements, this resource can also apply to other healthcare-related statements such as study protocol designs, healthcare invoices and other activities that are not necessarily patient-specific or clinical.

          Control0..*
          Is Modifierfalse
          Must Supportfalse
          Summaryfalse
          Invariantsdom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources (contained.contained.empty())
          dom-3: 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty())
          dom-4: 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: If a resource is contained in another resource, it SHALL NOT have a security label (contained.meta.security.empty())
          dom-6: A resource should have narrative for robust management (text.`div`.exists())
          2. Composition.id
          Definition

          The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.

          ShortLogical id of this artifact
          Comments

          Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case.

          Control0..1
          Typeid
          Is Modifierfalse
          Must Supportfalse
          Summarytrue
          4. Composition.meta
          Definition

          The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.

          ShortMetadata about the resource
          Control0..1
          TypeMeta
          Is Modifierfalse
          Must Supportfalse
          Summarytrue
          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
          6. Composition.implicitRules
          Definition

          A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.

          ShortA set of rules under which this content was created
          Comments

          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 its narrative along with other profiles, value sets, etc.

          Control0..0
          Typeuri
          Is Modifiertrue because This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies its meaning or interpretation
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          Must Supportfalse
          Summarytrue
          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
          8. Composition.language
          Definition

          The base language in which the resource is written.

          ShortLanguage of the resource content
          Comments

          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).

          Control0..1
          BindingThe codes SHALL be taken from AllLanguages
          (required to http://hl7.org/fhir/ValueSet/all-languages|5.0.0)

          IETF language tag for a human language

          Typecode
          Is Modifierfalse
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          Must Supportfalse
          Summaryfalse
          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
          10. Composition.text
          Definition

          A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.

          ShortText summary of the resource, for human interpretation
          Comments

          Contained resources do not have a 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.

          Control0..1
          This element is affected by the following invariants: dom-6
          TypeNarrative
          Is Modifierfalse
          Must Supportfalse
          Summaryfalse
          Alternate Namesnarrative, html, xhtml, display
          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
          12. Composition.contained
          Definition

          These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning.

          ShortContained, inline Resources
          Comments

          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.

          Control1..*
          This element is affected by the following invariants: dom-2, dom-4, dom-3, dom-5
          TypeResource
          Is Modifierfalse
          Must Supportfalse
          Summaryfalse
          Alternate Namesinline resources, anonymous resources, contained resources
          SlicingThis element introduces a set of slices on Composition.contained. The slices areUnordered and Open, and can be differentiated using the following discriminators:
          • type @ $this
          • profile @ $this
          • 14. Composition.contained:decision
            Slice Namedecision
            Definition

            Measurements and simple assertions made about a patient, device or other subject.

            ShortTervisetõendi otsus
            Comments

            Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc.

            Control0..1
            TypeObservation(Tervisetõendi otsus)
            Is Modifierfalse
            Must Supportfalse
            Summaryfalse
            Alternate NamesVital Signs, Measurement, Results, Tests
            16. Composition.contained:medicalRestriction
            Slice NamemedicalRestriction
            Definition

            Measurements and simple assertions made about a patient, device or other subject.

            ShortMeditsiiniline piirang
            Comments

            Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc.

            Control0..*
            TypeObservation(Meditsiiniline piirang)
            Is Modifierfalse
            Must Supportfalse
            Summaryfalse
            Alternate NamesVital Signs, Measurement, Results, Tests
            18. Composition.contained:author
            Slice Nameauthor
            Definition

            These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning.

            ShortTervisetõendi autor
            Comments

            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.

            Control1..1
            This element is affected by the following invariants: dom-2, dom-4, dom-3, dom-5
            TypePractitionerRole
            Is Modifierfalse
            Must Supportfalse
            Summaryfalse
            Alternate Namesinline resources, anonymous resources, contained resources
            20. Composition.contained:author.id
            Definition

            The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.

            ShortLogical id of this artifact
            Comments

            Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case.

            Control0..1
            Typeid
            Is Modifierfalse
            Must Supportfalse
            Summarytrue
            22. Composition.contained:author.meta
            Definition

            The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.

            ShortMetadata about the resource
            Control0..1
            TypeMeta
            Is Modifierfalse
            Must Supportfalse
            Summarytrue
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            24. Composition.contained:author.implicitRules
            Definition

            A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.

            ShortA set of rules under which this content was created
            Comments

            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 its narrative along with other profiles, value sets, etc.

            Control0..0
            Typeuri
            Is Modifiertrue because This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies its meaning or interpretation
            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
            Must Supportfalse
            Summarytrue
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            26. Composition.contained:author.language
            Definition

            The base language in which the resource is written.

            ShortLanguage of the resource content
            Comments

            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).

            Control0..1
            BindingThe codes SHALL be taken from AllLanguages
            (required to http://hl7.org/fhir/ValueSet/all-languages|5.0.0)

            IETF language tag for a human language

            Typecode
            Is Modifierfalse
            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
            Must Supportfalse
            Summaryfalse
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            28. Composition.contained:author.text
            Definition

            A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.

            ShortText summary of the resource, for human interpretation
            Comments

            Contained resources do not have a 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.

            Control0..1
            This element is affected by the following invariants: dom-6
            TypeNarrative
            Is Modifierfalse
            Must Supportfalse
            Summaryfalse
            Alternate Namesnarrative, html, xhtml, display
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            30. Composition.contained:author.contained
            Definition

            These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning.

            ShortContained, inline Resources
            Comments

            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.

            Control0..0
            This element is affected by the following invariants: dom-2, dom-4, dom-3, dom-5
            TypeResource
            Is Modifierfalse
            Must Supportfalse
            Summaryfalse
            Alternate Namesinline resources, anonymous resources, contained resources
            32. Composition.contained:author.extension
            Definition

            May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

            ShortAdditional content defined by implementations
            Comments

            There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

            Control0..*
            TypeExtension
            Is Modifierfalse
            Must Supportfalse
            Summaryfalse
            Alternate Namesextensions, user content
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
            34. Composition.contained:author.modifierExtension
            Definition

            An Extension

            ShortExtension
            Control0..0
            TypeExtension
            Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them
            Must Supportfalse
            Summarytrue
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
            36. Composition.contained:author.identifier
            Definition

            Business Identifiers that are specific to a role/location.

            ShortIdentifiers for a role/location
            Comments

            A specific identifier value (e.g. Minnesota Registration ID) may appear on multiple PractitionerRole instances which could be for different periods, or different Roles (or other reasons). A specific identifier may be included multiple times in the same PractitionerRole instance with different identifier validity periods.

            NoteThis is a business identifier, not a resource identifier (see discussion)
            Control0..*
            TypeIdentifier
            Is Modifierfalse
            Must Supportfalse
            Summarytrue
            Requirements

            Often, specific identities are assigned for the agent.

            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            38. Composition.contained:author.active
            Definition

            Whether this practitioner role record is in active use. Some systems may use this property to mark non-active practitioners, such as those that are not currently employed.

            ShortWhether this practitioner role record is in active use
            Comments

            If this value is false, you may refer to the period to see when the role was in active use. If there is no period specified, no inference can be made about when it was active.

            Control0..1
            Typeboolean
            Is Modifierfalse
            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
            Must Supportfalse
            Summarytrue
            Requirements

            Need to be able to mark a practitioner role record as not to be used because it was created in error, or otherwise no longer in active use.

            Meaning if MissingThis resource is generally assumed to be active if no value is provided for the active element
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            40. Composition.contained:author.period
            Definition

            The period during which the person is authorized to act as a practitioner in these role(s) for the organization.

            ShortThe period during which the practitioner is authorized to perform in these role(s)
            Comments

            If a practitioner is performing a role within an organization over multiple, non-adjacent periods, there should be a distinct PractitionerRole instance for each period. For example, if a nurse is employed at a hospital, leaves the organization for a period of time due to pandemic related stress, but returns post-pandemic to the same job role, there would be two PractitionerRole instances for the different periods of employment.

            Control0..1
            TypePeriod
            Is Modifierfalse
            Must Supportfalse
            Summarytrue
            Requirements

            Even after the agencies is revoked, the fact that it existed must still be recorded.

            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            42. Composition.contained:author.practitioner
            Definition

            Practitioner that is able to provide the defined services for the organization.

            ShortViide SPD Practitioner ressursile
            Control1..1
            TypeReference(Practitioner)
            Is Modifierfalse
            Must Supportfalse
            Summarytrue
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            44. Composition.contained:author.organization
            Definition

            The organization where the Practitioner performs the roles associated.

            ShortViide SPD Organization ressursile
            Control1..1
            TypeReference(Organization)
            Is Modifierfalse
            Must Supportfalse
            Summarytrue
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            46. Composition.contained:author.code
            Definition

            Roles which this practitioner is authorized to perform for the organization.

            ShortRoles which this practitioner may perform
            Comments

            A person may have more than one role.

            Control0..*
            BindingFor example codes, see PractitionerRole
            (example to http://hl7.org/fhir/ValueSet/practitioner-role)

            The role a person plays representing an organization.

            TypeCodeableConcept
            Is Modifierfalse
            Must Supportfalse
            Summarytrue
            Requirements

            Need to know what authority the practitioner has - what can they do?

            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            48. Composition.contained:author.specialty
            Definition

            The specialty of a practitioner that describes the functional role they are practicing at a given organization or location.

            ShortSpecific specialty of the practitioner
            Comments

            The specialty represents the functional role a practitioner is playing within an organization/location. This role may require the individual have certain qualifications, which would be represented in the Practitioner.qualifications property. Note that qualifications may or might not relate to or be required by the practicing specialty.

            Control0..*
            BindingThe codes SHOULD be taken from PracticeSettingCodeValueSet
            (preferred to http://hl7.org/fhir/ValueSet/c80-practice-codes)

            Specific specialty associated with the agency.

            TypeCodeableConcept
            Is Modifierfalse
            Must Supportfalse
            Summarytrue
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            50. Composition.contained:author.location
            Definition

            The location(s) at which this practitioner provides care.

            ShortLocation(s) where the practitioner provides care
            Control0..*
            TypeReference(Location)
            Is Modifierfalse
            Must Supportfalse
            Summarytrue
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            52. Composition.contained:author.healthcareService
            Definition

            The list of healthcare services that this worker provides for this role's Organization/Location(s).

            ShortHealthcare services provided for this role's Organization/Location(s)
            Control0..*
            TypeReference(HealthcareService)
            Is Modifierfalse
            Must Supportfalse
            Summaryfalse
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            54. Composition.contained:author.contact
            Definition

            The contact details of communication devices available relevant to the specific PractitionerRole. This can include addresses, phone numbers, fax numbers, mobile numbers, email addresses and web sites.

            ShortOfficial contact details relating to this PractitionerRole
            Control0..*
            TypeExtendedContactDetail
            Is Modifierfalse
            Must Supportfalse
            Summaryfalse
            Requirements

            Often practitioners have a dedicated line for each location (or service) that they work at, and need to be able to define separate contact details for each of these. Sometimes these also include a named person/organization that handles contact for specific purposes, such as a receptionist, or accounts clerk etc.

            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            56. Composition.contained:author.characteristic
            Definition

            Collection of characteristics (attributes).

            ShortCollection of characteristics (attributes)
            Comments

            These could be such things as is the service mode used by this role.

            Control0..*
            BindingFor example codes, see ServiceMode
            (example to http://hl7.org/fhir/ValueSet/service-mode)

            A custom attribute that could be provided at a service (e.g. Wheelchair accessibility).

            TypeCodeableConcept
            Is Modifierfalse
            Must Supportfalse
            Summaryfalse
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            58. Composition.contained:author.communication
            Definition

            A language the practitioner can use in patient communication. The practitioner may know several languages (listed in practitioner.communication), however these are the languages that could be advertised in a directory for a patient to search.

            ShortA language the practitioner (in this role) can use in patient communication
            Comments

            The structure aa-BB with this exact casing is one the most widely used notations for locale. However not all systems code this but instead have it as free text. Hence CodeableConcept instead of code as the data type.

            Note that for non-patient oriented communication, see Practitioner.communication. Note that all 'person' type resources (Person, RelatedPerson, Patient, Practitioner) have a communication structure that includes preferences. Role or service oriented resources such as HealthcareService and PractitionerRole only include languages that are available for interacting with patients.

            Control0..*
            BindingThe codes SHALL be taken from AllLanguages
            (required to http://hl7.org/fhir/ValueSet/all-languages|5.0.0)

            IETF language tag for a human language

            TypeCodeableConcept
            Is Modifierfalse
            Must Supportfalse
            Summaryfalse
            Requirements

            Knowing which language a practitioner speaks can help in facilitating patients to locate practitioners that speak their language.

            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            60. Composition.contained:author.availability
            Definition

            A collection of times the practitioner is available or performing this role at the location and/or healthcareservice.

            ShortTimes the Practitioner is available at this location and/or healthcare service (including exceptions)
            Comments

            More detailed availability information may be provided in associated Schedule/Slot resources.

            Systems may choose to render availability differently than it is exchanged on the interface. For example, rather than "Mon, Tue, Wed, Thur, Fri from 9am-12am; Mon, Tue, Wed, Thur, Fri from 1pm-5pm" as would be implied by two availableTime repetitions, an application could render this information as "Mon-Fri 9-12am and 1-5pm".

            The NotAvailableTime(s) included indicate the general days/periods where the practitioner is not available (for things such as vacation time, or public holidays).

            Control0..*
            TypeAvailability
            Is Modifierfalse
            Must Supportfalse
            Summaryfalse
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            62. Composition.contained:author.endpoint
            Definition

            Technical endpoints providing access to services operated for the practitioner with this role. Commonly used for locating scheduling services, or identifying where to send referrals electronically.

            ShortEndpoints for interacting with the practitioner in this role
            Control0..*
            TypeReference(Endpoint)
            Is Modifierfalse
            Must Supportfalse
            Summaryfalse
            Requirements

            Organizations have multiple systems that provide various services and may also be different for practitioners too.

            So the endpoint satisfies the need to be able to define the technical connection details for how to connect to them, and for what purpose.

            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            64. Composition.extension
            Definition

            May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

            ShortAdditional content defined by implementations
            Comments

            There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

            Control0..*
            TypeExtension
            Is Modifierfalse
            Must Supportfalse
            Summaryfalse
            Alternate Namesextensions, user content
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
            66. Composition.modifierExtension
            Definition

            An Extension

            ShortExtension
            Control0..0
            TypeExtension
            Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them
            Must Supportfalse
            Summarytrue
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
            68. Composition.url
            Definition

            An absolute URI that is used to identify this Composition when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which an authoritative instance of this Composition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the Composition is stored on different servers.

            ShortCanonical identifier for this Composition, represented as a URI (globally unique)
            Comments

            Can be a urn:uuid: or a urn:oid: but real http: addresses are preferred. Multiple instances may share the same URL if they have a distinct version.

            Control0..0
            Typeuri
            Is Modifierfalse
            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
            Must Supportfalse
            Summarytrue
            Requirements

            Allows the Composition to be referenced by a single globally unique identifier.

            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            70. Composition.identifier
            Definition

            A version-independent identifier for the Composition. This identifier stays constant as the composition is changed over time.

            ShortDokumendi number
            Comments

            Similar to ClinicalDocument/setId in CDA. See discussion in resource definition for how these relate.

            NoteThis is a business identifier, not a resource identifier (see discussion)
            Control1..1
            TypeIdentifier
            Is Modifierfalse
            Must Supportfalse
            Summarytrue
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            72. Composition.identifier.id
            Definition

            Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

            ShortUnique id for inter-element referencing
            Control0..1
            This element is affected by the following invariants: ele-1
            Typeid
            Is Modifierfalse
            XML FormatIn the XML format, this property is represented as an attribute.
            Summaryfalse
            74. Composition.identifier.extension
            Definition

            May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

            ShortAdditional content defined by implementations
            Comments

            There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

            Control0..*
            TypeExtension
            Is Modifierfalse
            Summaryfalse
            Alternate Namesextensions, user content
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
            SlicingThis element introduces a set of slices on Composition.identifier.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
            • value @ url
            • 76. Composition.identifier.use
              Definition

              The purpose of this identifier.

              Shortusual | official | temp | secondary | old (If known)
              Comments

              Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.

              Control0..0
              BindingThe codes SHALL be taken from IdentifierUse
              (required to http://hl7.org/fhir/ValueSet/identifier-use|5.0.0)

              Identifies the purpose for this identifier, if known .

              Typecode
              Is Modifiertrue because This is labeled as "Is Modifier" because applications should not mistake a temporary id for a permanent one.
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              Summarytrue
              Requirements

              Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.

              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
              78. Composition.identifier.type
              Definition

              A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.

              ShortDescription of identifier
              Comments

              This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.

              Control0..1
              BindingUnless not suitable, these codes SHALL be taken from IdentifierTypeCodes
              (extensible to http://hl7.org/fhir/ValueSet/identifier-type)

              A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

              TypeCodeableConcept
              Is Modifierfalse
              Summarytrue
              Requirements

              Allows users to make use of identifiers when the identifier system is not known.

              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
              80. Composition.identifier.system
              Definition

              Establishes the namespace for the value - that is, an absolute URL that describes a set values that are unique.

              ShortThe namespace for the identifier value
              Comments

              Identifier.system is always case sensitive.

              Control1..1
              Typeuri
              Is Modifierfalse
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              Summarytrue
              Requirements

              There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.

              Pattern Valuehttps://fhir.ee/hcert/health-certificate-number
              Example<br/><b>General</b>:http://www.acme.com/identifiers/patient
              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
              82. Composition.identifier.value
              Definition

              The portion of the identifier typically relevant to the user and which is unique within the context of the system.

              ShortThe value that is unique
              Comments

              If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the http://hl7.org/fhir/StructureDefinition/rendered-value). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.

              Control1..1
              This element is affected by the following invariants: ident-1
              Typestring
              Is Modifierfalse
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              Summarytrue
              Example<br/><b>General</b>:123456
              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
              84. Composition.identifier.period
              Definition

              Time period during which identifier is/was valid for use.

              ShortTime period when id is/was valid for use
              Control0..1
              TypePeriod
              Is Modifierfalse
              Summarytrue
              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
              86. Composition.identifier.assigner
              Definition

              Organization that issued/manages the identifier.

              ShortOrganization that issued id (may be just text)
              Comments

              The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.

              Control0..1
              TypeReference(Organization)
              Is Modifierfalse
              Summarytrue
              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
              88. Composition.version
              Definition

              An explicitly assigned identifer of a variation of the content in the Composition.

              ShortAn explicitly assigned identifer of a variation of the content in the Composition
              Comments

              While each resource, including the composition itself, has its own version identifier, this is a formal identifier for the logical version of the Composition as a whole. It would remain constant if the resources were moved to a new server, and all got new individual resource versions, for example.

              NoteThis is a business version Id, not a resource version Id (see discussion)
              Control0..1
              Typestring
              Is Modifierfalse
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              Must Supportfalse
              Summarytrue
              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
              90. Composition.status
              Definition

              The workflow/clinical status of this composition. The status is a marker for the clinical standing of the document.

              ShortTõendi staatus
              Comments

              If a composition is marked as withdrawn, the compositions/documents in the series, or data from the composition or document series, should never be displayed to a user without being clearly marked as untrustworthy. The flag "entered-in-error" is why this element is labeled as a modifier of other elements.

              Some reporting work flows require that the original narrative of a final document never be altered; instead, only new narrative can be added. The composition resource has no explicit status for explicitly noting whether this business rule is in effect. This would be handled by an extension if required.

              Control1..1
              BindingThe codes SHALL be taken from Tervisetõendi staatus
              (required to https://fhir.ee/hcert/ValueSet/ee-health-certificate-status)
              Typecode
              Is Modifiertrue because 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
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              Must Supportfalse
              Summarytrue
              Requirements

              Need to be able to mark interim, amended, or withdrawn compositions or documents.

              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
              92. Composition.type
              Definition

              Specifies the particular kind of composition (e.g. History and Physical, Discharge Summary, Progress Note). This usually equates to the purpose of making the composition.

              ShortComposition ressursi tüüp. Fikseeritud väärtus
              Comments

              For Composition type, LOINC is ubiquitous and strongly endorsed by HL7. Most implementation guides will require a specific LOINC code, or use LOINC as an extensible binding.

              Control1..1
              BindingThe codes SHOULD be taken from FHIRDocumentTypeCodes
              (preferred to http://hl7.org/fhir/ValueSet/doc-typecodes)

              Type of a composition.

              TypeCodeableConcept
              Is Modifierfalse
              Must Supportfalse
              Summarytrue
              Requirements

              Key metadata element describing the composition, used in searching/filtering.

              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
              94. Composition.type.id
              Definition

              Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

              ShortUnique id for inter-element referencing
              Control0..1
              This element is affected by the following invariants: ele-1
              Typeid
              Is Modifierfalse
              XML FormatIn the XML format, this property is represented as an attribute.
              Summaryfalse
              96. Composition.type.extension
              Definition

              May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

              ShortAdditional content defined by implementations
              Comments

              There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

              Control0..*
              TypeExtension
              Is Modifierfalse
              Summaryfalse
              Alternate Namesextensions, user content
              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
              ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
              SlicingThis element introduces a set of slices on Composition.type.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
              • value @ url
              • 98. Composition.type.coding
                Definition

                A reference to a code defined by a terminology system.

                ShortCode defined by a terminology system
                Comments

                Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.

                Control0..*
                TypeCoding
                Is Modifierfalse
                Summarytrue
                Requirements

                Allows for alternative encodings within a code system, and translations to other code systems.

                Pattern Value{
                  "system" : "http://snomed.info/sct",
                  "code" : "772786005",
                  "display" : "Medical certificate (record artifact)"
                }
                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                100. Composition.type.text
                Definition

                A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.

                ShortPlain text representation of the concept
                Comments

                Very often the text is the same as a displayName of one of the codings.

                Control0..1
                Typestring
                Is Modifierfalse
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                Summarytrue
                Requirements

                The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.

                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                102. Composition.category
                Definition

                A categorization for the type of the composition - helps for indexing and searching. This may be implied by or derived from the code specified in the Composition Type.

                ShortTervisekontrolli kasutusala
                Control1..1
                BindingThe codes SHALL be taken from https://fhir.ee/ValueSet/tervisekontrolli-kasutusala
                (required to https://fhir.ee/ValueSet/tervisekontrolli-kasutusala)
                TypeCodeableConcept
                Is Modifierfalse
                Must Supportfalse
                Summarytrue
                Requirements

                Helps humans to assess whether the composition is of interest when viewing an index of compositions or documents.

                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                104. Composition.subject
                Definition

                Who or what the composition is about. The composition can be about a person, (patient or healthcare practitioner), a device (e.g. a machine) or even a group of subjects (such as a document about a herd of livestock, or a set of patients that share a common exposure).

                ShortMPI Patient reference
                Comments

                For clinical documents, this is usually the patient.

                Control1..1
                TypeReference(EE MPI Patient Verified)
                Is Modifierfalse
                Must Supportfalse
                Summarytrue
                Requirements

                Essential metadata for searching for the composition. Identifies who and/or what the composition/document is about.

                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                106. Composition.encounter
                Definition

                Describes the clinical encounter or type of care this documentation is associated with.

                ShortContext of the Composition
                Control0..0
                TypeReference(Encounter)
                Is Modifierfalse
                Must Supportfalse
                Summarytrue
                Requirements

                Provides context for the composition and supports searching.

                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                108. Composition.date
                Definition

                The composition editing time, when the composition was last logically changed by the author.

                ShortDokumendi väljastamise aeg
                Comments

                The Last Modified Date on the composition may be after the date of the document was attested without being changed. This means that the date on an amended document is the date of the amendment, not the date of original authorship.

                Control1..1
                TypedateTime
                Is Modifierfalse
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                Must Supportfalse
                Summarytrue
                Requirements

                dateTime is used for tracking, organizing versions and searching. Note that this is the time of authoring this version of the Composition. When packaged in a document, Bundle.timestamp is the date of packaging.

                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                110. Composition.useContext
                Definition

                The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate Composition instances.

                ShortThe context that the content is intended to support
                Comments

                When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.

                Control0..0
                TypeUsageContext
                Is Modifierfalse
                Must Supportfalse
                Summarytrue
                Requirements

                Assist in searching for appropriate content.

                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                112. Composition.author
                Definition

                Identifies who is responsible for the information in the composition, not necessarily who typed it in.

                ShortViide contained PractitionerRole ressursile
                Control1..1
                TypeReference(PractitionerRole)
                Is Modifierfalse
                Must Supportfalse
                Summarytrue
                Requirements

                Identifies who is responsible for the content.

                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                114. Composition.name
                Definition

                A natural language name identifying the {{title}}. This name should be usable as an identifier for the module by machine processing applications such as code generation.

                ShortName for this Composition (computer friendly)
                Comments

                The name is not expected to be globally unique. The name should be a simple alphanumeric type name to ensure that it is machine-processing friendly.

                Control0..0
                Typestring
                Is Modifierfalse
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                Must Supportfalse
                Summarytrue
                Requirements

                Support human navigation and code generation.

                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                116. Composition.title
                Definition

                Official human-readable label for the composition.

                ShortTõendi nimetus. Sama mis category
                Comments

                For many compositions, the title is the same as the text or a display name of Composition.type (e.g. a "consultation" or "progress note"). Note that CDA does not make title mandatory, but there are no known cases where it is useful for title to be omitted, so it is mandatory here. Feedback on this requirement is welcome during the trial use period.

                Control1..1
                Typestring
                Is Modifierfalse
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                Must Supportfalse
                Summarytrue
                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                118. Composition.note
                Definition

                For any additional notes.

                ShortFor any additional notes
                Comments

                A comment, general note or annotation not coded elsewhere.

                Control0..0
                TypeAnnotation
                Is Modifierfalse
                Must Supportfalse
                Summaryfalse
                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                120. Composition.attester
                Definition

                A participant who has attested to the accuracy of the composition/document.

                ShortAttests to accuracy of composition
                Comments

                Only list each attester once.

                Control0..0
                TypeBackboneElement
                Is Modifierfalse
                Must Supportfalse
                Summaryfalse
                Requirements

                Identifies responsibility for the accuracy of the composition content.

                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                128. Composition.custodian
                Definition

                Identifies the organization or group who is responsible for ongoing maintenance of and access to the composition/document information.

                ShortOrganization which maintains the composition
                Comments

                This is useful when documents are derived from a composition - provides guidance for how to get the latest version of the document. This is optional because this is sometimes not known by the authoring system, and can be inferred by context. However, it is important that this information be known when working with a derived document, so providing a custodian is encouraged.

                Control0..0
                TypeReference(Organization)
                Is Modifierfalse
                Must Supportfalse
                Summarytrue
                Requirements

                Identifies where to go to find the current version, where to report issues, etc.

                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                130. Composition.relatesTo
                Definition

                Relationships that this composition has with other compositions or documents that already exist.

                ShortRelationships to other compositions/documents
                Comments

                To reference (using relatesTo) a Bundle of type "document" or another Composition where you only have the identifier, use a resourceReference with an identifier.
                When a Composition is an alternate representation of another type of document e.g. CDA, the other document could be referenced in a DocumentReference resource.
                Here is an example of using relatesTo to reference another Bundle of type "document" or Composition where you only have the identifier:

                "relatesTo": [{
                  "type": "replaces",
                  "resourceReference": {
                    "identifier": { 
                      "system": "...", 
                      "value": "..."
                    }
                  } 
                }]
                
                Control0..0
                TypeRelatedArtifact
                Is Modifierfalse
                Must Supportfalse
                Summaryfalse
                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                132. Composition.event
                Definition

                The clinical service, such as a colonoscopy or an appendectomy, being documented.

                ShortTervisetõendi kehtivus
                Comments

                The event needs to be consistent with the type element, though can provide further information if desired.

                Control1..1
                TypeBackboneElement
                Is Modifierfalse
                Must Supportfalse
                Summarytrue
                Requirements

                Provides context for the composition and creates a linkage between a resource describing an event and the composition created describing the event.

                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                134. Composition.event.id
                Definition

                Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                ShortUnique id for inter-element referencing
                Control0..1
                This element is affected by the following invariants: ele-1
                Typestring
                Is Modifierfalse
                XML FormatIn the XML format, this property is represented as an attribute.
                Summaryfalse
                136. Composition.event.extension
                Definition

                May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

                ShortAdditional content defined by implementations
                Comments

                There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                Control0..*
                TypeExtension
                Is Modifierfalse
                Summaryfalse
                Alternate Namesextensions, user content
                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                138. Composition.event.modifierExtension
                Definition

                An Extension

                ShortExtension
                Control0..0
                TypeExtension
                Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
                Summarytrue
                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                140. Composition.event.period
                Definition

                The period of time covered by the documentation. There is no assertion that the documentation is a complete representation for this period, only that it documents events during this time.

                ShortThe period covered by the documentation
                Control1..1
                TypePeriod
                Is Modifierfalse
                Must Supportfalse
                Summarytrue
                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                142. Composition.event.period.id
                Definition

                Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                ShortUnique id for inter-element referencing
                Control0..1
                This element is affected by the following invariants: ele-1
                Typeid
                Is Modifierfalse
                XML FormatIn the XML format, this property is represented as an attribute.
                Summaryfalse
                144. Composition.event.period.extension
                Definition

                May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

                ShortAdditional content defined by implementations
                Comments

                There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                Control0..*
                TypeExtension
                Is Modifierfalse
                Summaryfalse
                Alternate Namesextensions, user content
                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                SlicingThis element introduces a set of slices on Composition.event.period.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                • value @ url
                • 146. Composition.event.period.start
                  Definition

                  The start of the period. The boundary is inclusive.

                  ShortAlguskuupäev
                  Comments

                  If the low element is missing, the meaning is that the low boundary is not known.

                  Control1..1
                  This element is affected by the following invariants: per-1
                  TypedateTime
                  Is Modifierfalse
                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                  Summarytrue
                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                  148. Composition.event.period.end
                  Definition

                  The end of the period. If the end of the period is missing, it means no end was known or planned at the time the instance was created. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.

                  ShortLõppkuupäev
                  Comments

                  The end value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has an end value of 2012-02-03.

                  Control1..1
                  This element is affected by the following invariants: per-1
                  TypedateTime
                  Is Modifierfalse
                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                  Summarytrue
                  Meaning if MissingIf the end of the period is missing, it means that the period is ongoing
                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                  150. Composition.event.detail
                  Definition

                  Represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a "History and Physical Report" in which case the procedure being documented is necessarily a "History and Physical" act. The events may be included as a code or as a reference to an other resource.

                  ShortThe event(s) being documented, as code(s), reference(s), or both
                  Comments

                  An event can further specialize the act inherent in the typeCode, such as where it is simply "Procedure Report" and the procedure was a "colonoscopy". If one or more events are included, they SHALL NOT conflict with the values inherent in the classCode, practiceSettingCode or typeCode, as such a conflict would create an ambiguous situation. This short list of codes is provided to be used as key words for certain types of queries.

                  Control0..0
                  BindingFor example codes, see v3 Code System ActCode
                  (example to http://terminology.hl7.org/ValueSet/v3-ActCode)

                  This list of codes represents the main clinical acts being documented.

                  TypeCodeableReference(Resource)
                  Is Modifierfalse
                  Must Supportfalse
                  Summarytrue
                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                  152. Composition.section
                  Definition

                  The root of the sections that make up the composition.

                  ShortComposition is broken into sections
                  Control1..*
                  TypeBackboneElement
                  Is Modifierfalse
                  Must Supportfalse
                  Summaryfalse
                  Invariantscmp-1: A section must contain at least one of text, entries, or sub-sections (text.exists() or entry.exists() or section.exists())
                  cmp-2: A section can only have an emptyReason if it is empty (emptyReason.empty() or entry.empty())
                  ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                  SlicingThis element introduces a set of slices on Composition.section. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                  • value @ code
                  • 154. Composition.section.id
                    Definition

                    Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                    ShortUnique id for inter-element referencing
                    Control0..1
                    This element is affected by the following invariants: ele-1
                    Typestring
                    Is Modifierfalse
                    XML FormatIn the XML format, this property is represented as an attribute.
                    Summaryfalse
                    156. Composition.section.extension
                    Definition

                    May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

                    ShortAdditional content defined by implementations
                    Comments

                    There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                    Control0..*
                    TypeExtension
                    Is Modifierfalse
                    Summaryfalse
                    Alternate Namesextensions, user content
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                    158. Composition.section.modifierExtension
                    Definition

                    May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

                    Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

                    ShortExtensions that cannot be ignored even if unrecognized
                    Comments

                    There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                    Control0..*
                    TypeExtension
                    Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
                    Summarytrue
                    Requirements

                    Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

                    Alternate Namesextensions, user content, modifiers
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                    160. Composition.section.title
                    Definition

                    The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.

                    ShortLabel for section (e.g. for ToC)
                    Comments

                    The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title, or documents that only have a single section. Most Implementation Guides will make section title to be a required element.

                    Control0..1
                    Typestring
                    Is Modifierfalse
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    Must Supportfalse
                    Summaryfalse
                    Requirements

                    Section headings are often standardized for different types of documents. They give guidance to humans on how the document is organized.

                    Alternate Namesheader, label, caption
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    162. Composition.section.code
                    Definition

                    A code identifying the kind of content contained within the section. This must be consistent with the section title.

                    ShortClassification of section (recommended)
                    Comments

                    The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document.

                    If the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.

                    Control0..1
                    BindingFor example codes, see DocumentSectionCodes
                    (example to http://hl7.org/fhir/ValueSet/doc-section-codes)

                    Classification of a section of a composition/document.

                    TypeCodeableConcept
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Requirements

                    Provides computable standardized labels to topics within the document.

                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    164. Composition.section.author
                    Definition

                    Identifies who is responsible for the information in this section, not necessarily who typed it in.

                    ShortWho and/or what authored the section
                    Control0..*
                    TypeReference(Practitioner, PractitionerRole, Device, Patient, RelatedPerson, Organization)
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Requirements

                    Identifies who is responsible for the content.

                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    166. Composition.section.focus
                    Definition

                    The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).

                    ShortWho/what the section is about, when it is not about the subject of composition
                    Comments

                    Typically, sections in a doument are about the subject of the document, whether that is a patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.

                    Control0..1
                    TypeReference(Resource)
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    168. Composition.section.text
                    Definition

                    A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative.

                    ShortText summary of the section, for human interpretation
                    Comments

                    Document profiles may define what content should be represented in the narrative to ensure clinical safety.

                    Control0..1
                    This element is affected by the following invariants: cmp-1
                    TypeNarrative
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    170. Composition.section.orderedBy
                    Definition

                    Specifies the order applied to the items in the section entries.

                    ShortOrder of section entries
                    Comments

                    Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.

                    Control0..1
                    BindingThe codes SHOULD be taken from ListOrderCodes
                    (preferred to http://hl7.org/fhir/ValueSet/list-order)

                    What order applies to the items in the entry.

                    TypeCodeableConcept
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Requirements

                    Important for presentation and rendering. Lists may be sorted to place more important information first or to group related entries.

                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    172. Composition.section.entry
                    Definition

                    A reference to the actual resource from which the narrative in the section is derived.

                    ShortA reference to data that supports this section
                    Comments

                    If there are no entries in the list, an emptyReason SHOULD be provided.

                    Control0..*
                    This element is affected by the following invariants: cmp-1, cmp-2
                    TypeReference(Resource)
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    174. Composition.section.emptyReason
                    Definition

                    If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.

                    ShortWhy the section is empty
                    Comments

                    The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.

                    Control0..1
                    This element is affected by the following invariants: cmp-2
                    BindingThe codes SHOULD be taken from ListEmptyReasons
                    (preferred to http://hl7.org/fhir/ValueSet/list-empty-reason)

                    If a section is empty, why it is empty.

                    TypeCodeableConcept
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Requirements

                    Allows capturing things like "none exist" or "not asked" which can be important for most lists.

                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    176. Composition.section.section
                    Definition

                    A nested sub-section within this section.

                    ShortNested Section
                    Comments

                    Nested sections are primarily used to help human readers navigate to particular portions of the document.

                    Control0..*
                    TypeSeettp://hl7.org/fhir/StructureDefinition/Composition#Composition.section
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    178. Composition.section:decision
                    Slice Namedecision
                    Definition

                    The root of the sections that make up the composition.

                    ShortTervisetõendi otsus
                    Control0..1
                    TypeBackboneElement
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Invariantscmp-1: A section must contain at least one of text, entries, or sub-sections (text.exists() or entry.exists() or section.exists())
                    cmp-2: A section can only have an emptyReason if it is empty (emptyReason.empty() or entry.empty())
                    ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    180. Composition.section:decision.id
                    Definition

                    Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                    ShortUnique id for inter-element referencing
                    Control0..1
                    This element is affected by the following invariants: ele-1
                    Typestring
                    Is Modifierfalse
                    XML FormatIn the XML format, this property is represented as an attribute.
                    Summaryfalse
                    182. Composition.section:decision.extension
                    Definition

                    May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

                    ShortAdditional content defined by implementations
                    Comments

                    There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                    Control0..*
                    TypeExtension
                    Is Modifierfalse
                    Summaryfalse
                    Alternate Namesextensions, user content
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                    184. Composition.section:decision.modifierExtension
                    Definition

                    An Extension

                    ShortExtension
                    Control0..0
                    TypeExtension
                    Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
                    Summarytrue
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                    186. Composition.section:decision.title
                    Definition

                    The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.

                    ShortLabel for section (e.g. for ToC)
                    Comments

                    The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title, or documents that only have a single section. Most Implementation Guides will make section title to be a required element.

                    Control0..1
                    Typestring
                    Is Modifierfalse
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    Must Supportfalse
                    Summaryfalse
                    Requirements

                    Section headings are often standardized for different types of documents. They give guidance to humans on how the document is organized.

                    Alternate Namesheader, label, caption
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    188. Composition.section:decision.code
                    Definition

                    A code identifying the kind of content contained within the section. This must be consistent with the section title.

                    ShortClassification of section (recommended)
                    Comments

                    The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document.

                    If the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.

                    Control1..1
                    BindingFor example codes, see DocumentSectionCodes
                    (example to http://hl7.org/fhir/ValueSet/doc-section-codes)

                    Classification of a section of a composition/document.

                    TypeCodeableConcept
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Requirements

                    Provides computable standardized labels to topics within the document.

                    Pattern Value{
                      "coding" : [{
                        "system" : "https://fhir.ee/CodeSystem/tervisetoendi-sektsioon",
                        "code" : "decision"
                      }]
                    }
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    190. Composition.section:decision.author
                    Definition

                    Identifies who is responsible for the information in this section, not necessarily who typed it in.

                    ShortWho and/or what authored the section
                    Control0..*
                    TypeReference(Practitioner, PractitionerRole, Device, Patient, RelatedPerson, Organization)
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Requirements

                    Identifies who is responsible for the content.

                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    192. Composition.section:decision.focus
                    Definition

                    The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).

                    ShortWho/what the section is about, when it is not about the subject of composition
                    Comments

                    Typically, sections in a doument are about the subject of the document, whether that is a patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.

                    Control0..1
                    TypeReference(Resource)
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    194. Composition.section:decision.text
                    Definition

                    A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative.

                    ShortText summary of the section, for human interpretation
                    Comments

                    Document profiles may define what content should be represented in the narrative to ensure clinical safety.

                    Control0..1
                    This element is affected by the following invariants: cmp-1
                    TypeNarrative
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    196. Composition.section:decision.orderedBy
                    Definition

                    Specifies the order applied to the items in the section entries.

                    ShortOrder of section entries
                    Comments

                    Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.

                    Control0..1
                    BindingThe codes SHOULD be taken from ListOrderCodes
                    (preferred to http://hl7.org/fhir/ValueSet/list-order)

                    What order applies to the items in the entry.

                    TypeCodeableConcept
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Requirements

                    Important for presentation and rendering. Lists may be sorted to place more important information first or to group related entries.

                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    198. Composition.section:decision.entry
                    Definition

                    A reference to the actual resource from which the narrative in the section is derived.

                    ShortViide contained Observation ressursile otsuse koodiga
                    Comments

                    If there are no entries in the list, an emptyReason SHOULD be provided.

                    Control1..1
                    This element is affected by the following invariants: cmp-1, cmp-2
                    TypeReference(Tervisetõendi otsus)
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    200. Composition.section:decision.emptyReason
                    Definition

                    If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.

                    ShortWhy the section is empty
                    Comments

                    The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.

                    Control0..1
                    This element is affected by the following invariants: cmp-2
                    BindingThe codes SHOULD be taken from ListEmptyReasons
                    (preferred to http://hl7.org/fhir/ValueSet/list-empty-reason)

                    If a section is empty, why it is empty.

                    TypeCodeableConcept
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Requirements

                    Allows capturing things like "none exist" or "not asked" which can be important for most lists.

                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    202. Composition.section:decision.section
                    Definition

                    A nested sub-section within this section.

                    ShortNested Section
                    Comments

                    Nested sections are primarily used to help human readers navigate to particular portions of the document.

                    Control0..*
                    TypeSeettp://hl7.org/fhir/StructureDefinition/Composition#Composition.section
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    204. Composition.section:healthDeclaration
                    Slice NamehealthDeclaration
                    Definition

                    The root of the sections that make up the composition.

                    ShortTervisedeklaratsioon
                    Control1..1
                    TypeBackboneElement
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Invariantscmp-1: A section must contain at least one of text, entries, or sub-sections (text.exists() or entry.exists() or section.exists())
                    cmp-2: A section can only have an emptyReason if it is empty (emptyReason.empty() or entry.empty())
                    ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    206. Composition.section:healthDeclaration.id
                    Definition

                    Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                    ShortUnique id for inter-element referencing
                    Control0..1
                    This element is affected by the following invariants: ele-1
                    Typestring
                    Is Modifierfalse
                    XML FormatIn the XML format, this property is represented as an attribute.
                    Summaryfalse
                    208. Composition.section:healthDeclaration.extension
                    Definition

                    May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

                    ShortAdditional content defined by implementations
                    Comments

                    There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                    Control0..*
                    TypeExtension
                    Is Modifierfalse
                    Summaryfalse
                    Alternate Namesextensions, user content
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                    210. Composition.section:healthDeclaration.modifierExtension
                    Definition

                    An Extension

                    ShortExtension
                    Control0..0
                    TypeExtension
                    Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
                    Summarytrue
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                    212. Composition.section:healthDeclaration.title
                    Definition

                    The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.

                    ShortLabel for section (e.g. for ToC)
                    Comments

                    The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title, or documents that only have a single section. Most Implementation Guides will make section title to be a required element.

                    Control0..1
                    Typestring
                    Is Modifierfalse
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    Must Supportfalse
                    Summaryfalse
                    Requirements

                    Section headings are often standardized for different types of documents. They give guidance to humans on how the document is organized.

                    Alternate Namesheader, label, caption
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    214. Composition.section:healthDeclaration.code
                    Definition

                    A code identifying the kind of content contained within the section. This must be consistent with the section title.

                    ShortClassification of section (recommended)
                    Comments

                    The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document.

                    If the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.

                    Control1..1
                    BindingFor example codes, see DocumentSectionCodes
                    (example to http://hl7.org/fhir/ValueSet/doc-section-codes)

                    Classification of a section of a composition/document.

                    TypeCodeableConcept
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Requirements

                    Provides computable standardized labels to topics within the document.

                    Pattern Value{
                      "coding" : [{
                        "system" : "https://fhir.ee/CodeSystem/tervisetoendi-sektsioon",
                        "code" : "health-declaration"
                      }]
                    }
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    216. Composition.section:healthDeclaration.author
                    Definition

                    Identifies who is responsible for the information in this section, not necessarily who typed it in.

                    ShortWho and/or what authored the section
                    Control0..*
                    TypeReference(Practitioner, PractitionerRole, Device, Patient, RelatedPerson, Organization)
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Requirements

                    Identifies who is responsible for the content.

                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    218. Composition.section:healthDeclaration.focus
                    Definition

                    The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).

                    ShortWho/what the section is about, when it is not about the subject of composition
                    Comments

                    Typically, sections in a doument are about the subject of the document, whether that is a patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.

                    Control0..1
                    TypeReference(Resource)
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    220. Composition.section:healthDeclaration.text
                    Definition

                    A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative.

                    ShortText summary of the section, for human interpretation
                    Comments

                    Document profiles may define what content should be represented in the narrative to ensure clinical safety.

                    Control0..1
                    This element is affected by the following invariants: cmp-1
                    TypeNarrative
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    222. Composition.section:healthDeclaration.orderedBy
                    Definition

                    Specifies the order applied to the items in the section entries.

                    ShortOrder of section entries
                    Comments

                    Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.

                    Control0..1
                    BindingThe codes SHOULD be taken from ListOrderCodes
                    (preferred to http://hl7.org/fhir/ValueSet/list-order)

                    What order applies to the items in the entry.

                    TypeCodeableConcept
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Requirements

                    Important for presentation and rendering. Lists may be sorted to place more important information first or to group related entries.

                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    224. Composition.section:healthDeclaration.entry
                    Definition

                    A reference to the actual resource from which the narrative in the section is derived.

                    ShortViide QuestionnaireResponse ressursile
                    Comments

                    If there are no entries in the list, an emptyReason SHOULD be provided.

                    Control1..1
                    This element is affected by the following invariants: cmp-1, cmp-2
                    TypeReference(QuestionnaireResponse)
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    226. Composition.section:healthDeclaration.emptyReason
                    Definition

                    If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.

                    ShortWhy the section is empty
                    Comments

                    The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.

                    Control0..1
                    This element is affected by the following invariants: cmp-2
                    BindingThe codes SHOULD be taken from ListEmptyReasons
                    (preferred to http://hl7.org/fhir/ValueSet/list-empty-reason)

                    If a section is empty, why it is empty.

                    TypeCodeableConcept
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Requirements

                    Allows capturing things like "none exist" or "not asked" which can be important for most lists.

                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    228. Composition.section:healthDeclaration.section
                    Definition

                    A nested sub-section within this section.

                    ShortNested Section
                    Comments

                    Nested sections are primarily used to help human readers navigate to particular portions of the document.

                    Control0..*
                    TypeSeettp://hl7.org/fhir/StructureDefinition/Composition#Composition.section
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    230. Composition.section:medicalRestriction
                    Slice NamemedicalRestriction
                    Definition

                    The root of the sections that make up the composition.

                    ShortMeditsiinilised piirangud
                    Control0..1
                    TypeBackboneElement
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Invariantscmp-1: A section must contain at least one of text, entries, or sub-sections (text.exists() or entry.exists() or section.exists())
                    cmp-2: A section can only have an emptyReason if it is empty (emptyReason.empty() or entry.empty())
                    ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    232. Composition.section:medicalRestriction.id
                    Definition

                    Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                    ShortUnique id for inter-element referencing
                    Control0..1
                    This element is affected by the following invariants: ele-1
                    Typestring
                    Is Modifierfalse
                    XML FormatIn the XML format, this property is represented as an attribute.
                    Summaryfalse
                    234. Composition.section:medicalRestriction.extension
                    Definition

                    May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

                    ShortAdditional content defined by implementations
                    Comments

                    There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                    Control0..*
                    TypeExtension
                    Is Modifierfalse
                    Summaryfalse
                    Alternate Namesextensions, user content
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                    236. Composition.section:medicalRestriction.modifierExtension
                    Definition

                    An Extension

                    ShortExtension
                    Control0..0
                    TypeExtension
                    Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
                    Summarytrue
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                    238. Composition.section:medicalRestriction.title
                    Definition

                    The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.

                    ShortLabel for section (e.g. for ToC)
                    Comments

                    The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title, or documents that only have a single section. Most Implementation Guides will make section title to be a required element.

                    Control0..1
                    Typestring
                    Is Modifierfalse
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    Must Supportfalse
                    Summaryfalse
                    Requirements

                    Section headings are often standardized for different types of documents. They give guidance to humans on how the document is organized.

                    Alternate Namesheader, label, caption
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    240. Composition.section:medicalRestriction.code
                    Definition

                    A code identifying the kind of content contained within the section. This must be consistent with the section title.

                    ShortClassification of section (recommended)
                    Comments

                    The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document.

                    If the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.

                    Control1..1
                    BindingFor example codes, see DocumentSectionCodes
                    (example to http://hl7.org/fhir/ValueSet/doc-section-codes)

                    Classification of a section of a composition/document.

                    TypeCodeableConcept
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Requirements

                    Provides computable standardized labels to topics within the document.

                    Pattern Value{
                      "coding" : [{
                        "system" : "https://fhir.ee/CodeSystem/tervisetoendi-sektsioon",
                        "code" : "medical-restrictions"
                      }]
                    }
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    242. Composition.section:medicalRestriction.author
                    Definition

                    Identifies who is responsible for the information in this section, not necessarily who typed it in.

                    ShortWho and/or what authored the section
                    Control0..*
                    TypeReference(Practitioner, PractitionerRole, Device, Patient, RelatedPerson, Organization)
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Requirements

                    Identifies who is responsible for the content.

                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    244. Composition.section:medicalRestriction.focus
                    Definition

                    The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).

                    ShortWho/what the section is about, when it is not about the subject of composition
                    Comments

                    Typically, sections in a doument are about the subject of the document, whether that is a patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.

                    Control0..1
                    TypeReference(Resource)
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    246. Composition.section:medicalRestriction.text
                    Definition

                    A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative.

                    ShortText summary of the section, for human interpretation
                    Comments

                    Document profiles may define what content should be represented in the narrative to ensure clinical safety.

                    Control0..1
                    This element is affected by the following invariants: cmp-1
                    TypeNarrative
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    248. Composition.section:medicalRestriction.orderedBy
                    Definition

                    Specifies the order applied to the items in the section entries.

                    ShortOrder of section entries
                    Comments

                    Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.

                    Control0..1
                    BindingThe codes SHOULD be taken from ListOrderCodes
                    (preferred to http://hl7.org/fhir/ValueSet/list-order)

                    What order applies to the items in the entry.

                    TypeCodeableConcept
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Requirements

                    Important for presentation and rendering. Lists may be sorted to place more important information first or to group related entries.

                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    250. Composition.section:medicalRestriction.entry
                    Definition

                    A reference to the actual resource from which the narrative in the section is derived.

                    ShortViide contained Observation ressursile (Meditsiiniline piirang)
                    Comments

                    If there are no entries in the list, an emptyReason SHOULD be provided.

                    Control0..*
                    This element is affected by the following invariants: cmp-1, cmp-2
                    TypeReference(Meditsiiniline piirang)
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    252. Composition.section:medicalRestriction.emptyReason
                    Definition

                    If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.

                    ShortWhy the section is empty
                    Comments

                    The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.

                    Control0..1
                    This element is affected by the following invariants: cmp-2
                    BindingThe codes SHOULD be taken from ListEmptyReasons
                    (preferred to http://hl7.org/fhir/ValueSet/list-empty-reason)

                    If a section is empty, why it is empty.

                    TypeCodeableConcept
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Requirements

                    Allows capturing things like "none exist" or "not asked" which can be important for most lists.

                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    254. Composition.section:medicalRestriction.section
                    Definition

                    A nested sub-section within this section.

                    ShortNested Section
                    Comments

                    Nested sections are primarily used to help human readers navigate to particular portions of the document.

                    Control0..*
                    TypeSeettp://hl7.org/fhir/StructureDefinition/Composition#Composition.section
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    256. Composition.section:shortenedReason
                    Slice NameshortenedReason
                    Definition

                    The root of the sections that make up the composition.

                    ShortLühema tervisekontrolli aja põhjus
                    Control0..1
                    TypeBackboneElement
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Invariantscmp-1: A section must contain at least one of text, entries, or sub-sections (text.exists() or entry.exists() or section.exists())
                    cmp-2: A section can only have an emptyReason if it is empty (emptyReason.empty() or entry.empty())
                    ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    258. Composition.section:shortenedReason.id
                    Definition

                    Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                    ShortUnique id for inter-element referencing
                    Control0..1
                    This element is affected by the following invariants: ele-1
                    Typestring
                    Is Modifierfalse
                    XML FormatIn the XML format, this property is represented as an attribute.
                    Summaryfalse
                    260. Composition.section:shortenedReason.extension
                    Definition

                    May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

                    ShortAdditional content defined by implementations
                    Comments

                    There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                    Control0..*
                    TypeExtension
                    Is Modifierfalse
                    Summaryfalse
                    Alternate Namesextensions, user content
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                    262. Composition.section:shortenedReason.modifierExtension
                    Definition

                    An Extension

                    ShortExtension
                    Control0..0
                    TypeExtension
                    Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
                    Summarytrue
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                    264. Composition.section:shortenedReason.title
                    Definition

                    The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.

                    ShortLabel for section (e.g. for ToC)
                    Comments

                    The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title, or documents that only have a single section. Most Implementation Guides will make section title to be a required element.

                    Control0..1
                    Typestring
                    Is Modifierfalse
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    Must Supportfalse
                    Summaryfalse
                    Requirements

                    Section headings are often standardized for different types of documents. They give guidance to humans on how the document is organized.

                    Alternate Namesheader, label, caption
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    266. Composition.section:shortenedReason.code
                    Definition

                    A code identifying the kind of content contained within the section. This must be consistent with the section title.

                    ShortClassification of section (recommended)
                    Comments

                    The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document.

                    If the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.

                    Control1..1
                    BindingFor example codes, see DocumentSectionCodes
                    (example to http://hl7.org/fhir/ValueSet/doc-section-codes)

                    Classification of a section of a composition/document.

                    TypeCodeableConcept
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Requirements

                    Provides computable standardized labels to topics within the document.

                    Pattern Value{
                      "coding" : [{
                        "system" : "https://fhir.ee/CodeSystem/tervisetoendi-sektsioon",
                        "code" : "shortened-reason"
                      }]
                    }
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    268. Composition.section:shortenedReason.author
                    Definition

                    Identifies who is responsible for the information in this section, not necessarily who typed it in.

                    ShortWho and/or what authored the section
                    Control0..*
                    TypeReference(Practitioner, PractitionerRole, Device, Patient, RelatedPerson, Organization)
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Requirements

                    Identifies who is responsible for the content.

                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    270. Composition.section:shortenedReason.focus
                    Definition

                    The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).

                    ShortWho/what the section is about, when it is not about the subject of composition
                    Comments

                    Typically, sections in a doument are about the subject of the document, whether that is a patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.

                    Control0..1
                    TypeReference(Resource)
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    272. Composition.section:shortenedReason.text
                    Definition

                    A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative.

                    ShortVabatekst lühema tervisekontrolli aja põhjusega
                    Comments

                    Document profiles may define what content should be represented in the narrative to ensure clinical safety.

                    Control1..1
                    This element is affected by the following invariants: cmp-1
                    TypeNarrative
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    274. Composition.section:shortenedReason.text.id
                    Definition

                    Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                    ShortUnique id for inter-element referencing
                    Control0..1
                    This element is affected by the following invariants: ele-1
                    Typeid
                    Is Modifierfalse
                    XML FormatIn the XML format, this property is represented as an attribute.
                    Summaryfalse
                    276. Composition.section:shortenedReason.text.extension
                    Definition

                    May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

                    ShortAdditional content defined by implementations
                    Comments

                    There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                    Control0..*
                    TypeExtension
                    Is Modifierfalse
                    Summaryfalse
                    Alternate Namesextensions, user content
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                    SlicingThis element introduces a set of slices on Composition.section.text.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                    • value @ url
                    • 278. Composition.section:shortenedReason.text.status
                      Definition

                      The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data.

                      Shortgenerated | extensions | additional | empty
                      Control1..1
                      BindingThe codes SHALL be taken from NarrativeStatus
                      (required to http://hl7.org/fhir/ValueSet/narrative-status|5.0.0)

                      The status of a resource narrative.

                      Typecode
                      Is Modifierfalse
                      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                      Summaryfalse
                      Pattern Valueadditional
                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                      280. Composition.section:shortenedReason.text.div
                      Definition

                      The actual narrative content, a stripped down version of XHTML.

                      ShortLimited xhtml content
                      Comments

                      The contents of the html element are an XHTML fragment containing only the basic html formatting elements described in chapters 7-11 and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained stylesheets. The XHTML content SHALL NOT contain a head, a body, external stylesheet references, scripts, forms, base/link/xlink, frames, iframes and objects.

                      Control1..1
                      Typexhtml
                      Is Modifierfalse
                      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                      Summaryfalse
                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                      txt-1: The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes (htmlChecks())
                      txt-2: The narrative SHALL have some non-whitespace content (htmlChecks())
                      282. Composition.section:shortenedReason.orderedBy
                      Definition

                      Specifies the order applied to the items in the section entries.

                      ShortOrder of section entries
                      Comments

                      Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.

                      Control0..1
                      BindingThe codes SHOULD be taken from ListOrderCodes
                      (preferred to http://hl7.org/fhir/ValueSet/list-order)

                      What order applies to the items in the entry.

                      TypeCodeableConcept
                      Is Modifierfalse
                      Must Supportfalse
                      Summaryfalse
                      Requirements

                      Important for presentation and rendering. Lists may be sorted to place more important information first or to group related entries.

                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                      284. Composition.section:shortenedReason.entry
                      Definition

                      A reference to the actual resource from which the narrative in the section is derived.

                      ShortA reference to data that supports this section
                      Comments

                      If there are no entries in the list, an emptyReason SHOULD be provided.

                      Control0..0
                      This element is affected by the following invariants: cmp-1, cmp-2
                      TypeReference(Resource)
                      Is Modifierfalse
                      Must Supportfalse
                      Summaryfalse
                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                      286. Composition.section:shortenedReason.emptyReason
                      Definition

                      If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.

                      ShortWhy the section is empty
                      Comments

                      The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.

                      Control0..1
                      This element is affected by the following invariants: cmp-2
                      BindingThe codes SHOULD be taken from ListEmptyReasons
                      (preferred to http://hl7.org/fhir/ValueSet/list-empty-reason)

                      If a section is empty, why it is empty.

                      TypeCodeableConcept
                      Is Modifierfalse
                      Must Supportfalse
                      Summaryfalse
                      Requirements

                      Allows capturing things like "none exist" or "not asked" which can be important for most lists.

                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                      288. Composition.section:shortenedReason.section
                      Definition

                      A nested sub-section within this section.

                      ShortNested Section
                      Comments

                      Nested sections are primarily used to help human readers navigate to particular portions of the document.

                      Control0..*
                      TypeSeettp://hl7.org/fhir/StructureDefinition/Composition#Composition.section
                      Is Modifierfalse
                      Must Supportfalse
                      Summaryfalse
                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                      290. Composition.section:rejectReason
                      Slice NamerejectReason
                      Definition

                      The root of the sections that make up the composition.

                      ShortEitava otsuse põhjendus
                      Control0..1
                      TypeBackboneElement
                      Is Modifierfalse
                      Must Supportfalse
                      Summaryfalse
                      Invariantscmp-1: A section must contain at least one of text, entries, or sub-sections (text.exists() or entry.exists() or section.exists())
                      cmp-2: A section can only have an emptyReason if it is empty (emptyReason.empty() or entry.empty())
                      ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                      292. Composition.section:rejectReason.id
                      Definition

                      Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                      ShortUnique id for inter-element referencing
                      Control0..1
                      This element is affected by the following invariants: ele-1
                      Typestring
                      Is Modifierfalse
                      XML FormatIn the XML format, this property is represented as an attribute.
                      Summaryfalse
                      294. Composition.section:rejectReason.extension
                      Definition

                      May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

                      ShortAdditional content defined by implementations
                      Comments

                      There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                      Control0..*
                      TypeExtension
                      Is Modifierfalse
                      Summaryfalse
                      Alternate Namesextensions, user content
                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                      296. Composition.section:rejectReason.modifierExtension
                      Definition

                      An Extension

                      ShortExtension
                      Control0..0
                      TypeExtension
                      Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
                      Summarytrue
                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                      298. Composition.section:rejectReason.title
                      Definition

                      The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.

                      ShortLabel for section (e.g. for ToC)
                      Comments

                      The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title, or documents that only have a single section. Most Implementation Guides will make section title to be a required element.

                      Control0..1
                      Typestring
                      Is Modifierfalse
                      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                      Must Supportfalse
                      Summaryfalse
                      Requirements

                      Section headings are often standardized for different types of documents. They give guidance to humans on how the document is organized.

                      Alternate Namesheader, label, caption
                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                      300. Composition.section:rejectReason.code
                      Definition

                      A code identifying the kind of content contained within the section. This must be consistent with the section title.

                      ShortClassification of section (recommended)
                      Comments

                      The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document.

                      If the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.

                      Control1..1
                      BindingFor example codes, see DocumentSectionCodes
                      (example to http://hl7.org/fhir/ValueSet/doc-section-codes)

                      Classification of a section of a composition/document.

                      TypeCodeableConcept
                      Is Modifierfalse
                      Must Supportfalse
                      Summaryfalse
                      Requirements

                      Provides computable standardized labels to topics within the document.

                      Pattern Value{
                        "coding" : [{
                          "system" : "https://fhir.ee/CodeSystem/tervisetoendi-sektsioon",
                          "code" : "reject-reason"
                        }]
                      }
                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                      302. Composition.section:rejectReason.author
                      Definition

                      Identifies who is responsible for the information in this section, not necessarily who typed it in.

                      ShortWho and/or what authored the section
                      Control0..*
                      TypeReference(Practitioner, PractitionerRole, Device, Patient, RelatedPerson, Organization)
                      Is Modifierfalse
                      Must Supportfalse
                      Summaryfalse
                      Requirements

                      Identifies who is responsible for the content.

                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                      304. Composition.section:rejectReason.focus
                      Definition

                      The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).

                      ShortWho/what the section is about, when it is not about the subject of composition
                      Comments

                      Typically, sections in a doument are about the subject of the document, whether that is a patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.

                      Control0..1
                      TypeReference(Resource)
                      Is Modifierfalse
                      Must Supportfalse
                      Summaryfalse
                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                      306. Composition.section:rejectReason.text
                      Definition

                      A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative.

                      ShortVabatekst eitava otsuse põhjendusega
                      Comments

                      Document profiles may define what content should be represented in the narrative to ensure clinical safety.

                      Control1..1
                      This element is affected by the following invariants: cmp-1
                      TypeNarrative
                      Is Modifierfalse
                      Must Supportfalse
                      Summaryfalse
                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                      308. Composition.section:rejectReason.text.id
                      Definition

                      Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                      ShortUnique id for inter-element referencing
                      Control0..1
                      This element is affected by the following invariants: ele-1
                      Typeid
                      Is Modifierfalse
                      XML FormatIn the XML format, this property is represented as an attribute.
                      Summaryfalse
                      310. Composition.section:rejectReason.text.extension
                      Definition

                      May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

                      ShortAdditional content defined by implementations
                      Comments

                      There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                      Control0..*
                      TypeExtension
                      Is Modifierfalse
                      Summaryfalse
                      Alternate Namesextensions, user content
                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                      SlicingThis element introduces a set of slices on Composition.section.text.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                      • value @ url
                      • 312. Composition.section:rejectReason.text.status
                        Definition

                        The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data.

                        Shortgenerated | extensions | additional | empty
                        Control1..1
                        BindingThe codes SHALL be taken from NarrativeStatus
                        (required to http://hl7.org/fhir/ValueSet/narrative-status|5.0.0)

                        The status of a resource narrative.

                        Typecode
                        Is Modifierfalse
                        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                        Summaryfalse
                        Pattern Valueadditional
                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        314. Composition.section:rejectReason.text.div
                        Definition

                        The actual narrative content, a stripped down version of XHTML.

                        ShortLimited xhtml content
                        Comments

                        The contents of the html element are an XHTML fragment containing only the basic html formatting elements described in chapters 7-11 and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained stylesheets. The XHTML content SHALL NOT contain a head, a body, external stylesheet references, scripts, forms, base/link/xlink, frames, iframes and objects.

                        Control1..1
                        Typexhtml
                        Is Modifierfalse
                        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                        Summaryfalse
                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        txt-1: The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes (htmlChecks())
                        txt-2: The narrative SHALL have some non-whitespace content (htmlChecks())
                        316. Composition.section:rejectReason.orderedBy
                        Definition

                        Specifies the order applied to the items in the section entries.

                        ShortOrder of section entries
                        Comments

                        Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.

                        Control0..1
                        BindingThe codes SHOULD be taken from ListOrderCodes
                        (preferred to http://hl7.org/fhir/ValueSet/list-order)

                        What order applies to the items in the entry.

                        TypeCodeableConcept
                        Is Modifierfalse
                        Must Supportfalse
                        Summaryfalse
                        Requirements

                        Important for presentation and rendering. Lists may be sorted to place more important information first or to group related entries.

                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        318. Composition.section:rejectReason.entry
                        Definition

                        A reference to the actual resource from which the narrative in the section is derived.

                        ShortA reference to data that supports this section
                        Comments

                        If there are no entries in the list, an emptyReason SHOULD be provided.

                        Control0..0
                        This element is affected by the following invariants: cmp-1, cmp-2
                        TypeReference(Resource)
                        Is Modifierfalse
                        Must Supportfalse
                        Summaryfalse
                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        320. Composition.section:rejectReason.emptyReason
                        Definition

                        If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.

                        ShortWhy the section is empty
                        Comments

                        The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.

                        Control0..1
                        This element is affected by the following invariants: cmp-2
                        BindingThe codes SHOULD be taken from ListEmptyReasons
                        (preferred to http://hl7.org/fhir/ValueSet/list-empty-reason)

                        If a section is empty, why it is empty.

                        TypeCodeableConcept
                        Is Modifierfalse
                        Must Supportfalse
                        Summaryfalse
                        Requirements

                        Allows capturing things like "none exist" or "not asked" which can be important for most lists.

                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        322. Composition.section:rejectReason.section
                        Definition

                        A nested sub-section within this section.

                        ShortNested Section
                        Comments

                        Nested sections are primarily used to help human readers navigate to particular portions of the document.

                        Control0..*
                        TypeSeettp://hl7.org/fhir/StructureDefinition/Composition#Composition.section
                        Is Modifierfalse
                        Must Supportfalse
                        Summaryfalse
                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        324. Composition.section:changeReason
                        Slice NamechangeReason
                        Definition

                        The root of the sections that make up the composition.

                        ShortTervisetõendi muutmise põhjus
                        Control0..1
                        TypeBackboneElement
                        Is Modifierfalse
                        Must Supportfalse
                        Summaryfalse
                        Invariantscmp-1: A section must contain at least one of text, entries, or sub-sections (text.exists() or entry.exists() or section.exists())
                        cmp-2: A section can only have an emptyReason if it is empty (emptyReason.empty() or entry.empty())
                        ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        326. Composition.section:changeReason.id
                        Definition

                        Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                        ShortUnique id for inter-element referencing
                        Control0..1
                        This element is affected by the following invariants: ele-1
                        Typestring
                        Is Modifierfalse
                        XML FormatIn the XML format, this property is represented as an attribute.
                        Summaryfalse
                        328. Composition.section:changeReason.extension
                        Definition

                        May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

                        ShortAdditional content defined by implementations
                        Comments

                        There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                        Control0..*
                        TypeExtension
                        Is Modifierfalse
                        Summaryfalse
                        Alternate Namesextensions, user content
                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                        330. Composition.section:changeReason.modifierExtension
                        Definition

                        An Extension

                        ShortExtension
                        Control0..0
                        TypeExtension
                        Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
                        Summarytrue
                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                        332. Composition.section:changeReason.title
                        Definition

                        The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.

                        ShortLabel for section (e.g. for ToC)
                        Comments

                        The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title, or documents that only have a single section. Most Implementation Guides will make section title to be a required element.

                        Control0..1
                        Typestring
                        Is Modifierfalse
                        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                        Must Supportfalse
                        Summaryfalse
                        Requirements

                        Section headings are often standardized for different types of documents. They give guidance to humans on how the document is organized.

                        Alternate Namesheader, label, caption
                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        334. Composition.section:changeReason.code
                        Definition

                        A code identifying the kind of content contained within the section. This must be consistent with the section title.

                        ShortClassification of section (recommended)
                        Comments

                        The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document.

                        If the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.

                        Control1..1
                        BindingFor example codes, see DocumentSectionCodes
                        (example to http://hl7.org/fhir/ValueSet/doc-section-codes)

                        Classification of a section of a composition/document.

                        TypeCodeableConcept
                        Is Modifierfalse
                        Must Supportfalse
                        Summaryfalse
                        Requirements

                        Provides computable standardized labels to topics within the document.

                        Pattern Value{
                          "coding" : [{
                            "system" : "https://fhir.ee/CodeSystem/tervisetoendi-sektsioon",
                            "code" : "change-reason"
                          }]
                        }
                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        336. Composition.section:changeReason.author
                        Definition

                        Identifies who is responsible for the information in this section, not necessarily who typed it in.

                        ShortWho and/or what authored the section
                        Control0..*
                        TypeReference(Practitioner, PractitionerRole, Device, Patient, RelatedPerson, Organization)
                        Is Modifierfalse
                        Must Supportfalse
                        Summaryfalse
                        Requirements

                        Identifies who is responsible for the content.

                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        338. Composition.section:changeReason.focus
                        Definition

                        The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).

                        ShortWho/what the section is about, when it is not about the subject of composition
                        Comments

                        Typically, sections in a doument are about the subject of the document, whether that is a patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.

                        Control0..1
                        TypeReference(Resource)
                        Is Modifierfalse
                        Must Supportfalse
                        Summaryfalse
                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        340. Composition.section:changeReason.text
                        Definition

                        A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative.

                        ShortVabatekst tervisetõendi muutmise põhjusega
                        Comments

                        Document profiles may define what content should be represented in the narrative to ensure clinical safety.

                        Control1..1
                        This element is affected by the following invariants: cmp-1
                        TypeNarrative
                        Is Modifierfalse
                        Must Supportfalse
                        Summaryfalse
                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        342. Composition.section:changeReason.text.id
                        Definition

                        Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                        ShortUnique id for inter-element referencing
                        Control0..1
                        This element is affected by the following invariants: ele-1
                        Typeid
                        Is Modifierfalse
                        XML FormatIn the XML format, this property is represented as an attribute.
                        Summaryfalse
                        344. Composition.section:changeReason.text.extension
                        Definition

                        May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

                        ShortAdditional content defined by implementations
                        Comments

                        There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                        Control0..*
                        TypeExtension
                        Is Modifierfalse
                        Summaryfalse
                        Alternate Namesextensions, user content
                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                        SlicingThis element introduces a set of slices on Composition.section.text.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                        • value @ url
                        • 346. Composition.section:changeReason.text.status
                          Definition

                          The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data.

                          Shortgenerated | extensions | additional | empty
                          Control1..1
                          BindingThe codes SHALL be taken from NarrativeStatus
                          (required to http://hl7.org/fhir/ValueSet/narrative-status|5.0.0)

                          The status of a resource narrative.

                          Typecode
                          Is Modifierfalse
                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                          Summaryfalse
                          Pattern Valueadditional
                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          348. Composition.section:changeReason.text.div
                          Definition

                          The actual narrative content, a stripped down version of XHTML.

                          ShortLimited xhtml content
                          Comments

                          The contents of the html element are an XHTML fragment containing only the basic html formatting elements described in chapters 7-11 and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained stylesheets. The XHTML content SHALL NOT contain a head, a body, external stylesheet references, scripts, forms, base/link/xlink, frames, iframes and objects.

                          Control1..1
                          Typexhtml
                          Is Modifierfalse
                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                          Summaryfalse
                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          txt-1: The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes (htmlChecks())
                          txt-2: The narrative SHALL have some non-whitespace content (htmlChecks())
                          350. Composition.section:changeReason.orderedBy
                          Definition

                          Specifies the order applied to the items in the section entries.

                          ShortOrder of section entries
                          Comments

                          Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.

                          Control0..1
                          BindingThe codes SHOULD be taken from ListOrderCodes
                          (preferred to http://hl7.org/fhir/ValueSet/list-order)

                          What order applies to the items in the entry.

                          TypeCodeableConcept
                          Is Modifierfalse
                          Must Supportfalse
                          Summaryfalse
                          Requirements

                          Important for presentation and rendering. Lists may be sorted to place more important information first or to group related entries.

                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          352. Composition.section:changeReason.entry
                          Definition

                          A reference to the actual resource from which the narrative in the section is derived.

                          ShortA reference to data that supports this section
                          Comments

                          If there are no entries in the list, an emptyReason SHOULD be provided.

                          Control0..0
                          This element is affected by the following invariants: cmp-1, cmp-2
                          TypeReference(Resource)
                          Is Modifierfalse
                          Must Supportfalse
                          Summaryfalse
                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          354. Composition.section:changeReason.emptyReason
                          Definition

                          If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.

                          ShortWhy the section is empty
                          Comments

                          The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.

                          Control0..1
                          This element is affected by the following invariants: cmp-2
                          BindingThe codes SHOULD be taken from ListEmptyReasons
                          (preferred to http://hl7.org/fhir/ValueSet/list-empty-reason)

                          If a section is empty, why it is empty.

                          TypeCodeableConcept
                          Is Modifierfalse
                          Must Supportfalse
                          Summaryfalse
                          Requirements

                          Allows capturing things like "none exist" or "not asked" which can be important for most lists.

                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          356. Composition.section:changeReason.section
                          Definition

                          A nested sub-section within this section.

                          ShortNested Section
                          Comments

                          Nested sections are primarily used to help human readers navigate to particular portions of the document.

                          Control0..*
                          TypeSeettp://hl7.org/fhir/StructureDefinition/Composition#Composition.section
                          Is Modifierfalse
                          Must Supportfalse
                          Summaryfalse
                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          358. Composition.section:cancelReason
                          Slice NamecancelReason
                          Definition

                          The root of the sections that make up the composition.

                          ShortTervisetõendi tühistamise põhjus. Read-only sektsioon, põhjus määratakse operatsiooniga.
                          Control0..1
                          TypeBackboneElement
                          Is Modifierfalse
                          Must Supportfalse
                          Summaryfalse
                          Invariantscmp-1: A section must contain at least one of text, entries, or sub-sections (text.exists() or entry.exists() or section.exists())
                          cmp-2: A section can only have an emptyReason if it is empty (emptyReason.empty() or entry.empty())
                          ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          360. Composition.section:cancelReason.id
                          Definition

                          Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                          ShortUnique id for inter-element referencing
                          Control0..1
                          This element is affected by the following invariants: ele-1
                          Typestring
                          Is Modifierfalse
                          XML FormatIn the XML format, this property is represented as an attribute.
                          Summaryfalse
                          362. Composition.section:cancelReason.extension
                          Definition

                          May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

                          ShortAdditional content defined by implementations
                          Comments

                          There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                          Control0..*
                          TypeExtension
                          Is Modifierfalse
                          Summaryfalse
                          Alternate Namesextensions, user content
                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                          364. Composition.section:cancelReason.modifierExtension
                          Definition

                          An Extension

                          ShortExtension
                          Control0..0
                          TypeExtension
                          Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
                          Summarytrue
                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                          366. Composition.section:cancelReason.title
                          Definition

                          The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.

                          ShortLabel for section (e.g. for ToC)
                          Comments

                          The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title, or documents that only have a single section. Most Implementation Guides will make section title to be a required element.

                          Control0..1
                          Typestring
                          Is Modifierfalse
                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                          Must Supportfalse
                          Summaryfalse
                          Requirements

                          Section headings are often standardized for different types of documents. They give guidance to humans on how the document is organized.

                          Alternate Namesheader, label, caption
                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          368. Composition.section:cancelReason.code
                          Definition

                          A code identifying the kind of content contained within the section. This must be consistent with the section title.

                          ShortClassification of section (recommended)
                          Comments

                          The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document.

                          If the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.

                          Control1..1
                          BindingFor example codes, see DocumentSectionCodes
                          (example to http://hl7.org/fhir/ValueSet/doc-section-codes)

                          Classification of a section of a composition/document.

                          TypeCodeableConcept
                          Is Modifierfalse
                          Must Supportfalse
                          Summaryfalse
                          Requirements

                          Provides computable standardized labels to topics within the document.

                          Pattern Value{
                            "coding" : [{
                              "system" : "https://fhir.ee/CodeSystem/tervisetoendi-sektsioon",
                              "code" : "cancel-reason"
                            }]
                          }
                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          370. Composition.section:cancelReason.author
                          Definition

                          Identifies who is responsible for the information in this section, not necessarily who typed it in.

                          ShortWho and/or what authored the section
                          Control0..*
                          TypeReference(Practitioner, PractitionerRole, Device, Patient, RelatedPerson, Organization)
                          Is Modifierfalse
                          Must Supportfalse
                          Summaryfalse
                          Requirements

                          Identifies who is responsible for the content.

                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          372. Composition.section:cancelReason.focus
                          Definition

                          The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).

                          ShortWho/what the section is about, when it is not about the subject of composition
                          Comments

                          Typically, sections in a doument are about the subject of the document, whether that is a patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.

                          Control0..1
                          TypeReference(Resource)
                          Is Modifierfalse
                          Must Supportfalse
                          Summaryfalse
                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          374. Composition.section:cancelReason.text
                          Definition

                          A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative.

                          ShortVabatekst tervisetõendi tühistamise põhjusega
                          Comments

                          Document profiles may define what content should be represented in the narrative to ensure clinical safety.

                          Control1..1
                          This element is affected by the following invariants: cmp-1
                          TypeNarrative
                          Is Modifierfalse
                          Must Supportfalse
                          Summaryfalse
                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          376. Composition.section:cancelReason.text.id
                          Definition

                          Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                          ShortUnique id for inter-element referencing
                          Control0..1
                          This element is affected by the following invariants: ele-1
                          Typeid
                          Is Modifierfalse
                          XML FormatIn the XML format, this property is represented as an attribute.
                          Summaryfalse
                          378. Composition.section:cancelReason.text.extension
                          Definition

                          May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

                          ShortAdditional content defined by implementations
                          Comments

                          There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                          Control0..*
                          TypeExtension
                          Is Modifierfalse
                          Summaryfalse
                          Alternate Namesextensions, user content
                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                          SlicingThis element introduces a set of slices on Composition.section.text.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                          • value @ url
                          • 380. Composition.section:cancelReason.text.status
                            Definition

                            The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data.

                            Shortgenerated | extensions | additional | empty
                            Control1..1
                            BindingThe codes SHALL be taken from NarrativeStatus
                            (required to http://hl7.org/fhir/ValueSet/narrative-status|5.0.0)

                            The status of a resource narrative.

                            Typecode
                            Is Modifierfalse
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                            Summaryfalse
                            Pattern Valueadditional
                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                            382. Composition.section:cancelReason.text.div
                            Definition

                            The actual narrative content, a stripped down version of XHTML.

                            ShortLimited xhtml content
                            Comments

                            The contents of the html element are an XHTML fragment containing only the basic html formatting elements described in chapters 7-11 and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained stylesheets. The XHTML content SHALL NOT contain a head, a body, external stylesheet references, scripts, forms, base/link/xlink, frames, iframes and objects.

                            Control1..1
                            Typexhtml
                            Is Modifierfalse
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                            Summaryfalse
                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                            txt-1: The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes (htmlChecks())
                            txt-2: The narrative SHALL have some non-whitespace content (htmlChecks())
                            384. Composition.section:cancelReason.orderedBy
                            Definition

                            Specifies the order applied to the items in the section entries.

                            ShortOrder of section entries
                            Comments

                            Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.

                            Control0..1
                            BindingThe codes SHOULD be taken from ListOrderCodes
                            (preferred to http://hl7.org/fhir/ValueSet/list-order)

                            What order applies to the items in the entry.

                            TypeCodeableConcept
                            Is Modifierfalse
                            Must Supportfalse
                            Summaryfalse
                            Requirements

                            Important for presentation and rendering. Lists may be sorted to place more important information first or to group related entries.

                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                            386. Composition.section:cancelReason.entry
                            Definition

                            A reference to the actual resource from which the narrative in the section is derived.

                            ShortA reference to data that supports this section
                            Comments

                            If there are no entries in the list, an emptyReason SHOULD be provided.

                            Control0..0
                            This element is affected by the following invariants: cmp-1, cmp-2
                            TypeReference(Resource)
                            Is Modifierfalse
                            Must Supportfalse
                            Summaryfalse
                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                            388. Composition.section:cancelReason.emptyReason
                            Definition

                            If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.

                            ShortWhy the section is empty
                            Comments

                            The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.

                            Control0..1
                            This element is affected by the following invariants: cmp-2
                            BindingThe codes SHOULD be taken from ListEmptyReasons
                            (preferred to http://hl7.org/fhir/ValueSet/list-empty-reason)

                            If a section is empty, why it is empty.

                            TypeCodeableConcept
                            Is Modifierfalse
                            Must Supportfalse
                            Summaryfalse
                            Requirements

                            Allows capturing things like "none exist" or "not asked" which can be important for most lists.

                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                            390. Composition.section:cancelReason.section
                            Definition

                            A nested sub-section within this section.

                            ShortNested Section
                            Comments

                            Nested sections are primarily used to help human readers navigate to particular portions of the document.

                            Control0..*
                            TypeSeettp://hl7.org/fhir/StructureDefinition/Composition#Composition.section
                            Is Modifierfalse
                            Must Supportfalse
                            Summaryfalse
                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                            392. Composition.section:suspendReason
                            Slice NamesuspendReason
                            Definition

                            The root of the sections that make up the composition.

                            ShortTervisetõendi peatamise põhjus. Read-only sektsioon, põhjus määratakse operatsiooniga.
                            Control0..1
                            TypeBackboneElement
                            Is Modifierfalse
                            Must Supportfalse
                            Summaryfalse
                            Invariantscmp-1: A section must contain at least one of text, entries, or sub-sections (text.exists() or entry.exists() or section.exists())
                            cmp-2: A section can only have an emptyReason if it is empty (emptyReason.empty() or entry.empty())
                            ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                            394. Composition.section:suspendReason.id
                            Definition

                            Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                            ShortUnique id for inter-element referencing
                            Control0..1
                            This element is affected by the following invariants: ele-1
                            Typestring
                            Is Modifierfalse
                            XML FormatIn the XML format, this property is represented as an attribute.
                            Summaryfalse
                            396. Composition.section:suspendReason.extension
                            Definition

                            May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

                            ShortAdditional content defined by implementations
                            Comments

                            There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                            Control0..*
                            TypeExtension
                            Is Modifierfalse
                            Summaryfalse
                            Alternate Namesextensions, user content
                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                            ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                            398. Composition.section:suspendReason.modifierExtension
                            Definition

                            An Extension

                            ShortExtension
                            Control0..0
                            TypeExtension
                            Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
                            Summarytrue
                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                            ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                            400. Composition.section:suspendReason.title
                            Definition

                            The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.

                            ShortLabel for section (e.g. for ToC)
                            Comments

                            The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title, or documents that only have a single section. Most Implementation Guides will make section title to be a required element.

                            Control0..1
                            Typestring
                            Is Modifierfalse
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                            Must Supportfalse
                            Summaryfalse
                            Requirements

                            Section headings are often standardized for different types of documents. They give guidance to humans on how the document is organized.

                            Alternate Namesheader, label, caption
                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                            402. Composition.section:suspendReason.code
                            Definition

                            A code identifying the kind of content contained within the section. This must be consistent with the section title.

                            ShortClassification of section (recommended)
                            Comments

                            The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document.

                            If the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.

                            Control1..1
                            BindingFor example codes, see DocumentSectionCodes
                            (example to http://hl7.org/fhir/ValueSet/doc-section-codes)

                            Classification of a section of a composition/document.

                            TypeCodeableConcept
                            Is Modifierfalse
                            Must Supportfalse
                            Summaryfalse
                            Requirements

                            Provides computable standardized labels to topics within the document.

                            Pattern Value{
                              "coding" : [{
                                "system" : "https://fhir.ee/CodeSystem/tervisetoendi-sektsioon",
                                "code" : "suspend-reason"
                              }]
                            }
                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                            404. Composition.section:suspendReason.author
                            Definition

                            Identifies who is responsible for the information in this section, not necessarily who typed it in.

                            ShortWho and/or what authored the section
                            Control0..*
                            TypeReference(Practitioner, PractitionerRole, Device, Patient, RelatedPerson, Organization)
                            Is Modifierfalse
                            Must Supportfalse
                            Summaryfalse
                            Requirements

                            Identifies who is responsible for the content.

                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                            406. Composition.section:suspendReason.focus
                            Definition

                            The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).

                            ShortWho/what the section is about, when it is not about the subject of composition
                            Comments

                            Typically, sections in a doument are about the subject of the document, whether that is a patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.

                            Control0..1
                            TypeReference(Resource)
                            Is Modifierfalse
                            Must Supportfalse
                            Summaryfalse
                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                            408. Composition.section:suspendReason.text
                            Definition

                            A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative.

                            ShortVabatekst tervisetõendi peatamise põhjusega
                            Comments

                            Document profiles may define what content should be represented in the narrative to ensure clinical safety.

                            Control1..1
                            This element is affected by the following invariants: cmp-1
                            TypeNarrative
                            Is Modifierfalse
                            Must Supportfalse
                            Summaryfalse
                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                            410. Composition.section:suspendReason.text.id
                            Definition

                            Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                            ShortUnique id for inter-element referencing
                            Control0..1
                            This element is affected by the following invariants: ele-1
                            Typeid
                            Is Modifierfalse
                            XML FormatIn the XML format, this property is represented as an attribute.
                            Summaryfalse
                            412. Composition.section:suspendReason.text.extension
                            Definition

                            May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

                            ShortAdditional content defined by implementations
                            Comments

                            There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                            Control0..*
                            TypeExtension
                            Is Modifierfalse
                            Summaryfalse
                            Alternate Namesextensions, user content
                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                            ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                            SlicingThis element introduces a set of slices on Composition.section.text.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                            • value @ url
                            • 414. Composition.section:suspendReason.text.status
                              Definition

                              The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data.

                              Shortgenerated | extensions | additional | empty
                              Control1..1
                              BindingThe codes SHALL be taken from NarrativeStatus
                              (required to http://hl7.org/fhir/ValueSet/narrative-status|5.0.0)

                              The status of a resource narrative.

                              Typecode
                              Is Modifierfalse
                              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                              Summaryfalse
                              Pattern Valueadditional
                              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              416. Composition.section:suspendReason.text.div
                              Definition

                              The actual narrative content, a stripped down version of XHTML.

                              ShortLimited xhtml content
                              Comments

                              The contents of the html element are an XHTML fragment containing only the basic html formatting elements described in chapters 7-11 and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained stylesheets. The XHTML content SHALL NOT contain a head, a body, external stylesheet references, scripts, forms, base/link/xlink, frames, iframes and objects.

                              Control1..1
                              Typexhtml
                              Is Modifierfalse
                              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                              Summaryfalse
                              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              txt-1: The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes (htmlChecks())
                              txt-2: The narrative SHALL have some non-whitespace content (htmlChecks())
                              418. Composition.section:suspendReason.orderedBy
                              Definition

                              Specifies the order applied to the items in the section entries.

                              ShortOrder of section entries
                              Comments

                              Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.

                              Control0..1
                              BindingThe codes SHOULD be taken from ListOrderCodes
                              (preferred to http://hl7.org/fhir/ValueSet/list-order)

                              What order applies to the items in the entry.

                              TypeCodeableConcept
                              Is Modifierfalse
                              Must Supportfalse
                              Summaryfalse
                              Requirements

                              Important for presentation and rendering. Lists may be sorted to place more important information first or to group related entries.

                              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              420. Composition.section:suspendReason.entry
                              Definition

                              A reference to the actual resource from which the narrative in the section is derived.

                              ShortA reference to data that supports this section
                              Comments

                              If there are no entries in the list, an emptyReason SHOULD be provided.

                              Control0..0
                              This element is affected by the following invariants: cmp-1, cmp-2
                              TypeReference(Resource)
                              Is Modifierfalse
                              Must Supportfalse
                              Summaryfalse
                              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              422. Composition.section:suspendReason.emptyReason
                              Definition

                              If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.

                              ShortWhy the section is empty
                              Comments

                              The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.

                              Control0..1
                              This element is affected by the following invariants: cmp-2
                              BindingThe codes SHOULD be taken from ListEmptyReasons
                              (preferred to http://hl7.org/fhir/ValueSet/list-empty-reason)

                              If a section is empty, why it is empty.

                              TypeCodeableConcept
                              Is Modifierfalse
                              Must Supportfalse
                              Summaryfalse
                              Requirements

                              Allows capturing things like "none exist" or "not asked" which can be important for most lists.

                              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              424. Composition.section:suspendReason.section
                              Definition

                              A nested sub-section within this section.

                              ShortNested Section
                              Comments

                              Nested sections are primarily used to help human readers navigate to particular portions of the document.

                              Control0..*
                              TypeSeettp://hl7.org/fhir/StructureDefinition/Composition#Composition.section
                              Is Modifierfalse
                              Must Supportfalse
                              Summaryfalse
                              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))