ElementDefinition adornments
This commit is contained in:
parent
264e79bc24
commit
7a7e3240b4
|
@ -11574,6 +11574,22 @@ When pattern[x] is used to constrain a complex object, it means that each proper
|
|||
return "0".equals(getMax());
|
||||
}
|
||||
|
||||
public boolean hasFixedOrPattern() {
|
||||
return hasFixed() || hasPattern();
|
||||
}
|
||||
|
||||
public DataType getFixedOrPattern() {
|
||||
return hasFixed() ? getFixed() : getPattern();
|
||||
}
|
||||
|
||||
public boolean isProhibited() {
|
||||
return "0".equals(getMax());
|
||||
}
|
||||
|
||||
public boolean isRequired() {
|
||||
return getMin() == 1;
|
||||
}
|
||||
|
||||
|
||||
// end addition
|
||||
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -19,7 +19,7 @@
|
|||
|
||||
<properties>
|
||||
<hapi_fhir_version>5.4.0</hapi_fhir_version>
|
||||
<validator_test_case_version>1.1.98</validator_test_case_version>
|
||||
<validator_test_case_version>1.1.99-SNAPSHOT</validator_test_case_version>
|
||||
<junit_jupiter_version>5.7.1</junit_jupiter_version>
|
||||
<junit_platform_launcher_version>1.7.1</junit_platform_launcher_version>
|
||||
<maven_surefire_version>3.0.0-M5</maven_surefire_version>
|
||||
|
|
Loading…
Reference in New Issue