R4MappingModel class
R4B for the shared mapping engine: its generated builders, its fhir_path
binding, and the R4B spellings of StructureMap and ConceptMap (the
MappingModel defaults: contextType, dependent.variable,
defaultValueString, equivalence, typeMode none).
- Inheritance
-
- Object
- MappingModel<
Resource> - R4MappingModel
Constructors
- R4MappingModel()
-
The model.
const
Properties
- conceptMapRelationshipElement → String
-
The element of a ConceptMap target that holds how source and target
relate: R4B
equivalence, R5 and R6relationship.no setterinherited - fhirVersion → String
-
The version's FHIR version string,
4.3.0.no setter - groupTypeModeDefault → String?
-
The
group.typeModeto write when the map text gives none: R4B requires the element (none); R5 and R6 leave it out (null).no setterinherited - hashCode → int
-
The hash code for this object.
no setterinherited
-
matchingRelationships
→ Set<
String> -
The relationship codes under which a translation counts as a match.
no setterinherited
- pathBinding → FhirModelBinding
-
The fhir_path binding of this version, for FHIRPath evaluation.
no setteroverride
-
resourceTypeNames
→ Set<
String> -
The resource type names of this version.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceDefaultValueKey → String
-
The JSON key of a source's default value: R4B's
defaultValue[x]as a string isdefaultValueString; R5 and R6 havedefaultValue.no setterinherited - targetHasContextType → bool
-
Whether the version's StructureMap target carries
contextType(R4B: yes; R5 and R6 dropped it).no setterinherited - unmappedProvidedMode → String
-
The
unmapped.modea ConceptMap declares withunmapped for X = provided: R4Bprovided, R5 and R6use-source-code.no setterinherited
Methods
-
conceptMapRelationship(
String token) → String? -
The ConceptMap relationship code for a map-language token (
=,==,!=,<=,>=,-, and R4B's--,<-,>-,~), or null when the version has no such code.inherited -
createBuilder(
String typeName) → FhirBaseBuilder? -
An empty builder for
typeName(Patient,Coding,string, or the builder spellingCodingBuilder), or null when the version has no such type.override -
dependentArguments(
List< Map< arguments) → Map<String, dynamic> >String, dynamic> -
The JSON of a rule's
dependentfor the invocation of a group witharguments. R4B'sdependent.variableis a list of strings; R5 and R6 moved todependent.parameter, a list of parameters.inherited -
fromJson(
Map< String, dynamic> json) → Resource -
Parses a resource from its JSON. Throws (whatever the model throws)
when
jsonis not a resource of this version. -
fromJsonText(
String json) → Resource -
Parses a resource from its JSON text. Throws (whatever the decoder or
the model throws) when
jsonis not a resource of this version.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
primitive(
String typeName, Object value) → FhirBaseBuilder -
A primitive builder of
typeName(string,id,uri,code,integer,decimal,boolean,date,dateTime,instant,time,oid,base64Binary,canonical,url,unsignedInt,positiveInt,markdown) holdingvalue.override -
ruleName(
String quoted) → String -
A quoted rule name as this version's StructureMap carries it. R4B keeps
it as written; R5 and R6 strip hyphens (the R5 reference parser's
fixName,c.replace("-", ""), StructureMapUtilities.parseRule).inherited -
toBuilder(
FhirNode node) → FhirBaseBuilder -
A builder holding the same content as
node(a resource or element of this version, or a FHIRPath result).override -
toJson(
Resource resource) → Map< String, dynamic> -
The JSON of
resource. -
toJsonText(
Resource resource) → String -
The JSON text of
resource. This default encodestoJsonwithdart:convert, which writes1.50as1.5; a binding overrides it with its model's own writer, which keeps the text (seefromJsonText).inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited