public class Factory extends Object
| Constructor and Description |
|---|
Factory() |
| Modifier and Type | Method and Description |
|---|---|
Type |
create(String name) |
static String |
createUUID() |
static Coding |
makeCoding(String code) |
static Reference |
makeReference(String url) |
static Reference |
makeReference(String url,
String text) |
static BooleanType |
newBoolean(boolean value) |
static CodeType |
newCode(String value) |
static CodeableConcept |
newCodeableConcept(String code,
String system,
String display) |
static ContactPoint |
newContactPoint(ContactPoint.ContactPointSystem system,
String value) |
static DateType |
newDate(String value) |
static DateTimeType |
newDateTime(String value) |
static Extension |
newExtension(String uri,
Type value,
boolean evenIfNull) |
static IdType |
newId(String value) |
static IntegerType |
newInteger(int value) |
static IntegerType |
newInteger(Integer value) |
static Narrative |
newNarrative(Narrative.NarrativeStatus status,
String html) |
static StringType |
newString_(String value) |
static UriType |
newUri(String value) |
public Factory()
public static StringType newString_(String value)
public static UriType newUri(String value) throws URISyntaxException
URISyntaxExceptionpublic static DateTimeType newDateTime(String value) throws ParseException
ParseExceptionpublic static DateType newDate(String value) throws ParseException
ParseExceptionpublic static IntegerType newInteger(int value)
public static IntegerType newInteger(Integer value)
public static BooleanType newBoolean(boolean value)
public static ContactPoint newContactPoint(ContactPoint.ContactPointSystem system, String value)
public static Extension newExtension(String uri, Type value, boolean evenIfNull)
public static CodeableConcept newCodeableConcept(String code, String system, String display)
public static Reference makeReference(String url)
public static Narrative newNarrative(Narrative.NarrativeStatus status, String html) throws IOException, FHIRException
IOExceptionFHIRExceptionpublic static Coding makeCoding(String code) throws FHIRException
FHIRExceptionpublic static Reference makeReference(String url, String text)
public static String createUUID()
public Type create(String name) throws FHIRException
FHIRExceptionCopyright © 2014–2017 University Health Network. All rights reserved.