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