From c8ce723a1d9276b4d6d87fef9534255782e18b3e Mon Sep 17 00:00:00 2001 From: jamesagnew Date: Mon, 13 Jul 2015 08:16:48 -0400 Subject: [PATCH] DOcumentation updates --- .../src/main/java/example/Dstu2Examples.java | 10 ++++++++++ .../fhir/validation/FhirInstanceValidator.java | 2 +- src/site/xdoc/index.xml | 16 ++++++++++++++++ 3 files changed, 27 insertions(+), 1 deletion(-) diff --git a/examples/src/main/java/example/Dstu2Examples.java b/examples/src/main/java/example/Dstu2Examples.java index 21c52dc087b..ec9b8e41496 100644 --- a/examples/src/main/java/example/Dstu2Examples.java +++ b/examples/src/main/java/example/Dstu2Examples.java @@ -54,4 +54,14 @@ public class Dstu2Examples { } // END SNIPPET: server + + public void upgrade() { + // START SNIPPET: client + FhirContext ctxDstu2 = FhirContext.forDstu2(); + IGenericClient clientDstu2 = ctxDstu2.newRestfulGenericClient("http://fhirtest.uhn.ca/baseDstu2"); + + // END SNIPPET: client + + } + } diff --git a/hapi-fhir-structures-hl7org-dstu2/src/main/java/ca/uhn/fhir/validation/FhirInstanceValidator.java b/hapi-fhir-structures-hl7org-dstu2/src/main/java/ca/uhn/fhir/validation/FhirInstanceValidator.java index 5cc01243aea..b42e0985da1 100644 --- a/hapi-fhir-structures-hl7org-dstu2/src/main/java/ca/uhn/fhir/validation/FhirInstanceValidator.java +++ b/hapi-fhir-structures-hl7org-dstu2/src/main/java/ca/uhn/fhir/validation/FhirInstanceValidator.java @@ -98,7 +98,7 @@ public class FhirInstanceValidator implements IValidator { @Override public void validateBundle(IValidationContext theContext) { - + // nothing for now } } diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml index 447aae36371..b38666cdb99 100644 --- a/src/site/xdoc/index.xml +++ b/src/site/xdoc/index.xml @@ -56,6 +56,21 @@
+

+ July 13, 2015 - HAPI FHIR 1.1 Released - HAPI 1.1 has been released! + As always, you can see the complete list of what has + changed by consulting the changelog, and the + download page has information on where to get it. +

+

+ HAPI FHIR 1.1 is the first release with support for the HL7.org "reference implementation" + structures. This is an exciting development for us, as it means the beginning of + our move to bring the two Java implementations of FHIR together into one library. + As a part of this harmonization, we have made a few minor API changes. Specifially, + a few methods that previously returned IResource or IdDt + will now return parent interfaces of +

+