ValueSetComposeIncludeConceptDesignation
open class ValueSetComposeIncludeConceptDesignation: BackboneElement
Additional representations for this concept.
Additional representations for this concept when used in this value set - other languages, aliases, specialized purposes, used for particular purposes, etc.
-
Additional representations for this concept.
Additional representations for this concept when used in this value set - other languages, aliases, specialized purposes, used for particular purposes, etc.
Declaration
Swift
override open class var resourceType: String
-
Human language of the designation.
Declaration
Swift
public var language: FHIRString?
-
Details how this designation would be used.
Declaration
Swift
public var use: Coding?
-
The text value for this designation.
Declaration
Swift
public var value: FHIRString?
-
Convenience initializer, taking all required properties as arguments.
Declaration
Swift
public convenience init(value: FHIRString)
-
Convenience initializer, taking all required properties as arguments.
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 ValueSetComposeIncludeConceptDesignation: BackboneElement
-
Inspects its
language
property and returns a FHIRstring localized in the desired locale, if one is found, nil otherwise.If
strict
is false, 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 localization(for locale: Locale, strict: Bool = false) -> FHIRString?
Parameters
locale
The desired locale
strict
Whether the locale must match language and region (false by default)
Return Value
A localized string, or nil if none is matching