@medplum/fhirtypes
Version:
Medplum FHIR Type Definitions
108 lines (91 loc) • 3.07 kB
TypeScript
/*
* This is a generated file
* Do not edit manually.
*/
import { Coding } from './Coding';
import { Extension } from './Extension';
import { Reference } from './Reference';
/**
* The metadata about a resource. This is content in the resource that is
* maintained by the infrastructure. Changes to the content might not
* always be associated with version changes to the resource.
*/
export interface Meta {
/**
* Unique id for the element within a resource (for internal references).
* This may be any string value that does not contain spaces.
*/
id?: string;
/**
* 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 manageable, 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?: Extension[];
/**
* The version specific identifier, as it appears in the version portion
* of the URL. This value changes when the resource is created, updated,
* or deleted.
*/
versionId?: string;
/**
* When the resource last changed - e.g. when the version changed.
*/
lastUpdated?: string;
/**
* A uri that identifies the source system of the resource. This provides
* a minimal amount of [Provenance](provenance.html#) information that
* can be used to track or differentiate the source of information in the
* resource. The source may identify another FHIR server, document,
* message, database, etc.
*/
source?: string;
/**
* A list of profiles (references to
* [StructureDefinition](structuredefinition.html#) resources) that this
* resource claims to conform to. The URL is a reference to
* [StructureDefinition.url](structuredefinition-definitions.html#StructureDefinition.url).
*/
profile?: string[];
/**
* Security labels applied to this resource. These tags connect specific
* resources to the overall security policy and infrastructure.
*/
security?: Coding[];
/**
* Tags applied to this resource. Tags are intended to be used to
* identify and relate resources to process and workflow, and
* applications are not required to consider the tags when interpreting
* the meaning of a resource.
*/
tag?: Coding[];
/**
* The project that contains this resource.
*/
project?: string;
/**
* The individual, device or organization who initiated the last change.
*/
author?: Reference;
/**
* Optional individual, device, or organization for whom the change was
* made.
*/
onBehalfOf?: Reference;
/**
* @deprecated Use Meta.accounts instead
*/
account?: Reference;
/**
* Optional account references that can be used for sub-project
* compartments.
*/
accounts?: Reference[];
/**
* The list of compartments containing this resource
*/
compartment?: Reference[];
}