Package org.hl7.fhir.r4.elementmodel
Class ObjectConverter
- java.lang.Object
-
- org.hl7.fhir.r4.elementmodel.ObjectConverter
-
public class ObjectConverter extends Object
-
-
Constructor Summary
Constructors Constructor Description ObjectConverter(IWorkerContext context)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Resource
convert(Element element)
Element
convert(Property property, Type type)
Element
convert(Resource ig)
Type
convertToType(Element element)
static CodeableConcept
readAsCodeableConcept(Element element)
static Coding
readAsCoding(Element item)
static Identifier
readAsIdentifier(Element item)
static Reference
readAsReference(Element item)
-
-
-
Constructor Detail
-
ObjectConverter
public ObjectConverter(IWorkerContext context)
-
-
Method Detail
-
convert
public Element convert(Resource ig) throws IOException, org.hl7.fhir.exceptions.FHIRException
- Throws:
IOException
org.hl7.fhir.exceptions.FHIRException
-
convert
public Element convert(Property property, Type type) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
convertToType
public Type convertToType(Element element) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
convert
public Resource convert(Element element) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
readAsCodeableConcept
public static CodeableConcept readAsCodeableConcept(Element element)
-
readAsCoding
public static Coding readAsCoding(Element item)
-
readAsIdentifier
public static Identifier readAsIdentifier(Element item)
-
readAsReference
public static Reference readAsReference(Element item)
-
-