diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/context/BaseRuntimeElementDefinition.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/context/BaseRuntimeElementDefinition.java index 01f82665ec5..7828dd97084 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/context/BaseRuntimeElementDefinition.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/context/BaseRuntimeElementDefinition.java @@ -137,7 +137,7 @@ public abstract class BaseRuntimeElementDefinition { for (RuntimeChildDeclaredExtensionDefinition next : myExtensions) { String extUrl = next.getExtensionUrl(); if (myUrlToExtension.containsKey(extUrl)) { - throw new ConfigurationException("Duplicate extension URL: " + extUrl); + throw new ConfigurationException("Duplicate extension URL[" + extUrl + "] in Element[" + getName() + "]"); } else { myUrlToExtension.put(extUrl, next); } diff --git a/hapi-fhir-structures-hl7org-dev/bin/.gitignore b/hapi-fhir-structures-hl7org-dev/bin/.gitignore new file mode 100644 index 00000000000..ae3c1726048 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dev/bin/.gitignore @@ -0,0 +1 @@ +/bin/ diff --git a/hapi-fhir-structures-hl7org-dev/bin/.project b/hapi-fhir-structures-hl7org-dev/bin/.project new file mode 100644 index 00000000000..5ed54fe4349 --- /dev/null +++ b/hapi-fhir-structures-hl7org-dev/bin/.project @@ -0,0 +1,23 @@ + + + hapi-fhir-structures-hl7org-dev + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.m2e.core.maven2Nature + + diff --git a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/model/dstu/composite/HumanNameDt.java b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/model/dstu/composite/HumanNameDt.java index c1785cbd862..3f68acc3b16 100644 --- a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/model/dstu/composite/HumanNameDt.java +++ b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/model/dstu/composite/HumanNameDt.java @@ -566,6 +566,11 @@ public class HumanNameDt return this; } + @Override + public StringDt getTextElement() { + return getText(); + } + diff --git a/restful-server-example/.settings/org.eclipse.wst.common.component b/restful-server-example/.settings/org.eclipse.wst.common.component index 576cd601a1b..38e539885da 100644 --- a/restful-server-example/.settings/org.eclipse.wst.common.component +++ b/restful-server-example/.settings/org.eclipse.wst.common.component @@ -9,7 +9,7 @@ uses - + consumes diff --git a/restful-server-example/src/main/java/ca/uhn/example/model/MyOrganization.java b/restful-server-example/src/main/java/ca/uhn/example/model/MyOrganization.java index e1b8a677aa0..b3d44892bac 100644 --- a/restful-server-example/src/main/java/ca/uhn/example/model/MyOrganization.java +++ b/restful-server-example/src/main/java/ca/uhn/example/model/MyOrganization.java @@ -43,7 +43,7 @@ public class MyOrganization extends Organization { * of this file. */ @Description(shortDefinition="Contains emergency contact details") - @Extension(url = "http://foo#billingCode", isModifier = false, definedLocally = true) + @Extension(url = "http://foo#emergencyContact", isModifier = false, definedLocally = true) @Child(name = "emergencyContact", min=0, max=Child.MAX_UNLIMITED) private List myEmergencyContact;