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 Resourceconvert(Element element)Elementconvert(Property property, Type type)Elementconvert(Resource ig)TypeconvertToType(Element element)static CodeableConceptreadAsCodeableConcept(Element element)static CodingreadAsCoding(Element item)static IdentifierreadAsIdentifier(Element item)static ReferencereadAsReference(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:
IOExceptionorg.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)
-
-