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.CodeableConceptReturns the enum value as a FHIR CodeableConcept.@NonNull org.hl7.fhir.r4.model.CodeableConceptgetCodeableConcept(LanguageCode languageCode) Returns the enum value as a FHIR CodeableConcept, translated in the requested language.@NonNull org.hl7.fhir.r4.model.CodingReturns the enum value as a FHIR Coding.@NonNull org.hl7.fhir.r4.model.CodinggetCoding(LanguageCode languageCode) Returns the enum value as a FHIR Coding, translated in the requested language.@NonNull StringReturns the code system, as used in FHIR.booleanisEqualTo(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:
trueif they have the same system and value,falseotherwise.
-