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

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 R6 relationship.
no setterinherited
fhirVersion → String
The version's FHIR version string, 4.3.0.
no setter
groupTypeModeDefault → String?
The group.typeMode to 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 is defaultValueString; R5 and R6 have defaultValue.
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.mode a ConceptMap declares with unmapped for X = provided: R4B provided, R5 and R6 use-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 spelling CodingBuilder), or null when the version has no such type.
override
dependentArguments(List<Map<String, dynamic>> arguments) → Map<String, dynamic>
The JSON of a rule's dependent for the invocation of a group with arguments. R4B's dependent.variable is a list of strings; R5 and R6 moved to dependent.parameter, a list of parameters.
inherited
fromJson(Map<String, dynamic> json) → Resource
Parses a resource from its JSON. Throws (whatever the model throws) when json is 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 json is 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) holding value.
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 encodes toJson with dart:convert, which writes 1.50 as 1.5; a binding overrides it with its model's own writer, which keeps the text (see fromJsonText).
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited