Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
ce0f4a2700
|
@ -1,23 +1,7 @@
|
|||
## Validator Changes
|
||||
|
||||
* fix value set validation on import validation to find external value sets
|
||||
* Fix terminology tester for change to language header
|
||||
* Adjust wording of R5 slicing check
|
||||
* Sort entries in error message about profiles to make the order reproducible
|
||||
|
||||
## Security Issues
|
||||
|
||||
* Automate testing for XMLUtils factory methods
|
||||
* no changes
|
||||
|
||||
## Other code changes
|
||||
|
||||
* update language files and add french
|
||||
* make HTA messages translatable
|
||||
* new release - pubpack
|
||||
* NPE fixes
|
||||
* suppress Json resourceType property in some logical models
|
||||
* Fix missing isModifierReason on modifier extensions
|
||||
* fix bug converting NamingSystem.url between versions
|
||||
* Fix IG dependsOn.reason conversion
|
||||
* fix code generation for enums
|
||||
* Whitespace formatting and support for complex extensions
|
||||
* no changes
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<groupId>ca.uhn.hapi.fhir</groupId>
|
||||
<artifactId>org.hl7.fhir.core</artifactId>
|
||||
<version>6.4.3-SNAPSHOT</version>
|
||||
<version>6.4.4-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -18,6 +18,7 @@ import org.hl7.fhir.convertors.conv40_50.datatypes40_50.primitive40_50.Url40_50;
|
|||
import org.hl7.fhir.convertors.conv40_50.datatypes40_50.special40_50.Reference40_50;
|
||||
import org.hl7.fhir.exceptions.FHIRException;
|
||||
import org.hl7.fhir.r4.model.Extension;
|
||||
import org.hl7.fhir.r4.model.MarkdownType;
|
||||
import org.hl7.fhir.r4.model.UrlType;
|
||||
import org.hl7.fhir.r5.model.CanonicalType;
|
||||
import org.hl7.fhir.r5.model.ImplementationGuide;
|
||||
|
@ -59,6 +60,7 @@ public class ImplementationGuide40_50 {
|
|||
static final String EXT_IG_DEFINITION_PARAM_URL_EXT = "http://hl7.org/fhir/tools/CodeSystem/ig-parameters";
|
||||
static final String EXT_IG_DEFINITION_PARAM_URL_BASE = "http://hl7.org/fhir/guide-parameter-code";
|
||||
static final String EXT_IG_DEFINITION_RESOURCE_PROFILE = "http://hl7.org/fhir/5.0/StructureDefinition/extension-ImplementationGuide.definition.resource.profile";
|
||||
static final String EXT_IG_DEPENDSON_REASON = "http://hl7.org/fhir/5.0/StructureDefinition/extension-ImplementationGuide.dependsOn.reason";
|
||||
|
||||
public static org.hl7.fhir.r5.model.ImplementationGuide convertImplementationGuide(org.hl7.fhir.r4.model.ImplementationGuide src) throws FHIRException {
|
||||
if (src == null)
|
||||
|
@ -180,13 +182,15 @@ public class ImplementationGuide40_50 {
|
|||
if (src == null)
|
||||
return null;
|
||||
org.hl7.fhir.r5.model.ImplementationGuide.ImplementationGuideDependsOnComponent tgt = new org.hl7.fhir.r5.model.ImplementationGuide.ImplementationGuideDependsOnComponent();
|
||||
ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyBackboneElement(src, tgt);
|
||||
ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyBackboneElement(src, tgt, EXT_IG_DEPENDSON_REASON);
|
||||
if (src.hasUri())
|
||||
tgt.setUriElement(Canonical40_50.convertCanonical(src.getUriElement()));
|
||||
if (src.hasPackageId())
|
||||
tgt.setPackageIdElement(Id40_50.convertId(src.getPackageIdElement()));
|
||||
if (src.hasVersion())
|
||||
tgt.setVersionElement(String40_50.convertString(src.getVersionElement()));
|
||||
if (src.hasExtension(EXT_IG_DEPENDSON_REASON))
|
||||
tgt.setReasonElement(MarkDown40_50.convertMarkdown((org.hl7.fhir.r4.model.MarkdownType)src.getExtensionByUrl(EXT_IG_DEPENDSON_REASON).getValue()));
|
||||
return tgt;
|
||||
}
|
||||
|
||||
|
@ -201,6 +205,8 @@ public class ImplementationGuide40_50 {
|
|||
tgt.setPackageIdElement(Id40_50.convertId(src.getPackageIdElement()));
|
||||
if (src.hasVersion())
|
||||
tgt.setVersionElement(String40_50.convertString(src.getVersionElement()));
|
||||
if (src.hasReason())
|
||||
tgt.addExtension(EXT_IG_DEPENDSON_REASON, MarkDown40_50.convertMarkdown(src.getReasonElement()));
|
||||
return tgt;
|
||||
}
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@ import java.util.stream.Collectors;
|
|||
|
||||
import org.hl7.fhir.convertors.context.ConversionContext43_50;
|
||||
import org.hl7.fhir.convertors.conv40_50.datatypes40_50.primitive40_50.Canonical40_50;
|
||||
import org.hl7.fhir.convertors.conv40_50.datatypes40_50.primitive40_50.MarkDown40_50;
|
||||
import org.hl7.fhir.convertors.conv43_50.datatypes43_50.general43_50.CodeableConcept43_50;
|
||||
import org.hl7.fhir.convertors.conv43_50.datatypes43_50.metadata43_50.ContactDetail43_50;
|
||||
import org.hl7.fhir.convertors.conv43_50.datatypes43_50.metadata43_50.UsageContext43_50;
|
||||
|
@ -55,6 +56,7 @@ public class ImplementationGuide43_50 {
|
|||
|
||||
static final String EXT_IG_DEFINITION_PARAMETER = "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter";
|
||||
static final String EXT_IG_DEFINITION_RESOURCE_PROFILE = "http://hl7.org/fhir/5.0/StructureDefinition/extension-ImplementationGuide.definition.resource.profile";
|
||||
static final String EXT_IG_DEPENDSON_REASON = "http://hl7.org/fhir/5.0/StructureDefinition/extension-ImplementationGuide.dependsOn.reason";
|
||||
|
||||
public static org.hl7.fhir.r5.model.ImplementationGuide convertImplementationGuide(org.hl7.fhir.r4b.model.ImplementationGuide src) throws FHIRException {
|
||||
if (src == null)
|
||||
|
@ -176,13 +178,15 @@ public class ImplementationGuide43_50 {
|
|||
if (src == null)
|
||||
return null;
|
||||
org.hl7.fhir.r5.model.ImplementationGuide.ImplementationGuideDependsOnComponent tgt = new org.hl7.fhir.r5.model.ImplementationGuide.ImplementationGuideDependsOnComponent();
|
||||
ConversionContext43_50.INSTANCE.getVersionConvertor_43_50().copyBackboneElement(src, tgt);
|
||||
ConversionContext43_50.INSTANCE.getVersionConvertor_43_50().copyBackboneElement(src, tgt, EXT_IG_DEPENDSON_REASON);
|
||||
if (src.hasUri())
|
||||
tgt.setUriElement(Canonical43_50.convertCanonical(src.getUriElement()));
|
||||
if (src.hasPackageId())
|
||||
tgt.setPackageIdElement(Id43_50.convertId(src.getPackageIdElement()));
|
||||
if (src.hasVersion())
|
||||
tgt.setVersionElement(String43_50.convertString(src.getVersionElement()));
|
||||
if (src.hasExtension(EXT_IG_DEPENDSON_REASON))
|
||||
tgt.setReasonElement(MarkDown43_50.convertMarkdown((org.hl7.fhir.r4b.model.MarkdownType)src.getExtensionByUrl(EXT_IG_DEPENDSON_REASON).getValue()));
|
||||
return tgt;
|
||||
}
|
||||
|
||||
|
@ -197,6 +201,8 @@ public class ImplementationGuide43_50 {
|
|||
tgt.setPackageIdElement(Id43_50.convertId(src.getPackageIdElement()));
|
||||
if (src.hasVersion())
|
||||
tgt.setVersionElement(String43_50.convertString(src.getVersionElement()));
|
||||
if (src.hasReason())
|
||||
tgt.addExtension(EXT_IG_DEPENDSON_REASON, MarkDown43_50.convertMarkdown(src.getReasonElement()));
|
||||
return tgt;
|
||||
}
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<groupId>ca.uhn.hapi.fhir</groupId>
|
||||
<artifactId>org.hl7.fhir.core</artifactId>
|
||||
<version>6.4.3-SNAPSHOT</version>
|
||||
<version>6.4.4-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<groupId>ca.uhn.hapi.fhir</groupId>
|
||||
<artifactId>org.hl7.fhir.core</artifactId>
|
||||
<version>6.4.3-SNAPSHOT</version>
|
||||
<version>6.4.4-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<groupId>ca.uhn.hapi.fhir</groupId>
|
||||
<artifactId>org.hl7.fhir.core</artifactId>
|
||||
<version>6.4.3-SNAPSHOT</version>
|
||||
<version>6.4.4-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<groupId>ca.uhn.hapi.fhir</groupId>
|
||||
<artifactId>org.hl7.fhir.core</artifactId>
|
||||
<version>6.4.3-SNAPSHOT</version>
|
||||
<version>6.4.4-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<groupId>ca.uhn.hapi.fhir</groupId>
|
||||
<artifactId>org.hl7.fhir.core</artifactId>
|
||||
<version>6.4.3-SNAPSHOT</version>
|
||||
<version>6.4.4-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<groupId>ca.uhn.hapi.fhir</groupId>
|
||||
<artifactId>org.hl7.fhir.core</artifactId>
|
||||
<version>6.4.3-SNAPSHOT</version>
|
||||
<version>6.4.4-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<groupId>ca.uhn.hapi.fhir</groupId>
|
||||
<artifactId>org.hl7.fhir.core</artifactId>
|
||||
<version>6.4.3-SNAPSHOT</version>
|
||||
<version>6.4.4-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<groupId>ca.uhn.hapi.fhir</groupId>
|
||||
<artifactId>org.hl7.fhir.core</artifactId>
|
||||
<version>6.4.3-SNAPSHOT</version>
|
||||
<version>6.4.4-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<groupId>ca.uhn.hapi.fhir</groupId>
|
||||
<artifactId>org.hl7.fhir.core</artifactId>
|
||||
<version>6.4.3-SNAPSHOT</version>
|
||||
<version>6.4.4-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<groupId>ca.uhn.hapi.fhir</groupId>
|
||||
<artifactId>org.hl7.fhir.core</artifactId>
|
||||
<version>6.4.3-SNAPSHOT</version>
|
||||
<version>6.4.4-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
4
pom.xml
4
pom.xml
|
@ -14,7 +14,7 @@
|
|||
HAPI FHIR
|
||||
-->
|
||||
<artifactId>org.hl7.fhir.core</artifactId>
|
||||
<version>6.4.3-SNAPSHOT</version>
|
||||
<version>6.4.4-SNAPSHOT</version>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<properties>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<commons_io_version>2.17.0</commons_io_version>
|
||||
<guava_version>32.0.1-jre</guava_version>
|
||||
<hapi_fhir_version>6.4.1</hapi_fhir_version>
|
||||
<validator_test_case_version>1.6.7-SNAPSHOT</validator_test_case_version>
|
||||
<validator_test_case_version>1.6.7</validator_test_case_version>
|
||||
<jackson_version>2.17.0</jackson_version>
|
||||
<junit_jupiter_version>5.9.2</junit_jupiter_version>
|
||||
<junit_platform_launcher_version>1.8.2</junit_platform_launcher_version>
|
||||
|
|
Loading…
Reference in New Issue