Package org.hl7.fhir.dstu3.model
Class Factory
java.lang.Object
org.hl7.fhir.dstu3.model.Factory
- Direct Known Subclasses:
ResourceFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
static Coding
makeCoding
(String code) static Reference
makeReference
(String url) static Reference
makeReference
(String url, String text) static BooleanType
newBoolean
(boolean value) static CodeType
static CodeableConcept
newCodeableConcept
(String code, String system, String display) static ContactPoint
newContactPoint
(ContactPoint.ContactPointSystem system, String value) static DateType
static DateTimeType
newDateTime
(String value) static Extension
newExtension
(String uri, Type value, boolean evenIfNull) static IdType
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
-
Constructor Details
-
Factory
public Factory()
-
-
Method Details
-
newId
-
newString_
-
newUri
- Throws:
URISyntaxException
-
newDateTime
- Throws:
ParseException
-
newDate
- Throws:
ParseException
-
newCode
-
newInteger
-
newInteger
-
newBoolean
-
newContactPoint
-
newExtension
-
newCodeableConcept
-
makeReference
-
newNarrative
public static Narrative newNarrative(Narrative.NarrativeStatus status, String html) throws IOException, org.hl7.fhir.exceptions.FHIRException - Throws:
IOException
org.hl7.fhir.exceptions.FHIRException
-
makeCoding
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeReference
-
createUUID
-
create
- Throws:
org.hl7.fhir.exceptions.FHIRException
-