PrivatecodeElementDefinition.type.code Element
FHIR Specification
uriPrivate OptionalprofileElementDefinition.type.profile Element
FHIR Specification
canonical
Private OptionaltargetElementDefinition.type.targetProfile Element
FHIR Specification
canonical
Private ReadonlyresourceFHIR CodeSystem: ResourceAggregationMode
Private OptionalaggregationElementDefinition.type.aggregation Element
FHIR Specification
codeCodeSystem Enumeration: ResourceAggregationModeEnum
Private ReadonlyreferenceFHIR CodeSystem: ReferenceVersionRules
Private OptionalversioningElementDefinition.type.versioning Element
FHIR Specification
codeCodeSystem Enumeration: ReferenceVersionRulesEnum
StaticparseParse the provided ElementDefinitionTypeComponent JSON to instantiate the ElementDefinitionTypeComponent data model.
JSON representing FHIR ElementDefinitionTypeComponent
OptionaloptSourceField: stringOptional data source field (e.g. <complexTypeName>.<complexTypeFieldName>); defaults to ElementDefinitionTypeComponent
ElementDefinitionTypeComponent data model or undefined for ElementDefinitionTypeComponent
JsonError if the provided JSON is not a valid JSON object
the code property value as a UriType object if defined; else an empty UriType object
Assigns the provided PrimitiveType value to the code property.
the code value
this
InvalidTypeError for invalid data types
PrimitiveTypeError for invalid primitive types
true if the code property exists and has a value; false otherwise
the code property value as a fhirUri if defined; else null
Assigns the provided primitive value to the code property.
the code value
this
PrimitiveTypeError for invalid primitive types
true if the code property exists and has a value; false otherwise
the profile property value as a CanonicalType array
Assigns the provided CanonicalType array value to the profile property.
the profile array value
this
InvalidTypeError for invalid data types
PrimitiveTypeError for invalid primitive types
Add the provided CanonicalType value to the profile array property.
the profile value
this
InvalidTypeError for invalid data types
PrimitiveTypeError for invalid primitive types
true if the profile property exists and has a value; false otherwise
the profile property value as a fhirCanonical array
Assigns the provided primitive value array to the profile property.
the profile value array
this
PrimitiveTypeError for invalid primitive types
Add the provided primitive value to the profile array property.
the profile value
this
PrimitiveTypeError for invalid primitive types
true if the profile property exists and has a value; false otherwise
the targetProfile property value as a CanonicalType array
Assigns the provided CanonicalType array value to the targetProfile property.
the targetProfile array value
this
InvalidTypeError for invalid data types
PrimitiveTypeError for invalid primitive types
Add the provided CanonicalType value to the targetProfile array property.
the targetProfile value
this
InvalidTypeError for invalid data types
PrimitiveTypeError for invalid primitive types
true if the targetProfile property exists and has a value; false otherwise
the targetProfile property value as a fhirCanonical array
Assigns the provided primitive value array to the targetProfile property.
the targetProfile value array
this
PrimitiveTypeError for invalid primitive types
Add the provided primitive value to the targetProfile array property.
the targetProfile value
this
PrimitiveTypeError for invalid primitive types
true if the targetProfile property exists and has a value; false otherwise
the aggregation property value as a EnumCodeType array
CodeSystem Enumeration: ResourceAggregationModeEnum
Assigns the provided EnumCodeType array value to the aggregation property.
the aggregation array value
this
InvalidCodeError for invalid code value
InvalidTypeError for invalid data types
CodeSystem Enumeration: ResourceAggregationModeEnum
Add the provided EnumCodeType value to the aggregation array property.
the aggregation value
this
InvalidCodeError for invalid code value
CodeSystem Enumeration: ResourceAggregationModeEnum
true if the aggregation property exists and has a value; false otherwise
the aggregation property value as a CodeType array
CodeSystem Enumeration: ResourceAggregationModeEnum
Assigns the provided PrimitiveType array value to the aggregation property.
the aggregation array value
this
InvalidCodeError for invalid code value
InvalidTypeError for invalid data types
CodeSystem Enumeration: ResourceAggregationModeEnum
Add the provided PrimitiveType value to the aggregation array property.
the aggregation value
this
InvalidCodeError for invalid code value
InvalidTypeError for invalid data types
CodeSystem Enumeration: ResourceAggregationModeEnum
true if the aggregation property exists and has a value; false otherwise
the aggregation property value as a fhirCode array
CodeSystem Enumeration: ResourceAggregationModeEnum
Assigns the provided primitive value array to the aggregation property.
the aggregation value array
this
InvalidCodeError for invalid code value
PrimitiveTypeError for invalid primitive types
CodeSystem Enumeration: ResourceAggregationModeEnum
Add the provided primitive value to the aggregation array property.
the aggregation value
this
InvalidCodeError for invalid code value
PrimitiveTypeError for invalid primitive types
CodeSystem Enumeration: ResourceAggregationModeEnum
true if the aggregation property exists and has a value; false otherwise
the versioning property value as a EnumCodeType if defined; else undefined
CodeSystem Enumeration: ReferenceVersionRulesEnum
Assigns the provided EnumCodeType value to the versioning property.
the versioning value
this
InvalidCodeError for invalid code values
InvalidTypeError for invalid data types
CodeSystem Enumeration: ReferenceVersionRulesEnum
true if the versioning property exists and has a value; false otherwise
the versioning property value as a CodeType if defined; else undefined
CodeSystem Enumeration: ReferenceVersionRulesEnum
Assigns the provided PrimitiveType value to the versioning property.
the versioning value
this
InvalidCodeError for invalid code value
InvalidTypeError for invalid data types
CodeSystem Enumeration: ReferenceVersionRulesEnum
true if the versioning property exists and has a value; false otherwise
the versioning property value as a fhirCode if defined; else undefined
CodeSystem Enumeration: ReferenceVersionRulesEnum
Assigns the provided primitive value to the versioning property.
the versioning value
this
InvalidCodeError for invalid code value
PrimitiveTypeError for invalid primitive types
CodeSystem Enumeration: ReferenceVersionRulesEnum
true if the versioning property exists and has a value; false otherwise
the FHIR type defined in the FHIR standard
true if the instance is empty; false otherwise
true if and only if the data model has required fields (min cardinality > 0)
and at least one of those required fields in the instance is empty; false otherwise
Creates a copy of the current instance.
the a new instance copied from the current instance
the complex or primitive data model type name (e.g., 'Period", 'StringType', `UriType', etc.)
the JSON value or undefined if the instance is empty
true if the instance is a FHIR complex or primitive datatype; false otherwise
the id property value
Assigns the provided value to the id property.
the id value
this
PrimitiveTypeError for invalid value
true if id exists and has a value; false otherwise
the array of extension values
Assigns the provided array of Extension values to the extension property.
array of Extensions
this
Determines if the extension property exists.
Optionalurl: stringthe url that identifies a specific Extension
true if an Extension has the provided url; false otherwise
If the url is provided, determines if an Extension having
the provided url exists. If the url is not provided, determines
if the extension property exists and has any values.
AssertionError for invalid url
Determines if the extension property exists.
the url that identifies a specific Extension
an Extension having the provided url
If the url is provided, determines if an Extension having
the provided url exists. If the url is not provided, determines
if the extension property exists and has any values.
AssertionError for invalid url
Adds the provided Extension to the extension property array.
the Extension value to add to the extension property array
this
Removes the Extension having the provided url from the extension property array.
the url that identifies a specific Extension to remove
AssertionError for invalid url
true if the instance is a FHIR resource; false otherwise
true if the instance is a FHIR complex datatype; false otherwise
true if the instance is a FHIR primitive datatype; false otherwise
true if the instance is a FHIR primitive boolean datatype; false otherwise
true if the instance is a FHIR primitive string-based datatype; false otherwise
true if the instance is a FHIR primitive number-based datatype; false otherwise
true if the instance is a FHIR primitive bigint-based datatype; false otherwise
true if the instance is a FHIR primitive datetime-based datatype; false otherwise
ProtectedcopyProtectedCopies the current instance's elements into the provided object.
the copied instance
PrivateinitInitialize the profile property
PrivateinitInitialize the targetProfile property
PrivateinitInitialize the aggregation property
ElementDefinitionTypeComponent Class
Remarks
FHIR Specification
See
FHIR ElementDefinition