Package org.hl7.fhir.dstu2.utils
Class ToolingExtensions
java.lang.Object
org.hl7.fhir.dstu2.utils.ToolingExtensions
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addComment
(Element nc, String comment) static void
addDefinition
(Element nc, String definition) static void
addDEReference
(DataElement de, String value) static void
addDisplayHint
(Element def, String hint) static void
addFilterOnly
(Reference element, boolean value) static void
addFlyOver
(Element element, String text) static void
addFlyOver
(Questionnaire.GroupComponent group, String text) static void
addIdentifier
(Element element, Identifier value) static void
addIntegerExtension
(DomainResource dr, String url, int value) static void
addLanguageTranslation
(Element element, String lang, String value) static void
addReference
(Questionnaire.QuestionComponent group, String value) static void
addStringExtension
(DomainResource dr, String url, String content) static void
addStringExtension
(Element e, String url, String content) static void
static void
addType
(Questionnaire.GroupComponent group, String value) static boolean
findBooleanExtension
(Element c, String uri) static boolean
findStringExtension
(Element c, String uri) static Type
static String
static Boolean
static String
getDisplayHint
(Element def) static Extension
getExtension
(DomainResource resource, String name) static Extension
getExtension
(Element el, String name) getExtensions
(DomainResource resource, String url) getExtensions
(Element element, String url) static String
getLanguageTranslation
(Element element, String lang) static String
static String
static boolean
static boolean
static boolean
hasExtension
(DomainResource de, String url) static boolean
hasExtension
(Element e, String url) static boolean
hasLanguageTranslation
(Element element, String lang) static Extension
makeIssueSource
(org.hl7.fhir.utilities.validation.ValidationMessage.Source source) static void
static Boolean
readBooleanExtension
(Element c, String uri) static PrimitiveType
<Type> static String
readStringExtension
(DomainResource c, String uri) static String
readStringExtension
(Element c, String uri) static void
removeExtension
(DomainResource focus, String url) static void
removeExtension
(Element focus, String url) static void
static void
setDeprecated
(Element nc) static void
setExtension
(Element focus, String url, Coding c) static void
setOID
(ValueSet.ValueSetCodeSystemComponent define, String oid) static void
static void
setQuestionReference
(Questionnaire.GroupComponent group, String text) static void
setQuestionType
(Questionnaire.GroupComponent group, String text) static void
setStringExtension
(DomainResource resource, String uri, String value) static void
setStringExtension
(Element element, String uri, String value)
-
Field Details
-
EXT_SUBSUMES
- See Also:
-
EXT_DEPRECATED
- See Also:
-
EXT_DEFINITION
- See Also:
-
EXT_COMMENT
- See Also:
-
EXT_ISSUE_SOURCE
- See Also:
-
EXT_DISPLAY_HINT
- See Also:
-
EXT_REPLACED_BY
- See Also:
-
EXT_JSON_TYPE
- See Also:
-
EXT_XML_TYPE
- See Also:
-
EXT_REGEX
- See Also:
-
EXT_EXPRESSION
- See Also:
-
EXT_SEARCH_EXPRESSION
- See Also:
-
EXT_FLYOVER
- See Also:
-
EXT_CIMI_REFERENCE
- See Also:
-
EXT_UNCLOSED
- See Also:
-
EXT_FMM_LEVEL
- See Also:
-
-
Constructor Details
-
ToolingExtensions
public ToolingExtensions()
-
-
Method Details
-
makeIssueSource
public static Extension makeIssueSource(org.hl7.fhir.utilities.validation.ValidationMessage.Source source) -
hasExtension
-
hasExtension
-
addStringExtension
-
addStringExtension
-
addIntegerExtension
-
addComment
-
markDeprecated
-
addSubsumes
-
addDefinition
-
addDisplayHint
-
getDisplayHint
-
readStringExtension
-
readStringExtension
-
readPrimitiveExtension
-
findStringExtension
-
readBooleanExtension
-
findBooleanExtension
-
getComment
-
getDeprecated
-
hasComment
-
hasDeprecated
-
getSubsumes
-
addFlyOver
-
setQuestionType
-
setQuestionReference
-
addFlyOver
-
addFilterOnly
-
addType
-
addReference
-
addIdentifier
-
getExtension
- Parameters:
name
- the identity of the extension of interest- Returns:
- The extension, if on this element, else null
-
getExtension
-
setStringExtension
-
getOID
-
getOID
-
setOID
public static void setOID(ValueSet.ValueSetCodeSystemComponent define, String oid) throws org.hl7.fhir.exceptions.FHIRFormatError, URISyntaxException - Throws:
org.hl7.fhir.exceptions.FHIRFormatError
URISyntaxException
-
setOID
public static void setOID(ValueSet vs, String oid) throws org.hl7.fhir.exceptions.FHIRFormatError, URISyntaxException - Throws:
org.hl7.fhir.exceptions.FHIRFormatError
URISyntaxException
-
hasLanguageTranslation
-
getLanguageTranslation
-
addLanguageTranslation
-
getAllowedUnits
-
setAllowableUnits
-
getExtensions
-
getExtensions
-
addDEReference
-
setDeprecated
-
setExtension
-
removeExtension
-
removeExtension
-
setStringExtension
-