CodeSystemContentMode class
The extent of the content of the code system (the concepts and codes it defines) are represented in a code system resource.
- Inheritance
- 
    - Object
- FhirBase
- Element
- DataType
- PrimitiveType
- FhirString
- FhirCode
- FhirCodeEnum
- CodeSystemContentMode
 
- Available extensions
Constructors
- 
          CodeSystemContentMode(String? rawValue, {FhirUri? system, FhirString? version, FhirString? display, Element? element, FhirString? id, List<FhirExtension> ? extension_, bool? disallowExtensions})
- 
          Public factory if you want a fallback approach or custom creation.
            factory
- 
          CodeSystemContentMode.fromJson(Map<String, dynamic> json)
- 
          Factory constructor to create CodeSystemContentMode
from JSON.
            factory
Properties
- 
  allExtensions
  → List<FhirExtension> ?
- 
  Returns a list of all extensions, including those in element.
  no setterinherited
- 
  codeUnits
  → List<int> 
- 
  Returns the code units as a list of ints.
  no setterinherited
- 
  copyWith
  → CodeSystemContentModeCopyWithImpl<CodeSystemContentMode> 
- 
  Creates a new instance with the specified fields replaced.
  no setteroverride
- disallowExtensions → bool?
- 
  This is used in the FHIRPath engine to record that no extensions are
allowed for this item in the context in which it is used.
to do: enforce this....
  finalinherited
- display → FhirString?
- 
  display
A representation of the meaning of the code in the system, following
the rules of the system.
  finalinherited
- element → Element?
- 
  Optional FHIR metadata element (usually carrying extensions).
  finalinherited
- 
  extension_
  → List<FhirExtension> ?
- 
  List of extensions for additional information.
  finalinherited
- fhirType → String
- 
  Returns "code".no setterinherited
- hasElement → bool
- 
  Returns trueif element is non-null.no setterinherited
- hashCode → int
- 
  Hash code override.
  no setterinherited
- hasId → bool
- 
  Getter for checking if the element has an id.
  no setterinherited
- hasPrimitiveValue → bool
- 
  Checks if the object has a primitive value.
  no setterinherited
- hasValue → bool
- 
  Returns trueif valueString is non-null.no setterinherited
- hasValueAndElement → bool
- 
  Returns trueif both valueString and element are non-null.no setterinherited
- id → FhirString?
- 
  Unique id for the element within a resource.
  finalinherited
- isBackboneElement → bool
- 
      Available on FhirString, provided by the ExtensionsForFhirString extension Returnstrueif the String is a valid R5ResourceType.no setter
- isEmptyString → bool
- 
  Checks if the string is empty.
  no setterinherited
- isFhirPrimitive → bool
- 
      Available on FhirString, provided by the ExtensionsForFhirString extension Returnstrueif the String is a valid R5ResourceType.no setter
- isFhirResourceType → bool
- 
      Available on FhirString, provided by the ExtensionsForFhirString extension Returnstrueif the String is a valid R5ResourceType.no setter
- isMetadataBased → bool
- 
  All Elements are metadata based.
  no setterinherited
- isNotEmpty → bool
- 
  Checks if the string is not empty.
  no setterinherited
- isPrimitive → bool
- 
  Checks if the object is primitive.
  no setterinherited
- length → int
- 
  The length of the string (or 0ifnull).no setterinherited
- primitiveValue → String?
- 
  The primitive value as a String.
  no setterinherited
- runes → Runes?
- 
  Returns the runes (Unicode code points).
  no setterinherited
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- stringBased → bool
- 
  Returns trueif the Type is considered string-based, otherwisefalseno setterinherited
- system → FhirUri?
- 
  system
The identification of the code system that defines the meaning of the
symbol in the code.
  finalinherited
- valueEnum → CodeSystemContentModeEnum?
- 
  An actual enum that can be used for CodeSystemContentMode
  final
- valueString → String?
- 
  The primitive FHIR value as a String.
  finalinherited
- version → FhirString?
- 
  version
The version of the code system which was used when choosing this code.
Note that a well-maintained code system does not need the version
reported, because the meaning of codes is consistent across versions.
However this cannot consistently be assured, and when the meaning is
not guaranteed to be consistent, the version SHOULD be exchanged.
  finalinherited
Methods
- 
  addExtension(FhirExtension ext) → void 
- 
  Method to add an extension.
  inherited
- 
  clone() → CodeSystemContentMode 
- 
  Creates a deep clone of this FhirString.
  override
- 
  codeUnitAt(int index) → int? 
- 
  Returns the code unit at the specified index.inherited
- 
  compareDeepStrings(String? s1, String? s2, bool allowNull) → bool 
- 
  Checks if the object is equal to another object.
  inherited
- 
  contains(Pattern pattern, [int startIndex = 0]) → bool 
- 
  Checks if patternoccurs in the string.inherited
- 
  endsWith(String other) → bool 
- 
  Checks if the string ends with other.inherited
- 
  equals(Object other) → bool 
- 
  Convenience method matching equalsDeep, except for checking userData.inherited
- 
  equalsDeep(FhirBase? other) → bool 
- 
  Deep equality check.
  inherited
- 
  equalsShallow(FhirBase other) → bool 
- 
  By default, shallow equality checks only valueString.
  inherited
- 
  getChildByName(String name) → FhirBase? 
- 
  Retrieves a property by name, or if its a list that contains only one
element, returns that element.
  inherited
- 
  getChildrenByName(String name, [bool checkValid = false]) → List< FhirBase> 
- 
  Retrieves the properties of the object.
  inherited
- 
  getExtensionFirstRep() → FhirExtension 
- 
  Getter for the first extension.
  inherited
- 
  getExtensionsByUrl(String url) → List< FhirExtension> 
- 
  Getter for the first extension by url.
  inherited
- 
  hasExtension() → bool 
- 
  Extension handling methods.
  inherited
- 
  hasExtensionByUrl(String url) → bool 
- 
  Method to check if an extension exists by url.
  inherited
- 
  hasType(List< String> names) → bool
- 
  Checks if the object has a given type.
  inherited
- 
  hasValues() → bool 
- 
  Checks if the object has values.
  inherited
- 
  indexOf(Pattern pattern, [int start = 0]) → int 
- 
  Finds the first occurrence of pattern.inherited
- 
  isAs<T extends FhirBase> () → T? 
- 
  Returns an Object cast as a Type if it is that type.
  inherited
- 
  isEmpty() → bool 
- 
  Checks if the object is empty.
  inherited
- 
  lastIndexOf(Pattern pattern, [int? start]) → int 
- 
  Finds the last occurrence of pattern.inherited
- 
  listChildrenNames() → List< String> 
- 
  Lists the JSON keys for the object.
  inherited
- 
  noExtensions() → FhirString 
- 
  Returns a copy with disallowExtensions set to true.inherited
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  padLeft(int width, [String padding = ' ']) → String 
- 
  Pads left side to widthwithpadding.inherited
- 
  padRight(int width, [String padding = ' ']) → String 
- 
  Pads right side to widthwithpadding.inherited
- 
  prettyPrint() → String 
- 
  Converts the object to a pretty JSON string.
  inherited
- 
  removeExtension(String url) → void 
- 
  Method to remove an extension by url.
  inherited
- 
  replaceAll(Pattern from, String replace) → String 
- 
  Replaces all occurrences of fromwithreplace.inherited
- 
  replaceAllMapped(Pattern from, String replace(Match)) → String 
- 
  Replaces all occurrences with a mapped function.
  inherited
- 
  replaceFirst(Pattern from, String to, [int startIndex = 0]) → String 
- 
  Replaces the first occurrence of fromwithto.inherited
- 
  replaceFirstMapped(Pattern from, String replace(Match), [int startIndex = 0]) → String 
- 
  Replaces the first occurrence with a mapped function.
  inherited
- 
  replaceRange(int start, int? end, String replacement) → String 
- 
  Replaces a range start..endwithreplacement.inherited
- 
  split(Pattern pattern) → List< String> 
- 
  Splits this string on pattern.inherited
- 
  splitMapJoin(Pattern pattern, {String onMatch(Match)?, String onNonMatch(String)?}) → String 
- 
  Splits the string on pattern, callingonMatch/onNonMatch.inherited
- 
  startsWith(Pattern pattern, [int index = 0]) → bool 
- 
  Checks if the string starts with pattern.inherited
- 
  substring(int start, [int? end]) → String 
- 
  Substring of valueString from startto optionalend.inherited
- 
  toJson() → Map< String, dynamic> 
- 
  Serializes the instance to JSON with standardized keys
  override
- 
  toJsonString() → String 
- 
  Converts the object to a JSON string.
  inherited
- 
  toLowerCase() → String 
- 
  Converts the string to lower case.
  inherited
- 
  toString() → String 
- 
  String representation
  override
- 
  toUpperCase() → String 
- 
  Converts the string to upper case.
  inherited
- 
  toYaml() → String 
- 
  Converts the object to a YAML string.
  inherited
- 
  trim() → String 
- 
  Returns the valueString trimmed of whitespace.
  inherited
- 
  trimLeft() → String 
- 
  Trims left side whitespace.
  inherited
- 
  trimRight() → String 
- 
  Trims right side whitespace.
  inherited
- 
  withElement(Element? newElement) → CodeSystemContentMode 
- Returns the enum value with an element attached
Operators
- 
  operator +(String other) → String 
- 
  Concatenates this with other.inherited
- 
  operator ==(Object other) → bool 
- 
  Equality operator override.
  inherited
- 
  operator [](int index) → String 
- 
  Returns the character at the specified index.inherited
Static Properties
- 
  values
  → List<CodeSystemContentMode> 
- 
  List of all enum-like values
  final
Constants
- complete → const CodeSystemContentMode
- complete
- example → const CodeSystemContentMode
- example
- fragment → const CodeSystemContentMode
- fragment
- notPresent → const CodeSystemContentMode
- not_present
- supplement → const CodeSystemContentMode
- supplement