Interface FhirValueSetEnumInterface
- All Known Implementing Classes:
ActivePharmaceuticalIngredient
,ActSubstanceAdminSubstitutionCode
,AddressLineType
,ChEmedTimingEvent
,DispenseSupplyType
,EmedPadvEntryType
,PharmaceuticalDoseFormEdqm
,RouteOfAdministrationAmbu
,RouteOfAdministrationEdqm
,SubstanceAdministrationSubstitutionCode
,TimeUnitCodeAmbu
,TimingEventAmbu
,UnitCode
public interface FhirValueSetEnumInterface
An interface for all FHIR value set enums.
- Author:
- Quentin Ligier
-
Method Summary
Modifier and TypeMethodDescription@NonNull org.hl7.fhir.r4.model.CodeableConcept
Returns the enum value as a FHIR CodeableConcept.@NonNull org.hl7.fhir.r4.model.CodeableConcept
getCodeableConcept
(LanguageCode languageCode) Returns the enum value as a FHIR CodeableConcept, translated in the requested language.@NonNull org.hl7.fhir.r4.model.Coding
Returns the enum value as a FHIR Coding.@NonNull org.hl7.fhir.r4.model.Coding
getCoding
(LanguageCode languageCode) Returns the enum value as a FHIR Coding, translated in the requested language.@NonNull String
Returns the code system, as used in FHIR.boolean
isEqualTo
(org.hl7.fhir.r4.model.Coding coding) Compares the enum value to the given FHIR Coding.
-
Method Details
-
getFhirSystem
@NonNull String getFhirSystem()Returns the code system, as used in FHIR. -
getCoding
@NonNull org.hl7.fhir.r4.model.Coding getCoding()Returns the enum value as a FHIR Coding. -
getCodeableConcept
@NonNull org.hl7.fhir.r4.model.CodeableConcept getCodeableConcept()Returns the enum value as a FHIR CodeableConcept. -
getCoding
Returns the enum value as a FHIR Coding, translated in the requested language. -
getCodeableConcept
Returns the enum value as a FHIR CodeableConcept, translated in the requested language. -
isEqualTo
boolean isEqualTo(org.hl7.fhir.r4.model.Coding coding) Compares the enum value to the given FHIR Coding.- Parameters:
coding
- The FHIR Coding to be compared.- Returns:
true
if they have the same system and value,false
otherwise.
-