Package org.hl7.fhir.r5.model
Class ResourceFactory
java.lang.Object
org.hl7.fhir.r5.model.Factory
org.hl7.fhir.r5.model.ResourceFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DataType
createPrimitive
(String type, String value) static Resource
createResource
(String name) static Base
createResourceOrType
(String name) static Element
createType
(String name) Methods inherited from class org.hl7.fhir.r5.model.Factory
create, createUUID, makeCoding, makeReference, makeReference, newBoolean, newCanonical, newCode, newCodeableConcept, newContactPoint, newDate, newDateTime, newExtension, newId, newInteger, newInteger, newNarrative, newString_, newUri, newUrl
-
Constructor Details
-
ResourceFactory
public ResourceFactory()
-
-
Method Details
-
createResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
createType
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
createResourceOrType
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
createPrimitive
-