mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-02-09 06:14:45 +00:00
#1415 review system.out.println() statements
This commit is contained in:
parent
ac33590b96
commit
a78aa25c14
@ -6310,7 +6310,6 @@ public class FHIRPathEngine {
|
||||
List<ElementDefinition> childDefinitions = profileUtilities.getChildMap(sd, element.getElement());
|
||||
for (ElementDefinition t : childDefinitions) {
|
||||
if (t.getPath().endsWith(".extension") && t.hasSliceName()) {
|
||||
System.out.println("t: " + t.getId());
|
||||
StructureDefinition exsd = (t.getType() == null || t.getType().isEmpty()
|
||||
|| t.getType().get(0).getProfile().isEmpty()) ? null
|
||||
: worker.fetchResource(StructureDefinition.class,
|
||||
|
@ -1711,9 +1711,6 @@ public class ProfileUtilities extends TranslatingUtilities {
|
||||
iter.remove();
|
||||
}
|
||||
}
|
||||
// System.out.println("!!: Extension Error at "+cpath+": Allowed Types not sliced = "+allowedTypes+". !Extension!!");
|
||||
// throw new Error("Extension Error at "+cpath+": Allowed Types not sliced = "+allowedTypes+". !Extension!!");
|
||||
|
||||
} else {
|
||||
e.getSlicing().setRules(SlicingRules.OPEN);
|
||||
}
|
||||
|
@ -321,8 +321,6 @@ public abstract class TerminologyRenderer extends ResourceRenderer {
|
||||
XhtmlNode a = li.ah(value);
|
||||
a.tx("SNOMED-CT");
|
||||
} else {
|
||||
if (value.startsWith("http://hl7.org") && !Utilities.existsInList(value, "http://hl7.org/fhir/sid/icd-10-us"))
|
||||
System.out.println("Unable to resolve value set " + value);
|
||||
li.addText(value);
|
||||
}
|
||||
}
|
||||
|
@ -6313,7 +6313,6 @@ public class FHIRPathEngine {
|
||||
List<ElementDefinition> childDefinitions = profileUtilities.getChildMap(sd, element.getElement());
|
||||
for (ElementDefinition t : childDefinitions) {
|
||||
if (t.getPath().endsWith(".extension") && t.hasSliceName()) {
|
||||
System.out.println("t: " + t.getId());
|
||||
StructureDefinition exsd = (t.getType() == null || t.getType().isEmpty()
|
||||
|| t.getType().get(0).getProfile().isEmpty()) ? null
|
||||
: worker.fetchResource(StructureDefinition.class,
|
||||
|
@ -200,9 +200,6 @@ public class ProfilePathProcessor {
|
||||
"diff = " + cursors.diffCursor + " (" + profileUtilities.descED(getDifferential().getElement(), cursors.diffCursor) + ") to " + getDiffLimit() + " (" + profileUtilities.descED(getDifferential().getElement(), getDiffLimit()) + ") " +
|
||||
"(slicingDone = " + getSlicing().isDone() + ") (diffpath= " + (getDifferential().getElement().size() > cursors.diffCursor ? getDifferential().getElement().get(cursors.diffCursor).getPath() : "n/a") + ")");
|
||||
String path = cursors.diffCursor >=0 && cursors.diffCursor < getDifferential().getElement().size() ? getDifferential().getElement().get(cursors.diffCursor).present() : null;
|
||||
// if (path != null && path.contains(":populationBasis")) {
|
||||
// System.out.println("!");
|
||||
// }
|
||||
}
|
||||
|
||||
}
|
||||
@ -547,9 +544,6 @@ public class ProfilePathProcessor {
|
||||
iter.remove();
|
||||
}
|
||||
}
|
||||
// System.out.println("!!: Extension Error at "+cpath+": Allowed Types not sliced = "+allowedTypes+". !Extension!!");
|
||||
// throw new Error("Extension Error at "+cpath+": Allowed Types not sliced = "+allowedTypes+". !Extension!!");
|
||||
|
||||
} else {
|
||||
elementDefinition.getSlicing().setRules(ElementDefinition.SlicingRules.OPEN);
|
||||
}
|
||||
@ -914,7 +908,7 @@ public class ProfilePathProcessor {
|
||||
int newBaseLimit = newBaseCursor;
|
||||
while (newBaseLimit < cursors.base.getElement().size() && cursors.base.getElement().get(newBaseLimit).getPath().startsWith(tgt.getElement().getPath() + "."))
|
||||
newBaseLimit++;
|
||||
System.out.println("Test!");
|
||||
// System.out.println("Test!");
|
||||
|
||||
this
|
||||
.incrementDebugIndent()
|
||||
|
@ -264,6 +264,9 @@ public class CanonicalResourceManager<T extends CanonicalResource> {
|
||||
public void see(CachedCanonicalResource<T> cr) {
|
||||
// -- 1. exit conditions -----------------------------------------------------------------------------
|
||||
|
||||
if ("http://hl7.org/fhir/StructureDefinition/Address".equals(cr.getUrl())) {
|
||||
System.out.println("!"); // #FIXME
|
||||
}
|
||||
// ignore UTG NUCC erroneous code system
|
||||
if (cr.getPackageInfo() != null
|
||||
&& cr.getPackageInfo().getId() != null
|
||||
|
@ -1417,9 +1417,6 @@ public class Element extends Base {
|
||||
return webPath;
|
||||
}
|
||||
public void setWebPath(String webPath) {
|
||||
if (webPath != null && webPath.startsWith("file:")) {
|
||||
System.out.println("!"); // FIXME
|
||||
}
|
||||
this.webPath = webPath;
|
||||
}
|
||||
|
||||
|
@ -1932,8 +1932,6 @@ public class TurtleTests {
|
||||
|
||||
@Test
|
||||
public void test_bundle_example() throws FileNotFoundException, IOException, Exception {
|
||||
if (!BaseTestingUtilities.silent)
|
||||
System.out.println("bundle-example.ttl");
|
||||
new Turtle().parse(BaseTestingUtilities.loadTestResource("r5", "bundle-example.ttl"));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user