Package org.hl7.fhir.r4.model
Class Factory
- java.lang.Object
-
- org.hl7.fhir.r4.model.Factory
-
- Direct Known Subclasses:
ResourceFactory
public class Factory extends Object
-
-
Constructor Summary
Constructors Constructor Description Factory()
-
Method Summary
-
-
-
Constructor Detail
-
Factory
public Factory()
-
-
Method Detail
-
newString_
public static StringType newString_(String value)
-
newUri
public static UriType newUri(String value) throws URISyntaxException
- Throws:
URISyntaxException
-
newUrl
public static UrlType newUrl(String value) throws URISyntaxException
- Throws:
URISyntaxException
-
newCanonical
public static CanonicalType newCanonical(String value) throws URISyntaxException
- Throws:
URISyntaxException
-
newDateTime
public static DateTimeType newDateTime(String value) throws ParseException
- Throws:
ParseException
-
newDate
public static DateType newDate(String value) throws ParseException
- Throws:
ParseException
-
newInteger
public static IntegerType newInteger(int value)
-
newInteger
public static IntegerType newInteger(Integer value)
-
newBoolean
public static BooleanType newBoolean(boolean value)
-
newContactPoint
public static ContactPoint newContactPoint(ContactPoint.ContactPointSystem system, String value)
-
newExtension
public static Extension newExtension(String uri, Type value, boolean evenIfNull)
-
newCodeableConcept
public static CodeableConcept newCodeableConcept(String code, String system, String display)
-
makeReference
public static Reference makeReference(String url)
-
newNarrative
public static Narrative newNarrative(Narrative.NarrativeStatus status, String html) throws IOException, org.hl7.fhir.exceptions.FHIRException
- Throws:
IOExceptionorg.hl7.fhir.exceptions.FHIRException
-
makeCoding
public static Coding makeCoding(String code) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeReference
public static Reference makeReference(String url, String text)
-
createUUID
public static String createUUID()
-
-