diff --git a/src/main/resources/fhir/StructureDefinition/dsf-task-hello-world.xml b/src/main/resources/fhir/StructureDefinition/dsf-task-hello-world.xml
index 5f1923b..40a6b57 100644
--- a/src/main/resources/fhir/StructureDefinition/dsf-task-hello-world.xml
+++ b/src/main/resources/fhir/StructureDefinition/dsf-task-hello-world.xml
@@ -53,7 +53,7 @@
-
+
@@ -88,7 +88,7 @@
-
+
diff --git a/src/test/java/dev/dsf/fhir/profile/TaskProfileTest.java b/src/test/java/dev/dsf/fhir/profile/TaskProfileTest.java
index 45c3ea4..200b798 100644
--- a/src/test/java/dev/dsf/fhir/profile/TaskProfileTest.java
+++ b/src/test/java/dev/dsf/fhir/profile/TaskProfileTest.java
@@ -69,10 +69,6 @@ public void testMaximalTaskHelloWorldValid()
{
Task task = createValidTaskHelloWorld();
- task.addInput().setValue(new StringType("string-value")).getType().addCoding(
- new Coding().setSystem("http://dsf.dev/fhir/CodeSystem/hello-world").setCode("string-example"));
- task.addInput().setValue(new IntegerType(1)).getType().addCoding(
- new Coding().setSystem("http://dsf.dev/fhir/CodeSystem/hello-world").setCode("integer-example"));
task.addInput().setValue(new DecimalType(1.1)).getType().addCoding(
new Coding().setSystem("http://dsf.dev/fhir/CodeSystem/hello-world").setCode("decimal-example"));
task.addInput().setValue(new BooleanType(true)).getType().addCoding(
@@ -130,6 +126,11 @@ private Task createValidTaskHelloWorld()
task.addInput().setValue(new StringType(ConstantsHelloWorld.PROFILE_DSF_TASK_HELLO_WORLD_MESSAGE_NAME))
.getType().addCoding(CodeSystems.BpmnMessage.messageName());
+ task.addInput().setValue(new StringType("string-value")).getType().addCoding(
+ new Coding().setSystem("http://dsf.dev/fhir/CodeSystem/hello-world").setCode("string-example"));
+ task.addInput().setValue(new IntegerType(1)).getType().addCoding(
+ new Coding().setSystem("http://dsf.dev/fhir/CodeSystem/hello-world").setCode("integer-example"));
+
return task;
}