fix broken link in xver IG for R2
This commit is contained in:
parent
c9490d88d1
commit
6ca39e14db
|
@ -16899,6 +16899,26 @@ public class ImplementationGuide extends CanonicalResource {
|
||||||
*/
|
*/
|
||||||
public static final ca.uhn.fhir.model.api.Include INCLUDE_RESOURCE = new ca.uhn.fhir.model.api.Include("ImplementationGuide:resource").toLocked();
|
public static final ca.uhn.fhir.model.api.Include INCLUDE_RESOURCE = new ca.uhn.fhir.model.api.Include("ImplementationGuide:resource").toLocked();
|
||||||
|
|
||||||
|
public ImplementationGuideDefinitionPageComponent getPageByName(String name) {
|
||||||
|
if (!hasDefinition() || !getDefinition().hasPage()) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
return getPageByName(getDefinition().getPage(), name);
|
||||||
|
}
|
||||||
|
|
||||||
|
private ImplementationGuideDefinitionPageComponent getPageByName(ImplementationGuideDefinitionPageComponent page, String name) {
|
||||||
|
if (name.equals(page.getName())) {
|
||||||
|
return page;
|
||||||
|
}
|
||||||
|
for (ImplementationGuideDefinitionPageComponent t : page.getPage()) {
|
||||||
|
ImplementationGuideDefinitionPageComponent r = getPageByName(t, name);
|
||||||
|
if (r != null) {
|
||||||
|
return r;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -690,8 +690,9 @@ public class VersionUtilities {
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (getMajMin(v)) {
|
switch (getMajMin(v)) {
|
||||||
case "1.0" : return "http://hl7.org/fhir/DSTU1";
|
case "0.0" : return "http://hl7.org/fhir/DSTU1";
|
||||||
case "1.4" : return "http://hl7.org/fhir/DSTU2";
|
case "1.0" : return "http://hl7.org/fhir/DSTU2";
|
||||||
|
case "1.4" : return "http://hl7.org/fhir/2016May";
|
||||||
case "3.0" : return "http://hl7.org/fhir/STU3";
|
case "3.0" : return "http://hl7.org/fhir/STU3";
|
||||||
case "4.0" : return "http://hl7.org/fhir/R4";
|
case "4.0" : return "http://hl7.org/fhir/R4";
|
||||||
case "4.3" : return "http://hl7.org/fhir/R4B";
|
case "4.3" : return "http://hl7.org/fhir/R4B";
|
||||||
|
|
|
@ -13,9 +13,9 @@ import org.hl7.fhir.utilities.Utilities;
|
||||||
public class POGenerator {
|
public class POGenerator {
|
||||||
|
|
||||||
public static void main(String[] args) throws IOException {
|
public static void main(String[] args) throws IOException {
|
||||||
if (true) {
|
// if (true) {
|
||||||
throw new Error("This needs to be rewritten for using existing .po files");
|
// throw new Error("This needs to be rewritten for using existing .po files");
|
||||||
}
|
// }
|
||||||
new POGenerator().execute(args[0], args[1], args[2], args[3], args.length == 5 ? args[4] : null);
|
new POGenerator().execute(args[0], args[1], args[2], args[3], args.length == 5 ? args[4] : null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue