ValueSetExpansionContains

open class ValueSetExpansionContains: BackboneElement

Codes in the value set.

The codes that are contained in the value set expansion.

  • Codes in the value set.

    The codes that are contained in the value set expansion.

    Declaration

    Swift

    override open class var resourceType: String
  • If user cannot select this entry.

    Declaration

    Swift

    public var abstract: FHIRBool?
  • Code - if blank, this is not a selectable code.

    Declaration

    Swift

    public var code: FHIRString?
  • Codes contained under this entry.

    Declaration

    Swift

    public var contains: [ValueSetExpansionContains]?
  • Additional representations for this item.

    Declaration

    Swift

    public var designation: [ValueSetComposeIncludeConceptDesignation]?
  • User display for the concept.

    Declaration

    Swift

    public var display: FHIRString?
  • If concept is inactive in the code system.

    Declaration

    Swift

    public var inactive: FHIRBool?
  • System value for the code.

    Declaration

    Swift

    public var system: FHIRURL?
  • Version in which this code/display is defined.

    Declaration

    Swift

    public var version: FHIRString?
  • Version in which this code/display is defined.

    Declaration

    Swift

    override open func populate(from json: FHIRJSON, context instCtx: inout FHIRInstantiationContext)

    Parameters

    json

    The JSON element to use to populate the receiver

    context

    The instantiation context to use

  • Undocumented

    Declaration

    Swift

    open class ValueSetExpansionContains: BackboneElement
  • The display string, localized in the device language; uses Locale.current with localized(in: Locale)

    Declaration

    Swift

    public var display_localized: String?
  • Returns the display.string value, localized in the given locale if available, self.display.string otherwise.

    The method will fall back to language code only if you provide a language and region code (e.g. en-US) but a localization is only available for the language code (e.g. en) or a different region (e.g. en-AU).

    Declaration

    Swift

    public func display_localized(in locale: String) -> String?

    Parameters

    locale

    The locale for which to retrieve the localization

    Return Value

    A String in the given locale, untranslated otherwise

  • Returns the display value, localized in the given locale if available, self.display otherwise. This is achieved by first looking at the designation property and querying it for a designation for the desired locale. If none is found, the standard localization extension is queried (look at FHIRString.localized()), ultimately falling back to the display value.

    The method will fall back to language code only if you provide a language and region code (e.g. en-US) but a localization is only available for the language code (e.g. en) or a different region (e.g. en-AU).

    Declaration

    Swift

    public func display_localized(in locale: Locale) -> FHIRString?

    Parameters

    locale

    The locale for which to retrieve the localization

    Return Value

    The FHIRString in the given locale, untranslated otherwise