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