Specimen convertor written differently than other convertors, making difficult to parse.

This commit is contained in:
markiantorno 2020-02-03 11:44:07 -05:00
parent 810f5eabca
commit 3a6ab2f545
2 changed files with 9 additions and 3 deletions

View File

@ -59,6 +59,13 @@
<optional>true</optional>
</dependency>
<!-- JAVA PARSER -->
<dependency>
<groupId>com.github.javaparser</groupId>
<artifactId>javaparser-symbol-solver-core</artifactId>
<version>3.15.9</version>
</dependency>
</dependencies>
<build>

View File

@ -1,12 +1,11 @@
package org.hl7.fhir.convertors.conv10_30;
import org.hl7.fhir.convertors.VersionConvertor_10_30;
import org.hl7.fhir.dstu3.model.Specimen;
import org.hl7.fhir.exceptions.FHIRException;
public class Specimen10_30 {
static public org.hl7.fhir.dstu2.model.Specimen convertSpecimen(Specimen src) {
static public org.hl7.fhir.dstu2.model.Specimen convertSpecimen(org.hl7.fhir.dstu3.model.Specimen src) {
if (src == null) {
return null;
}
@ -93,7 +92,7 @@ public class Specimen10_30 {
return tgt;
}
static public org.hl7.fhir.dstu2.model.Specimen.SpecimenStatus convertSpecimenStatus(Specimen.SpecimenStatus status) {
static public org.hl7.fhir.dstu2.model.Specimen.SpecimenStatus convertSpecimenStatus(org.hl7.fhir.dstu3.model.Specimen.SpecimenStatus status) {
if (status == null) {
return null;
}