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
jsonThe JSON element to use to populate the receiver
contextThe instantiation context to use
-
Undocumented
Declaration
Swift
open class ValueSetExpansionContains: BackboneElement
-
The
displaystring, localized in the device language; usesLocale.currentwithlocalized(in: Locale)Declaration
Swift
public var display_localized: String? -
Returns the
display.stringvalue, localized in the given locale if available,self.display.stringotherwise.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
localeThe locale for which to retrieve the localization
Return Value
A String in the given locale, untranslated otherwise
-
Returns the
displayvalue, localized in the given locale if available,self.displayotherwise. This is achieved by first looking at thedesignationproperty and querying it for a designation for the desired locale. If none is found, the standard localization extension is queried (look atFHIRString.localized()), ultimately falling back to thedisplayvalue.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
localeThe locale for which to retrieve the localization
Return Value
The FHIRString in the given locale, untranslated otherwise
View on GitHub
Install in Dash
ValueSetExpansionContains Class Reference