PrivatelabelElementDefinition.example.label Element
PrivatevalueElementDefinition.example.value[x] Element
@ChoiceDataTypesMeta('ElementDefinition.example.value[x]', ['base64Binary','boolean','canonical','code','date','dateTime','decimal','id','instant','integer','markdown','oid','positiveInt','string','time','unsignedInt','uri','url','uuid','Address','Age','Annotation','Attachment','CodeableConcept','Coding','ContactPoint','Count','Distance','Duration','HumanName','Identifier','Money','Period','Quantity','Range','Ratio','Reference','SampledData','Signature','Timing','ContactDetail','Contributor','DataRequirement','Expression','ParameterDefinition','RelatedArtifact','TriggerDefinition','UsageContext','Dosage','Meta',]
FHIR Specification
StaticparseParse the provided ElementDefinitionExampleComponent JSON to instantiate the ElementDefinitionExampleComponent data model.
JSON representing FHIR ElementDefinitionExampleComponent
OptionaloptSourceField: stringOptional data source field (e.g. <complexTypeName>.<complexTypeFieldName>); defaults to ElementDefinitionExampleComponent
ElementDefinitionExampleComponent data model or undefined for ElementDefinitionExampleComponent
JsonError if the provided JSON is not a valid JSON object
the label property value as a StringType object if defined; else an empty StringType object
Assigns the provided PrimitiveType value to the label property.
the label value
this
InvalidTypeError for invalid data types
PrimitiveTypeError for invalid primitive types
true if the label property exists and has a value; false otherwise
the label property value as a fhirString if defined; else null
Assigns the provided primitive value to the label property.
the label value
this
PrimitiveTypeError for invalid primitive types
true if the label property exists and has a value; false otherwise
the value property value as a DataType object; else null
Assigns the provided DataType object value to the value property.
the value object value
this
InvalidTypeError for invalid data types
true if the value property exists and has a value; false otherwise
the value property value as a Base64BinaryType object if defined; else null
true if the `` property exists as a Base64BinaryType and has a value; false otherwise
the value property value as a BooleanType object if defined; else null
true if the `` property exists as a BooleanType and has a value; false otherwise
the value property value as a CanonicalType object if defined; else null
true if the `` property exists as a CanonicalType and has a value; false otherwise
the value property value as a CodeType object if defined; else null
true if the `` property exists as a CodeType and has a value; false otherwise
the value property value as a DateType object if defined; else null
true if the `` property exists as a DateType and has a value; false otherwise
the value property value as a DateTimeType object if defined; else null
true if the `` property exists as a DateTimeType and has a value; false otherwise
the value property value as a DecimalType object if defined; else null
true if the `` property exists as a DecimalType and has a value; false otherwise
the value property value as a IdType object if defined; else null
true if the `` property exists as a IdType and has a value; false otherwise
the value property value as a InstantType object if defined; else null
true if the `` property exists as a InstantType and has a value; false otherwise
the value property value as a IntegerType object if defined; else null
true if the `` property exists as a IntegerType and has a value; false otherwise
the value property value as a MarkdownType object if defined; else null
true if the `` property exists as a MarkdownType and has a value; false otherwise
the value property value as a OidType object if defined; else null
true if the `` property exists as a OidType and has a value; false otherwise
the value property value as a PositiveIntType object if defined; else null
true if the `` property exists as a PositiveIntType and has a value; false otherwise
the value property value as a StringType object if defined; else null
true if the `` property exists as a StringType and has a value; false otherwise
the value property value as a TimeType object if defined; else null
true if the `` property exists as a TimeType and has a value; false otherwise
the value property value as a UnsignedIntType object if defined; else null
true if the `` property exists as a UnsignedIntType and has a value; false otherwise
the value property value as a UriType object if defined; else null
true if the `` property exists as a UriType and has a value; false otherwise
the value property value as a UrlType object if defined; else null
true if the `` property exists as a UrlType and has a value; false otherwise
the value property value as a UuidType object if defined; else null
true if the `` property exists as a UuidType and has a value; false otherwise
the value property value as a Address object if defined; else null
true if the `` property exists as a Address and has a value; false otherwise
the value property value as a Age object if defined; else null
true if the `` property exists as a Age and has a value; false otherwise
the value property value as a Annotation object if defined; else null
true if the `` property exists as a Annotation and has a value; false otherwise
the value property value as a Attachment object if defined; else null
true if the `` property exists as a Attachment and has a value; false otherwise
the value property value as a CodeableConcept object if defined; else null
true if the `` property exists as a CodeableConcept and has a value; false otherwise
the value property value as a Coding object if defined; else null
true if the `` property exists as a Coding and has a value; false otherwise
the value property value as a ContactPoint object if defined; else null
true if the `` property exists as a ContactPoint and has a value; false otherwise
the value property value as a Count object if defined; else null
true if the `` property exists as a Count and has a value; false otherwise
the value property value as a Distance object if defined; else null
true if the `` property exists as a Distance and has a value; false otherwise
the value property value as a Duration object if defined; else null
true if the `` property exists as a Duration and has a value; false otherwise
the value property value as a HumanName object if defined; else null
true if the `` property exists as a HumanName and has a value; false otherwise
the value property value as a Identifier object if defined; else null
true if the `` property exists as a Identifier and has a value; false otherwise
the value property value as a Money object if defined; else null
true if the `` property exists as a Money and has a value; false otherwise
the value property value as a Period object if defined; else null
true if the `` property exists as a Period and has a value; false otherwise
the value property value as a Quantity object if defined; else null
true if the `` property exists as a Quantity and has a value; false otherwise
the value property value as a Range object if defined; else null
true if the `` property exists as a Range and has a value; false otherwise
the value property value as a Ratio object if defined; else null
true if the `` property exists as a Ratio and has a value; false otherwise
the value property value as a Reference object if defined; else null
true if the `` property exists as a Reference and has a value; false otherwise
the value property value as a SampledData object if defined; else null
true if the `` property exists as a SampledData and has a value; false otherwise
the value property value as a Signature object if defined; else null
true if the `` property exists as a Signature and has a value; false otherwise
the value property value as a Timing object if defined; else null
true if the `` property exists as a Timing and has a value; false otherwise
the value property value as a ContactDetail object if defined; else null
true if the `` property exists as a ContactDetail and has a value; false otherwise
the value property value as a Contributor object if defined; else null
true if the `` property exists as a Contributor and has a value; false otherwise
the value property value as a DataRequirement object if defined; else null
true if the `` property exists as a DataRequirement and has a value; false otherwise
the value property value as a Expression object if defined; else null
true if the `` property exists as a Expression and has a value; false otherwise
the value property value as a ParameterDefinition object if defined; else null
true if the `` property exists as a ParameterDefinition and has a value; false otherwise
the value property value as a RelatedArtifact object if defined; else null
true if the `` property exists as a RelatedArtifact and has a value; false otherwise
the value property value as a TriggerDefinition object if defined; else null
true if the `` property exists as a TriggerDefinition and has a value; false otherwise
the value property value as a UsageContext object if defined; else null
true if the `` property exists as a UsageContext and has a value; false otherwise
the value property value as a Dosage object if defined; else null
true if the `` property exists as a Dosage and has a value; false otherwise
the value property value as a Meta object if defined; else null
true if the `` property exists as a Meta 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
ElementDefinitionExampleComponent Class
Remarks
FHIR Specification
See
FHIR ElementDefinition