Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Gazelle Objects Checker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gazelle
Library
Gazelle Objects Checker
Commits
59987c30
Commit
59987c30
authored
2 years ago
by
Achraf Achkari
Browse files
Options
Downloads
Patches
Plain Diff
Fix template requirement issue
parent
8becde34
No related branches found
Branches containing commit
No related tags found
Tags containing commit
3 merge requests
!36
[GOC-247] Fix cardinality processing and use extended element provided in BBR...
,
!35
[GOC-247] Fix cardinality processing and use extended element provided in BBR...
,
!33
Draft: Develop
Pipeline
#658075
failed
2 years ago
Stage: build
Stage: test
Stage: publish
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hl7templates/hl7templates-generator-jar/src/main/java/net/ihe/gazelle/tempgen/action/RuleDefinitionAnalyzer.java
+3
-3
3 additions, 3 deletions
...et/ihe/gazelle/tempgen/action/RuleDefinitionAnalyzer.java
with
3 additions
and
3 deletions
hl7templates/hl7templates-generator-jar/src/main/java/net/ihe/gazelle/tempgen/action/RuleDefinitionAnalyzer.java
+
3
−
3
View file @
59987c30
...
...
@@ -140,6 +140,9 @@ public class RuleDefinitionAnalyzer extends RuleDefinitionProcessorImpl {
AnalyzerEnum
.
RULE_DEF_GENERAL_PROCESS
.
getValue
());
return
;
}
if
(
objects
.
length
>
1
)
{
this
.
ignoreTemplateIdRequirements
=
(
Boolean
)
objects
[
1
];
}
this
.
selectedRuleDefinition
=
ruleDefinition
;
boolean
isTemplateId
=
(
this
.
selectedRuleDefinition
.
getName
().
matches
(
".*:templateId"
)
||
this
.
selectedRuleDefinition
.
getName
().
matches
(
"templateId"
));
if
(
this
.
ignoreTemplateIdRequirements
.
booleanValue
()
&&
this
.
selectedRuleDefinition
.
getName
()
!=
null
&&
isTemplateId
)
{
...
...
@@ -149,9 +152,6 @@ public class RuleDefinitionAnalyzer extends RuleDefinitionProcessorImpl {
if
(!
isTemplateId
){
this
.
generateDTDistinguisher
=
(
RuleDefinitionDistinguisherUtil
.
elementShouldBeDistinguisedByDT
(
this
.
selectedRuleDefinition
,
this
.
selectedRuleDefinition
.
getParentObject
()));
}
if
(
objects
.
length
>
1
)
{
this
.
ignoreTemplateIdRequirements
=
(
Boolean
)
objects
[
1
];
}
// catch error in numbered predicates
if
(!
RuleDefinitionProblemUtil
.
verifyIfRuleDefinitionIsTreatable
(
this
.
selectedRuleDefinition
))
{
String
name
=
selectedRuleDefinition
!=
null
?
selectedRuleDefinition
.
getName
()
:
null
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment