ElementDefinition
open class ElementDefinition: Element
Definition of an element in a resource or extension.
Captures constraints on each element within the resource, profile, or extension.
-
Definition of an element in a resource or extension.
Captures constraints on each element within the resource, profile, or extension.
Declaration
Swift
override open class var resourceType: String
-
Other names.
Declaration
Swift
public var alias: [FHIRString]?
-
Base definition information for tools.
Declaration
Swift
public var base: ElementDefinitionBase?
-
ValueSet details if this is coded.
Declaration
Swift
public var binding: ElementDefinitionBinding?
-
Corresponding codes in terminologies.
Declaration
Swift
public var code: [Coding]?
-
Comments about the use of this element.
Declaration
Swift
public var comment: FHIRString?
-
Reference to invariant about presence.
Declaration
Swift
public var condition: [FHIRString]?
-
Condition that must evaluate to true.
Declaration
Swift
public var constraint: [ElementDefinitionConstraint]?
-
Reference to definition of content for the element.
Declaration
Swift
public var contentReference: FHIRURL?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueAddress: Address?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueAge: Age?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueAnnotation: Annotation?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueAttachment: Attachment?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueBase64Binary: Base64Binary?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueBoolean: FHIRBool?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueCode: FHIRString?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueCodeableConcept: CodeableConcept?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueCoding: Coding?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueContactPoint: ContactPoint?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueCount: Count?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueDate: FHIRDate?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueDateTime: DateTime?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueDecimal: FHIRDecimal?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueDistance: Distance?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueDuration: Duration?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueHumanName: HumanName?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueId: FHIRString?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueIdentifier: Identifier?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueInstant: Instant?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueInteger: FHIRInteger?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueMarkdown: FHIRString?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueMeta: Meta?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueMoney: Money?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueOid: FHIRURL?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValuePeriod: Period?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValuePositiveInt: FHIRInteger?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueQuantity: Quantity?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueRange: Range?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueRatio: Ratio?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueReference: Reference?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueSampledData: SampledData?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueSignature: Signature?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueString: FHIRString?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueTime: FHIRTime?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueTiming: Timing?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueUnsignedInt: FHIRInteger?
-
Specified value if missing from instance.
Declaration
Swift
public var defaultValueUri: FHIRURL?
-
Full formal definition as narrative text.
Declaration
Swift
public var definition: FHIRString?
-
Example value (as defined for type).
Declaration
Swift
public var example: [ElementDefinitionExample]?
-
Value must be exactly this.
Declaration
Swift
public var fixedAddress: Address?
-
Value must be exactly this.
Declaration
Swift
public var fixedAge: Age?
-
Value must be exactly this.
Declaration
Swift
public var fixedAnnotation: Annotation?
-
Value must be exactly this.
Declaration
Swift
public var fixedAttachment: Attachment?
-
Value must be exactly this.
Declaration
Swift
public var fixedBase64Binary: Base64Binary?
-
Value must be exactly this.
Declaration
Swift
public var fixedBoolean: FHIRBool?
-
Value must be exactly this.
Declaration
Swift
public var fixedCode: FHIRString?
-
Value must be exactly this.
Declaration
Swift
public var fixedCodeableConcept: CodeableConcept?
-
Value must be exactly this.
Declaration
Swift
public var fixedCoding: Coding?
-
Value must be exactly this.
Declaration
Swift
public var fixedContactPoint: ContactPoint?
-
Value must be exactly this.
Declaration
Swift
public var fixedCount: Count?
-
Value must be exactly this.
Declaration
Swift
public var fixedDate: FHIRDate?
-
Value must be exactly this.
Declaration
Swift
public var fixedDateTime: DateTime?
-
Value must be exactly this.
Declaration
Swift
public var fixedDecimal: FHIRDecimal?
-
Value must be exactly this.
Declaration
Swift
public var fixedDistance: Distance?
-
Value must be exactly this.
Declaration
Swift
public var fixedDuration: Duration?
-
Value must be exactly this.
Declaration
Swift
public var fixedHumanName: HumanName?
-
Value must be exactly this.
Declaration
Swift
public var fixedId: FHIRString?
-
Value must be exactly this.
Declaration
Swift
public var fixedIdentifier: Identifier?
-
Value must be exactly this.
Declaration
Swift
public var fixedInstant: Instant?
-
Value must be exactly this.
Declaration
Swift
public var fixedInteger: FHIRInteger?
-
Value must be exactly this.
Declaration
Swift
public var fixedMarkdown: FHIRString?
-
Value must be exactly this.
Declaration
Swift
public var fixedMeta: Meta?
-
Value must be exactly this.
Declaration
Swift
public var fixedMoney: Money?
-
Value must be exactly this.
Declaration
Swift
public var fixedOid: FHIRURL?
-
Value must be exactly this.
Declaration
Swift
public var fixedPeriod: Period?
-
Value must be exactly this.
Declaration
Swift
public var fixedPositiveInt: FHIRInteger?
-
Value must be exactly this.
Declaration
Swift
public var fixedQuantity: Quantity?
-
Value must be exactly this.
Declaration
Swift
public var fixedRange: Range?
-
Value must be exactly this.
Declaration
Swift
public var fixedRatio: Ratio?
-
Value must be exactly this.
Declaration
Swift
public var fixedReference: Reference?
-
Value must be exactly this.
Declaration
Swift
public var fixedSampledData: SampledData?
-
Value must be exactly this.
Declaration
Swift
public var fixedSignature: Signature?
-
Value must be exactly this.
Declaration
Swift
public var fixedString: FHIRString?
-
Value must be exactly this.
Declaration
Swift
public var fixedTime: FHIRTime?
-
Value must be exactly this.
Declaration
Swift
public var fixedTiming: Timing?
-
Value must be exactly this.
Declaration
Swift
public var fixedUnsignedInt: FHIRInteger?
-
Value must be exactly this.
Declaration
Swift
public var fixedUri: FHIRURL?
-
If this modifies the meaning of other elements.
Declaration
Swift
public var isModifier: FHIRBool?
-
Include when _summary = true?.
Declaration
Swift
public var isSummary: FHIRBool?
-
Name for element to display with or prompt for element.
Declaration
Swift
public var label: FHIRString?
-
Map element to another set of definitions.
Declaration
Swift
public var mapping: [ElementDefinitionMapping]?
-
Maximum Cardinality (a number or *).
Declaration
Swift
public var max: FHIRString?
-
Max length for strings.
Declaration
Swift
public var maxLength: FHIRInteger?
-
Maximum Allowed Value (for some types).
Declaration
Swift
public var maxValueDate: FHIRDate?
-
Maximum Allowed Value (for some types).
Declaration
Swift
public var maxValueDateTime: DateTime?
-
Maximum Allowed Value (for some types).
Declaration
Swift
public var maxValueDecimal: FHIRDecimal?
-
Maximum Allowed Value (for some types).
Declaration
Swift
public var maxValueInstant: Instant?
-
Maximum Allowed Value (for some types).
Declaration
Swift
public var maxValueInteger: FHIRInteger?
-
Maximum Allowed Value (for some types).
Declaration
Swift
public var maxValuePositiveInt: FHIRInteger?
-
Maximum Allowed Value (for some types).
Declaration
Swift
public var maxValueQuantity: Quantity?
-
Maximum Allowed Value (for some types).
Declaration
Swift
public var maxValueTime: FHIRTime?
-
Maximum Allowed Value (for some types).
Declaration
Swift
public var maxValueUnsignedInt: FHIRInteger?
-
Implicit meaning when this element is missing.
Declaration
Swift
public var meaningWhenMissing: FHIRString?
-
Minimum Cardinality.
Declaration
Swift
public var min: FHIRInteger?
-
Minimum Allowed Value (for some types).
Declaration
Swift
public var minValueDate: FHIRDate?
-
Minimum Allowed Value (for some types).
Declaration
Swift
public var minValueDateTime: DateTime?
-
Minimum Allowed Value (for some types).
Declaration
Swift
public var minValueDecimal: FHIRDecimal?
-
Minimum Allowed Value (for some types).
Declaration
Swift
public var minValueInstant: Instant?
-
Minimum Allowed Value (for some types).
Declaration
Swift
public var minValueInteger: FHIRInteger?
-
Minimum Allowed Value (for some types).
Declaration
Swift
public var minValuePositiveInt: FHIRInteger?
-
Minimum Allowed Value (for some types).
Declaration
Swift
public var minValueQuantity: Quantity?
-
Minimum Allowed Value (for some types).
Declaration
Swift
public var minValueTime: FHIRTime?
-
Minimum Allowed Value (for some types).
Declaration
Swift
public var minValueUnsignedInt: FHIRInteger?
-
If the element must supported.
Declaration
Swift
public var mustSupport: FHIRBool?
-
What the order of the elements means.
Declaration
Swift
public var orderMeaning: FHIRString?
-
Path of the element in the hierarchy of elements.
Declaration
Swift
public var path: FHIRString?
-
Value must have at least these property values.
Declaration
Swift
public var patternAddress: Address?
-
Value must have at least these property values.
Declaration
Swift
public var patternAge: Age?
-
Value must have at least these property values.
Declaration
Swift
public var patternAnnotation: Annotation?
-
Value must have at least these property values.
Declaration
Swift
public var patternAttachment: Attachment?
-
Value must have at least these property values.
Declaration
Swift
public var patternBase64Binary: Base64Binary?
-
Value must have at least these property values.
Declaration
Swift
public var patternBoolean: FHIRBool?
-
Value must have at least these property values.
Declaration
Swift
public var patternCode: FHIRString?
-
Value must have at least these property values.
Declaration
Swift
public var patternCodeableConcept: CodeableConcept?
-
Value must have at least these property values.
Declaration
Swift
public var patternCoding: Coding?
-
Value must have at least these property values.
Declaration
Swift
public var patternContactPoint: ContactPoint?
-
Value must have at least these property values.
Declaration
Swift
public var patternCount: Count?
-
Value must have at least these property values.
Declaration
Swift
public var patternDate: FHIRDate?
-
Value must have at least these property values.
Declaration
Swift
public var patternDateTime: DateTime?
-
Value must have at least these property values.
Declaration
Swift
public var patternDecimal: FHIRDecimal?
-
Value must have at least these property values.
Declaration
Swift
public var patternDistance: Distance?
-
Value must have at least these property values.
Declaration
Swift
public var patternDuration: Duration?
-
Value must have at least these property values.
Declaration
Swift
public var patternHumanName: HumanName?
-
Value must have at least these property values.
Declaration
Swift
public var patternId: FHIRString?
-
Value must have at least these property values.
Declaration
Swift
public var patternIdentifier: Identifier?
-
Value must have at least these property values.
Declaration
Swift
public var patternInstant: Instant?
-
Value must have at least these property values.
Declaration
Swift
public var patternInteger: FHIRInteger?
-
Value must have at least these property values.
Declaration
Swift
public var patternMarkdown: FHIRString?
-
Value must have at least these property values.
Declaration
Swift
public var patternMeta: Meta?
-
Value must have at least these property values.
Declaration
Swift
public var patternMoney: Money?
-
Value must have at least these property values.
Declaration
Swift
public var patternOid: FHIRURL?
-
Value must have at least these property values.
Declaration
Swift
public var patternPeriod: Period?
-
Value must have at least these property values.
Declaration
Swift
public var patternPositiveInt: FHIRInteger?
-
Value must have at least these property values.
Declaration
Swift
public var patternQuantity: Quantity?
-
Value must have at least these property values.
Declaration
Swift
public var patternRange: Range?
-
Value must have at least these property values.
Declaration
Swift
public var patternRatio: Ratio?
-
Value must have at least these property values.
Declaration
Swift
public var patternReference: Reference?
-
Value must have at least these property values.
Declaration
Swift
public var patternSampledData: SampledData?
-
Value must have at least these property values.
Declaration
Swift
public var patternSignature: Signature?
-
Value must have at least these property values.
Declaration
Swift
public var patternString: FHIRString?
-
Value must have at least these property values.
Declaration
Swift
public var patternTime: FHIRTime?
-
Value must have at least these property values.
Declaration
Swift
public var patternTiming: Timing?
-
Value must have at least these property values.
Declaration
Swift
public var patternUnsignedInt: FHIRInteger?
-
Value must have at least these property values.
Declaration
Swift
public var patternUri: FHIRURL?
-
Codes that define how this element is represented in instances, when the deviation varies from the normal case.
Declaration
Swift
public var representation: [PropertyRepresentation]?
-
Why this resource has been created.
Declaration
Swift
public var requirements: FHIRString?
-
Concise definition for space-constrained presentation.
Declaration
Swift
public var short: FHIRString?
-
Name for this particular element (in a set of slices).
Declaration
Swift
public var sliceName: FHIRString?
-
This element is sliced - slices follow.
Declaration
Swift
public var slicing: ElementDefinitionSlicing?
-
Data type and Profile for this element.
Declaration
Swift
public var type: [ElementDefinitionType]?
-
Convenience initializer, taking all required properties as arguments.
Declaration
Swift
public convenience init(path: FHIRString)
-
Convenience initializer, taking all required properties as arguments.
Declaration
Swift
override open func populate(from json: FHIRJSON, context instCtx: inout FHIRInstantiationContext)
Parameters
json
The JSON element to use to populate the receiver
context
The instantiation context to use
-
Undocumented
Declaration
Swift
open class ElementDefinition: Element