public static class ContactPoint.ContactPointUseEnumFactory extends Object implements EnumFactory<ContactPoint.ContactPointUse>
| Constructor and Description |
|---|
ContactPointUseEnumFactory() |
| Modifier and Type | Method and Description |
|---|---|
ContactPoint.ContactPointUse |
fromCode(String codeString)
Read an enumeration value from the string that represents it on the XML or JSON
|
Enumeration<ContactPoint.ContactPointUse> |
fromType(Base code) |
String |
toCode(ContactPoint.ContactPointUse code)
Get the XML/JSON representation for an enumerated value
|
String |
toSystem(ContactPoint.ContactPointUse code)
Get the system URI for an enumerated value
|
public ContactPointUseEnumFactory()
public ContactPoint.ContactPointUse fromCode(String codeString) throws IllegalArgumentException
EnumFactoryfromCode in interface org.hl7.fhir.instance.model.api.IBaseEnumFactory<ContactPoint.ContactPointUse>fromCode in interface EnumFactory<ContactPoint.ContactPointUse>codeString - the value found in the XML or JSONIllegalArgumentExceptionpublic Enumeration<ContactPoint.ContactPointUse> fromType(Base code) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic String toCode(ContactPoint.ContactPointUse code)
EnumFactorytoCode in interface org.hl7.fhir.instance.model.api.IBaseEnumFactory<ContactPoint.ContactPointUse>toCode in interface EnumFactory<ContactPoint.ContactPointUse>code - - the enumeration valuepublic String toSystem(ContactPoint.ContactPointUse code)
EnumFactorytoSystem in interface org.hl7.fhir.instance.model.api.IBaseEnumFactory<ContactPoint.ContactPointUse>toSystem in interface EnumFactory<ContactPoint.ContactPointUse>code - - the enumeration valueCopyright © 2014–2021 Health Level 7. All rights reserved.