Package org.hl7.fhir.dstu3.utils
Class ToolingExtensions
java.lang.Object
org.hl7.fhir.dstu3.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
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
addAllowedResource
(Questionnaire.QuestionnaireItemComponent group, String value) static void
addControl
(Questionnaire.QuestionnaireItemComponent group, String value) static void
addCSComment
(CodeSystem.ConceptDefinitionComponent 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
addFhirType
(Questionnaire.QuestionnaireItemComponent group, String value) static void
addFlyOver
(Questionnaire.QuestionnaireItemComponent item, 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
addMarkdownExtension
(DomainResource dr, String url, String content) static void
addMax
(Questionnaire.QuestionnaireItemComponent item, int max) static void
addMin
(Questionnaire.QuestionnaireItemComponent item, int min) static void
addReferenceFilter
(Questionnaire.QuestionnaireItemComponent group, String value) static void
addStringExtension
(DomainResource e, String url, String content) static void
addStringExtension
(Element e, String url, String content) static void
static void
addVSComment
(ValueSet.ConceptReferenceComponent nc, String comment) static void
addVSComment
(ValueSet.ConceptSetComponent nc, String comment) static boolean
findBooleanExtension
(Element c, String uri) static boolean
findStringExtension
(Element c, String uri) static Type
static String
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 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 Boolean
readBooleanExtension
(Element c, String uri) static int
readIntegerExtension
(DomainResource dr, String uri, int defaultValue) 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
setCodeExtension
(DomainResource resource, String uri, String value) static void
setCodeExtensionMod
(BackboneElement resource, String uri, String value) static void
setCodeExtensionMod
(DomainResource resource, String uri, String value) static void
setExtension
(Element focus, String url, Coding c) static void
setIntegerExtension
(DomainResource resource, String uri, int value) 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_DEFINITION
- See Also:
-
EXT_CS_COMMENT
- See Also:
-
EXT_VS_COMMENT
- See Also:
-
EXT_TRANSLATION
- See Also:
-
EXT_ISSUE_SOURCE
- See Also:
-
EXT_DISPLAY_HINT
- See Also:
-
EXT_REPLACED_BY
- See Also:
-
EXT_JSON_TYPE
- See Also:
-
EXT_RDF_TYPE
- See Also:
-
EXT_XML_TYPE
- See Also:
-
EXT_REGEX
- See Also:
-
EXT_CONTROL
- See Also:
-
EXT_MINOCCURS
- See Also:
-
EXT_MAXOCCURS
- See Also:
-
EXT_ALLOWEDRESOURCE
- See Also:
-
EXT_REFERENCEFILTER
- See Also:
-
EXT_CODE_GENERATION_PARENT
- See Also:
-
EXT_MAPPING_PREFIX
- See Also:
-
EXT_MAPPING_SUFFIX
- See Also:
-
EXT_QTYPE
- See Also:
-
EXT_CIMI_REFERENCE
- See Also:
-
EXT_UNCLOSED
- See Also:
-
EXT_FMM_LEVEL
- See Also:
-
EXT_RESOURCE_CATEGORY
- See Also:
-
EXT_TABLE_NAME
- See Also:
-
EXT_OO_FILE
- See Also:
-
EXT_WORKGROUP
- See Also:
-
EXT_BALLOT_STATUS
- See Also:
-
-
Constructor Details
-
ToolingExtensions
public ToolingExtensions()
-
-
Method Details
-
makeIssueSource
public static Extension makeIssueSource(org.hl7.fhir.utilities.validation.ValidationMessage.Source source) -
hasExtension
-
hasExtension
-
addMarkdownExtension
-
addStringExtension
-
addStringExtension
-
addIntegerExtension
-
addVSComment
-
addVSComment
-
addCSComment
-
addSubsumes
-
addDefinition
-
addDisplayHint
-
getDisplayHint
-
readStringExtension
-
readStringExtension
-
readPrimitiveExtension
-
findStringExtension
-
readBooleanExtension
-
findBooleanExtension
-
getCSComment
-
hasCSComment
-
getSubsumes
-
addFlyOver
-
addMin
-
addMax
-
addFhirType
-
addControl
-
addAllowedResource
-
addReferenceFilter
-
addIdentifier
-
getExtension
- Parameters:
name
- the identity of the extension of interest- Returns:
- The extension, if on this element, else null
-
getExtension
-
setStringExtension
-
setStringExtension
-
setCodeExtension
-
setIntegerExtension
-
setCodeExtensionMod
-
setCodeExtensionMod
-
hasLanguageTranslation
-
getLanguageTranslation
-
addLanguageTranslation
-
getAllowedUnits
-
setAllowableUnits
-
getExtensions
-
getExtensions
-
addDEReference
-
setExtension
-
removeExtension
-
removeExtension
-
readIntegerExtension
-