Package org.hl7.fhir.r4.utils
Class ToolingExtensions
java.lang.Object
org.hl7.fhir.r4.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
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) 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
addUriExtension
(Element e, String url, String uri) static void
addUrlExtension
(Element e, String url, String value) static void
addVSComment
(ValueSet.ConceptReferenceComponent nc, String comment) static void
addVSComment
(ValueSet.ConceptSetComponent nc, String comment) static boolean
findBooleanExtension
(DomainResource c, String uri) 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 org.hl7.fhir.utilities.StandardsStatus
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
(DomainResource c, String uri) static Boolean
readBooleanExtension
(Element c, String uri) static boolean
readBoolExtension
(DomainResource c, String uri) static int
readIntegerExtension
(DomainResource dr, String uri, int defaultValue) static int
readIntegerExtension
(Element e, String uri, int defaultValue) static PrimitiveType<Type>
static String
readStringExtension
(DomainResource c, String uri) static String
readStringExtension
(Element c, String uri) 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
setExtension
(Element focus, String url, Coding c) static void
setIntegerExtension
(DomainResource resource, String uri, int 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)
-
Field Details
-
EXT_DEFINITION
- See Also:
-
EXT_CS_COMMENT
- See Also:
-
EXT_VS_COMMENT
- See Also:
-
EXT_TRANSLATION
- See Also:
-
EXT_ISSUE_SOURCE
- See Also:
-
EXT_ISSUE_LINE
- See Also:
-
EXT_ISSUE_COL
- See Also:
-
EXT_DISPLAY_HINT
- See Also:
-
EXT_REPLACED_BY
- 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_HIERARCHY
- See Also:
-
EXT_BEST_PRACTICE
- See Also:
-
EXT_BEST_PRACTICE_EXPLANATION
- 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_SEC_CAT
- See Also:
-
EXT_RESOURCE_CATEGORY
- See Also:
-
EXT_TABLE_NAME
- See Also:
-
EXT_OO_FILE
- See Also:
-
EXT_WORKGROUP
- See Also:
-
EXT_STANDARDS_STATUS
- See Also:
-
EXT_NORMATIVE_VERSION
- See Also:
-
EXT_IGP_BASE
- See Also:
-
EXT_IGP_DEFNS
- See Also:
-
EXT_IGP_FORMAT
- See Also:
-
EXT_IGP_SOURCE
- See Also:
-
EXT_IGP_VERSION
- 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_RESOURCE_INFO
- See Also:
-
EXT_IGP_LOADVERSION
- See Also:
-
EXT_MAX_VALUESET
- See Also:
-
EXT_MIN_VALUESET
- See Also:
-
EXT_PROFILE_ELEMENT
- See Also:
-
EXT_LIST_PACKAGE
- 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:
-
EXT_PRIVATE_BASE
- See Also:
-
EXT_ALLOWED_TYPE
- See Also:
-
EXT_FHIR_TYPE
- See Also:
-
EXT_XML_TYPE
- See Also:
-
EXT_JSON_TYPE
- See Also:
-
EXT_ORIGINAL_ITEM_TYPE
- See Also:
-
EXT_ORIGINAL_VARIABLE_TYPE
- 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
-
addCodeExtension
-
addStringExtension
-
addUrlExtension
-
addUriExtension
-
addBooleanExtension
-
addBooleanExtension
-
addIntegerExtension
-
addCodeExtension
-
addVSComment
-
addVSComment
-
addCSComment
-
addDefinition
-
addDisplayHint
-
getDisplayHint
-
readStringExtension
-
readStringExtension
-
readPrimitiveExtension
-
findStringExtension
-
readBooleanExtension
-
findBooleanExtension
-
readBooleanExtension
-
readBoolExtension
-
findBooleanExtension
-
getCSComment
-
hasCSComment
-
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
-
setCodeExtension
-
setIntegerExtension
-
hasLanguageTranslation
-
getLanguageTranslation
-
addLanguageTranslation
-
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
-
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)
-