Package org.hl7.fhir.r5.utils
Class ToolingExtensions
java.lang.Object
org.hl7.fhir.r5.utils.ToolingExtensions
- Direct Known Subclasses:
BuildExtensions
-
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
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
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
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
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
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
addBooleanExtension
(DomainResource e, String url, boolean content) static void
addBooleanExtension
(Element e, String url, boolean content) static void
addCodeExtension
(DomainResource dr, String url, String value) static void
addCodeExtension
(Element e, String url, String content) 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
addDisplayHint
(Element def, String hint) static void
addFhirType
(Questionnaire.QuestionnaireItemComponent group, String value) static void
addFlyOver
(Questionnaire.QuestionnaireItemComponent item, String text, String linkId) 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
addUriExtension
(DomainResource dr, String url, String value) static void
addUriExtension
(Element e, String url, String content) static void
addUrlExtension
(DomainResource dr, String url, String value) static void
addUrlExtension
(Element e, String url, String content) static void
addVSComment
(ValueSet.ConceptReferenceComponent nc, String comment) static void
addVSComment
(ValueSet.ConceptSetComponent nc, String comment) static int
countExtensions
(ElementDefinition d, String... urls) static boolean
findBooleanExtension
(DomainResource c, String uri) static boolean
findBooleanExtension
(Element c, String uri) static boolean
findStringExtension
(Element c, String uri) static DataType
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 StringType
getLanguageTranslationElement
(Element element, String lang) static String
getPresentation
(Element holder, PrimitiveType<?> type) static String
getPresentation
(PrimitiveType<?> type) static org.hl7.fhir.utilities.StandardsStatus
static org.hl7.fhir.utilities.StandardsStatus
static boolean
static boolean
hasAnyOfExtensions
(DomainResource dr, String... urls) static boolean
hasAnyOfExtensions
(Element d, String... urls) static boolean
static boolean
hasExtension
(DomainResource de, String url) static boolean
hasExtension
(Element e, String url) static boolean
hasLanguageTranslation
(Element element, String lang) static boolean
hasLanguageTranslations
(Element element) static Extension
makeIssueMessageId
(String msgId) static Extension
makeIssueSource
(org.hl7.fhir.utilities.validation.ValidationMessage.Source source) static Boolean
readBooleanExtension
(DomainResource c, String uri) static Boolean
readBooleanExtension
(Element c, String uri) static boolean
readBoolExtension
(DomainResource c, String uri) static boolean
readBoolExtension
(Element e, String uri) static int
readIntegerExtension
(DomainResource dr, String uri, int defaultValue) static int
readIntegerExtension
(Element e, String uri, int defaultValue) static PrimitiveType
<DataType> static String
readStringExtension
(DomainResource c, String uri) static String
readStringExtension
(DomainResource c, String... uris) static String
readStringExtension
(Element c, String uri) static String
readStringExtension
(Element c, String... uris) static String
static org.hl7.fhir.utilities.validation.ValidationMessage
readValidationMessage
(OperationOutcome.OperationOutcomeIssueComponent issue, org.hl7.fhir.utilities.validation.ValidationMessage.Source source) 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
setCodeExtension
(Element element, 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
setLanguageTranslation
(Element element, String lang, String value) static void
setStandardsStatus
(DomainResource dr, org.hl7.fhir.utilities.StandardsStatus status, String normativeVersion) static void
setStandardsStatus
(Element dr, org.hl7.fhir.utilities.StandardsStatus status, String normativeVersion) static void
setStringExtension
(DomainResource resource, String uri, String value) static void
setStringExtension
(Element resource, String uri, String value) static void
setUriExtension
(DomainResource resource, String uri, String value) static void
setUriExtension
(Element resource, String uri, String value) static void
setUrlExtension
(DomainResource resource, String uri, String value) static void
setUrlExtension
(Element resource, String uri, String value) static boolean
usesExtension
(String url, Base base)
-
Field Details
-
EXT_ISSUE_MSG_ID
- See Also:
-
EXT_ISSUE_LINE
- See Also:
-
EXT_ISSUE_COL
- See Also:
-
EXT_OO_FILE
- See Also:
-
EXT_RESOURCE_IMPLEMENTS
- See Also:
-
EXT_XML_TYPE
- See Also:
-
EXT_XML_NAME_DEPRECATED
- See Also:
-
EXT_XML_NAME
- See Also:
-
EXT_EXPLICIT_TYPE
- See Also:
-
EXT_IGP_RESOURCES
- See Also:
-
EXT_IGP_PAGES
- See Also:
-
EXT_IGP_SPREADSHEET
- See Also:
-
EXT_IGP_MAPPING_CSV
- See Also:
-
EXT_IGP_BUNDLE
- See Also:
-
EXT_IGP_BASE
- See Also:
-
EXT_IGP_DEFNS
- See Also:
-
EXT_IGP_FORMAT
- See Also:
-
EXT_IGP_SOURCE
- See Also:
-
EXT_IGP_CONTAINED_RESOURCE_INFO
- See Also:
-
EXT_BINARY_FORMAT_OLD
- See Also:
-
EXT_BINARY_FORMAT_NEW
- See Also:
-
EXT_BINARY_LOGICAL
- See Also:
-
EXT_IGP_RESOURCE_INFO
- See Also:
-
EXT_IGP_LOADVERSION
- See Also:
-
EXT_LIST_PACKAGE
- See Also:
-
EXT_JSON_NAME_DEPRECATED
- See Also:
-
EXT_JSON_NAME
- See Also:
-
EXT_BINDING_STYLE
- See Also:
-
EXT_EXTENSION_STYLE
- See Also:
-
EXT_LOGICAL_TARGET
- See Also:
-
EXT_LOGICAL_CONTAINER
- See Also:
-
EXT_PROFILE_MAPPING
- See Also:
-
EXT_CS_ALTERNATE_USE
- See Also:
-
EXT_CS_ALTERNATE_STATUS
- See Also:
-
EXT_OBLIGATION_PROFILE_FLAG
- See Also:
-
EXT_OBLIGATION_INHERITS
- See Also:
-
EXT_DAR
- See Also:
-
EXT_NF
- See Also:
-
EXT_OT
- See Also:
-
EXT_CQF_EXP
- See Also:
-
EXT_PATTERN
- See Also:
-
EXT_ALLOWEDRESOURCE
- See Also:
-
EXT_ALLOWED_TYPE
- See Also:
-
EXT_BEST_PRACTICE
- See Also:
-
EXT_BEST_PRACTICE_EXPLANATION
- See Also:
-
EXT_BINDING_NAME
- See Also:
-
EXT_CONTROL
- See Also:
-
EXT_CS_COMMENT
- See Also:
-
EXT_CS_KEYWORD
- See Also:
-
EXT_DEFINITION
- See Also:
-
EXT_DISPLAY_HINT
- See Also:
-
EXT_EXPAND_GROUP
- See Also:
-
EXT_EXPAND_RULES
- See Also:
-
EXT_EXP_TOOCOSTLY
- See Also:
-
EXT_FHIR_TYPE
- See Also:
-
EXT_FMM_DERIVED
- See Also:
-
EXT_FMM_LEVEL
- See Also:
-
EXT_FMM_SUPPORT
- See Also:
-
EXT_HIERARCHY
- See Also:
-
EXT_ISSUE_SOURCE
- See Also:
-
EXT_MAXOCCURS
- See Also:
-
EXT_MAX_DECIMALS
- See Also:
-
EXT_MAX_SIZE
- See Also:
-
EXT_MAX_VALUESET
- See Also:
-
EXT_MINOCCURS
- See Also:
-
EXT_MIN_LENGTH
- See Also:
-
EXT_MIN_VALUESET
- See Also:
-
EXT_MUST_SUPPORT
- See Also:
-
EXT_NORMATIVE_VERSION
- See Also:
-
EXT_PROFILE_ELEMENT
- See Also:
-
EXT_QTYPE
- See Also:
-
EXT_Q_UNIT
- See Also:
-
EXT_REFERENCEFILTER
- See Also:
-
EXT_REGEX
- See Also:
-
EXT_RENDERED_VALUE
- See Also:
-
EXT_REPLACED_BY
- See Also:
-
EXT_RESOURCE_CATEGORY
- See Also:
-
EXT_RESOURCE_INTERFACE
- See Also:
-
EXT_SEC_CAT
- See Also:
-
EXT_STANDARDS_STATUS
- See Also:
-
EXT_STANDARDS_STATUS_REASON
- See Also:
-
EXT_TABLE_NAME
- See Also:
-
EXT_TARGET_ID
- See Also:
-
EXT_TARGET_PATH
- See Also:
-
EXT_TRANSLATABLE
- See Also:
-
EXT_TRANSLATION
- See Also:
-
EXT_UNCLOSED
- See Also:
-
EXT_VALUESET_SYSTEM
- See Also:
-
EXT_VS_COMMENT
- See Also:
-
EXT_VS_KEYWORD
- See Also:
-
EXT_WORKGROUP
- See Also:
-
EXT_XML_NAMESPACE_DEPRECATED
- See Also:
-
EXT_XML_NAMESPACE
- See Also:
-
EXT_OLD_CONCEPTMAP_EQUIVALENCE
- See Also:
-
EXT_Q_IS_SUBJ
- See Also:
-
EXT_Q_HIDDEN
- See Also:
-
EXT_Q_OTP_DISP
- See Also:
-
EXT_O_LINK_PERIOD
- See Also:
-
EXT_Q_CHOICE_ORIENT
- See Also:
-
EXT_Q_DISPLAY_CAT
- See Also:
-
EXT_REND_MD
- See Also:
-
EXT_CAP_STMT_EXPECT
- See Also:
-
EXT_ED_HIERARCHY
- See Also:
-
EXT_SD_IMPOSE_PROFILE
- See Also:
-
EXT_SD_COMPLIES_WITH_PROFILE
- See Also:
-
EXT_DEF_TYPE
- See Also:
-
EXT_TYPE_SPEC
- See Also:
-
EXT_TYPE_CHARACTERISTICS
- See Also:
-
EXT_PRIVATE_BASE
- See Also:
-
EXT_BINDING_ADDITIONAL
- See Also:
-
EXT_JSON_PROP_KEY
- See Also:
-
EXT_JSON_EMPTY
- See Also:
-
EXT_JSON_NULLABLE
- See Also:
-
EXT_IMPLIED_PREFIX
- See Also:
-
EXT_DATE_FORMAT
- See Also:
-
EXT_ID_EXPECTATION
- See Also:
-
EXT_JSON_PRIMITIVE_CHOICE
- See Also:
-
EXT_SUMMARY
- See Also:
-
EXT_BINDING_DEFINITION
- See Also:
-
EXT_MAPPING_PREFIX
- See Also:
-
EXT_MAPPING_SUFFIX
- See Also:
-
EXT_MAPPING_NAME
- See Also:
-
EXT_MAPPING_TYPE
- See Also:
-
EXT_MAPPING_CARD
- See Also:
-
EXT_MAPPING_TGTTYPE
- See Also:
-
EXT_MAPPING_TGTCARD
- See Also:
-
WEB_EXTENSION_STYLE
- See Also:
-
WEB_BINDING_STYLE
- See Also:
-
EXT_IGDEP_COMMENT
- See Also:
-
EXT_XPATH_CONSTRAINT
- See Also:
-
EXT_OBLIGATION_TOOLS
- See Also:
-
EXT_OBLIGATION_CORE
- See Also:
-
EXT_NO_BINDING
- See Also:
-
EXT_ID_CHOICE_GROUP
- See Also:
-
EXT_DATE_RULES
- See Also:
-
EXT_PROFILE_STYLE
- See Also:
-
EXT_RESOURCE_NAME
- See Also:
-
EXT_RESOURCE_DESC
- See Also:
-
EXT_ARTIFACT_NAME
- See Also:
-
EXT_ARTIFACT_DESC
- See Also:
-
EXT_ED_SUPPRESS
- See Also:
-
EXT_SEARCH_PARAMETER_BASE
- See Also:
-
EXT_ISSUE_SLICE_INFO
- See Also:
-
EXT_ISSUE_SERVER
- See Also:
-
EXT_WEB_SOURCE
- See Also:
-
EXT_APPLICABLE_VERSION
- See Also:
-
EXT_APPLICABLE_VERSION_VALUE
- See Also:
-
EXT_IG_URL
- See Also:
-
EXT_VS_CS_SUPPL_NEEDED
- See Also:
-
EXT_TYPE_PARAMETER
- See Also:
-
EXT_ALTERNATE_CANONICAL
- See Also:
-
EXT_SUPPRESSED
- See Also:
-
-
Constructor Details
-
ToolingExtensions
public ToolingExtensions()
-
-
Method Details
-
makeIssueSource
public static Extension makeIssueSource(org.hl7.fhir.utilities.validation.ValidationMessage.Source source) -
makeIssueMessageId
-
hasExtension
-
hasExtension
-
addMarkdownExtension
-
addStringExtension
-
addCodeExtension
-
addStringExtension
-
addBooleanExtension
-
addBooleanExtension
-
addIntegerExtension
-
addCodeExtension
-
addVSComment
-
addVSComment
-
addCSComment
-
addDefinition
-
addDisplayHint
-
getDisplayHint
-
readStringExtension
-
readStringFromExtension
-
readStringExtension
-
readStringExtension
-
readStringExtension
-
readPrimitiveExtension
-
findStringExtension
-
readBooleanExtension
-
findBooleanExtension
-
readBooleanExtension
-
readBoolExtension
-
readBoolExtension
-
findBooleanExtension
-
getCSComment
-
hasCSComment
-
addFlyOver
public static void addFlyOver(Questionnaire.QuestionnaireItemComponent item, String text, String linkId) -
addMin
-
addMax
-
addFhirType
-
addControl
-
addAllowedResource
-
addReferenceFilter
-
getExtension
- Parameters:
name
- the identity of the extension of interest- Returns:
- The extension, if on this element, else null
-
getExtension
-
setStringExtension
-
setStringExtension
-
setUriExtension
-
setUriExtension
-
setUrlExtension
-
setUrlExtension
-
setCodeExtension
-
setCodeExtensionMod
-
setCodeExtensionMod
-
setCodeExtension
-
setIntegerExtension
-
hasLanguageTranslations
-
hasLanguageTranslation
-
getLanguageTranslation
-
getLanguageTranslationElement
-
addLanguageTranslation
-
setLanguageTranslation
-
hasAllowedUnits
-
getAllowedUnits
-
setAllowableUnits
-
getExtensions
-
getExtensions
-
setExtension
-
removeExtension
-
removeExtension
-
readIntegerExtension
-
readIntegerExtension
-
getLanguageTranslations
-
getStandardsStatus
public static org.hl7.fhir.utilities.StandardsStatus getStandardsStatus(DomainResource dr) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
getStandardsStatus
public static org.hl7.fhir.utilities.StandardsStatus getStandardsStatus(Element e) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
setStandardsStatus
public static void setStandardsStatus(DomainResource dr, org.hl7.fhir.utilities.StandardsStatus status, String normativeVersion) -
setStandardsStatus
public static void setStandardsStatus(Element dr, org.hl7.fhir.utilities.StandardsStatus status, String normativeVersion) -
readValidationMessage
public static org.hl7.fhir.utilities.validation.ValidationMessage readValidationMessage(OperationOutcome.OperationOutcomeIssueComponent issue, org.hl7.fhir.utilities.validation.ValidationMessage.Source source) -
getPresentation
-
getPresentation
-
addUrlExtension
-
addUrlExtension
-
addUriExtension
-
addUriExtension
-
usesExtension
-
allConsts
-
hasAnyOfExtensions
-
hasAnyOfExtensions
-
countExtensions
-