/** * FHIR Version R5 * The following is auto generated resource definition. * * OpenAPI spec version: 3.0.1 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ import { Annotation } from './annotation'; import { Code } from './code'; import { CodeableConcept } from './codeableConcept'; import { CompositionAttester } from './compositionAttester'; import { CompositionEvent } from './compositionEvent'; import { CompositionSection } from './compositionSection'; import { DateTime } from './dateTime'; import { Extension } from './extension'; import { Id } from './id'; import { Identifier } from './identifier'; import { Meta } from './meta'; import { Narrative } from './narrative'; import { Reference } from './reference'; import { RelatedArtifact } from './relatedArtifact'; import { ResourceList } from './resourceList'; import { Uri } from './uri'; import { UsageContext } from './usageContext'; /** * 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.). */ export interface Composition { /** * This is a Composition resource */ resourceType: 'Composition'; id?: Id; meta?: Meta; implicitRules?: Uri; language?: Code; text?: Narrative; /** * 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. */ contained?: Array; /** * 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. */ extension?: Array; /** * 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). */ modifierExtension?: Array; url?: Uri; /** * A version-independent identifier for the Composition. This identifier stays constant as the composition is changed over time. */ identifier?: Array; version?: string; status?: Code; type: CodeableConcept; /** * 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. */ category?: Array; /** * 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). */ subject?: Array; encounter?: Reference; date?: Date; /** * 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. */ useContext?: Array; /** * Identifies who is responsible for the information in the composition, not necessarily who typed it in. */ author: Array; name?: string; title?: string; /** * For any additional notes. */ note?: Array; /** * A participant who has attested to the accuracy of the composition/document. */ attester?: Array; custodian?: Reference; /** * Relationships that this composition has with other compositions or documents that already exist. */ relatesTo?: Array; /** * The clinical service, such as a colonoscopy or an appendectomy, being documented. */ event?: Array; /** * The root of the sections that make up the composition. */ section?: Array; }