Privatetype_DataRequirement.type Element
Private OptionalprofileDataRequirement.profile Element
FHIR Specification
canonical
Private OptionalsubjectDataRequirement.subject[x] Element
FHIR Specification
Private OptionalmustDataRequirement.mustSupport Element
FHIR Specification
stringPrivate OptionalcodeDataRequirement.codeFilter Element
FHIR Specification
ElementPrivate OptionaldateDataRequirement.dateFilter Element
FHIR Specification
ElementPrivate OptionallimitDataRequirement.limit Element
FHIR Specification
positiveIntPrivate OptionalsortDataRequirement.sort Element
FHIR Specification
ElementStaticparseParse the provided DataRequirement JSON to instantiate the DataRequirement data model.
JSON representing FHIR DataRequirement
OptionaloptSourceField: stringOptional data source field (e.g. <complexTypeName>.<complexTypeFieldName>); defaults to DataRequirement
DataRequirement data model or undefined for DataRequirement
JsonError if the provided JSON is not a valid JSON object
the type_ property value as a CodeType object if defined; else an empty CodeType object
Assigns the provided PrimitiveType value to the type_ property.
the type_ value
this
InvalidTypeError for invalid data types
PrimitiveTypeError for invalid primitive types
true if the type_ property exists and has a value; false otherwise
the type_ property value as a fhirCode if defined; else null
Assigns the provided primitive value to the type_ property.
the type_ value
this
PrimitiveTypeError for invalid primitive types
true if the type_ 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 subject property value as a DataType object if defined; else undefined
Assigns the provided DataType object value to the subject property.
the subject object value
this
InvalidTypeError for invalid data types
true if the subject property exists and has a value; false otherwise
the subject property value as a CodeableConcept object if defined; else undefined
true if the subject property exists as a CodeableConcept and has a value; false otherwise
the subject property value as a Reference object if defined; else undefined
true if the subject property exists as a Reference and has a value; false otherwise
the mustSupport property value as a StringType array
Assigns the provided StringType array value to the mustSupport property.
the mustSupport array value
this
InvalidTypeError for invalid data types
PrimitiveTypeError for invalid primitive types
Add the provided StringType value to the mustSupport array property.
the mustSupport value
this
InvalidTypeError for invalid data types
PrimitiveTypeError for invalid primitive types
true if the mustSupport property exists and has a value; false otherwise
the mustSupport property value as a fhirString array
Assigns the provided primitive value array to the mustSupport property.
the mustSupport value array
this
PrimitiveTypeError for invalid primitive types
Add the provided primitive value to the mustSupport array property.
the mustSupport value
this
PrimitiveTypeError for invalid primitive types
true if the mustSupport property exists and has a value; false otherwise
the codeFilter property value as a DataRequirementCodeFilterComponent array
Assigns the provided DataRequirementCodeFilterComponent array value to the codeFilter property.
the codeFilter array value
this
InvalidTypeError for invalid data types
Add the provided DataRequirementCodeFilterComponent value to the codeFilter array property.
the codeFilter value
this
InvalidTypeError for invalid data types
true if the codeFilter property exists and has a value; false otherwise
the dateFilter property value as a DataRequirementDateFilterComponent array
Assigns the provided DataRequirementDateFilterComponent array value to the dateFilter property.
the dateFilter array value
this
InvalidTypeError for invalid data types
Add the provided DataRequirementDateFilterComponent value to the dateFilter array property.
the dateFilter value
this
InvalidTypeError for invalid data types
true if the dateFilter property exists and has a value; false otherwise
the limit property value as a PositiveIntType object if defined; else an empty PositiveIntType object
Assigns the provided PrimitiveType value to the limit property.
the limit value
this
InvalidTypeError for invalid data types
PrimitiveTypeError for invalid primitive types
true if the limit property exists and has a value; false otherwise
the limit property value as a fhirPositiveInt if defined; else undefined
Assigns the provided primitive value to the limit property.
the limit value
this
PrimitiveTypeError for invalid primitive types
true if the limit property exists and has a value; false otherwise
the sort property value as a DataRequirementSortComponent array
Assigns the provided DataRequirementSortComponent array value to the sort property.
the sort array value
this
InvalidTypeError for invalid data types
Add the provided DataRequirementSortComponent value to the sort array property.
the sort value
this
InvalidTypeError for invalid data types
true if the sort 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
true if the instance is a FHIR complex datatype; false otherwise
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 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 mustSupport property
PrivateinitInitialize the codeFilter property
PrivateinitInitialize the dateFilter property
PrivateinitInitialize the sort property
DataRequirement Class
Remarks
Base StructureDefinition for DataRequirement Type: Describes a required data item for evaluation in terms of the type of data, and optional code or date-based filters of the data.
FHIR Specification
See
FHIR DataRequirement