import { Extension } from './Extension.js';
import { FhirPrimitive } from './FhirPrimitive.js';
export interface ElementDefinition_Type {
    /**
     * @description Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
     * @short Unique id for inter-element referencing
     */
    id?: string;
    /**
     * @description 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.
     * @comment 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.
     * @short Additional content defined by implementations
     */
    extension?: Extension[];
    /**
     * @description URL of Data type or Resource that is a(or the) type used for this element. References are URLs that are relative to http:hl7.orgfhirStructureDefinition e.g. "string" is a reference to http:hl7.orgfhirStructureDefinitionstring. Absolute URLs are only allowed in logical models.
     * @comment If the element is a reference to another resource, this element contains "Reference", and the targetProfile element defines what resources can be referenced. The targetProfile may be a reference to the general definition of a resource (e.g. http:hl7.orgfhirStructureDefinitionPatient).
     * @short Data type or Resource (reference to definition)
     */
    code: FhirPrimitive<string>;
    /**
     * @description Identifies a profile structure or implementation Guide that applies to the datatype this element refers to. If any profiles are specified, then the content must conform to at least one of them. The URL can be a local reference - to a contained StructureDefinition, or a reference to another StructureDefinition or Implementation Guide by a canonical URL. When an implementation guide is specified, the type SHALL conform to at least one profile defined in the implementation guide.
     * @comment It is possible to profile  backbone element (e.g. part of a resource), using the [http:hl7.orgfhirStructureDefinitionelementdefinition-profile-element](http:hl7.orgfhirextensionsStructureDefinition-elementdefinition-profile-element.html) extension.
     * @short Profiles (StructureDefinition or IG) - one must apply
     */
    profile?: FhirPrimitive<string>[];
    /**
     * @description Used when the type is "Reference" or "canonical", and identifies a profile structure or implementation Guide that applies to the target of the reference this element refers to. If any profiles are specified, then the content must conform to at least one of them. The URL can be a local reference - to a contained StructureDefinition, or a reference to another StructureDefinition or Implementation Guide by a canonical URL. When an implementation guide is specified, the target resource SHALL conform to at least one profile defined in the implementation guide.
     * @short Profile (StructureDefinition or IG) on the Referencecanonical target - one must apply
     */
    targetProfile?: FhirPrimitive<string>[];
    /**
     * @description If the type is a reference to another resource, how the resource is or can be aggregated - is it a contained resource, or a reference, and if the context is a bundle, is it included in the bundle.
     * @comment See [Aggregation Rules](elementdefinition.html#aggregation) for further clarification.
     * @short contained | referenced | bundled - how aggregated
     */
    aggregation?: FhirPrimitive<string>[];
    /**
     * @description Whether this reference needs to be version specific or version independent, or whether either can be used.
     * @comment The base specification never makes a rule as to which form is allowed, but implementation guides may do this. See [Aggregation Rules](elementdefinition.html#aggregation) for further clarification.
     * @short either | independent | specific
     */
    versioning?: FhirPrimitive<string>;
}
//# sourceMappingURL=ElementDefinition_Type.d.ts.map