update snapshot generation and tests after review by Michel Rutton
This commit is contained in:
parent
fb152a24e5
commit
fe780de634
|
@ -295,3 +295,6 @@ local.properties
|
|||
/org.hl7.fhir.r5/src/test/resources/gen/gen.xml
|
||||
/org.hl7.fhir.r5/src/test/resources/graphql/*.out
|
||||
/org.hl7.fhir.validation/src/test/resources/comparison/output
|
||||
/org.hl7.fhir.r5/src/test/resources/snapshot-generation/au2-actual.xml
|
||||
/org.hl7.fhir.r5/src/test/resources/snapshot-generation/au3-actual.xml
|
||||
/org.hl7.fhir.r5/src/test/resources/snapshot-generation/t29b-input.xml
|
||||
|
|
|
@ -424,6 +424,13 @@ public class ProfileUtilities extends TranslatingUtilities {
|
|||
if (derived == null)
|
||||
throw new DefinitionException("no derived structure provided");
|
||||
|
||||
if (!base.hasType())
|
||||
throw new DefinitionException("Base profile "+base.getUrl()+" has no type");
|
||||
if (!derived.hasType())
|
||||
throw new DefinitionException("Derived profile "+derived.getUrl()+" has no type");
|
||||
if (!base.getType().equals(derived.getType()))
|
||||
throw new DefinitionException("Base & Derived profiles have different types ("+base.getUrl()+" = "+base.getType()+" vs "+derived.getUrl()+" = "+derived.getType()+")");
|
||||
|
||||
if (snapshotStack.contains(derived.getUrl()))
|
||||
throw new DefinitionException("Circular snapshot references detected; cannot generate snapshot (stack = "+snapshotStack.toString()+")");
|
||||
snapshotStack.add(derived.getUrl());
|
||||
|
@ -687,7 +694,7 @@ public class ProfileUtilities extends TranslatingUtilities {
|
|||
template = currentBase.copy();
|
||||
else
|
||||
// some of what's in currentBase overrides template
|
||||
template = overWriteWithCurrent(template, currentBase);
|
||||
template = fillOutFromBase(template, currentBase);
|
||||
|
||||
ElementDefinition outcome = updateURLs(url, webUrl, template);
|
||||
outcome.setPath(fixedPathDest(contextPathDst, outcome.getPath(), redirector, contextPathSrc));
|
||||
|
@ -708,7 +715,7 @@ public class ProfileUtilities extends TranslatingUtilities {
|
|||
result.getElement().add(outcome);
|
||||
baseCursor++;
|
||||
diffCursor = differential.getElement().indexOf(diffMatches.get(0))+1;
|
||||
if (differential.getElement().size() > diffCursor && outcome.getPath().contains(".") && (isDataType(outcome.getType()) || outcome.hasContentReference())) { // don't want to do this for the root, since that's base, and we're already processing it
|
||||
if (diffLimit >= diffCursor && outcome.getPath().contains(".") && (isDataType(outcome.getType()) || outcome.hasContentReference())) { // don't want to do this for the root, since that's base, and we're already processing it
|
||||
if (pathStartsWith(differential.getElement().get(diffCursor).getPath(), diffMatches.get(0).getPath()+".") && !baseWalksInto(base.getElement(), baseCursor)) {
|
||||
if (outcome.getType().size() > 1) {
|
||||
if (outcome.getPath().endsWith("[x]") && !diffMatches.get(0).getPath().endsWith("[x]")) {
|
||||
|
@ -736,7 +743,7 @@ public class ProfileUtilities extends TranslatingUtilities {
|
|||
}
|
||||
}
|
||||
int start = diffCursor;
|
||||
while (differential.getElement().size() > diffCursor && pathStartsWith(differential.getElement().get(diffCursor).getPath(), diffMatches.get(0).getPath()+"."))
|
||||
while (diffCursor <= diffLimit && differential.getElement().size() > diffCursor && pathStartsWith(differential.getElement().get(diffCursor).getPath(), diffMatches.get(0).getPath()+"."))
|
||||
diffCursor++;
|
||||
if (outcome.hasContentReference()) {
|
||||
ElementDefinition tgt = getElementById(base.getElement(), outcome.getContentReference());
|
||||
|
@ -763,8 +770,9 @@ public class ProfileUtilities extends TranslatingUtilities {
|
|||
int nbl = findEndOfElement(base, baseCursor);
|
||||
int ndc = differential.getElement().indexOf(diffMatches.get(0));
|
||||
ElementDefinition elementToRemove = null;
|
||||
boolean shortCut = typeList.get(0).type != null;
|
||||
// we come here whether they are sliced in the diff, or whether the short cut is used.
|
||||
if (typeList.get(0).type != null) {
|
||||
if (shortCut) {
|
||||
// this is the short cut method, we've just dived in and specified a type slice.
|
||||
// in R3 (and unpatched R4, as a workaround right now...
|
||||
if (!FHIRVersion.isR4Plus(context.getVersion()) || !newSlicingProcessing) { // newSlicingProcessing is a work around for editorial loop dependency
|
||||
|
@ -937,7 +945,46 @@ public class ProfileUtilities extends TranslatingUtilities {
|
|||
String path = currentBase.getPath();
|
||||
ElementDefinition original = currentBase;
|
||||
|
||||
if (diffMatches.isEmpty()) { // the differential doesn't say anything about this item
|
||||
if (diffMatches.isEmpty()) {
|
||||
if (hasInnerDiffMatches(differential, path, diffCursor, diffLimit, base.getElement(), true)) {
|
||||
// so we just copy it in
|
||||
ElementDefinition outcome = updateURLs(url, webUrl, currentBase.copy());
|
||||
outcome.setPath(fixedPathDest(contextPathDst, outcome.getPath(), redirector, contextPathSrc));
|
||||
updateFromBase(outcome, currentBase);
|
||||
markDerived(outcome);
|
||||
if (resultPathBase == null)
|
||||
resultPathBase = outcome.getPath();
|
||||
else if (!outcome.getPath().startsWith(resultPathBase))
|
||||
throw new DefinitionException("Adding wrong path");
|
||||
result.getElement().add(outcome);
|
||||
// the profile walks into this, so we need to as well
|
||||
// did we implicitly step into a new type?
|
||||
if (baseHasChildren(base, currentBase)) { // not a new type here
|
||||
processPaths(indent+" ", result, base, differential, baseCursor+1, diffCursor, baseLimit, diffLimit, url, webUrl, profileName, contextPathSrc, contextPathDst, trimDifferential, contextName, resultPathBase, false, redirector, srcSD);
|
||||
baseCursor = indexOfFirstNonChild(base, currentBase, baseCursor, baseLimit);
|
||||
} else {
|
||||
if (outcome.getType().size() == 0) {
|
||||
throw new DefinitionException(diffMatches.get(0).getPath()+" has no children ("+differential.getElement().get(diffCursor).getPath()+") and no types in profile "+profileName);
|
||||
}
|
||||
if (outcome.getType().size() > 1) {
|
||||
for (TypeRefComponent t : outcome.getType()) {
|
||||
if (!t.getWorkingCode().equals("Reference"))
|
||||
throw new DefinitionException(diffMatches.get(0).getPath()+" has children ("+differential.getElement().get(diffCursor).getPath()+") and multiple types ("+typeCode(outcome.getType())+") in profile "+profileName);
|
||||
}
|
||||
}
|
||||
StructureDefinition dt = getProfileForDataType(outcome.getType().get(0));
|
||||
if (dt == null)
|
||||
throw new DefinitionException("Unknown type "+outcome.getType().get(0)+" at "+diffMatches.get(0).getPath());
|
||||
contextName = dt.getUrl();
|
||||
int start = diffCursor;
|
||||
while (differential.getElement().size() > diffCursor && pathStartsWith(differential.getElement().get(diffCursor).getPath(), cpath+"."))
|
||||
diffCursor++;
|
||||
processPaths(indent+" ", result, dt.getSnapshot(), differential, 1 /* starting again on the data type, but skip the root */, start, dt.getSnapshot().getElement().size()-1,
|
||||
diffCursor-1, url, webUrl, profileName, cpath, outcome.getPath(), trimDifferential, contextName, resultPathBase, false, redirector, srcSD);
|
||||
}
|
||||
baseCursor++;
|
||||
} else {
|
||||
// the differential doesn't say anything about this item
|
||||
// copy across the currentbase, and all of its children and siblings
|
||||
while (baseCursor < base.getElement().size() && base.getElement().get(baseCursor).getPath().startsWith(path)) {
|
||||
ElementDefinition outcome = updateURLs(url, webUrl, base.getElement().get(baseCursor).copy());
|
||||
|
@ -947,6 +994,7 @@ public class ProfileUtilities extends TranslatingUtilities {
|
|||
result.getElement().add(outcome); // so we just copy it in
|
||||
baseCursor++;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// first - check that the slicing is ok
|
||||
boolean closed = currentBase.getSlicing().getRules() == SlicingRules.CLOSED;
|
||||
|
@ -1092,19 +1140,6 @@ public class ProfileUtilities extends TranslatingUtilities {
|
|||
processPaths(indent+" ", result, dt.getSnapshot(), differential, 1 /* starting again on the data type, but skip the root */, start-1, dt.getSnapshot().getElement().size()-1,
|
||||
diffCursor - 1, url, webUrl, profileName+pathTail(diffMatches, 0), diffMatches.get(0).getPath(), outcome.getPath(), trimDifferential, contextName, resultPathBase, false, redirector, srcSD);
|
||||
}
|
||||
} else if (outcome.getType().get(0).getCode().equals("Extension")) {
|
||||
// Force URL to appear if we're dealing with an extension. (This is a kludge - may need to drill down in other cases where we're slicing and the type has a profile declaration that could be setting the fixed value)
|
||||
StructureDefinition dt = getProfileForDataType(outcome.getType().get(0));
|
||||
for (ElementDefinition extEd : dt.getSnapshot().getElement()) {
|
||||
// We only want the children that aren't the root
|
||||
if (extEd.getPath().contains(".")) {
|
||||
ElementDefinition extUrlEd = updateURLs(url, webUrl, extEd.copy());
|
||||
extUrlEd.setPath(fixedPathDest(outcome.getPath(), extUrlEd.getPath(), redirector, null));
|
||||
// updateFromBase(extUrlEd, currentBase);
|
||||
markDerived(extUrlEd);
|
||||
result.getElement().add(extUrlEd);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1254,45 +1289,47 @@ public class ProfileUtilities extends TranslatingUtilities {
|
|||
}
|
||||
|
||||
|
||||
private ElementDefinition overWriteWithCurrent(ElementDefinition profile, ElementDefinition usage) throws FHIRFormatError {
|
||||
private ElementDefinition fillOutFromBase(ElementDefinition profile, ElementDefinition usage) throws FHIRFormatError {
|
||||
ElementDefinition res = profile.copy();
|
||||
if (usage.hasSliceName())
|
||||
if (!res.hasSliceName())
|
||||
res.setSliceName(usage.getSliceName());
|
||||
if (usage.hasLabel())
|
||||
if (!res.hasLabel())
|
||||
res.setLabel(usage.getLabel());
|
||||
for (Coding c : usage.getCode())
|
||||
if (!res.hasCode(c))
|
||||
res.addCode(c);
|
||||
|
||||
if (usage.hasDefinition())
|
||||
if (!res.hasDefinition())
|
||||
res.setDefinition(usage.getDefinition());
|
||||
if (usage.hasShort())
|
||||
if (!res.hasShort() && usage.hasShort())
|
||||
res.setShort(usage.getShort());
|
||||
if (usage.hasComment())
|
||||
if (!res.hasComment() && usage.hasComment())
|
||||
res.setComment(usage.getComment());
|
||||
if (usage.hasRequirements())
|
||||
if (!res.hasRequirements() && usage.hasRequirements())
|
||||
res.setRequirements(usage.getRequirements());
|
||||
for (StringType c : usage.getAlias())
|
||||
if (!res.hasAlias(c.getValue()))
|
||||
res.addAlias(c.getValue());
|
||||
if (usage.hasMin())
|
||||
if (!res.hasMin() && usage.hasMin())
|
||||
res.setMin(usage.getMin());
|
||||
if (usage.hasMax())
|
||||
if (!res.hasMax() && usage.hasMax())
|
||||
res.setMax(usage.getMax());
|
||||
|
||||
if (usage.hasFixed())
|
||||
if (!res.hasFixed() && usage.hasFixed())
|
||||
res.setFixed(usage.getFixed());
|
||||
if (usage.hasPattern())
|
||||
if (!res.hasPattern() && usage.hasPattern())
|
||||
res.setPattern(usage.getPattern());
|
||||
if (usage.hasExample())
|
||||
if (!res.hasExample() && usage.hasExample())
|
||||
res.setExample(usage.getExample());
|
||||
if (usage.hasMinValue())
|
||||
if (!res.hasMinValue() && usage.hasMinValue())
|
||||
res.setMinValue(usage.getMinValue());
|
||||
if (usage.hasMaxValue())
|
||||
if (!res.hasMaxValue() && usage.hasMaxValue())
|
||||
res.setMaxValue(usage.getMaxValue());
|
||||
if (usage.hasMaxLength())
|
||||
if (!res.hasMaxLength() && usage.hasMaxLength())
|
||||
res.setMaxLength(usage.getMaxLength());
|
||||
if (usage.hasMustSupport())
|
||||
if (!res.hasMustSupport() && usage.hasMustSupport())
|
||||
res.setMustSupport(usage.getMustSupport());
|
||||
if (usage.hasBinding())
|
||||
if (!res.hasBinding() && usage.hasBinding())
|
||||
res.setBinding(usage.getBinding().copy());
|
||||
for (ElementDefinitionConstraintComponent c : usage.getConstraint())
|
||||
if (!res.hasConstraint(c.getKey()))
|
||||
|
@ -1379,7 +1416,7 @@ public class ProfileUtilities extends TranslatingUtilities {
|
|||
|
||||
|
||||
private boolean pathStartsWith(String p1, String p2) {
|
||||
return p1.startsWith(p2);
|
||||
return p1.startsWith(p2) || (p2.endsWith("[x].") && p1.startsWith(p2.substring(0, p2.length()-4)));
|
||||
}
|
||||
|
||||
private boolean pathMatches(String p1, String p2) {
|
||||
|
@ -1612,6 +1649,8 @@ public class ProfileUtilities extends TranslatingUtilities {
|
|||
String statedPath = context.getElement().get(i).getPath();
|
||||
if (statedPath.startsWith(path+".")) {
|
||||
return true;
|
||||
} else if (path.endsWith("[x]") && statedPath.startsWith(path.substring(0, path.length() -3))) {
|
||||
return true;
|
||||
} else if (!statedPath.endsWith(path))
|
||||
break;
|
||||
}
|
||||
|
@ -1620,9 +1659,18 @@ public class ProfileUtilities extends TranslatingUtilities {
|
|||
|
||||
private List<ElementDefinition> getDiffMatches(StructureDefinitionDifferentialComponent context, String path, int start, int end, String profileName) throws DefinitionException {
|
||||
List<ElementDefinition> result = new ArrayList<ElementDefinition>();
|
||||
String[] p = path.split("\\.");
|
||||
for (int i = start; i <= end; i++) {
|
||||
String statedPath = context.getElement().get(i).getPath();
|
||||
if (statedPath.equals(path) || (path.endsWith("[x]") && statedPath.length() > path.length() - 2 && statedPath.substring(0, path.length()-3).equals(path.substring(0, path.length()-3)) && (statedPath.length() < path.length() || !statedPath.substring(path.length()).contains(".")))) {
|
||||
String[] sp = statedPath.split("\\.");
|
||||
boolean ok = sp.length == p.length;
|
||||
for (int j = 0; j < p.length; j++) {
|
||||
ok = ok && sp.length > j && (p[j].equals(sp[j]) || (p[j].endsWith("[x]") && sp[j].startsWith(p[j].substring(0, p[j].length()-3))));
|
||||
}
|
||||
if (ok != (statedPath.equals(path) || (path.endsWith("[x]") && statedPath.length() > path.length() - 2 && statedPath.substring(0, path.length()-3).equals(path.substring(0, path.length()-3)) && (statedPath.length() < path.length() || !statedPath.substring(path.length()).contains("."))))) {
|
||||
System.out.println("mismatch");
|
||||
}
|
||||
if (ok) {
|
||||
/*
|
||||
* Commenting this out because it raises warnings when profiling inherited elements. For example,
|
||||
* Error: unknown element 'Bundle.meta.profile' (or it is out of order) in profile ... (looking for 'Bundle.entry')
|
||||
|
@ -1640,6 +1688,8 @@ public class ProfileUtilities extends TranslatingUtilities {
|
|||
|
||||
private int findEndOfElement(StructureDefinitionDifferentialComponent context, int cursor) {
|
||||
int result = cursor;
|
||||
if (cursor >= context.getElement().size())
|
||||
return result;
|
||||
String path = context.getElement().get(cursor).getPath()+".";
|
||||
while (result < context.getElement().size()- 1 && context.getElement().get(result+1).getPath().startsWith(path))
|
||||
result++;
|
||||
|
@ -1929,7 +1979,7 @@ public class ProfileUtilities extends TranslatingUtilities {
|
|||
ok = true;
|
||||
}
|
||||
if (!ok)
|
||||
throw new DefinitionException("StructureDefinition "+pn+" at "+derived.getPath()+": illegal constrained type "+t+" from "+b.toString()+" in "+srcSD.getUrl());
|
||||
throw new DefinitionException("StructureDefinition "+purl+" at "+derived.getPath()+": illegal constrained type "+t+" from "+b.toString()+" in "+srcSD.getUrl());
|
||||
}
|
||||
}
|
||||
base.getType().clear();
|
||||
|
|
|
@ -7594,6 +7594,14 @@ When pattern[x] is used to constrain a complex object, it means that each proper
|
|||
return false;
|
||||
}
|
||||
|
||||
public boolean hasCode(Coding c) {
|
||||
for (Coding t : getCode()) {
|
||||
if (t.getSystem().equals(c.getSystem()) && t.getCode().equals(c.getCode()))
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
// end addition
|
||||
|
||||
|
|
|
@ -100,6 +100,7 @@ public class SnapShotGenerationTests {
|
|||
private String id;
|
||||
private String include;
|
||||
private String register;
|
||||
private String regex;
|
||||
private boolean gen;
|
||||
private boolean sort;
|
||||
private boolean fail;
|
||||
|
@ -117,6 +118,7 @@ public class SnapShotGenerationTests {
|
|||
id = test.getAttribute("id");
|
||||
include = test.getAttribute("include");
|
||||
register = test.getAttribute("register");
|
||||
regex = test.getAttribute("regex");
|
||||
Element rule = XMLUtil.getFirstChild(test);
|
||||
while (rule != null && rule.getNodeName().equals("rule")) {
|
||||
rules.add(new Rule(rule));
|
||||
|
@ -411,6 +413,9 @@ public class SnapShotGenerationTests {
|
|||
testSort();
|
||||
Assert.assertTrue("Should have failed", false);
|
||||
} catch (Throwable e) {
|
||||
if (!Utilities.noString(test.regex))
|
||||
Assert.assertTrue("correct error message", e.getMessage().matches(test.regex));
|
||||
else
|
||||
Assert.assertTrue("all ok", true);
|
||||
|
||||
}
|
||||
|
@ -457,7 +462,7 @@ public class SnapShotGenerationTests {
|
|||
ProfileUtilities pu = new ProfileUtilities(TestingUtilities.context(), messages , new TestPKP());
|
||||
pu.setNewSlicingProcessing(true);
|
||||
pu.setThrowException(true);
|
||||
pu.setDebug(false);
|
||||
pu.setDebug(true);
|
||||
pu.setIds(test.getSource(), false);
|
||||
if (test.isSort()) {
|
||||
List<String> errors = new ArrayList<String>();
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -10,7 +10,7 @@
|
|||
"publisher": "National Children's Digital Health Collaborative (NCDHC)",
|
||||
"description": "Define a bsae profile for NCDHC Observation",
|
||||
"purpose": "To define NCDHC base profile",
|
||||
"fhirVersion": "3.0.1",
|
||||
"fhirVersion": "4.0.0",
|
||||
"kind": "resource",
|
||||
"abstract": true,
|
||||
"type": "Observation",
|
||||
|
|
|
@ -265,7 +265,11 @@
|
|||
<a name="Timing"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">*</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
@ -281,8 +285,14 @@
|
|||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">1</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">Element</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
|
@ -298,8 +308,14 @@
|
|||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">1</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#Duration">Duration</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
|
@ -315,8 +331,14 @@
|
|||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">1</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#decimal">decimal</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
|
@ -332,8 +354,14 @@
|
|||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">1</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#code">code</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
|
@ -349,8 +377,14 @@
|
|||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">1</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#decimal">decimal</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
|
@ -366,8 +400,14 @@
|
|||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">1</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#code">code</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
|
@ -383,8 +423,14 @@
|
|||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">*</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#code">code</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
|
@ -394,14 +440,18 @@
|
|||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_extension_simple.png" alt="." style="background-color: white; background-color: inherit" title="Simple Extension" class="hierarchy"/>
|
||||
<span title="Slice CalendarPattern: null">extension</span>
|
||||
<img src="icon_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/>
|
||||
<span title="Slice CalendarPattern: null">extension:CalendarPattern</span>
|
||||
<a name="Timing.repeat.dayOfWeek.extension"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">*</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">?? [CanonicalType[http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-calendarPattern]]</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="font-weight:bold">URL: </span>http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-calendarPattern
|
||||
|
@ -420,8 +470,14 @@
|
|||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">*</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#code">code</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
|
@ -431,14 +487,18 @@
|
|||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_extension_simple.png" alt="." style="background-color: white; background-color: inherit" title="Simple Extension" class="hierarchy"/>
|
||||
<span title="Slice DeliveryPattern: null">extension</span>
|
||||
<img src="icon_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/>
|
||||
<span title="Slice DeliveryPattern: null">extension:DeliveryPattern</span>
|
||||
<a name="Timing.repeat.when.extension"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">*</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">?? [CanonicalType[http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-deliveryPattern]]</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="font-weight:bold">URL: </span>http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-deliveryPattern
|
||||
|
@ -491,6 +551,14 @@
|
|||
<min value="0"/>
|
||||
<max value="*"/>
|
||||
</base>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<mustSupport value="false"/>
|
||||
<isModifier value="false"/>
|
||||
<mapping>
|
||||
|
@ -519,7 +587,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -553,6 +624,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -579,6 +666,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -602,6 +705,14 @@
|
|||
<type>
|
||||
<code value="dateTime"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -633,11 +744,27 @@
|
|||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="tim-9"/>
|
||||
<key value="tim-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="If there's an offset, there must be a when (and not C, CM, CD, CV)"/>
|
||||
<expression value="offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))"/>
|
||||
<xpath value="not(exists(f:offset)) or exists(f:when)"/>
|
||||
<human value="if there's a duration, there needs to be duration units"/>
|
||||
<expression value="duration.empty() or durationUnit.exists()"/>
|
||||
<xpath value="not(exists(f:duration)) or exists(f:durationUnit)"/>
|
||||
<source value="Timing.repeat"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="tim-2"/>
|
||||
<severity value="error"/>
|
||||
<human value="if there's a period, there needs to be period units"/>
|
||||
<expression value="period.empty() or periodUnit.exists()"/>
|
||||
<xpath value="not(exists(f:period)) or exists(f:periodUnit)"/>
|
||||
<source value="Timing.repeat"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="tim-4"/>
|
||||
<severity value="error"/>
|
||||
<human value="duration SHALL be a non-negative value"/>
|
||||
<expression value="duration.exists() implies duration >= 0"/>
|
||||
<xpath value="f:duration/@value >= 0 or not(f:duration/@value)"/>
|
||||
<source value="Timing.repeat"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
|
@ -673,11 +800,11 @@
|
|||
<source value="Timing.repeat"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="tim-1"/>
|
||||
<key value="tim-9"/>
|
||||
<severity value="error"/>
|
||||
<human value="if there's a duration, there needs to be duration units"/>
|
||||
<expression value="duration.empty() or durationUnit.exists()"/>
|
||||
<xpath value="not(exists(f:duration)) or exists(f:durationUnit)"/>
|
||||
<human value="If there's an offset, there must be a when (and not C, CM, CD, CV)"/>
|
||||
<expression value="offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))"/>
|
||||
<xpath value="not(exists(f:offset)) or exists(f:when)"/>
|
||||
<source value="Timing.repeat"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
|
@ -688,22 +815,6 @@
|
|||
<xpath value="not(exists(f:timeOfDay)) or not(exists(f:when))"/>
|
||||
<source value="Timing.repeat"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="tim-2"/>
|
||||
<severity value="error"/>
|
||||
<human value="if there's a period, there needs to be period units"/>
|
||||
<expression value="period.empty() or periodUnit.exists()"/>
|
||||
<xpath value="not(exists(f:period)) or exists(f:periodUnit)"/>
|
||||
<source value="Timing.repeat"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="tim-4"/>
|
||||
<severity value="error"/>
|
||||
<human value="duration SHALL be a non-negative value"/>
|
||||
<expression value="duration.exists() implies duration >= 0"/>
|
||||
<xpath value="f:duration/@value >= 0 or not(f:duration/@value)"/>
|
||||
<source value="Timing.repeat"/>
|
||||
</constraint>
|
||||
<mustSupport value="true"/>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -725,7 +836,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -759,6 +873,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -794,6 +924,14 @@
|
|||
<type>
|
||||
<code value="Period"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -816,6 +954,14 @@
|
|||
<type>
|
||||
<code value="Duration"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<mustSupport value="true"/>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -840,6 +986,14 @@
|
|||
<type>
|
||||
<code value="positiveInt"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -861,6 +1015,14 @@
|
|||
<type>
|
||||
<code value="positiveInt"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -884,6 +1046,14 @@
|
|||
<type>
|
||||
<code value="decimal"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<mustSupport value="true"/>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -908,6 +1078,14 @@
|
|||
<type>
|
||||
<code value="decimal"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -929,6 +1107,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<mustSupport value="true"/>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -960,6 +1146,14 @@
|
|||
<code value="positiveInt"/>
|
||||
</type>
|
||||
<meaningWhenMissing value="If no frequency is stated, the assumption is that the event occurs once per period, but systems SHOULD always be specific about this"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -981,6 +1175,14 @@
|
|||
<type>
|
||||
<code value="positiveInt"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1002,6 +1204,14 @@
|
|||
<type>
|
||||
<code value="decimal"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<mustSupport value="true"/>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1024,6 +1234,14 @@
|
|||
<type>
|
||||
<code value="decimal"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1045,6 +1263,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<mustSupport value="true"/>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1076,6 +1302,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<mustSupport value="true"/>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1104,7 +1338,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1131,6 +1368,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
</element>
|
||||
|
@ -1150,6 +1403,22 @@
|
|||
<code value="Extension"/>
|
||||
<profile value="http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-calendarPattern"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<mustSupport value="true"/>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1167,20 +1436,13 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/regex">
|
||||
<valueString value="[^\s]+(\s[^\s]+)*"/>
|
||||
</extension>
|
||||
<code>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
|
||||
<valueString value="string"/>
|
||||
</extension>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
|
||||
<valueString value="xsd:token"/>
|
||||
</extension>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type">
|
||||
<valueString value="xsd:token"/>
|
||||
</extension>
|
||||
</code>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1200,6 +1462,14 @@
|
|||
<type>
|
||||
<code value="time"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1223,6 +1493,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<mustSupport value="true"/>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1252,7 +1530,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1279,6 +1560,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
</element>
|
||||
|
@ -1298,6 +1595,22 @@
|
|||
<code value="Extension"/>
|
||||
<profile value="http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-deliveryPattern"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<mustSupport value="true"/>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1315,20 +1628,13 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/regex">
|
||||
<valueString value="[^\s]+(\s[^\s]+)*"/>
|
||||
</extension>
|
||||
<code>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
|
||||
<valueString value="string"/>
|
||||
</extension>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
|
||||
<valueString value="xsd:token"/>
|
||||
</extension>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type">
|
||||
<valueString value="xsd:token"/>
|
||||
</extension>
|
||||
</code>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1347,6 +1653,14 @@
|
|||
<type>
|
||||
<code value="unsignedInt"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1369,6 +1683,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
|
|
@ -88,24 +88,27 @@
|
|||
<rule text="element 13 (2nd slice).extension.id path" fhirpath="fixture('t13-output').snapshot.element[13].path = 'Patient.extension.extension.id'"/>
|
||||
<rule text="element 14 (2nd slice).extension.extension path" fhirpath="fixture('t13-output').snapshot.element[14].path = 'Patient.extension.extension.extension'"/>
|
||||
<rule text="element 15 (2nd slice).extension.url path" fhirpath="fixture('t13-output').snapshot.element[15].path = 'Patient.extension.extension.url'"/>
|
||||
<rule text="element 16 (2nd slice).extension.valueCodeableConcept path" fhirpath="fixture('t13-output').snapshot.element[16].path = 'Patient.extension.extension.valueCodeableConcept'"/>
|
||||
<rule text="element 17 (2nd slice).extension path" fhirpath="fixture('t13-output').snapshot.element[17].path = 'Patient.extension.extension'"/>
|
||||
<rule text="element 17 (2nd slice).extension cardinality" fhirpath="fixture('t13-output').snapshot.element[17].max = '0'"/>
|
||||
<rule text="element 18 (2nd slice).extension.id path" fhirpath="fixture('t13-output').snapshot.element[18].path = 'Patient.extension.extension.id'"/>
|
||||
<rule text="element 19 (2nd slice).extension.extension path" fhirpath="fixture('t13-output').snapshot.element[19].path = 'Patient.extension.extension.extension'"/>
|
||||
<rule text="element 20 (2nd slice).extension.url path" fhirpath="fixture('t13-output').snapshot.element[20].path = 'Patient.extension.extension.url'"/>
|
||||
<rule text="element 21 (2nd slice).extension.valuePeriod path" fhirpath="fixture('t13-output').snapshot.element[21].path = 'Patient.extension.extension.valuePeriod'"/>
|
||||
<rule text="element 22.url path" fhirpath="fixture('t13-output').snapshot.element[22].path = 'Patient.extension.url'"/>
|
||||
<rule text="element 22.value path" fhirpath="fixture('t13-output').snapshot.element[23].path = 'Patient.extension.value[x]'"/>
|
||||
<rule text="element 16 (2nd slice).extension.value path" fhirpath="fixture('t13-output').snapshot.element[16].path = 'Patient.extension.extension.value[x]'"/>
|
||||
<rule text="element 16 (2nd slice).extension.value id" fhirpath="fixture('t13-output').snapshot.element[16].id = 'Patient.extension:complex.extension:code.value[x]'"/>
|
||||
<rule text="element 17 (2nd slice).extension.value(CodeableConcept) path" fhirpath="fixture('t13-output').snapshot.element[17].path = 'Patient.extension.extension.value[x]'"/>
|
||||
<rule text="element 17 (2nd slice).extension.value(CodeableConcept) id" fhirpath="fixture('t13-output').snapshot.element[17].id = 'Patient.extension:complex.extension:code.value[x]:valueCodeableConcept'"/>
|
||||
<rule text="element 18 (2nd slice).extension path" fhirpath="fixture('t13-output').snapshot.element[18].path = 'Patient.extension.extension'"/>
|
||||
<rule text="element 18 (2nd slice).extension cardinality" fhirpath="fixture('t13-output').snapshot.element[18].max = '0'"/>
|
||||
<rule text="element 19 (2nd slice).extension.id path" fhirpath="fixture('t13-output').snapshot.element[19].path = 'Patient.extension.extension.id'"/>
|
||||
<rule text="element 20 (2nd slice).extension.extension path" fhirpath="fixture('t13-output').snapshot.element[20].path = 'Patient.extension.extension.extension'"/>
|
||||
<rule text="element 21 (2nd slice).extension.url path" fhirpath="fixture('t13-output').snapshot.element[21].path = 'Patient.extension.extension.url'"/>
|
||||
<rule text="element 22 (2nd slice).extension.valuePeriod path" fhirpath="fixture('t13-output').snapshot.element[22].path = 'Patient.extension.extension.value[x]'"/>
|
||||
<rule text="element 24.url path" fhirpath="fixture('t13-output').snapshot.element[24].path.trace('path') = 'Patient.extension.url'"/>
|
||||
<rule text="element 25.value path" fhirpath="fixture('t13-output').snapshot.element[25].path = 'Patient.extension.value[x]'"/>
|
||||
</test>
|
||||
<test gen="true" id="t14">
|
||||
<rule text="element count increased by 13" fhirpath="fixture('t14-output').snapshot.element.count() = fixture('organization').snapshot.element.count() + 13"/>
|
||||
</test>
|
||||
<test gen="true" id="t15">
|
||||
<rule text="element count increased by 27" fhirpath="fixture('t15-output').snapshot.element.count() = fixture('patient').snapshot.element.count() + 27"/>
|
||||
<rule text="element count increased by 27" fhirpath="fixture('t15-output').snapshot.element.count() = fixture('patient').snapshot.element.count() + 29"/>
|
||||
</test>
|
||||
<test gen="true" id="t16">
|
||||
<rule text="element count increased by 17" fhirpath="fixture('t16-output').snapshot.element.count() = fixture('t15-output').snapshot.element.count() + 17"/>
|
||||
<rule text="element count increased by 17" fhirpath="fixture('t16-output').snapshot.element.count() = fixture('t15-output').snapshot.element.count() + 19"/>
|
||||
</test>
|
||||
<test gen="true" id="t17">
|
||||
<rule text="Patient.modifierExtension must be sliced" fhirpath="fixture('t17-output').snapshot.element.where(path = 'Patient.modifierExtension').first().slicing.exists()"/>
|
||||
|
@ -140,7 +143,7 @@
|
|||
<rule text="PlanDefinition.action.action tail must not have a slice name" fhirpath="fixture('t21-output').snapshot.element.where(path = 'PlanDefinition.action.action').tail().all(sliceName.empty().not())"/>
|
||||
</test>
|
||||
<test gen="true" id="t22">
|
||||
<rule text="element count increased by 76" fhirpath="fixture('t22-output').snapshot.element.count().trace('t22o') = fixture('patient').snapshot.element.count().trace('t22patient') + 76"/>
|
||||
<rule text="element count increased by 64" fhirpath="fixture('t22-output').snapshot.element.count().trace('t22o') = fixture('patient').snapshot.element.count().trace('t22patient') + 64"/>
|
||||
</test>
|
||||
<test gen="true" sort="true" id="t23">
|
||||
<rule text="element count increased by ??" fhirpath="fixture('t23-output').snapshot.element.count().trace('t23o') = fixture('patient').snapshot.element.count().trace('t23patient') + 11"/>
|
||||
|
@ -165,6 +168,7 @@
|
|||
<rule text="There is an element with id 'Parameters.parameter.part:foo.id'" fhirpath="fixture('t29-output').snapshot.element.where(id = 'Parameters.parameter.part:foo.id').count()=1"/>
|
||||
</test>
|
||||
<test gen="true" sort="true" id="t29a" fail="true"/>
|
||||
<test gen="true" id="t29b" fail="true" regex=".*OperationOutcome.*"/>
|
||||
<test gen="true" sort="true" id="t30b" include="t30a">
|
||||
<rule text="Snapshot doesn't result in an error'" fhirpath="fixture('t30b-output').snapshot.element.count().trace('t30bo')>1"/>
|
||||
</test>
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -57,6 +57,14 @@
|
|||
<xpath value="not(parent::f:contained and f:contained)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-4"/>
|
||||
<severity value="error"/>
|
||||
|
@ -66,11 +74,11 @@
|
|||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
|
@ -87,14 +95,6 @@
|
|||
<xpath value="exists(f:text/h:div)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -123,7 +123,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="id"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -142,6 +145,14 @@
|
|||
<type>
|
||||
<code value="Meta"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -160,6 +171,14 @@
|
|||
<type>
|
||||
<code value="uri"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -179,6 +198,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -215,6 +242,14 @@
|
|||
<type>
|
||||
<code value="Narrative"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -264,6 +299,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -289,6 +340,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -312,6 +379,14 @@
|
|||
<type>
|
||||
<code value="Identifier"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -348,6 +423,14 @@
|
|||
<code value="boolean"/>
|
||||
</type>
|
||||
<meaningWhenMissing value="This resource is generally assumed to be active if no value is provided for the active element"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -380,6 +463,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -411,6 +502,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -442,6 +541,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -484,6 +591,14 @@
|
|||
<type>
|
||||
<code value="date"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -522,6 +637,14 @@
|
|||
<type>
|
||||
<code value="dateTime"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different."/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -554,6 +677,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -584,6 +715,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -629,6 +768,14 @@
|
|||
<type>
|
||||
<code value="integer"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -660,6 +807,14 @@
|
|||
<type>
|
||||
<code value="Attachment"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -733,7 +888,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -759,6 +917,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -785,6 +959,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -808,6 +998,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -846,6 +1044,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -877,6 +1083,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -907,6 +1121,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -937,6 +1159,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -980,6 +1210,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<condition value="pat-1"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1009,6 +1247,14 @@
|
|||
<type>
|
||||
<code value="Period"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1068,7 +1314,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1094,6 +1343,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1120,6 +1385,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1144,6 +1425,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1189,6 +1478,14 @@
|
|||
<type>
|
||||
<code value="boolean"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1223,6 +1520,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1255,6 +1560,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1315,7 +1628,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1341,6 +1657,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1367,6 +1699,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1395,6 +1743,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1424,6 +1780,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
|
|
@ -36,8 +36,15 @@
|
|||
<a name="Patient.identifier"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="font-style: italic"/>
|
||||
<span style="opacity: 0.4; font-style: italic">0</span>
|
||||
<span style="opacity: 0.5; font-style: italic">..</span>
|
||||
<span style="opacity: 0.4; font-style: italic">*</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="font-style: italic" href="nullprofiling.html#slicing">(Slice Definition)</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="font-weight:bold; font-style: italic">Slice: </span>
|
||||
<span style="font-style: italic">Unordered, Open by value:use</span>
|
||||
|
@ -110,6 +117,14 @@
|
|||
<xpath value="not(parent::f:contained and f:contained)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-4"/>
|
||||
<severity value="error"/>
|
||||
|
@ -119,11 +134,11 @@
|
|||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
|
@ -140,14 +155,6 @@
|
|||
<xpath value="exists(f:text/h:div)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -176,7 +183,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="id"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -195,6 +205,14 @@
|
|||
<type>
|
||||
<code value="Meta"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -213,6 +231,14 @@
|
|||
<type>
|
||||
<code value="uri"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -232,6 +258,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -268,6 +302,14 @@
|
|||
<type>
|
||||
<code value="Narrative"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -317,6 +359,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -342,6 +400,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -373,6 +447,14 @@
|
|||
<type>
|
||||
<code value="Identifier"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -408,6 +490,14 @@
|
|||
<type>
|
||||
<code value="Identifier"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -440,7 +530,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -474,6 +567,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -498,6 +607,14 @@
|
|||
<code value="code"/>
|
||||
</type>
|
||||
<fixedCode value="usual"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This is labeled as "Is Modifier" because applications should not mistake a temporary id for a permanent one."/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -534,6 +651,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -576,6 +701,14 @@
|
|||
<label value="General"/>
|
||||
<valueUri value="http://www.acme.com/identifiers/patient"/>
|
||||
</example>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -610,6 +743,14 @@
|
|||
<label value="General"/>
|
||||
<valueString value="123456"/>
|
||||
</example>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -639,6 +780,14 @@
|
|||
<type>
|
||||
<code value="Period"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -670,6 +819,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -701,6 +858,14 @@
|
|||
<type>
|
||||
<code value="Identifier"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -733,7 +898,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -767,6 +935,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -791,6 +975,14 @@
|
|||
<code value="code"/>
|
||||
</type>
|
||||
<fixedCode value="official"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This is labeled as "Is Modifier" because applications should not mistake a temporary id for a permanent one."/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -827,6 +1019,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -869,6 +1069,14 @@
|
|||
<label value="General"/>
|
||||
<valueUri value="http://www.acme.com/identifiers/patient"/>
|
||||
</example>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -903,6 +1111,14 @@
|
|||
<label value="General"/>
|
||||
<valueString value="123456"/>
|
||||
</example>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -932,6 +1148,14 @@
|
|||
<type>
|
||||
<code value="Period"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -963,6 +1187,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -995,6 +1227,14 @@
|
|||
<code value="boolean"/>
|
||||
</type>
|
||||
<meaningWhenMissing value="This resource is generally assumed to be active if no value is provided for the active element"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1027,6 +1267,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1058,6 +1306,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1089,6 +1345,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -1131,6 +1395,14 @@
|
|||
<type>
|
||||
<code value="date"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1169,6 +1441,14 @@
|
|||
<type>
|
||||
<code value="dateTime"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different."/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1201,6 +1481,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1231,6 +1519,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1276,6 +1572,14 @@
|
|||
<type>
|
||||
<code value="integer"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1307,6 +1611,14 @@
|
|||
<type>
|
||||
<code value="Attachment"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1380,7 +1692,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1406,6 +1721,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1432,6 +1763,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1455,6 +1802,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1493,6 +1848,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1524,6 +1887,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1554,6 +1925,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1584,6 +1963,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1627,6 +2014,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<condition value="pat-1"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1656,6 +2051,14 @@
|
|||
<type>
|
||||
<code value="Period"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1715,7 +2118,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1741,6 +2147,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1767,6 +2189,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1791,6 +2229,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1836,6 +2282,14 @@
|
|||
<type>
|
||||
<code value="boolean"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1870,6 +2324,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1902,6 +2364,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1962,7 +2432,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1988,6 +2461,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -2014,6 +2503,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -2042,6 +2547,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -2071,6 +2584,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
|
|
@ -114,6 +114,14 @@
|
|||
<xpath value="not(parent::f:contained and f:contained)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-4"/>
|
||||
<severity value="error"/>
|
||||
|
@ -123,11 +131,11 @@
|
|||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
|
@ -144,14 +152,6 @@
|
|||
<xpath value="exists(f:text/h:div)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -180,7 +180,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="id"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -199,6 +202,14 @@
|
|||
<type>
|
||||
<code value="Meta"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -217,6 +228,14 @@
|
|||
<type>
|
||||
<code value="uri"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -236,6 +255,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -272,6 +299,14 @@
|
|||
<type>
|
||||
<code value="Narrative"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -326,6 +361,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
</element>
|
||||
|
@ -335,7 +386,7 @@
|
|||
<short value="Time of day of birth"/>
|
||||
<definition value="The time of day that the Patient was born. This includes the date to ensure that the timezone information can be communicated effectively."/>
|
||||
<min value="1"/>
|
||||
<max value="*"/>
|
||||
<max value="1"/>
|
||||
<base>
|
||||
<path value="DomainResource.extension"/>
|
||||
<min value="0"/>
|
||||
|
@ -417,6 +468,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -440,6 +507,14 @@
|
|||
<type>
|
||||
<code value="Identifier"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -476,6 +551,14 @@
|
|||
<code value="boolean"/>
|
||||
</type>
|
||||
<meaningWhenMissing value="This resource is generally assumed to be active if no value is provided for the active element"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -508,6 +591,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -539,6 +630,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -570,6 +669,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -612,6 +719,14 @@
|
|||
<type>
|
||||
<code value="date"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -650,6 +765,14 @@
|
|||
<type>
|
||||
<code value="dateTime"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different."/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -682,6 +805,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -712,6 +843,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -757,6 +896,14 @@
|
|||
<type>
|
||||
<code value="integer"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -788,6 +935,14 @@
|
|||
<type>
|
||||
<code value="Attachment"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -861,7 +1016,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -887,6 +1045,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -913,6 +1087,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -936,6 +1126,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -974,6 +1172,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1005,6 +1211,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1035,6 +1249,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1065,6 +1287,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1108,6 +1338,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<condition value="pat-1"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1137,6 +1375,14 @@
|
|||
<type>
|
||||
<code value="Period"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1196,7 +1442,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1222,6 +1471,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1248,6 +1513,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1272,6 +1553,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1317,6 +1606,14 @@
|
|||
<type>
|
||||
<code value="boolean"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1351,6 +1648,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1383,6 +1688,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1443,7 +1756,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1469,6 +1785,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1495,6 +1827,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1523,6 +1871,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1552,6 +1908,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;">
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck4.png)" class="hierarchy">
|
||||
<img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_extension_simple.png" alt="." style="background-color: white; background-color: inherit" title="Simple Extension" class="hierarchy"/>
|
||||
<img src="icon_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/>
|
||||
<span title="Extension URL = http://hl7.org/fhir/StructureDefinition/patient-birthTime">patient-birthTime</span>
|
||||
<a name="Patient.extension"> </a>
|
||||
</td>
|
||||
|
@ -112,6 +112,14 @@
|
|||
<xpath value="not(parent::f:contained and f:contained)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-4"/>
|
||||
<severity value="error"/>
|
||||
|
@ -121,11 +129,11 @@
|
|||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
|
@ -142,14 +150,6 @@
|
|||
<xpath value="exists(f:text/h:div)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -178,7 +178,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="id"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -197,6 +200,14 @@
|
|||
<type>
|
||||
<code value="Meta"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -215,6 +226,14 @@
|
|||
<type>
|
||||
<code value="uri"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -234,6 +253,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -270,6 +297,14 @@
|
|||
<type>
|
||||
<code value="Narrative"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -324,6 +359,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
</element>
|
||||
|
@ -333,7 +384,7 @@
|
|||
<short value="Time of day of birth"/>
|
||||
<definition value="The time of day that the Patient was born. This includes the date to ensure that the timezone information can be communicated effectively."/>
|
||||
<min value="1"/>
|
||||
<max value="*"/>
|
||||
<max value="1"/>
|
||||
<base>
|
||||
<path value="DomainResource.extension"/>
|
||||
<min value="0"/>
|
||||
|
@ -368,7 +419,7 @@
|
|||
<short value="Mother's Maiden name"/>
|
||||
<definition value="Mother's maiden (unmarried) name, commonly collected to help verify patient identity."/>
|
||||
<min value="0"/>
|
||||
<max value="*"/>
|
||||
<max value="1"/>
|
||||
<base>
|
||||
<path value="DomainResource.extension"/>
|
||||
<min value="0"/>
|
||||
|
@ -423,6 +474,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -446,6 +513,14 @@
|
|||
<type>
|
||||
<code value="Identifier"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -482,6 +557,14 @@
|
|||
<code value="boolean"/>
|
||||
</type>
|
||||
<meaningWhenMissing value="This resource is generally assumed to be active if no value is provided for the active element"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -514,6 +597,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -545,6 +636,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -576,6 +675,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -618,6 +725,14 @@
|
|||
<type>
|
||||
<code value="date"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -656,6 +771,14 @@
|
|||
<type>
|
||||
<code value="dateTime"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different."/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -688,6 +811,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -718,6 +849,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -763,6 +902,14 @@
|
|||
<type>
|
||||
<code value="integer"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -794,6 +941,14 @@
|
|||
<type>
|
||||
<code value="Attachment"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -867,7 +1022,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -893,6 +1051,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -919,6 +1093,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -942,6 +1132,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -980,6 +1178,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1011,6 +1217,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1041,6 +1255,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1071,6 +1293,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1114,6 +1344,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<condition value="pat-1"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1143,6 +1381,14 @@
|
|||
<type>
|
||||
<code value="Period"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1202,7 +1448,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1228,6 +1477,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1254,6 +1519,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1278,6 +1559,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1323,6 +1612,14 @@
|
|||
<type>
|
||||
<code value="boolean"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1357,6 +1654,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1389,6 +1694,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1449,7 +1762,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1475,6 +1791,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1501,6 +1833,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1529,6 +1877,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1558,6 +1914,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;">
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck4.png)" class="hierarchy">
|
||||
<img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_extension_simple.png" alt="." style="background-color: white; background-color: inherit" title="Simple Extension" class="hierarchy"/>
|
||||
<img src="icon_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/>
|
||||
<span title="Extension URL = http://hl7.org/fhir/StructureDefinition/patient-birthTime">patient-birthTime</span>
|
||||
<a name="Patient.extension"> </a>
|
||||
</td>
|
||||
|
@ -112,6 +112,14 @@
|
|||
<xpath value="not(parent::f:contained and f:contained)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-4"/>
|
||||
<severity value="error"/>
|
||||
|
@ -121,11 +129,11 @@
|
|||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
|
@ -142,14 +150,6 @@
|
|||
<xpath value="exists(f:text/h:div)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -178,7 +178,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="id"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -197,6 +200,14 @@
|
|||
<type>
|
||||
<code value="Meta"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -215,6 +226,14 @@
|
|||
<type>
|
||||
<code value="uri"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -234,6 +253,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -270,6 +297,14 @@
|
|||
<type>
|
||||
<code value="Narrative"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -324,6 +359,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
</element>
|
||||
|
@ -333,7 +384,7 @@
|
|||
<short value="Time of day of birth"/>
|
||||
<definition value="The time of day that the Patient was born. This includes the date to ensure that the timezone information can be communicated effectively."/>
|
||||
<min value="1"/>
|
||||
<max value="*"/>
|
||||
<max value="1"/>
|
||||
<base>
|
||||
<path value="DomainResource.extension"/>
|
||||
<min value="0"/>
|
||||
|
@ -380,6 +431,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -403,6 +470,14 @@
|
|||
<type>
|
||||
<code value="Identifier"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -439,6 +514,14 @@
|
|||
<code value="boolean"/>
|
||||
</type>
|
||||
<meaningWhenMissing value="This resource is generally assumed to be active if no value is provided for the active element"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -471,6 +554,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -502,6 +593,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -533,6 +632,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -575,6 +682,14 @@
|
|||
<type>
|
||||
<code value="date"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -613,6 +728,14 @@
|
|||
<type>
|
||||
<code value="dateTime"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different."/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -645,6 +768,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -675,6 +806,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -720,6 +859,14 @@
|
|||
<type>
|
||||
<code value="integer"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -751,6 +898,14 @@
|
|||
<type>
|
||||
<code value="Attachment"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -824,7 +979,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -850,6 +1008,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -876,6 +1050,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -899,6 +1089,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -937,6 +1135,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -968,6 +1174,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -998,6 +1212,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1028,6 +1250,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1071,6 +1301,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<condition value="pat-1"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1100,6 +1338,14 @@
|
|||
<type>
|
||||
<code value="Period"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1159,7 +1405,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1185,6 +1434,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1211,6 +1476,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1235,6 +1516,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1280,6 +1569,14 @@
|
|||
<type>
|
||||
<code value="boolean"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1314,6 +1611,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1346,6 +1651,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1406,7 +1719,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1432,6 +1748,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1458,6 +1790,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1486,6 +1834,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1515,6 +1871,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
|
|
@ -36,8 +36,14 @@
|
|||
<a name="Patient.extension"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">*</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#Extension">Extension</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="font-weight:bold">Slice: </span>Unordered, Open by value:url
|
||||
</td>
|
||||
|
@ -109,6 +115,14 @@
|
|||
<xpath value="not(parent::f:contained and f:contained)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-4"/>
|
||||
<severity value="error"/>
|
||||
|
@ -118,11 +132,11 @@
|
|||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
|
@ -139,14 +153,6 @@
|
|||
<xpath value="exists(f:text/h:div)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -175,7 +181,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="id"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -194,6 +203,14 @@
|
|||
<type>
|
||||
<code value="Meta"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -212,6 +229,14 @@
|
|||
<type>
|
||||
<code value="uri"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -231,6 +256,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -267,6 +300,14 @@
|
|||
<type>
|
||||
<code value="Narrative"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -321,6 +362,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
</element>
|
||||
|
@ -330,7 +387,7 @@
|
|||
<short value="Time of day of birth"/>
|
||||
<definition value="The time of day that the Patient was born. This includes the date to ensure that the timezone information can be communicated effectively."/>
|
||||
<min value="0"/>
|
||||
<max value="*"/>
|
||||
<max value="1"/>
|
||||
<base>
|
||||
<path value="DomainResource.extension"/>
|
||||
<min value="0"/>
|
||||
|
@ -407,7 +464,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -439,6 +499,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
</element>
|
||||
|
@ -448,7 +524,7 @@
|
|||
<short value="Nationality"/>
|
||||
<definition value="The nationality of the patient."/>
|
||||
<min value="0"/>
|
||||
<max value="1"/>
|
||||
<max value="*"/>
|
||||
<base>
|
||||
<path value="Element.extension"/>
|
||||
<min value="0"/>
|
||||
|
@ -491,7 +567,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -522,6 +601,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
</element>
|
||||
|
@ -549,10 +644,18 @@
|
|||
<map value="N/A"/>
|
||||
</mapping>
|
||||
</element>
|
||||
<element id="Patient.extension:complex.extension:code.valueCodeableConcept">
|
||||
<path value="Patient.extension.extension.valueCodeableConcept"/>
|
||||
<element id="Patient.extension:complex.extension:code.value[x]">
|
||||
<path value="Patient.extension.extension.value[x]"/>
|
||||
<slicing>
|
||||
<discriminator>
|
||||
<type value="type"/>
|
||||
<path value="$this"/>
|
||||
</discriminator>
|
||||
<ordered value="false"/>
|
||||
<rules value="closed"/>
|
||||
</slicing>
|
||||
<short value="Value of extension"/>
|
||||
<definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list)."/>
|
||||
<definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list)."/>
|
||||
<min value="0"/>
|
||||
<max value="1"/>
|
||||
<base>
|
||||
|
@ -563,6 +666,44 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
<identity value="rim"/>
|
||||
<map value="N/A"/>
|
||||
</mapping>
|
||||
</element>
|
||||
<element id="Patient.extension:complex.extension:code.value[x]:valueCodeableConcept">
|
||||
<path value="Patient.extension.extension.value[x]"/>
|
||||
<sliceName value="valueCodeableConcept"/>
|
||||
<short value="Value of extension"/>
|
||||
<definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list)."/>
|
||||
<min value="0"/>
|
||||
<max value="1"/>
|
||||
<base>
|
||||
<path value="Extension.value[x]"/>
|
||||
<min value="0"/>
|
||||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -618,7 +759,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -649,6 +793,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
</element>
|
||||
|
@ -676,10 +836,18 @@
|
|||
<map value="N/A"/>
|
||||
</mapping>
|
||||
</element>
|
||||
<element id="Patient.extension:complex.extension:period.valuePeriod">
|
||||
<path value="Patient.extension.extension.valuePeriod"/>
|
||||
<element id="Patient.extension:complex.extension:period.value[x]">
|
||||
<path value="Patient.extension.extension.value[x]"/>
|
||||
<slicing>
|
||||
<discriminator>
|
||||
<type value="type"/>
|
||||
<path value="$this"/>
|
||||
</discriminator>
|
||||
<ordered value="false"/>
|
||||
<rules value="closed"/>
|
||||
</slicing>
|
||||
<short value="Value of extension"/>
|
||||
<definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list)."/>
|
||||
<definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list)."/>
|
||||
<min value="0"/>
|
||||
<max value="1"/>
|
||||
<base>
|
||||
|
@ -690,6 +858,44 @@
|
|||
<type>
|
||||
<code value="Period"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
<identity value="rim"/>
|
||||
<map value="N/A"/>
|
||||
</mapping>
|
||||
</element>
|
||||
<element id="Patient.extension:complex.extension:period.value[x]:valuePeriod">
|
||||
<path value="Patient.extension.extension.value[x]"/>
|
||||
<sliceName value="valuePeriod"/>
|
||||
<short value="Value of extension"/>
|
||||
<definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list)."/>
|
||||
<min value="0"/>
|
||||
<max value="1"/>
|
||||
<base>
|
||||
<path value="Extension.value[x]"/>
|
||||
<min value="0"/>
|
||||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="Period"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -711,7 +917,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="uri"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="uri"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<fixedUri value="http://hl7.org/fhir/StructureDefinition/patient-nationality"/>
|
||||
<isModifier value="false"/>
|
||||
|
@ -724,7 +933,7 @@
|
|||
<element id="Patient.extension:complex.value[x]">
|
||||
<path value="Patient.extension.value[x]"/>
|
||||
<short value="Value of extension"/>
|
||||
<definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list)."/>
|
||||
<definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list)."/>
|
||||
<min value="0"/>
|
||||
<max value="0"/>
|
||||
<base>
|
||||
|
@ -879,6 +1088,17 @@
|
|||
<type>
|
||||
<code value="Dosage"/>
|
||||
</type>
|
||||
<type>
|
||||
<code value="Meta"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -904,6 +1124,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -927,6 +1163,14 @@
|
|||
<type>
|
||||
<code value="Identifier"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -963,6 +1207,14 @@
|
|||
<code value="boolean"/>
|
||||
</type>
|
||||
<meaningWhenMissing value="This resource is generally assumed to be active if no value is provided for the active element"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -995,6 +1247,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1026,6 +1286,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1057,6 +1325,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -1099,6 +1375,14 @@
|
|||
<type>
|
||||
<code value="date"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1137,6 +1421,14 @@
|
|||
<type>
|
||||
<code value="dateTime"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different."/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1169,6 +1461,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1199,6 +1499,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1244,6 +1552,14 @@
|
|||
<type>
|
||||
<code value="integer"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1275,6 +1591,14 @@
|
|||
<type>
|
||||
<code value="Attachment"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1348,7 +1672,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1374,6 +1701,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1400,6 +1743,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1423,6 +1782,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1461,6 +1828,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1492,6 +1867,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1522,6 +1905,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1552,6 +1943,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1595,6 +1994,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<condition value="pat-1"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1624,6 +2031,14 @@
|
|||
<type>
|
||||
<code value="Period"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1683,7 +2098,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1709,6 +2127,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1735,6 +2169,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1759,6 +2209,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1804,6 +2262,14 @@
|
|||
<type>
|
||||
<code value="boolean"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1838,6 +2304,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1870,6 +2344,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1930,7 +2412,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1956,6 +2441,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1982,6 +2483,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -2010,6 +2527,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -2039,6 +2564,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
|
|
@ -39,7 +39,9 @@
|
|||
<span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#Address">Address</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
|
@ -47,8 +49,8 @@
|
|||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck04.png)" class="hierarchy">
|
||||
<img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_extension_simple.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Simple Extension" class="hierarchy"/>
|
||||
<span title="Slice USLabCountycodes: County/Parish FIPS codes">extension</span>
|
||||
<img src="icon_slice_item.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Slice Item" class="hierarchy"/>
|
||||
<span title="Slice USLabCountycodes: County/Parish FIPS codes">extension:USLabCountycodes</span>
|
||||
<a name="Organization.address.extension"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
|
@ -103,7 +105,7 @@
|
|||
</mapping>
|
||||
<kind value="resource"/>
|
||||
<abstract value="false"/>
|
||||
<type value="Patient"/>
|
||||
<type value="Organization"/>
|
||||
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
<derivation value="constraint"/>
|
||||
<snapshot>
|
||||
|
@ -126,6 +128,14 @@
|
|||
<xpath value="not(parent::f:contained and f:contained)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-4"/>
|
||||
<severity value="error"/>
|
||||
|
@ -135,11 +145,11 @@
|
|||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
|
@ -156,14 +166,6 @@
|
|||
<xpath value="exists(f:text/h:div)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="org-1"/>
|
||||
<severity value="error"/>
|
||||
|
@ -203,7 +205,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="id"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -222,6 +227,14 @@
|
|||
<type>
|
||||
<code value="Meta"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -240,6 +253,14 @@
|
|||
<type>
|
||||
<code value="uri"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -259,6 +280,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -295,6 +324,14 @@
|
|||
<type>
|
||||
<code value="Narrative"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -344,6 +381,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -369,6 +422,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -393,6 +462,14 @@
|
|||
<code value="Identifier"/>
|
||||
</type>
|
||||
<condition value="org-1"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -429,6 +506,14 @@
|
|||
<code value="boolean"/>
|
||||
</type>
|
||||
<meaningWhenMissing value="This resource is generally assumed to be active if no value is provided for the active element"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -465,6 +550,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -509,6 +602,14 @@
|
|||
<code value="string"/>
|
||||
</type>
|
||||
<condition value="org-1"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -540,6 +641,14 @@
|
|||
<type>
|
||||
<code value="string"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -564,6 +673,14 @@
|
|||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<condition value="org-3"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="org-3"/>
|
||||
<severity value="error"/>
|
||||
|
@ -603,6 +720,14 @@
|
|||
<code value="Address"/>
|
||||
</type>
|
||||
<condition value="org-2"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="org-2"/>
|
||||
<severity value="error"/>
|
||||
|
@ -640,7 +765,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -674,6 +802,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -698,6 +842,22 @@
|
|||
<code value="Extension"/>
|
||||
<profile value="http://hl7.org/fhir/StructureDefinition/us-core-county"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<mustSupport value="true"/>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -722,6 +882,14 @@
|
|||
<label value="General"/>
|
||||
<valueCode value="home"/>
|
||||
</example>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This is labeled as "Is Modifier" because applications should not mistake a temporary or old address etc.for a current/permanent one"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -765,6 +933,14 @@
|
|||
<label value="General"/>
|
||||
<valueCode value="both"/>
|
||||
</example>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -808,6 +984,14 @@
|
|||
<label value="General"/>
|
||||
<valueString value="137 Nowhere Street, Erewhon 9132"/>
|
||||
</example>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -842,6 +1026,14 @@
|
|||
<label value="General"/>
|
||||
<valueString value="137 Nowhere Street"/>
|
||||
</example>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -880,6 +1072,14 @@
|
|||
<label value="General"/>
|
||||
<valueString value="Erewhon"/>
|
||||
</example>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -919,6 +1119,14 @@
|
|||
<label value="General"/>
|
||||
<valueString value="Madison"/>
|
||||
</example>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -946,6 +1154,14 @@
|
|||
<type>
|
||||
<code value="string"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -984,6 +1200,14 @@
|
|||
<label value="General"/>
|
||||
<valueString value="9132"/>
|
||||
</example>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1018,6 +1242,14 @@
|
|||
<type>
|
||||
<code value="string"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1059,6 +1291,14 @@
|
|||
<end value="2010-07-01"/>
|
||||
</valuePeriod>
|
||||
</example>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1093,6 +1333,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1152,7 +1400,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1178,6 +1429,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1204,6 +1471,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1227,6 +1510,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1257,6 +1548,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1283,6 +1582,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1309,6 +1616,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1336,6 +1651,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Endpoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<description value="fixture for #14: see task 8742"/>
|
||||
<kind value="resource"/>
|
||||
<abstract value="false"/>
|
||||
<type value="Patient"/>
|
||||
<type value="Organization"/>
|
||||
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
<derivation value="constraint"/>
|
||||
<differential>
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -22,7 +22,7 @@
|
|||
</element>
|
||||
<element>
|
||||
<path value="Patient.address.extension.extension.valueDecimal.extension"/>
|
||||
<sliceName value="Geolocation.latitude.rendered"/>
|
||||
<sliceName value="Geolocation-latitude-rendered"/>
|
||||
<type>
|
||||
<code value="Extension"/>
|
||||
<profile value="http://hl7.org/fhir/StructureDefinition/rendered-value"/>
|
||||
|
@ -39,7 +39,7 @@
|
|||
</element>
|
||||
<element>
|
||||
<path value="Patient.address.extension.extension.valueDecimal.extension"/>
|
||||
<sliceName value="Geolocation.longitude.rendered"/>
|
||||
<sliceName value="Geolocation-longitude-rendered"/>
|
||||
<type>
|
||||
<code value="Extension"/>
|
||||
<profile value="http://hl7.org/fhir/StructureDefinition/rendered-value"/>
|
||||
|
|
|
@ -36,8 +36,13 @@
|
|||
<a name="Patient.modifierExtension"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">..3</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>..
|
||||
<span style="opacity: 0.4">3</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a href="nullprofiling.html#slicing">(Slice Definition)</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="font-weight:bold">Slice: </span>Unordered, Open by value:url
|
||||
</td>
|
||||
|
@ -109,6 +114,14 @@
|
|||
<xpath value="not(parent::f:contained and f:contained)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-4"/>
|
||||
<severity value="error"/>
|
||||
|
@ -118,11 +131,11 @@
|
|||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
|
@ -139,14 +152,6 @@
|
|||
<xpath value="exists(f:text/h:div)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -175,7 +180,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="id"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -194,6 +202,14 @@
|
|||
<type>
|
||||
<code value="Meta"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -212,6 +228,14 @@
|
|||
<type>
|
||||
<code value="uri"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -231,6 +255,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -267,6 +299,14 @@
|
|||
<type>
|
||||
<code value="Narrative"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -316,6 +356,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -345,6 +401,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -355,7 +427,7 @@
|
|||
<short value="Time of day of birth"/>
|
||||
<definition value="The time of day that the Patient was born. This includes the date to ensure that the timezone information can be communicated effectively."/>
|
||||
<min value="1"/>
|
||||
<max value="*"/>
|
||||
<max value="1"/>
|
||||
<base>
|
||||
<path value="DomainResource.modifierExtension"/>
|
||||
<min value="0"/>
|
||||
|
@ -390,7 +462,7 @@
|
|||
<short value="Mother's Maiden name"/>
|
||||
<definition value="Mother's maiden (unmarried) name, commonly collected to help verify patient identity."/>
|
||||
<min value="0"/>
|
||||
<max value="*"/>
|
||||
<max value="1"/>
|
||||
<base>
|
||||
<path value="DomainResource.modifierExtension"/>
|
||||
<min value="0"/>
|
||||
|
@ -442,6 +514,14 @@
|
|||
<type>
|
||||
<code value="Identifier"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -478,6 +558,14 @@
|
|||
<code value="boolean"/>
|
||||
</type>
|
||||
<meaningWhenMissing value="This resource is generally assumed to be active if no value is provided for the active element"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -510,6 +598,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -541,6 +637,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -572,6 +676,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -614,6 +726,14 @@
|
|||
<type>
|
||||
<code value="date"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -652,6 +772,14 @@
|
|||
<type>
|
||||
<code value="dateTime"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different."/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -684,6 +812,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -714,6 +850,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -759,6 +903,14 @@
|
|||
<type>
|
||||
<code value="integer"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -790,6 +942,14 @@
|
|||
<type>
|
||||
<code value="Attachment"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -863,7 +1023,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -889,6 +1052,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -915,6 +1094,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -938,6 +1133,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -976,6 +1179,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1007,6 +1218,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1037,6 +1256,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1067,6 +1294,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1110,6 +1345,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<condition value="pat-1"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1139,6 +1382,14 @@
|
|||
<type>
|
||||
<code value="Period"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1198,7 +1449,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1224,6 +1478,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1250,6 +1520,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1274,6 +1560,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1319,6 +1613,14 @@
|
|||
<type>
|
||||
<code value="boolean"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1353,6 +1655,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1385,6 +1695,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1445,7 +1763,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1471,6 +1792,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1497,6 +1834,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1525,6 +1878,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1554,6 +1915,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
|
|
@ -31,12 +31,12 @@
|
|||
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;">
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck4.png)" class="hierarchy">
|
||||
<img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_modifier_extension_simple.png" alt="." style="background-color: white; background-color: inherit" title="Simple Extension" class="hierarchy"/>
|
||||
<span title="Slice name1: null">modifierExtension</span>
|
||||
<img src="icon_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/>
|
||||
<span title="Slice name1: null">modifierExtension:name1</span>
|
||||
<a name="Patient.modifierExtension"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a href="patient-birthTime.html" title="Extension">Birth Time</a>
|
||||
</td>
|
||||
|
@ -109,6 +109,14 @@
|
|||
<xpath value="not(parent::f:contained and f:contained)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-4"/>
|
||||
<severity value="error"/>
|
||||
|
@ -118,11 +126,11 @@
|
|||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
|
@ -139,14 +147,6 @@
|
|||
<xpath value="exists(f:text/h:div)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -175,7 +175,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="id"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -194,6 +197,14 @@
|
|||
<type>
|
||||
<code value="Meta"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -212,6 +223,14 @@
|
|||
<type>
|
||||
<code value="uri"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -231,6 +250,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -267,6 +294,14 @@
|
|||
<type>
|
||||
<code value="Narrative"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -316,6 +351,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -345,6 +396,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -355,7 +422,7 @@
|
|||
<short value="Time of day of birth"/>
|
||||
<definition value="The time of day that the Patient was born. This includes the date to ensure that the timezone information can be communicated effectively."/>
|
||||
<min value="1"/>
|
||||
<max value="*"/>
|
||||
<max value="1"/>
|
||||
<base>
|
||||
<path value="DomainResource.modifierExtension"/>
|
||||
<min value="0"/>
|
||||
|
@ -390,7 +457,7 @@
|
|||
<short value="Mother's Maiden name"/>
|
||||
<definition value="Mother's maiden (unmarried) name, commonly collected to help verify patient identity."/>
|
||||
<min value="0"/>
|
||||
<max value="*"/>
|
||||
<max value="1"/>
|
||||
<base>
|
||||
<path value="DomainResource.modifierExtension"/>
|
||||
<min value="0"/>
|
||||
|
@ -442,6 +509,14 @@
|
|||
<type>
|
||||
<code value="Identifier"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -478,6 +553,14 @@
|
|||
<code value="boolean"/>
|
||||
</type>
|
||||
<meaningWhenMissing value="This resource is generally assumed to be active if no value is provided for the active element"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -510,6 +593,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -541,6 +632,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -572,6 +671,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -614,6 +721,14 @@
|
|||
<type>
|
||||
<code value="date"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -652,6 +767,14 @@
|
|||
<type>
|
||||
<code value="dateTime"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different."/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -684,6 +807,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -714,6 +845,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -759,6 +898,14 @@
|
|||
<type>
|
||||
<code value="integer"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -790,6 +937,14 @@
|
|||
<type>
|
||||
<code value="Attachment"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -863,7 +1018,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -889,6 +1047,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -915,6 +1089,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -938,6 +1128,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -976,6 +1174,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1007,6 +1213,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1037,6 +1251,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1067,6 +1289,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1110,6 +1340,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<condition value="pat-1"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1139,6 +1377,14 @@
|
|||
<type>
|
||||
<code value="Period"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1198,7 +1444,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1224,6 +1473,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1250,6 +1515,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1274,6 +1555,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1319,6 +1608,14 @@
|
|||
<type>
|
||||
<code value="boolean"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1353,6 +1650,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1385,6 +1690,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1445,7 +1758,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1471,6 +1787,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1497,6 +1829,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1525,6 +1873,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1554,6 +1910,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
|
|
@ -31,12 +31,12 @@
|
|||
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;">
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck4.png)" class="hierarchy">
|
||||
<img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_modifier_extension_simple.png" alt="." style="background-color: white; background-color: inherit" title="Simple Extension" class="hierarchy"/>
|
||||
<span title="Slice name1: null">modifierExtension</span>
|
||||
<img src="icon_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/>
|
||||
<span title="Slice name1: null">modifierExtension:name1</span>
|
||||
<a name="Patient.modifierExtension"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a href="patient-birthTime.html" title="Extension">Birth Time</a>
|
||||
</td>
|
||||
|
@ -109,6 +109,14 @@
|
|||
<xpath value="not(parent::f:contained and f:contained)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-4"/>
|
||||
<severity value="error"/>
|
||||
|
@ -118,11 +126,11 @@
|
|||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
|
@ -139,14 +147,6 @@
|
|||
<xpath value="exists(f:text/h:div)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -175,7 +175,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="id"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -194,6 +197,14 @@
|
|||
<type>
|
||||
<code value="Meta"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -212,6 +223,14 @@
|
|||
<type>
|
||||
<code value="uri"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -231,6 +250,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -267,6 +294,14 @@
|
|||
<type>
|
||||
<code value="Narrative"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -316,6 +351,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -345,6 +396,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -355,7 +422,7 @@
|
|||
<short value="Time of day of birth"/>
|
||||
<definition value="The time of day that the Patient was born. This includes the date to ensure that the timezone information can be communicated effectively."/>
|
||||
<min value="1"/>
|
||||
<max value="*"/>
|
||||
<max value="1"/>
|
||||
<base>
|
||||
<path value="DomainResource.modifierExtension"/>
|
||||
<min value="0"/>
|
||||
|
@ -399,6 +466,14 @@
|
|||
<type>
|
||||
<code value="Identifier"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -435,6 +510,14 @@
|
|||
<code value="boolean"/>
|
||||
</type>
|
||||
<meaningWhenMissing value="This resource is generally assumed to be active if no value is provided for the active element"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -467,6 +550,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -498,6 +589,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -529,6 +628,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -571,6 +678,14 @@
|
|||
<type>
|
||||
<code value="date"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -609,6 +724,14 @@
|
|||
<type>
|
||||
<code value="dateTime"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different."/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -641,6 +764,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -671,6 +802,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -716,6 +855,14 @@
|
|||
<type>
|
||||
<code value="integer"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -747,6 +894,14 @@
|
|||
<type>
|
||||
<code value="Attachment"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -820,7 +975,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -846,6 +1004,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -872,6 +1046,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -895,6 +1085,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -933,6 +1131,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -964,6 +1170,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -994,6 +1208,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1024,6 +1246,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1067,6 +1297,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<condition value="pat-1"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1096,6 +1334,14 @@
|
|||
<type>
|
||||
<code value="Period"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1155,7 +1401,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1181,6 +1430,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1207,6 +1472,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1231,6 +1512,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1276,6 +1565,14 @@
|
|||
<type>
|
||||
<code value="boolean"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1310,6 +1607,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1342,6 +1647,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1402,7 +1715,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1428,6 +1744,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1454,6 +1786,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1482,6 +1830,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1511,6 +1867,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -36,22 +36,33 @@
|
|||
<a name="Patient"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">*</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7;">
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck12.png)" class="hierarchy">
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck03.png)" class="hierarchy">
|
||||
<img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_slice.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Slice Definition" class="hierarchy"/>
|
||||
<span style="font-style: italic" title="null">contact</span>
|
||||
<a name="Patient.contact"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="font-style: italic"/>
|
||||
<span style="opacity: 0.4; font-style: italic">0</span>
|
||||
<span style="opacity: 0.5; font-style: italic">..</span>
|
||||
<span style="opacity: 0.4; font-style: italic">*</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="font-style: italic" href="nullprofiling.html#slicing">(Slice Definition)</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="font-weight:bold; font-style: italic">Slice: </span>
|
||||
<span style="font-style: italic">Unordered, Open by value:gender</span>
|
||||
|
@ -59,46 +70,63 @@
|
|||
</tr>
|
||||
|
||||
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;">
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck05.png)" class="hierarchy">
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck025.png)" class="hierarchy">
|
||||
<img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/>
|
||||
<span title="Slice males: null">contact</span>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_end_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/>
|
||||
<span title="Slice males: null">contact:males</span>
|
||||
<a name="Patient.contact"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">*</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#BackboneElement">BackboneElement</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7;">
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck050.png)" class="hierarchy">
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0250.png)" class="hierarchy">
|
||||
<img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_slice.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/>
|
||||
<span title="null">telecom</span>
|
||||
<a name="Patient.contact.telecom"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..*</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#ContactPoint">ContactPoint</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;">
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck040.png)" class="hierarchy">
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0240.png)" class="hierarchy">
|
||||
<img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_end_slice.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/>
|
||||
<span title="null">gender</span>
|
||||
<a name="Patient.contact.gender"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">1</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#code">code</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="font-weight:bold">Fixed Value: </span>
|
||||
<span style="color: darkgreen">male</span>
|
||||
|
@ -171,6 +199,14 @@
|
|||
<xpath value="not(parent::f:contained and f:contained)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-4"/>
|
||||
<severity value="error"/>
|
||||
|
@ -180,11 +216,11 @@
|
|||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
|
@ -201,14 +237,6 @@
|
|||
<xpath value="exists(f:text/h:div)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -237,7 +265,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="id"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -256,6 +287,14 @@
|
|||
<type>
|
||||
<code value="Meta"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -274,6 +313,14 @@
|
|||
<type>
|
||||
<code value="uri"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -293,6 +340,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -329,6 +384,14 @@
|
|||
<type>
|
||||
<code value="Narrative"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -378,6 +441,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -403,6 +482,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -426,6 +521,14 @@
|
|||
<type>
|
||||
<code value="Identifier"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -462,6 +565,14 @@
|
|||
<code value="boolean"/>
|
||||
</type>
|
||||
<meaningWhenMissing value="This resource is generally assumed to be active if no value is provided for the active element"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -494,6 +605,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -525,6 +644,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -556,6 +683,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -598,6 +733,14 @@
|
|||
<type>
|
||||
<code value="date"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -636,6 +779,14 @@
|
|||
<type>
|
||||
<code value="dateTime"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different."/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -668,6 +819,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -698,6 +857,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -743,6 +910,14 @@
|
|||
<type>
|
||||
<code value="integer"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -774,6 +949,14 @@
|
|||
<type>
|
||||
<code value="Attachment"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -855,7 +1038,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -881,6 +1067,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -907,6 +1109,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -930,6 +1148,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -968,6 +1194,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -999,6 +1233,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1029,6 +1271,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1059,6 +1309,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1102,6 +1360,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<condition value="pat-1"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1131,6 +1397,14 @@
|
|||
<type>
|
||||
<code value="Period"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1202,7 +1476,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1228,6 +1505,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1254,6 +1547,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1277,6 +1586,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1315,6 +1632,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1346,6 +1671,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1376,6 +1709,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1407,6 +1748,14 @@
|
|||
<code value="code"/>
|
||||
</type>
|
||||
<fixedCode value="male"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1450,6 +1799,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<condition value="pat-1"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1479,6 +1836,14 @@
|
|||
<type>
|
||||
<code value="Period"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1538,7 +1903,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1564,6 +1932,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1590,6 +1974,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1614,6 +2014,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1659,6 +2067,14 @@
|
|||
<type>
|
||||
<code value="boolean"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1693,6 +2109,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1725,6 +2149,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1785,7 +2217,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1811,6 +2246,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1837,6 +2288,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1865,6 +2332,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1894,6 +2369,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -36,7 +36,11 @@
|
|||
<a name="OperationOutcome"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">*</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
@ -50,8 +54,14 @@
|
|||
<a name="OperationOutcome.issue"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">1</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">*</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#BackboneElement">BackboneElement</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
|
@ -65,8 +75,14 @@
|
|||
<a name="OperationOutcome.issue.details"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">1</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#CodeableConcept">CodeableConcept</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
|
@ -81,8 +97,14 @@
|
|||
<a name="OperationOutcome.issue.details.text"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">1</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#string">string</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
|
@ -93,12 +115,16 @@
|
|||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_extension_simple.png" alt="." style="background-color: white; background-color: inherit" title="Simple Extension" class="hierarchy"/>
|
||||
<span title="Slice translation: null">extension</span>
|
||||
<img src="icon_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/>
|
||||
<span title="Slice translation: null">extension:translation</span>
|
||||
<a name="OperationOutcome.issue.details.text.extension"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">*</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a href="nulldatatypes.html#Extension">Extension</a>
|
||||
</td>
|
||||
|
@ -106,21 +132,26 @@
|
|||
</tr>
|
||||
|
||||
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7;">
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck000052.png)" class="hierarchy">
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck000043.png)" class="hierarchy">
|
||||
<img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_slice.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_end_slice.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_slice.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Slice Definition" class="hierarchy"/>
|
||||
<span style="font-style: italic" title="null">value[x]</span>
|
||||
<a name="OperationOutcome.issue.details.text.extension.value_x_"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="font-style: italic" href="nulldatatypes.html#string">string</a>
|
||||
<span style="font-style: italic"/>
|
||||
<span style="opacity: 0.4; font-style: italic">0</span>
|
||||
<span style="opacity: 0.5; font-style: italic">..</span>
|
||||
<span style="opacity: 0.4; font-style: italic">1</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="font-style: italic" href="nullprofiling.html#slicing">(Slice Definition)</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="font-weight:bold; font-style: italic">Slice: </span>
|
||||
|
@ -129,38 +160,50 @@
|
|||
</tr>
|
||||
|
||||
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;">
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck000045.png)" class="hierarchy">
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0000425.png)" class="hierarchy">
|
||||
<img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_end_slice.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/>
|
||||
<span title="Slice string: null">valueString</span>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_end_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/>
|
||||
<span title="Slice string: null">valueString:string</span>
|
||||
<a name="OperationOutcome.issue.details.text.extension.valueString"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">1</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#string">string</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7;">
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0000444.png)" class="hierarchy">
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00004244.png)" class="hierarchy">
|
||||
<img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_end_slice.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_extension_simple.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Simple Extension" class="hierarchy"/>
|
||||
<span title="Slice language: null">extension</span>
|
||||
<img src="icon_slice_item.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Slice Item" class="hierarchy"/>
|
||||
<span title="Slice language: null">extension:language</span>
|
||||
<a name="OperationOutcome.issue.details.text.extension.valueString.extension"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">*</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a href="nulldatatypes.html#Extension">Extension</a>
|
||||
</td>
|
||||
|
@ -218,6 +261,14 @@
|
|||
<xpath value="not(parent::f:contained and f:contained)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-4"/>
|
||||
<severity value="error"/>
|
||||
|
@ -227,11 +278,11 @@
|
|||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
|
@ -248,14 +299,6 @@
|
|||
<xpath value="exists(f:text/h:div)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -280,7 +323,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="id"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -299,6 +345,14 @@
|
|||
<type>
|
||||
<code value="Meta"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -317,6 +371,14 @@
|
|||
<type>
|
||||
<code value="uri"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -336,6 +398,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -372,6 +442,14 @@
|
|||
<type>
|
||||
<code value="Narrative"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -421,6 +499,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -446,6 +540,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -500,7 +610,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -526,6 +639,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -552,6 +681,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -576,6 +721,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -610,6 +763,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -644,6 +805,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -676,7 +845,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -710,6 +882,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -733,6 +921,14 @@
|
|||
<type>
|
||||
<code value="Coding"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -767,6 +963,14 @@
|
|||
<type>
|
||||
<code value="string"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -795,7 +999,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -822,6 +1029,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
</element>
|
||||
|
@ -841,6 +1064,22 @@
|
|||
<code value="Extension"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/iso21090-ST-translation"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
</element>
|
||||
|
@ -857,7 +1096,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -891,6 +1133,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -912,20 +1170,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
|
||||
<valueString value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="uri"/>
|
||||
</extension>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
|
||||
<valueString value="xsd:string"/>
|
||||
</extension>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type">
|
||||
<valueString value="xsd:string"/>
|
||||
</extension>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/regex">
|
||||
<valueString value="((http|https)://([A-Za-z0-9\\\.\:\%\$]*\/)*)?(Account|ActivityDefinition|AdverseEvent|AllergyIntolerance|Appointment|AppointmentResponse|AuditEvent|Basic|Binary|BiologicallyDerivedProduct|BodyStructure|Bundle|CapabilityStatement|CarePlan|CareTeam|CatalogEntry|ChargeItem|ChargeItemDefinition|Claim|ClaimResponse|ClinicalImpression|CodeSystem|Communication|CommunicationRequest|CompartmentDefinition|Composition|ConceptMap|Condition|Consent|Contract|Coverage|CoverageEligibilityRequest|CoverageEligibilityResponse|DetectedIssue|Device|DeviceDefinition|DeviceMetric|DeviceRequest|DeviceUseStatement|DiagnosticReport|DocumentManifest|DocumentReference|EffectEvidenceSynthesis|Encounter|Endpoint|EnrollmentRequest|EnrollmentResponse|EpisodeOfCare|EventDefinition|Evidence|EvidenceVariable|ExampleScenario|ExplanationOfBenefit|FamilyMemberHistory|Flag|Goal|GraphDefinition|Group|GuidanceResponse|HealthcareService|ImagingStudy|Immunization|ImmunizationEvaluation|ImmunizationRecommendation|ImplementationGuide|InsurancePlan|Invoice|Library|Linkage|List|Location|Measure|MeasureReport|Media|Medication|MedicationAdministration|MedicationDispense|MedicationKnowledge|MedicationRequest|MedicationStatement|MedicinalProduct|MedicinalProductAuthorization|MedicinalProductContraindication|MedicinalProductIndication|MedicinalProductIngredient|MedicinalProductInteraction|MedicinalProductManufactured|MedicinalProductPackaged|MedicinalProductPharmaceutical|MedicinalProductUndesirableEffect|MessageDefinition|MessageHeader|MolecularSequence|NamingSystem|NutritionOrder|Observation|ObservationDefinition|OperationDefinition|OperationOutcome|Organization|OrganizationAffiliation|Patient|PaymentNotice|PaymentReconciliation|Person|PlanDefinition|Practitioner|PractitionerRole|Procedure|Provenance|Questionnaire|QuestionnaireResponse|RelatedPerson|RequestGroup|ResearchDefinition|ResearchElementDefinition|ResearchStudy|ResearchSubject|RiskAssessment|RiskEvidenceSynthesis|Schedule|SearchParameter|ServiceRequest|Slot|Specimen|SpecimenDefinition|StructureDefinition|StructureMap|Subscription|Substance|SubstanceNucleicAcid|SubstancePolymer|SubstanceProtein|SubstanceReferenceInformation|SubstanceSourceMaterial|SubstanceSpecification|SupplyDelivery|SupplyRequest|Task|TerminologyCapabilities|TestReport|TestScript|ValueSet|VerificationResult|VisionPrescription)\/[A-Za-z0-9\-\.]{1,64}(\/_history\/[A-Za-z0-9\-\.]{1,64})?"/>
|
||||
</extension>
|
||||
</code>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -945,7 +1193,7 @@
|
|||
<rules value="closed"/>
|
||||
</slicing>
|
||||
<short value="Value of extension"/>
|
||||
<definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list)."/>
|
||||
<definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://test.org/profile/extensibility.html) for a list)."/>
|
||||
<min value="0"/>
|
||||
<max value="1"/>
|
||||
<base>
|
||||
|
@ -956,6 +1204,14 @@
|
|||
<type>
|
||||
<code value="string"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -967,7 +1223,7 @@
|
|||
<path value="OperationOutcome.issue.details.text.extension.value[x]"/>
|
||||
<sliceName value="string"/>
|
||||
<short value="Value of extension"/>
|
||||
<definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list)."/>
|
||||
<definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://test.org/profile/extensibility.html) for a list)."/>
|
||||
<min value="0"/>
|
||||
<max value="1"/>
|
||||
<base>
|
||||
|
@ -978,6 +1234,14 @@
|
|||
<type>
|
||||
<code value="string"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -998,7 +1262,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1025,6 +1292,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
</element>
|
||||
|
@ -1044,6 +1327,22 @@
|
|||
<code value="Extension"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/iso21090-ST-language"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
</element>
|
||||
|
@ -1060,20 +1359,13 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/regex">
|
||||
<valueString value="[ \r\n\t\S]+"/>
|
||||
</extension>
|
||||
<code>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
|
||||
<valueString value="string"/>
|
||||
</extension>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
|
||||
<valueString value="xsd:string"/>
|
||||
</extension>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type">
|
||||
<valueString value="xsd:string"/>
|
||||
</extension>
|
||||
</code>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<maxLength value="1048576"/>
|
||||
<isModifier value="false"/>
|
||||
|
@ -1092,20 +1384,13 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/regex">
|
||||
<valueString value="[ \r\n\t\S]+"/>
|
||||
</extension>
|
||||
<code>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
|
||||
<valueString value="string"/>
|
||||
</extension>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
|
||||
<valueString value="xsd:string"/>
|
||||
</extension>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type">
|
||||
<valueString value="xsd:string"/>
|
||||
</extension>
|
||||
</code>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<maxLength value="1048576"/>
|
||||
<isModifier value="false"/>
|
||||
|
@ -1126,6 +1411,14 @@
|
|||
<type>
|
||||
<code value="string"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1156,6 +1449,14 @@
|
|||
<type>
|
||||
<code value="string"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1183,6 +1484,14 @@
|
|||
<type>
|
||||
<code value="string"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
|
|
@ -36,7 +36,11 @@
|
|||
<a name="Parameters"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">*</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
@ -50,23 +54,36 @@
|
|||
<a name="Parameters.parameter"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">*</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#BackboneElement">BackboneElement</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;">
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck012.png)" class="hierarchy">
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck003.png)" class="hierarchy">
|
||||
<img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_slice.png" alt="." style="background-color: white; background-color: inherit" title="Slice Definition" class="hierarchy"/>
|
||||
<span style="font-style: italic" title="null">part</span>
|
||||
<a name="Parameters.parameter.part"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="font-style: italic"/>
|
||||
<span style="opacity: 0.4; font-style: italic">0</span>
|
||||
<span style="opacity: 0.5; font-style: italic">..</span>
|
||||
<span style="opacity: 0.4; font-style: italic">*</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="font-style: italic" href="nullprofiling.html#slicing">(Slice Definition)</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="font-weight:bold; font-style: italic">Slice: </span>
|
||||
<span style="font-style: italic">Unordered, Closed by value:name</span>
|
||||
|
@ -74,25 +91,29 @@
|
|||
</tr>
|
||||
|
||||
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7;">
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck005.png)" class="hierarchy">
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0025.png)" class="hierarchy">
|
||||
<img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/>
|
||||
<span title="Slice foo: null">part</span>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_end_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_slice_item.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Slice Item" class="hierarchy"/>
|
||||
<span title="Slice foo: null">part:foo</span>
|
||||
<a name="Parameters.parameter.part"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#BackboneElement">BackboneElement</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;">
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0050.png)" class="hierarchy">
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00250.png)" class="hierarchy">
|
||||
<img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_slice.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/>
|
||||
<span title="null">name</span>
|
||||
|
@ -101,8 +122,14 @@
|
|||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">1</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">1</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#string">string</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="font-weight:bold">Fixed Value: </span>
|
||||
<span style="color: darkgreen">foo</span>
|
||||
|
@ -110,19 +137,25 @@
|
|||
</tr>
|
||||
|
||||
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7;">
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0052.png)" class="hierarchy">
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00243.png)" class="hierarchy">
|
||||
<img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_slice.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_end_slice.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_slice.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Slice Definition" class="hierarchy"/>
|
||||
<span style="font-style: italic" title="null">value[x]</span>
|
||||
<a name="Parameters.parameter.part.value_x_"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="font-style: italic" href="nulldatatypes.html#Coding">Coding</a>
|
||||
<span style="font-style: italic"/>
|
||||
<span style="opacity: 0.4; font-style: italic">0</span>
|
||||
<span style="opacity: 0.5; font-style: italic">..</span>
|
||||
<span style="opacity: 0.4; font-style: italic">1</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="font-style: italic" href="nullprofiling.html#slicing">(Slice Definition)</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="font-weight:bold; font-style: italic">Slice: </span>
|
||||
|
@ -131,17 +164,19 @@
|
|||
</tr>
|
||||
|
||||
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;">
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0045.png)" class="hierarchy">
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck002425.png)" class="hierarchy">
|
||||
<img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_end_slice.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/>
|
||||
<span title="Slice valueCoding: null">valueCoding</span>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_end_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/>
|
||||
<span title="Slice valueCoding: null">valueCoding:valueCoding</span>
|
||||
<a name="Parameters.parameter.part.valueCoding"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a href="nulldatatypes.html#Coding">Coding</a>
|
||||
</td>
|
||||
|
@ -149,19 +184,23 @@
|
|||
</tr>
|
||||
|
||||
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7;">
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00440.png)" class="hierarchy">
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0024240.png)" class="hierarchy">
|
||||
<img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_end_slice.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/>
|
||||
<span title="null">code</span>
|
||||
<a name="Parameters.parameter.part.valueCoding.code"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#code">code</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
|
@ -192,7 +231,7 @@
|
|||
</mapping>
|
||||
<kind value="resource"/>
|
||||
<abstract value="false"/>
|
||||
<type value="OperationOutcome"/>
|
||||
<type value="Parameters"/>
|
||||
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Parameters"/>
|
||||
<derivation value="constraint"/>
|
||||
<snapshot>
|
||||
|
@ -236,7 +275,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="id"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -255,6 +297,14 @@
|
|||
<type>
|
||||
<code value="Meta"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -273,6 +323,14 @@
|
|||
<type>
|
||||
<code value="uri"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -292,6 +350,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -355,7 +421,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -381,6 +450,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -407,6 +492,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -429,6 +530,14 @@
|
|||
<type>
|
||||
<code value="string"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -590,7 +699,18 @@
|
|||
<type>
|
||||
<code value="Dosage"/>
|
||||
</type>
|
||||
<type>
|
||||
<code value="Meta"/>
|
||||
</type>
|
||||
<condition value="inv-1"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -633,6 +753,14 @@
|
|||
<max value="*"/>
|
||||
</base>
|
||||
<contentReference value="#Parameters.parameter"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -652,6 +780,14 @@
|
|||
<type>
|
||||
<code value="BackboneElement"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -668,7 +804,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -694,6 +833,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -720,6 +875,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -743,6 +914,14 @@
|
|||
<code value="string"/>
|
||||
</type>
|
||||
<fixedString value="foo"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<mustSupport value="true"/>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -770,6 +949,14 @@
|
|||
<code value="Coding"/>
|
||||
</type>
|
||||
<condition value="inv-1"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -789,6 +976,14 @@
|
|||
<code value="Coding"/>
|
||||
</type>
|
||||
<condition value="inv-1"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -805,7 +1000,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -839,6 +1037,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -862,6 +1076,14 @@
|
|||
<type>
|
||||
<code value="uri"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -892,6 +1114,14 @@
|
|||
<type>
|
||||
<code value="string"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -922,6 +1152,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -955,6 +1193,14 @@
|
|||
<type>
|
||||
<code value="string"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -986,6 +1232,14 @@
|
|||
<type>
|
||||
<code value="boolean"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1033,6 +1287,14 @@
|
|||
<max value="*"/>
|
||||
</base>
|
||||
<contentReference value="#Parameters.parameter"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<description value="fixture for #29: Test recursion on elements that are deeper than children of the root and have a different name (Parameters.parameter.part)"/>
|
||||
<kind value="resource"/>
|
||||
<abstract value="false"/>
|
||||
<type value="OperationOutcome"/>
|
||||
<type value="Parameters"/>
|
||||
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Parameters"/>
|
||||
<derivation value="constraint"/>
|
||||
<differential>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<description value="fixture for #29: Test recursion on elements that are deeper than children of the root and have a different name (Parameters.parameter.part)"/>
|
||||
<kind value="resource"/>
|
||||
<abstract value="false"/>
|
||||
<type value="OperationOutcome"/>
|
||||
<type value="Parameters"/>
|
||||
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Parameters"/>
|
||||
<derivation value="constraint"/>
|
||||
<differential>
|
||||
|
|
|
@ -36,8 +36,10 @@
|
|||
<a name="Patient.identifier"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..*</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#Identifier">Identifier</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
|
@ -107,6 +109,14 @@
|
|||
<xpath value="not(parent::f:contained and f:contained)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-4"/>
|
||||
<severity value="error"/>
|
||||
|
@ -116,11 +126,11 @@
|
|||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
|
@ -137,14 +147,6 @@
|
|||
<xpath value="exists(f:text/h:div)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -173,7 +175,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="id"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -192,6 +197,14 @@
|
|||
<type>
|
||||
<code value="Meta"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -210,6 +223,14 @@
|
|||
<type>
|
||||
<code value="uri"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -229,6 +250,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -265,6 +294,14 @@
|
|||
<type>
|
||||
<code value="Narrative"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -314,6 +351,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -339,6 +392,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -362,6 +431,14 @@
|
|||
<type>
|
||||
<code value="Identifier"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -398,6 +475,14 @@
|
|||
<code value="boolean"/>
|
||||
</type>
|
||||
<meaningWhenMissing value="This resource is generally assumed to be active if no value is provided for the active element"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -430,6 +515,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -461,6 +554,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -492,6 +593,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -534,6 +643,14 @@
|
|||
<type>
|
||||
<code value="date"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -572,6 +689,14 @@
|
|||
<type>
|
||||
<code value="dateTime"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different."/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -604,6 +729,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -634,6 +767,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -679,6 +820,14 @@
|
|||
<type>
|
||||
<code value="integer"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -710,6 +859,14 @@
|
|||
<type>
|
||||
<code value="Attachment"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -783,7 +940,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -809,6 +969,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -835,6 +1011,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -858,6 +1050,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -896,6 +1096,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -927,6 +1135,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -957,6 +1173,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -987,6 +1211,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1030,6 +1262,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<condition value="pat-1"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1059,6 +1299,14 @@
|
|||
<type>
|
||||
<code value="Period"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1118,7 +1366,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1144,6 +1395,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1170,6 +1437,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1194,6 +1477,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1239,6 +1530,14 @@
|
|||
<type>
|
||||
<code value="boolean"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1273,6 +1572,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1305,6 +1612,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1365,7 +1680,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1391,6 +1709,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1417,6 +1751,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1445,6 +1795,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1474,6 +1832,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -36,22 +36,33 @@
|
|||
<a name="Parameters"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">*</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7;">
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck12.png)" class="hierarchy">
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck03.png)" class="hierarchy">
|
||||
<img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_slice.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Slice Definition" class="hierarchy"/>
|
||||
<span style="font-style: italic" title="null">parameter</span>
|
||||
<a name="Parameters.parameter"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="font-style: italic"/>
|
||||
<span style="opacity: 0.4; font-style: italic">0</span>
|
||||
<span style="opacity: 0.5; font-style: italic">..</span>
|
||||
<span style="opacity: 0.4; font-style: italic">*</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="font-style: italic" href="nullprofiling.html#slicing">(Slice Definition)</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="font-weight:bold; font-style: italic">Slice: </span>
|
||||
<span style="font-style: italic">Unordered, Open by value:name</span>
|
||||
|
@ -59,31 +70,45 @@
|
|||
</tr>
|
||||
|
||||
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;">
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck05.png)" class="hierarchy">
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck025.png)" class="hierarchy">
|
||||
<img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/>
|
||||
<span title="Slice string: null">parameter</span>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_end_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/>
|
||||
<span title="Slice string: null">parameter:string</span>
|
||||
<a name="Parameters.parameter"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">*</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#BackboneElement">BackboneElement</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7;">
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck050.png)" class="hierarchy">
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0250.png)" class="hierarchy">
|
||||
<img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_slice.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/>
|
||||
<span title="null">name</span>
|
||||
<a name="Parameters.parameter.name"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">1</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">1</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#string">string</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="font-weight:bold">Fixed Value: </span>
|
||||
<span style="color: darkgreen">string</span>
|
||||
|
@ -91,16 +116,21 @@
|
|||
</tr>
|
||||
|
||||
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;">
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck041.png)" class="hierarchy">
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0241.png)" class="hierarchy">
|
||||
<img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_end_slice.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/>
|
||||
<span title="null">valueString</span>
|
||||
<a name="Parameters.parameter.valueString"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">1</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a href="nulldatatypes.html#string">string</a>
|
||||
</td>
|
||||
|
@ -111,17 +141,22 @@
|
|||
</tr>
|
||||
|
||||
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7;">
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0405.png)" class="hierarchy">
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck02405.png)" class="hierarchy">
|
||||
<img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_extension_complex.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Complex Extension" class="hierarchy"/>
|
||||
<img src="icon_slice_item.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Slice Item" class="hierarchy"/>
|
||||
<span title="Extension URL = http://hl7.org/fhir/StructureDefinition/translation">translation</span>
|
||||
<a name="Parameters.parameter.valueString.extension"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">*</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">(Complex)</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Language Translation (Localization)
|
||||
<br/>
|
||||
|
@ -130,37 +165,53 @@
|
|||
</tr>
|
||||
|
||||
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;">
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck04045.png)" class="hierarchy">
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck024045.png)" class="hierarchy">
|
||||
<img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_end_slice.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_extension_simple.png" alt="." style="background-color: white; background-color: inherit" title="Simple Extension" class="hierarchy"/>
|
||||
<span title="Slice content: null">extension</span>
|
||||
<img src="icon_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/>
|
||||
<span title="Slice content: null">extension:content</span>
|
||||
<a name="Parameters.parameter.valueString.extension.extension"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">1</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">1</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#Extension">Extension</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7;">
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck040444.png)" class="hierarchy">
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0240444.png)" class="hierarchy">
|
||||
<img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_end_slice.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/>
|
||||
<span title="Slice content: null">valueString</span>
|
||||
<img src="icon_slice_item.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Slice Item" class="hierarchy"/>
|
||||
<span title="Slice content: null">valueString:content</span>
|
||||
<a name="Parameters.parameter.valueString.extension.extension.valueString"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">1</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">1</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#string">string</a>
|
||||
<span style="opacity: 0.4">, </span>
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#markdown">markdown</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="font-weight:bold">Max Length: </span>
|
||||
<span style="color: darkgreen">2</span>
|
||||
|
@ -238,7 +289,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="id"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -257,6 +311,14 @@
|
|||
<type>
|
||||
<code value="Meta"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -275,6 +337,14 @@
|
|||
<type>
|
||||
<code value="uri"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -294,6 +364,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -364,7 +442,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -390,6 +471,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -416,6 +513,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -438,6 +551,14 @@
|
|||
<type>
|
||||
<code value="string"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -599,7 +720,18 @@
|
|||
<type>
|
||||
<code value="Dosage"/>
|
||||
</type>
|
||||
<type>
|
||||
<code value="Meta"/>
|
||||
</type>
|
||||
<condition value="inv-1"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -635,6 +767,14 @@
|
|||
<max value="*"/>
|
||||
</base>
|
||||
<contentReference value="#Parameters.parameter"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -685,7 +825,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -711,6 +854,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -737,6 +896,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -760,6 +935,14 @@
|
|||
<code value="string"/>
|
||||
</type>
|
||||
<fixedString value="string"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -782,6 +965,14 @@
|
|||
</type>
|
||||
<maxLength value="2"/>
|
||||
<condition value="inv-1"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -798,7 +989,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -825,6 +1019,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
</element>
|
||||
|
@ -880,7 +1090,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -914,6 +1127,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -936,6 +1165,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
</element>
|
||||
|
@ -952,7 +1197,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -983,6 +1231,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
</element>
|
||||
|
@ -1010,10 +1274,18 @@
|
|||
<map value="N/A"/>
|
||||
</mapping>
|
||||
</element>
|
||||
<element id="Parameters.parameter:string.value[x].extension:translation.extension:lang.valueCode">
|
||||
<path value="Parameters.parameter.value[x].extension.extension.valueCode"/>
|
||||
<element id="Parameters.parameter:string.value[x].extension:translation.extension:lang.value[x]">
|
||||
<path value="Parameters.parameter.value[x].extension.extension.value[x]"/>
|
||||
<slicing>
|
||||
<discriminator>
|
||||
<type value="type"/>
|
||||
<path value="$this"/>
|
||||
</discriminator>
|
||||
<ordered value="false"/>
|
||||
<rules value="closed"/>
|
||||
</slicing>
|
||||
<short value="Value of extension"/>
|
||||
<definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list)."/>
|
||||
<definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list)."/>
|
||||
<min value="0"/>
|
||||
<max value="1"/>
|
||||
<base>
|
||||
|
@ -1024,6 +1296,44 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
<identity value="rim"/>
|
||||
<map value="N/A"/>
|
||||
</mapping>
|
||||
</element>
|
||||
<element id="Parameters.parameter:string.value[x].extension:translation.extension:lang.value[x]:valueCode">
|
||||
<path value="Parameters.parameter.value[x].extension.extension.value[x]"/>
|
||||
<sliceName value="valueCode"/>
|
||||
<short value="Value of extension"/>
|
||||
<definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list)."/>
|
||||
<min value="0"/>
|
||||
<max value="1"/>
|
||||
<base>
|
||||
<path value="Extension.value[x]"/>
|
||||
<min value="0"/>
|
||||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1060,6 +1370,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
</element>
|
||||
|
@ -1076,7 +1402,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1107,6 +1436,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
</element>
|
||||
|
@ -1141,7 +1486,7 @@
|
|||
<path value="Parameters.parameter.value[x].extension.extension.value[x]"/>
|
||||
<sliceName value="content"/>
|
||||
<short value="Value of extension"/>
|
||||
<definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list)."/>
|
||||
<definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list)."/>
|
||||
<min value="1"/>
|
||||
<max value="1"/>
|
||||
<base>
|
||||
|
@ -1156,6 +1501,14 @@
|
|||
<code value="markdown"/>
|
||||
</type>
|
||||
<maxLength value="2"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1177,7 +1530,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="uri"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="uri"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<fixedUri value="http://hl7.org/fhir/StructureDefinition/translation"/>
|
||||
<isModifier value="false"/>
|
||||
|
@ -1190,7 +1546,7 @@
|
|||
<element id="Parameters.parameter:string.value[x].extension:translation.value[x]">
|
||||
<path value="Parameters.parameter.value[x].extension.value[x]"/>
|
||||
<short value="Value of extension"/>
|
||||
<definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list)."/>
|
||||
<definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list)."/>
|
||||
<min value="0"/>
|
||||
<max value="0"/>
|
||||
<base>
|
||||
|
@ -1345,6 +1701,17 @@
|
|||
<type>
|
||||
<code value="Dosage"/>
|
||||
</type>
|
||||
<type>
|
||||
<code value="Meta"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1365,20 +1732,13 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/regex">
|
||||
<valueString value="[ \r\n\t\S]+"/>
|
||||
</extension>
|
||||
<code>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
|
||||
<valueString value="string"/>
|
||||
</extension>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
|
||||
<valueString value="xsd:string"/>
|
||||
</extension>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type">
|
||||
<valueString value="xsd:string"/>
|
||||
</extension>
|
||||
</code>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<maxLength value="1048576"/>
|
||||
<isModifier value="false"/>
|
||||
|
@ -1416,6 +1776,14 @@
|
|||
<max value="*"/>
|
||||
</base>
|
||||
<contentReference value="#Parameters.parameter:string"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -36,7 +36,11 @@
|
|||
<a name="Basic"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">*</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
@ -64,7 +68,7 @@
|
|||
<img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_extension_complex.png" alt="." style="background-color: white; background-color: inherit" title="Complex Extension" class="hierarchy"/>
|
||||
<img src="icon_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/>
|
||||
<span title="Extension URL = http://www.fhir.org/guides/test3/StructureDefinition/extension-identifier-status">extension-identifier-status</span>
|
||||
<a name="Basic.identifier.extension"> </a>
|
||||
</td>
|
||||
|
@ -73,7 +77,56 @@
|
|||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a href="nulldatatypes.html#code">code</a>
|
||||
<a href="nulldatatypes.html#base64Binary">base64Binary</a>,
|
||||
<a href="nulldatatypes.html#boolean">boolean</a>,
|
||||
<a href="nullreferences.html">canonical</a>(),
|
||||
<a href="nulldatatypes.html#code">code</a>,
|
||||
<a href="nulldatatypes.html#date">date</a>,
|
||||
<a href="nulldatatypes.html#dateTime">dateTime</a>,
|
||||
<a href="nulldatatypes.html#decimal">decimal</a>,
|
||||
<a href="nulldatatypes.html#id">id</a>,
|
||||
<a href="nulldatatypes.html#instant">instant</a>,
|
||||
<a href="nulldatatypes.html#integer">integer</a>,
|
||||
<a href="nulldatatypes.html#markdown">markdown</a>,
|
||||
<a href="nulldatatypes.html#oid">oid</a>,
|
||||
<a href="nulldatatypes.html#positiveInt">positiveInt</a>,
|
||||
<a href="nulldatatypes.html#string">string</a>,
|
||||
<a href="nulldatatypes.html#time">time</a>,
|
||||
<a href="nulldatatypes.html#unsignedInt">unsignedInt</a>,
|
||||
<a href="nulldatatypes.html#uri">uri</a>,
|
||||
<a href="nulldatatypes.html#url">url</a>,
|
||||
<a href="nulldatatypes.html#uuid">uuid</a>,
|
||||
<a href="nulldatatypes.html#Address">Address</a>,
|
||||
<a href="nulldatatypes.html#Age">Age</a>,
|
||||
<a href="nulldatatypes.html#Annotation">Annotation</a>,
|
||||
<a href="nulldatatypes.html#Attachment">Attachment</a>,
|
||||
<a href="nulldatatypes.html#CodeableConcept">CodeableConcept</a>,
|
||||
<a href="nulldatatypes.html#Coding">Coding</a>,
|
||||
<a href="nulldatatypes.html#ContactPoint">ContactPoint</a>,
|
||||
<a href="nulldatatypes.html#Count">Count</a>,
|
||||
<a href="nulldatatypes.html#Distance">Distance</a>,
|
||||
<a href="nulldatatypes.html#Duration">Duration</a>,
|
||||
<a href="nulldatatypes.html#HumanName">HumanName</a>,
|
||||
<a href="nulldatatypes.html#Identifier">Identifier</a>,
|
||||
<a href="nulldatatypes.html#Money">Money</a>,
|
||||
<a href="nulldatatypes.html#Period">Period</a>,
|
||||
<a href="nulldatatypes.html#Quantity">Quantity</a>,
|
||||
<a href="nulldatatypes.html#Range">Range</a>,
|
||||
<a href="nulldatatypes.html#Ratio">Ratio</a>,
|
||||
<a href="nullreferences.html">Reference</a>(),
|
||||
<a href="nulldatatypes.html#SampledData">SampledData</a>,
|
||||
<a href="nulldatatypes.html#Signature">Signature</a>,
|
||||
<a href="nulldatatypes.html#Timing">Timing</a>,
|
||||
<a href="nulldatatypes.html#ContactDetail">ContactDetail</a>,
|
||||
<a href="nulldatatypes.html#Contributor">Contributor</a>,
|
||||
<a href="nulldatatypes.html#DataRequirement">DataRequirement</a>,
|
||||
<a href="nulldatatypes.html#Expression">Expression</a>,
|
||||
<a href="nulldatatypes.html#ParameterDefinition">ParameterDefinition</a>,
|
||||
<a href="nulldatatypes.html#RelatedArtifact">RelatedArtifact</a>,
|
||||
<a href="nulldatatypes.html#TriggerDefinition">TriggerDefinition</a>,
|
||||
<a href="nulldatatypes.html#UsageContext">UsageContext</a>,
|
||||
<a href="nulldatatypes.html#Dosage">Dosage</a>,
|
||||
<a href="nulldatatypes.html#Meta">Meta</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Status
|
||||
<br/>
|
||||
|
@ -134,6 +187,14 @@
|
|||
<xpath value="not(parent::f:contained and f:contained)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-4"/>
|
||||
<severity value="error"/>
|
||||
|
@ -143,11 +204,11 @@
|
|||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
|
@ -164,14 +225,6 @@
|
|||
<xpath value="exists(f:text/h:div)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -196,7 +249,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="id"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -215,6 +271,14 @@
|
|||
<type>
|
||||
<code value="Meta"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -233,6 +297,14 @@
|
|||
<type>
|
||||
<code value="uri"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -252,6 +324,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -288,6 +368,14 @@
|
|||
<type>
|
||||
<code value="Narrative"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -337,6 +425,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -362,6 +466,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -384,6 +504,14 @@
|
|||
<type>
|
||||
<code value="Identifier"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<mustSupport value="true"/>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -409,7 +537,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -443,6 +574,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -466,6 +613,22 @@
|
|||
<code value="Extension"/>
|
||||
<profile value="http://www.fhir.org/guides/test3/StructureDefinition/extension-identifier-status"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<mustSupport value="true"/>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -486,6 +649,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This is labeled as "Is Modifier" because applications should not mistake a temporary id for a permanent one."/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -522,6 +693,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -564,6 +743,14 @@
|
|||
<label value="General"/>
|
||||
<valueUri value="http://www.acme.com/identifiers/patient"/>
|
||||
</example>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -598,6 +785,14 @@
|
|||
<label value="General"/>
|
||||
<valueString value="123456"/>
|
||||
</example>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -627,6 +822,14 @@
|
|||
<type>
|
||||
<code value="Period"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -658,6 +861,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -689,6 +900,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element determines what kind of resource is being represented which drives the meaning of all of the other elements."/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -726,6 +945,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -756,6 +983,14 @@
|
|||
<type>
|
||||
<code value="date"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -787,6 +1022,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
|
|
@ -36,7 +36,11 @@
|
|||
<a name="Basic"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">*</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
@ -64,7 +68,7 @@
|
|||
<img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_extension_complex.png" alt="." style="background-color: white; background-color: inherit" title="Complex Extension" class="hierarchy"/>
|
||||
<img src="icon_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/>
|
||||
<span title="Extension URL = http://www.fhir.org/guides/test3/StructureDefinition/extension-identifier-statu2">extension-identifier-statu2</span>
|
||||
<a name="Basic.identifier.extension"> </a>
|
||||
</td>
|
||||
|
@ -73,7 +77,56 @@
|
|||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a href="nulldatatypes.html#code">code</a>
|
||||
<a href="nulldatatypes.html#base64Binary">base64Binary</a>,
|
||||
<a href="nulldatatypes.html#boolean">boolean</a>,
|
||||
<a href="nullreferences.html">canonical</a>(),
|
||||
<a href="nulldatatypes.html#code">code</a>,
|
||||
<a href="nulldatatypes.html#date">date</a>,
|
||||
<a href="nulldatatypes.html#dateTime">dateTime</a>,
|
||||
<a href="nulldatatypes.html#decimal">decimal</a>,
|
||||
<a href="nulldatatypes.html#id">id</a>,
|
||||
<a href="nulldatatypes.html#instant">instant</a>,
|
||||
<a href="nulldatatypes.html#integer">integer</a>,
|
||||
<a href="nulldatatypes.html#markdown">markdown</a>,
|
||||
<a href="nulldatatypes.html#oid">oid</a>,
|
||||
<a href="nulldatatypes.html#positiveInt">positiveInt</a>,
|
||||
<a href="nulldatatypes.html#string">string</a>,
|
||||
<a href="nulldatatypes.html#time">time</a>,
|
||||
<a href="nulldatatypes.html#unsignedInt">unsignedInt</a>,
|
||||
<a href="nulldatatypes.html#uri">uri</a>,
|
||||
<a href="nulldatatypes.html#url">url</a>,
|
||||
<a href="nulldatatypes.html#uuid">uuid</a>,
|
||||
<a href="nulldatatypes.html#Address">Address</a>,
|
||||
<a href="nulldatatypes.html#Age">Age</a>,
|
||||
<a href="nulldatatypes.html#Annotation">Annotation</a>,
|
||||
<a href="nulldatatypes.html#Attachment">Attachment</a>,
|
||||
<a href="nulldatatypes.html#CodeableConcept">CodeableConcept</a>,
|
||||
<a href="nulldatatypes.html#Coding">Coding</a>,
|
||||
<a href="nulldatatypes.html#ContactPoint">ContactPoint</a>,
|
||||
<a href="nulldatatypes.html#Count">Count</a>,
|
||||
<a href="nulldatatypes.html#Distance">Distance</a>,
|
||||
<a href="nulldatatypes.html#Duration">Duration</a>,
|
||||
<a href="nulldatatypes.html#HumanName">HumanName</a>,
|
||||
<a href="nulldatatypes.html#Identifier">Identifier</a>,
|
||||
<a href="nulldatatypes.html#Money">Money</a>,
|
||||
<a href="nulldatatypes.html#Period">Period</a>,
|
||||
<a href="nulldatatypes.html#Quantity">Quantity</a>,
|
||||
<a href="nulldatatypes.html#Range">Range</a>,
|
||||
<a href="nulldatatypes.html#Ratio">Ratio</a>,
|
||||
<a href="nullreferences.html">Reference</a>(),
|
||||
<a href="nulldatatypes.html#SampledData">SampledData</a>,
|
||||
<a href="nulldatatypes.html#Signature">Signature</a>,
|
||||
<a href="nulldatatypes.html#Timing">Timing</a>,
|
||||
<a href="nulldatatypes.html#ContactDetail">ContactDetail</a>,
|
||||
<a href="nulldatatypes.html#Contributor">Contributor</a>,
|
||||
<a href="nulldatatypes.html#DataRequirement">DataRequirement</a>,
|
||||
<a href="nulldatatypes.html#Expression">Expression</a>,
|
||||
<a href="nulldatatypes.html#ParameterDefinition">ParameterDefinition</a>,
|
||||
<a href="nulldatatypes.html#RelatedArtifact">RelatedArtifact</a>,
|
||||
<a href="nulldatatypes.html#TriggerDefinition">TriggerDefinition</a>,
|
||||
<a href="nulldatatypes.html#UsageContext">UsageContext</a>,
|
||||
<a href="nulldatatypes.html#Dosage">Dosage</a>,
|
||||
<a href="nulldatatypes.html#Meta">Meta</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Status
|
||||
<br/>
|
||||
|
@ -139,6 +192,14 @@
|
|||
<xpath value="not(parent::f:contained and f:contained)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-4"/>
|
||||
<severity value="error"/>
|
||||
|
@ -148,11 +209,11 @@
|
|||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
|
@ -169,14 +230,6 @@
|
|||
<xpath value="exists(f:text/h:div)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -201,7 +254,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="id"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -220,6 +276,14 @@
|
|||
<type>
|
||||
<code value="Meta"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -238,6 +302,14 @@
|
|||
<type>
|
||||
<code value="uri"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -257,6 +329,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -293,6 +373,14 @@
|
|||
<type>
|
||||
<code value="Narrative"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -342,6 +430,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -367,6 +471,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -389,6 +509,14 @@
|
|||
<type>
|
||||
<code value="Identifier"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<mustSupport value="true"/>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -414,7 +542,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -448,6 +579,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -471,6 +618,22 @@
|
|||
<code value="Extension"/>
|
||||
<profile value="http://www.fhir.org/guides/test3/StructureDefinition/extension-identifier-statu2"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<mustSupport value="true"/>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -491,6 +654,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This is labeled as "Is Modifier" because applications should not mistake a temporary id for a permanent one."/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -527,6 +698,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -569,6 +748,14 @@
|
|||
<label value="General"/>
|
||||
<valueUri value="http://www.acme.com/identifiers/patient"/>
|
||||
</example>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -603,6 +790,14 @@
|
|||
<label value="General"/>
|
||||
<valueString value="123456"/>
|
||||
</example>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -632,6 +827,14 @@
|
|||
<type>
|
||||
<code value="Period"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -663,6 +866,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -694,6 +905,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element determines what kind of resource is being represented which drives the meaning of all of the other elements."/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -731,6 +950,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -761,6 +988,14 @@
|
|||
<type>
|
||||
<code value="date"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -792,6 +1027,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -36,8 +36,14 @@
|
|||
<a name="Patient.identifier"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">*</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#Identifier">Identifier</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
|
@ -107,6 +113,14 @@
|
|||
<xpath value="not(parent::f:contained and f:contained)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-4"/>
|
||||
<severity value="error"/>
|
||||
|
@ -116,11 +130,11 @@
|
|||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
|
@ -137,14 +151,6 @@
|
|||
<xpath value="exists(f:text/h:div)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -173,7 +179,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="id"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -192,6 +201,14 @@
|
|||
<type>
|
||||
<code value="Meta"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -210,6 +227,14 @@
|
|||
<type>
|
||||
<code value="uri"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -229,6 +254,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -265,6 +298,14 @@
|
|||
<type>
|
||||
<code value="Narrative"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -314,6 +355,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -339,6 +396,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -362,6 +435,14 @@
|
|||
<type>
|
||||
<code value="Identifier"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -398,6 +479,14 @@
|
|||
<code value="boolean"/>
|
||||
</type>
|
||||
<meaningWhenMissing value="This resource is generally assumed to be active if no value is provided for the active element"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -430,6 +519,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -461,6 +558,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -492,6 +597,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -534,6 +647,14 @@
|
|||
<type>
|
||||
<code value="date"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -572,6 +693,14 @@
|
|||
<type>
|
||||
<code value="dateTime"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different."/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -604,6 +733,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -634,6 +771,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -679,6 +824,14 @@
|
|||
<type>
|
||||
<code value="integer"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -710,6 +863,14 @@
|
|||
<type>
|
||||
<code value="Attachment"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -783,7 +944,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -809,6 +973,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -835,6 +1015,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -858,6 +1054,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -896,6 +1100,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -927,6 +1139,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -957,6 +1177,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -987,6 +1215,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1030,6 +1266,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<condition value="pat-1"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1059,6 +1303,14 @@
|
|||
<type>
|
||||
<code value="Period"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1118,7 +1370,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1144,6 +1399,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1170,6 +1441,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1194,6 +1481,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1239,6 +1534,14 @@
|
|||
<type>
|
||||
<code value="boolean"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1273,6 +1576,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1305,6 +1616,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1365,7 +1684,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1391,6 +1713,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1417,6 +1755,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1445,6 +1799,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1474,6 +1836,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
|
|
@ -36,7 +36,11 @@
|
|||
<a name="Observation"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">*</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
@ -50,8 +54,30 @@
|
|||
<a name="Observation.value_x_"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#Quantity">Quantity</a>
|
||||
<span style="opacity: 0.4">, </span>
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#CodeableConcept">CodeableConcept</a>
|
||||
<span style="opacity: 0.4">, </span>
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#string">string</a>
|
||||
<span style="opacity: 0.4">, </span>
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#boolean">boolean</a>
|
||||
<span style="opacity: 0.4">, </span>
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#integer">integer</a>
|
||||
<span style="opacity: 0.4">, </span>
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#Range">Range</a>
|
||||
<span style="opacity: 0.4">, </span>
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#Ratio">Ratio</a>
|
||||
<span style="opacity: 0.4">, </span>
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#SampledData">SampledData</a>
|
||||
<span style="opacity: 0.4">, </span>
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#time">time</a>
|
||||
<span style="opacity: 0.4">, </span>
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#dateTime">dateTime</a>
|
||||
<span style="opacity: 0.4">, </span>
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#Period">Period</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">some text</td>
|
||||
</tr>
|
||||
|
||||
|
@ -130,6 +156,14 @@
|
|||
<xpath value="not(parent::f:contained and f:contained)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-4"/>
|
||||
<severity value="error"/>
|
||||
|
@ -139,11 +173,11 @@
|
|||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
|
@ -160,22 +194,6 @@
|
|||
<xpath value="exists(f:text/h:div)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="obs-7"/>
|
||||
<severity value="error"/>
|
||||
<human value="If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present"/>
|
||||
<expression value="value.empty() or component.code.where( (coding.code = %resource.code.coding.code) and (coding.system = %resource.code.coding.system)).empty()"/>
|
||||
<xpath value="not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))"/>
|
||||
<source value="Observation"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="obs-6"/>
|
||||
<severity value="error"/>
|
||||
|
@ -184,6 +202,14 @@
|
|||
<xpath value="not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))"/>
|
||||
<source value="Observation"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="obs-7"/>
|
||||
<severity value="error"/>
|
||||
<human value="If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present"/>
|
||||
<expression value="value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()"/>
|
||||
<xpath value="not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))"/>
|
||||
<source value="Observation"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -220,7 +246,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="id"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -239,6 +268,14 @@
|
|||
<type>
|
||||
<code value="Meta"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -257,6 +294,14 @@
|
|||
<type>
|
||||
<code value="uri"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -276,6 +321,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -312,6 +365,14 @@
|
|||
<type>
|
||||
<code value="Narrative"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -361,6 +422,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -386,6 +463,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -409,6 +502,14 @@
|
|||
<type>
|
||||
<code value="Identifier"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -450,6 +551,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/NutritionOrder"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/ServiceRequest"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -487,6 +596,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Immunization"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/ImagingStudy"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -521,6 +638,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -569,6 +694,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -605,6 +738,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -660,6 +801,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -702,6 +851,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -739,6 +896,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -784,6 +949,14 @@
|
|||
<type>
|
||||
<code value="instant"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -818,6 +991,14 @@
|
|||
<type>
|
||||
<code value="instant"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -854,6 +1035,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -920,6 +1109,14 @@
|
|||
<code value="Period"/>
|
||||
</type>
|
||||
<condition value="obs-7"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -956,6 +1153,14 @@
|
|||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<condition value="obs-6"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -992,6 +1197,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1035,6 +1248,14 @@
|
|||
<type>
|
||||
<code value="Annotation"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1061,6 +1282,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1104,6 +1333,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1139,6 +1376,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Specimen"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1175,6 +1420,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceMetric"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1249,7 +1502,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1275,6 +1531,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1301,6 +1573,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1325,6 +1613,14 @@
|
|||
<profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
|
||||
</type>
|
||||
<condition value="obs-3"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1352,6 +1648,14 @@
|
|||
<profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
|
||||
</type>
|
||||
<condition value="obs-3"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1379,6 +1683,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1418,6 +1730,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1456,6 +1776,14 @@
|
|||
<type>
|
||||
<code value="Range"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1477,6 +1805,14 @@
|
|||
<type>
|
||||
<code value="string"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1506,6 +1842,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1538,6 +1882,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1597,7 +1949,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1623,6 +1978,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1649,6 +2020,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1673,6 +2060,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -1746,6 +2141,14 @@
|
|||
<type>
|
||||
<code value="Period"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1782,6 +2185,14 @@
|
|||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<condition value="obs-6"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1818,6 +2229,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1859,6 +2278,14 @@
|
|||
<max value="*"/>
|
||||
</base>
|
||||
<contentReference value="#Observation.referenceRange"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
|
|
@ -36,13 +36,17 @@
|
|||
<a name="Observation"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">*</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7;">
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.png)" class="hierarchy">
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01.png)" class="hierarchy">
|
||||
<img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_choice.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Choice of Types" class="hierarchy"/>
|
||||
|
@ -50,12 +54,45 @@
|
|||
<a name="Observation.value_x_"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a href="nulldatatypes.html#Quantity">Quantity</a>,
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">1</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">some text</td>
|
||||
</tr>
|
||||
|
||||
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;">
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" class="hierarchy">
|
||||
<img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/>
|
||||
<span title="Base StructureDefinition for Quantity Type: A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies.">valueQuantity</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"></td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a href="nulldatatypes.html#Quantity">Quantity</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7;">
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck000.png)" class="hierarchy">
|
||||
<img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/>
|
||||
<span title="Base StructureDefinition for CodeableConcept Type: A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.">valueCodeableConcept</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"></td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a href="nulldatatypes.html#CodeableConcept">CodeableConcept</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">some text</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
@ -133,6 +170,14 @@
|
|||
<xpath value="not(parent::f:contained and f:contained)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-4"/>
|
||||
<severity value="error"/>
|
||||
|
@ -142,11 +187,11 @@
|
|||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
|
@ -163,22 +208,6 @@
|
|||
<xpath value="exists(f:text/h:div)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="obs-7"/>
|
||||
<severity value="error"/>
|
||||
<human value="If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present"/>
|
||||
<expression value="value.empty() or component.code.where( (coding.code = %resource.code.coding.code) and (coding.system = %resource.code.coding.system)).empty()"/>
|
||||
<xpath value="not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))"/>
|
||||
<source value="Observation"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="obs-6"/>
|
||||
<severity value="error"/>
|
||||
|
@ -187,6 +216,14 @@
|
|||
<xpath value="not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))"/>
|
||||
<source value="Observation"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="obs-7"/>
|
||||
<severity value="error"/>
|
||||
<human value="If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present"/>
|
||||
<expression value="value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()"/>
|
||||
<xpath value="not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))"/>
|
||||
<source value="Observation"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -223,7 +260,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="id"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -242,6 +282,14 @@
|
|||
<type>
|
||||
<code value="Meta"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -260,6 +308,14 @@
|
|||
<type>
|
||||
<code value="uri"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -279,6 +335,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -315,6 +379,14 @@
|
|||
<type>
|
||||
<code value="Narrative"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -364,6 +436,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -389,6 +477,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -412,6 +516,14 @@
|
|||
<type>
|
||||
<code value="Identifier"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -453,6 +565,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/NutritionOrder"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/ServiceRequest"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -490,6 +610,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Immunization"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/ImagingStudy"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -524,6 +652,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -572,6 +708,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -608,6 +752,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -663,6 +815,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -705,6 +865,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -742,6 +910,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -787,6 +963,14 @@
|
|||
<type>
|
||||
<code value="instant"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -821,6 +1005,14 @@
|
|||
<type>
|
||||
<code value="instant"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -857,6 +1049,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -896,6 +1096,14 @@
|
|||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<condition value="obs-7"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -932,6 +1140,14 @@
|
|||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<condition value="obs-6"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -968,6 +1184,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1011,6 +1235,14 @@
|
|||
<type>
|
||||
<code value="Annotation"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1037,6 +1269,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1080,6 +1320,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1115,6 +1363,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Specimen"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1151,6 +1407,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceMetric"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1225,7 +1489,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1251,6 +1518,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1277,6 +1560,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1301,6 +1600,14 @@
|
|||
<profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
|
||||
</type>
|
||||
<condition value="obs-3"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1328,6 +1635,14 @@
|
|||
<profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
|
||||
</type>
|
||||
<condition value="obs-3"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1355,6 +1670,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1394,6 +1717,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1432,6 +1763,14 @@
|
|||
<type>
|
||||
<code value="Range"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1453,6 +1792,14 @@
|
|||
<type>
|
||||
<code value="string"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1482,6 +1829,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1514,6 +1869,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1573,7 +1936,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1599,6 +1965,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1625,6 +2007,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1649,6 +2047,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -1722,6 +2128,14 @@
|
|||
<type>
|
||||
<code value="Period"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1758,6 +2172,14 @@
|
|||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<condition value="obs-6"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1794,6 +2216,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1835,6 +2265,14 @@
|
|||
<max value="*"/>
|
||||
</base>
|
||||
<contentReference value="#Observation.referenceRange"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
|
|
@ -36,7 +36,11 @@
|
|||
<a name="Observation"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">*</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
@ -50,7 +54,11 @@
|
|||
<a name="Observation.value_x_"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">1</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a href="nulldatatypes.html#Quantity">Quantity</a>
|
||||
</td>
|
||||
|
@ -132,6 +140,14 @@
|
|||
<xpath value="not(parent::f:contained and f:contained)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-4"/>
|
||||
<severity value="error"/>
|
||||
|
@ -141,11 +157,11 @@
|
|||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
|
@ -162,22 +178,6 @@
|
|||
<xpath value="exists(f:text/h:div)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="obs-7"/>
|
||||
<severity value="error"/>
|
||||
<human value="If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present"/>
|
||||
<expression value="value.empty() or component.code.where( (coding.code = %resource.code.coding.code) and (coding.system = %resource.code.coding.system)).empty()"/>
|
||||
<xpath value="not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))"/>
|
||||
<source value="Observation"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="obs-6"/>
|
||||
<severity value="error"/>
|
||||
|
@ -186,6 +186,14 @@
|
|||
<xpath value="not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))"/>
|
||||
<source value="Observation"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="obs-7"/>
|
||||
<severity value="error"/>
|
||||
<human value="If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present"/>
|
||||
<expression value="value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()"/>
|
||||
<xpath value="not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))"/>
|
||||
<source value="Observation"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -222,7 +230,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="id"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -241,6 +252,14 @@
|
|||
<type>
|
||||
<code value="Meta"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -259,6 +278,14 @@
|
|||
<type>
|
||||
<code value="uri"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -278,6 +305,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -314,6 +349,14 @@
|
|||
<type>
|
||||
<code value="Narrative"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -363,6 +406,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -388,6 +447,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -411,6 +486,14 @@
|
|||
<type>
|
||||
<code value="Identifier"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -452,6 +535,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/NutritionOrder"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/ServiceRequest"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -489,6 +580,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Immunization"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/ImagingStudy"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -523,6 +622,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -571,6 +678,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -607,6 +722,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -662,6 +785,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -704,6 +835,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -741,6 +880,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -786,6 +933,14 @@
|
|||
<type>
|
||||
<code value="instant"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -820,6 +975,14 @@
|
|||
<type>
|
||||
<code value="instant"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -856,6 +1019,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -892,6 +1063,14 @@
|
|||
<code value="Quantity"/>
|
||||
</type>
|
||||
<condition value="obs-7"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -928,6 +1107,14 @@
|
|||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<condition value="obs-6"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -964,6 +1151,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1007,6 +1202,14 @@
|
|||
<type>
|
||||
<code value="Annotation"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1033,6 +1236,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1076,6 +1287,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1111,6 +1330,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Specimen"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1147,6 +1374,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceMetric"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1221,7 +1456,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1247,6 +1485,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1273,6 +1527,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1297,6 +1567,14 @@
|
|||
<profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
|
||||
</type>
|
||||
<condition value="obs-3"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1324,6 +1602,14 @@
|
|||
<profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
|
||||
</type>
|
||||
<condition value="obs-3"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1351,6 +1637,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1390,6 +1684,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1428,6 +1730,14 @@
|
|||
<type>
|
||||
<code value="Range"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1449,6 +1759,14 @@
|
|||
<type>
|
||||
<code value="string"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1478,6 +1796,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1510,6 +1836,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1569,7 +1903,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1595,6 +1932,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1621,6 +1974,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1645,6 +2014,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -1718,6 +2095,14 @@
|
|||
<type>
|
||||
<code value="Period"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1754,6 +2139,14 @@
|
|||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<condition value="obs-6"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1790,6 +2183,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1831,6 +2232,14 @@
|
|||
<max value="*"/>
|
||||
</base>
|
||||
<contentReference value="#Observation.referenceRange"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
|
|
@ -36,23 +36,32 @@
|
|||
<a name="Observation"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">*</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7;">
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck12.png)" class="hierarchy">
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck03.png)" class="hierarchy">
|
||||
<img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_slice.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Slice Definition" class="hierarchy"/>
|
||||
<span style="font-style: italic" title="null">value[x]</span>
|
||||
<a name="Observation.value_x_"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="font-style: italic" href="nulldatatypes.html#Quantity">Quantity</a>
|
||||
<span style="font-style: italic"/>
|
||||
<span style="opacity: 0.4; font-style: italic">0</span>
|
||||
<span style="opacity: 0.5; font-style: italic">..</span>
|
||||
<span style="opacity: 0.4; font-style: italic">1</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="font-style: italic" href="nullprofiling.html#slicing">(Slice Definition)</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="font-style: italic">some text</span>
|
||||
|
@ -63,15 +72,20 @@
|
|||
</tr>
|
||||
|
||||
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;">
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck05.png)" class="hierarchy">
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck025.png)" class="hierarchy">
|
||||
<img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/>
|
||||
<span title="Slice Quantity: null">value[x]</span>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_end_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/>
|
||||
<span title="Slice valueQuantity: null">value[x]:valueQuantity</span>
|
||||
<a name="Observation.value_x_"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">1</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a href="nulldatatypes.html#Quantity">Quantity</a>
|
||||
</td>
|
||||
|
@ -79,17 +93,20 @@
|
|||
</tr>
|
||||
|
||||
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7;">
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck040.png)" class="hierarchy">
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0240.png)" class="hierarchy">
|
||||
<img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="tbl_vjoin_end_slice.png" alt="." style="background-color: inherit" class="hierarchy"/>
|
||||
<img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/>
|
||||
<span title="null">value</span>
|
||||
<a name="Observation.value_x_.value"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#decimal">decimal</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
|
@ -168,6 +185,14 @@
|
|||
<xpath value="not(parent::f:contained and f:contained)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-4"/>
|
||||
<severity value="error"/>
|
||||
|
@ -177,11 +202,11 @@
|
|||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
|
@ -198,22 +223,6 @@
|
|||
<xpath value="exists(f:text/h:div)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="obs-7"/>
|
||||
<severity value="error"/>
|
||||
<human value="If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present"/>
|
||||
<expression value="value.empty() or component.code.where( (coding.code = %resource.code.coding.code) and (coding.system = %resource.code.coding.system)).empty()"/>
|
||||
<xpath value="not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))"/>
|
||||
<source value="Observation"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="obs-6"/>
|
||||
<severity value="error"/>
|
||||
|
@ -222,6 +231,14 @@
|
|||
<xpath value="not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))"/>
|
||||
<source value="Observation"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="obs-7"/>
|
||||
<severity value="error"/>
|
||||
<human value="If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present"/>
|
||||
<expression value="value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()"/>
|
||||
<xpath value="not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))"/>
|
||||
<source value="Observation"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -258,7 +275,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="id"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -277,6 +297,14 @@
|
|||
<type>
|
||||
<code value="Meta"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -295,6 +323,14 @@
|
|||
<type>
|
||||
<code value="uri"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -314,6 +350,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -350,6 +394,14 @@
|
|||
<type>
|
||||
<code value="Narrative"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -399,6 +451,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -424,6 +492,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -447,6 +531,14 @@
|
|||
<type>
|
||||
<code value="Identifier"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -488,6 +580,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/NutritionOrder"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/ServiceRequest"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -525,6 +625,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Immunization"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/ImagingStudy"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -559,6 +667,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -607,6 +723,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -643,6 +767,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -698,6 +830,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -740,6 +880,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -777,6 +925,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -822,6 +978,14 @@
|
|||
<type>
|
||||
<code value="instant"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -856,6 +1020,14 @@
|
|||
<type>
|
||||
<code value="instant"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -892,6 +1064,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -936,6 +1116,14 @@
|
|||
<code value="Quantity"/>
|
||||
</type>
|
||||
<condition value="obs-7"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -973,6 +1161,14 @@
|
|||
<code value="Quantity"/>
|
||||
</type>
|
||||
<condition value="obs-7"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1005,7 +1201,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1039,6 +1238,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1062,6 +1277,14 @@
|
|||
<type>
|
||||
<code value="decimal"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1089,6 +1312,14 @@
|
|||
<code value="code"/>
|
||||
</type>
|
||||
<meaningWhenMissing value="If there is no comparator, then there is no modification of the value"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This is labeled as "Is Modifier" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1127,6 +1358,14 @@
|
|||
<type>
|
||||
<code value="string"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1154,6 +1393,14 @@
|
|||
<code value="uri"/>
|
||||
</type>
|
||||
<condition value="qty-3"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1181,6 +1428,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1209,6 +1464,14 @@
|
|||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<condition value="obs-6"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1245,6 +1508,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1288,6 +1559,14 @@
|
|||
<type>
|
||||
<code value="Annotation"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1314,6 +1593,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1357,6 +1644,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1392,6 +1687,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Specimen"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1428,6 +1731,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceMetric"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1502,7 +1813,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1528,6 +1842,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1554,6 +1884,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1578,6 +1924,14 @@
|
|||
<profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
|
||||
</type>
|
||||
<condition value="obs-3"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1605,6 +1959,14 @@
|
|||
<profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
|
||||
</type>
|
||||
<condition value="obs-3"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1632,6 +1994,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1671,6 +2041,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1709,6 +2087,14 @@
|
|||
<type>
|
||||
<code value="Range"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1730,6 +2116,14 @@
|
|||
<type>
|
||||
<code value="string"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1759,6 +2153,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1791,6 +2193,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1850,7 +2260,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1876,6 +2289,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1902,6 +2331,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1926,6 +2371,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -1999,6 +2452,14 @@
|
|||
<type>
|
||||
<code value="Period"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -2035,6 +2496,14 @@
|
|||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<condition value="obs-6"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -2071,6 +2540,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -2112,6 +2589,14 @@
|
|||
<max value="*"/>
|
||||
</base>
|
||||
<contentReference value="#Observation.referenceRange"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
|
|
@ -36,7 +36,11 @@
|
|||
<a name="Observation"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">*</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
@ -50,7 +54,11 @@
|
|||
<a name="Observation.value_x_"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">1</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a href="nulldatatypes.html#Quantity">Quantity</a>
|
||||
</td>
|
||||
|
@ -66,8 +74,14 @@
|
|||
<a name="Observation.valueQuantity"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">1</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#Quantity">Quantity</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">some text for quantity</td>
|
||||
</tr>
|
||||
|
||||
|
@ -81,8 +95,10 @@
|
|||
<a name="Observation.valueQuantity.value"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#decimal">decimal</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
|
@ -161,6 +177,14 @@
|
|||
<xpath value="not(parent::f:contained and f:contained)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-4"/>
|
||||
<severity value="error"/>
|
||||
|
@ -170,11 +194,11 @@
|
|||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
|
@ -191,22 +215,6 @@
|
|||
<xpath value="exists(f:text/h:div)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="obs-7"/>
|
||||
<severity value="error"/>
|
||||
<human value="If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present"/>
|
||||
<expression value="value.empty() or component.code.where( (coding.code = %resource.code.coding.code) and (coding.system = %resource.code.coding.system)).empty()"/>
|
||||
<xpath value="not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))"/>
|
||||
<source value="Observation"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="obs-6"/>
|
||||
<severity value="error"/>
|
||||
|
@ -215,6 +223,14 @@
|
|||
<xpath value="not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))"/>
|
||||
<source value="Observation"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="obs-7"/>
|
||||
<severity value="error"/>
|
||||
<human value="If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present"/>
|
||||
<expression value="value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()"/>
|
||||
<xpath value="not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))"/>
|
||||
<source value="Observation"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -251,7 +267,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="id"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -270,6 +289,14 @@
|
|||
<type>
|
||||
<code value="Meta"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -288,6 +315,14 @@
|
|||
<type>
|
||||
<code value="uri"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -307,6 +342,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -343,6 +386,14 @@
|
|||
<type>
|
||||
<code value="Narrative"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -392,6 +443,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -417,6 +484,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -440,6 +523,14 @@
|
|||
<type>
|
||||
<code value="Identifier"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -481,6 +572,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/NutritionOrder"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/ServiceRequest"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -518,6 +617,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Immunization"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/ImagingStudy"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -552,6 +659,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -600,6 +715,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -636,6 +759,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -691,6 +822,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -733,6 +872,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -770,6 +917,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -815,6 +970,14 @@
|
|||
<type>
|
||||
<code value="instant"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -849,6 +1012,14 @@
|
|||
<type>
|
||||
<code value="instant"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -885,6 +1056,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -929,6 +1108,14 @@
|
|||
<code value="Quantity"/>
|
||||
</type>
|
||||
<condition value="obs-7"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -966,6 +1153,14 @@
|
|||
<code value="Quantity"/>
|
||||
</type>
|
||||
<condition value="obs-7"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -998,7 +1193,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1032,6 +1230,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1055,6 +1269,14 @@
|
|||
<type>
|
||||
<code value="decimal"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1082,6 +1304,14 @@
|
|||
<code value="code"/>
|
||||
</type>
|
||||
<meaningWhenMissing value="If there is no comparator, then there is no modification of the value"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This is labeled as "Is Modifier" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1120,6 +1350,14 @@
|
|||
<type>
|
||||
<code value="string"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1147,6 +1385,14 @@
|
|||
<code value="uri"/>
|
||||
</type>
|
||||
<condition value="qty-3"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1174,6 +1420,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1202,6 +1456,14 @@
|
|||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<condition value="obs-6"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1238,6 +1500,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1281,6 +1551,14 @@
|
|||
<type>
|
||||
<code value="Annotation"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1307,6 +1585,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1350,6 +1636,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1385,6 +1679,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Specimen"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1421,6 +1723,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceMetric"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1495,7 +1805,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1521,6 +1834,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1547,6 +1876,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1571,6 +1916,14 @@
|
|||
<profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
|
||||
</type>
|
||||
<condition value="obs-3"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1598,6 +1951,14 @@
|
|||
<profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
|
||||
</type>
|
||||
<condition value="obs-3"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1625,6 +1986,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1664,6 +2033,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1702,6 +2079,14 @@
|
|||
<type>
|
||||
<code value="Range"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1723,6 +2108,14 @@
|
|||
<type>
|
||||
<code value="string"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1752,6 +2145,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1784,6 +2185,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1843,7 +2252,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1869,6 +2281,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1895,6 +2323,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1919,6 +2363,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -1992,6 +2444,14 @@
|
|||
<type>
|
||||
<code value="Period"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -2028,6 +2488,14 @@
|
|||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<condition value="obs-6"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -2064,6 +2532,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -2105,6 +2581,14 @@
|
|||
<max value="*"/>
|
||||
</base>
|
||||
<contentReference value="#Observation.referenceRange"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -36,8 +36,14 @@
|
|||
<a name="Patient.contact.telecom"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">*</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#ContactPoint">ContactPoint</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
|
@ -107,6 +113,14 @@
|
|||
<xpath value="not(parent::f:contained and f:contained)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-4"/>
|
||||
<severity value="error"/>
|
||||
|
@ -116,11 +130,11 @@
|
|||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
|
@ -137,14 +151,6 @@
|
|||
<xpath value="exists(f:text/h:div)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -173,7 +179,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="id"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -192,6 +201,14 @@
|
|||
<type>
|
||||
<code value="Meta"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -210,6 +227,14 @@
|
|||
<type>
|
||||
<code value="uri"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -229,6 +254,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -265,6 +298,14 @@
|
|||
<type>
|
||||
<code value="Narrative"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -314,6 +355,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -339,6 +396,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -362,6 +435,14 @@
|
|||
<type>
|
||||
<code value="Identifier"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -398,6 +479,14 @@
|
|||
<code value="boolean"/>
|
||||
</type>
|
||||
<meaningWhenMissing value="This resource is generally assumed to be active if no value is provided for the active element"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -430,6 +519,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -461,6 +558,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -492,6 +597,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -534,6 +647,14 @@
|
|||
<type>
|
||||
<code value="date"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -572,6 +693,14 @@
|
|||
<type>
|
||||
<code value="dateTime"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different."/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -604,6 +733,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -634,6 +771,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -679,6 +824,14 @@
|
|||
<type>
|
||||
<code value="integer"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -710,6 +863,14 @@
|
|||
<type>
|
||||
<code value="Attachment"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -783,7 +944,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -809,6 +973,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -835,6 +1015,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -858,6 +1054,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -896,6 +1100,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -927,6 +1139,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -957,6 +1177,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -987,6 +1215,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1030,6 +1266,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<condition value="pat-1"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1059,6 +1303,14 @@
|
|||
<type>
|
||||
<code value="Period"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1118,7 +1370,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1144,6 +1399,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1170,6 +1441,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1194,6 +1481,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1239,6 +1534,14 @@
|
|||
<type>
|
||||
<code value="boolean"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1273,6 +1576,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1305,6 +1616,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1365,7 +1684,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1391,6 +1713,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1417,6 +1755,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1445,6 +1799,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1474,6 +1836,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
|
|
@ -36,7 +36,11 @@
|
|||
<a name="Patient.deceased_x_"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">1</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a href="nulldatatypes.html#dateTime">dateTime</a>
|
||||
</td>
|
||||
|
@ -109,6 +113,14 @@
|
|||
<xpath value="not(parent::f:contained and f:contained)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-4"/>
|
||||
<severity value="error"/>
|
||||
|
@ -118,11 +130,11 @@
|
|||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
|
@ -139,14 +151,6 @@
|
|||
<xpath value="exists(f:text/h:div)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -175,7 +179,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="id"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -194,6 +201,14 @@
|
|||
<type>
|
||||
<code value="Meta"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -212,6 +227,14 @@
|
|||
<type>
|
||||
<code value="uri"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -231,6 +254,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -267,6 +298,14 @@
|
|||
<type>
|
||||
<code value="Narrative"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -316,6 +355,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -341,6 +396,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -364,6 +435,14 @@
|
|||
<type>
|
||||
<code value="Identifier"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -400,6 +479,14 @@
|
|||
<code value="boolean"/>
|
||||
</type>
|
||||
<meaningWhenMissing value="This resource is generally assumed to be active if no value is provided for the active element"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -432,6 +519,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -463,6 +558,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -494,6 +597,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -536,6 +647,14 @@
|
|||
<type>
|
||||
<code value="date"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -571,6 +690,14 @@
|
|||
<type>
|
||||
<code value="dateTime"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different."/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -603,6 +730,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -633,6 +768,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -678,6 +821,14 @@
|
|||
<type>
|
||||
<code value="integer"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -709,6 +860,14 @@
|
|||
<type>
|
||||
<code value="Attachment"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -782,7 +941,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -808,6 +970,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -834,6 +1012,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -857,6 +1051,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -895,6 +1097,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -926,6 +1136,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -956,6 +1174,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -986,6 +1212,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1029,6 +1263,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<condition value="pat-1"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1058,6 +1300,14 @@
|
|||
<type>
|
||||
<code value="Period"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1117,7 +1367,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1143,6 +1396,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1169,6 +1438,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1193,6 +1478,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1238,6 +1531,14 @@
|
|||
<type>
|
||||
<code value="boolean"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1272,6 +1573,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1304,6 +1613,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1364,7 +1681,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1390,6 +1710,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1416,6 +1752,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1444,6 +1796,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1473,6 +1833,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
|
|
@ -36,7 +36,11 @@
|
|||
<a name="Patient.deceasedDateTime"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">1</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a href="nulldatatypes.html#dateTime">dateTime</a>
|
||||
</td>
|
||||
|
@ -109,6 +113,14 @@
|
|||
<xpath value="not(parent::f:contained and f:contained)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-4"/>
|
||||
<severity value="error"/>
|
||||
|
@ -118,11 +130,11 @@
|
|||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
|
@ -139,14 +151,6 @@
|
|||
<xpath value="exists(f:text/h:div)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -175,7 +179,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="id"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -194,6 +201,14 @@
|
|||
<type>
|
||||
<code value="Meta"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -212,6 +227,14 @@
|
|||
<type>
|
||||
<code value="uri"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -231,6 +254,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -267,6 +298,14 @@
|
|||
<type>
|
||||
<code value="Narrative"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -316,6 +355,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -341,6 +396,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -364,6 +435,14 @@
|
|||
<type>
|
||||
<code value="Identifier"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -400,6 +479,14 @@
|
|||
<code value="boolean"/>
|
||||
</type>
|
||||
<meaningWhenMissing value="This resource is generally assumed to be active if no value is provided for the active element"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -432,6 +519,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -463,6 +558,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -494,6 +597,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -536,6 +647,14 @@
|
|||
<type>
|
||||
<code value="date"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -582,6 +701,14 @@
|
|||
<type>
|
||||
<code value="dateTime"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different."/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -615,6 +742,14 @@
|
|||
<type>
|
||||
<code value="dateTime"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different."/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -647,6 +782,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -677,6 +820,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -722,6 +873,14 @@
|
|||
<type>
|
||||
<code value="integer"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -753,6 +912,14 @@
|
|||
<type>
|
||||
<code value="Attachment"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -826,7 +993,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -852,6 +1022,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -878,6 +1064,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -901,6 +1103,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -939,6 +1149,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -970,6 +1188,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1000,6 +1226,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1030,6 +1264,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1073,6 +1315,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<condition value="pat-1"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1102,6 +1352,14 @@
|
|||
<type>
|
||||
<code value="Period"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1161,7 +1419,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1187,6 +1448,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1213,6 +1490,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1237,6 +1530,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1282,6 +1583,14 @@
|
|||
<type>
|
||||
<code value="boolean"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1316,6 +1625,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1348,6 +1665,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1408,7 +1733,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1434,6 +1762,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1460,6 +1804,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1488,6 +1848,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1517,6 +1885,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
|
|
@ -36,8 +36,14 @@
|
|||
<a name="Patient.identifier"> </a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">*</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#Identifier">Identifier</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
|
@ -107,6 +113,14 @@
|
|||
<xpath value="not(parent::f:contained and f:contained)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-4"/>
|
||||
<severity value="error"/>
|
||||
|
@ -116,11 +130,11 @@
|
|||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
|
@ -137,14 +151,6 @@
|
|||
<xpath value="exists(f:text/h:div)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -173,7 +179,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="id"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -192,6 +201,14 @@
|
|||
<type>
|
||||
<code value="Meta"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -210,6 +227,14 @@
|
|||
<type>
|
||||
<code value="uri"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -229,6 +254,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -265,6 +298,14 @@
|
|||
<type>
|
||||
<code value="Narrative"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -314,6 +355,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -339,6 +396,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -362,6 +435,14 @@
|
|||
<type>
|
||||
<code value="Identifier"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -402,6 +483,14 @@
|
|||
<code value="boolean"/>
|
||||
</type>
|
||||
<meaningWhenMissing value="This resource is generally assumed to be active if no value is provided for the active element"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -434,6 +523,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -465,6 +562,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -496,6 +601,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -538,6 +651,14 @@
|
|||
<type>
|
||||
<code value="date"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -576,6 +697,14 @@
|
|||
<type>
|
||||
<code value="dateTime"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different."/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -608,6 +737,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -638,6 +775,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -683,6 +828,14 @@
|
|||
<type>
|
||||
<code value="integer"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -714,6 +867,14 @@
|
|||
<type>
|
||||
<code value="Attachment"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -787,7 +948,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -813,6 +977,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -839,6 +1019,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -862,6 +1058,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -900,6 +1104,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -931,6 +1143,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -961,6 +1181,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -991,6 +1219,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1034,6 +1270,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<condition value="pat-1"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1063,6 +1307,14 @@
|
|||
<type>
|
||||
<code value="Period"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1122,7 +1374,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1148,6 +1403,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1174,6 +1445,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1198,6 +1485,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1243,6 +1538,14 @@
|
|||
<type>
|
||||
<code value="boolean"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1277,6 +1580,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1309,6 +1620,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1369,7 +1688,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1395,6 +1717,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1421,6 +1759,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1449,6 +1803,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1478,6 +1840,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
|
|
@ -38,8 +38,14 @@
|
|||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">*</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#Identifier">Identifier</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
|
@ -54,8 +60,14 @@
|
|||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">1</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#uri">uri</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
|
@ -125,6 +137,14 @@
|
|||
<xpath value="not(parent::f:contained and f:contained)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-4"/>
|
||||
<severity value="error"/>
|
||||
|
@ -134,11 +154,11 @@
|
|||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
|
@ -155,14 +175,6 @@
|
|||
<xpath value="exists(f:text/h:div)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -191,7 +203,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="id"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -210,6 +225,14 @@
|
|||
<type>
|
||||
<code value="Meta"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -228,6 +251,14 @@
|
|||
<type>
|
||||
<code value="uri"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -247,6 +278,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -283,6 +322,14 @@
|
|||
<type>
|
||||
<code value="Narrative"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -332,6 +379,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -357,6 +420,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -380,6 +459,14 @@
|
|||
<type>
|
||||
<code value="Identifier"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<mustSupport value="true"/>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -413,7 +500,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -447,6 +537,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -470,6 +576,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This is labeled as "Is Modifier" because applications should not mistake a temporary id for a permanent one."/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -506,6 +620,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -548,6 +670,14 @@
|
|||
<label value="General"/>
|
||||
<valueUri value="http://www.acme.com/identifiers/patient"/>
|
||||
</example>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<mustSupport value="true"/>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -583,6 +713,14 @@
|
|||
<label value="General"/>
|
||||
<valueString value="123456"/>
|
||||
</example>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -612,6 +750,14 @@
|
|||
<type>
|
||||
<code value="Period"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -643,6 +789,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -675,6 +829,14 @@
|
|||
<code value="boolean"/>
|
||||
</type>
|
||||
<meaningWhenMissing value="This resource is generally assumed to be active if no value is provided for the active element"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -707,6 +869,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -738,6 +908,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -769,6 +947,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -811,6 +997,14 @@
|
|||
<type>
|
||||
<code value="date"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -849,6 +1043,14 @@
|
|||
<type>
|
||||
<code value="dateTime"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different."/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -881,6 +1083,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -911,6 +1121,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -956,6 +1174,14 @@
|
|||
<type>
|
||||
<code value="integer"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -987,6 +1213,14 @@
|
|||
<type>
|
||||
<code value="Attachment"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1060,7 +1294,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1086,6 +1323,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1112,6 +1365,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1135,6 +1404,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1173,6 +1450,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1204,6 +1489,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1234,6 +1527,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1264,6 +1565,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1307,6 +1616,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<condition value="pat-1"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1336,6 +1653,14 @@
|
|||
<type>
|
||||
<code value="Period"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1395,7 +1720,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1421,6 +1749,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1447,6 +1791,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1471,6 +1831,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1516,6 +1884,14 @@
|
|||
<type>
|
||||
<code value="boolean"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1550,6 +1926,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1582,6 +1966,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1642,7 +2034,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1668,6 +2063,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1694,6 +2105,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1722,6 +2149,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1751,6 +2186,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
|
|
@ -38,8 +38,14 @@
|
|||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<span style="opacity: 0.4">0</span>
|
||||
<span style="opacity: 0.5">..</span>
|
||||
<span style="opacity: 0.4">1</span>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
|
||||
<a style="opacity: 0.4" href="nulldatatypes.html#uri">uri</a>
|
||||
</td>
|
||||
<td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/>
|
||||
</tr>
|
||||
|
||||
|
@ -109,6 +115,14 @@
|
|||
<xpath value="not(parent::f:contained and f:contained)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-4"/>
|
||||
<severity value="error"/>
|
||||
|
@ -118,11 +132,11 @@
|
|||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-3"/>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
|
||||
<expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
|
||||
<xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
|
@ -139,14 +153,6 @@
|
|||
<xpath value="exists(f:text/h:div)"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="dom-5"/>
|
||||
<severity value="error"/>
|
||||
<human value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
|
||||
<expression value="contained.meta.security.empty()"/>
|
||||
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
|
||||
<source value="DomainResource"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -175,7 +181,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="id"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -194,6 +203,14 @@
|
|||
<type>
|
||||
<code value="Meta"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
</element>
|
||||
|
@ -212,6 +229,14 @@
|
|||
<type>
|
||||
<code value="uri"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -231,6 +256,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -267,6 +300,14 @@
|
|||
<type>
|
||||
<code value="Narrative"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -316,6 +357,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -341,6 +398,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -364,6 +437,14 @@
|
|||
<type>
|
||||
<code value="Identifier"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -396,7 +477,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -430,6 +514,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -453,6 +553,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This is labeled as "Is Modifier" because applications should not mistake a temporary id for a permanent one."/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -489,6 +597,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -531,6 +647,14 @@
|
|||
<label value="General"/>
|
||||
<valueUri value="http://www.acme.com/identifiers/patient"/>
|
||||
</example>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<mustSupport value="true"/>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -566,6 +690,14 @@
|
|||
<label value="General"/>
|
||||
<valueString value="123456"/>
|
||||
</example>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -595,6 +727,14 @@
|
|||
<type>
|
||||
<code value="Period"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -626,6 +766,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -658,6 +806,14 @@
|
|||
<code value="boolean"/>
|
||||
</type>
|
||||
<meaningWhenMissing value="This resource is generally assumed to be active if no value is provided for the active element"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -690,6 +846,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -721,6 +885,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -752,6 +924,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
@ -794,6 +974,14 @@
|
|||
<type>
|
||||
<code value="date"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -832,6 +1020,14 @@
|
|||
<type>
|
||||
<code value="dateTime"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different."/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -864,6 +1060,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -894,6 +1098,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -939,6 +1151,14 @@
|
|||
<type>
|
||||
<code value="integer"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -970,6 +1190,14 @@
|
|||
<type>
|
||||
<code value="Attachment"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1043,7 +1271,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1069,6 +1300,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1095,6 +1342,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1118,6 +1381,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1156,6 +1427,14 @@
|
|||
<type>
|
||||
<code value="HumanName"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1187,6 +1466,14 @@
|
|||
<type>
|
||||
<code value="ContactPoint"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1217,6 +1504,14 @@
|
|||
<type>
|
||||
<code value="Address"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1247,6 +1542,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1290,6 +1593,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<condition value="pat-1"/>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1319,6 +1630,14 @@
|
|||
<type>
|
||||
<code value="Period"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1378,7 +1697,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1404,6 +1726,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1430,6 +1768,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1454,6 +1808,14 @@
|
|||
<type>
|
||||
<code value="CodeableConcept"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<binding>
|
||||
|
@ -1499,6 +1861,14 @@
|
|||
<type>
|
||||
<code value="boolean"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1533,6 +1903,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1565,6 +1943,14 @@
|
|||
<code value="Reference"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1625,7 +2011,10 @@
|
|||
<max value="1"/>
|
||||
</base>
|
||||
<type>
|
||||
<code value="string"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
|
||||
<valueUrl value="string"/>
|
||||
</extension>
|
||||
<code value="http://hl7.org/fhirpath/System.String"/>
|
||||
</type>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
|
@ -1651,6 +2040,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="false"/>
|
||||
<mapping>
|
||||
|
@ -1677,6 +2082,22 @@
|
|||
<type>
|
||||
<code value="Extension"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<constraint>
|
||||
<key value="ext-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="Must have either extensions or value[x], not both"/>
|
||||
<expression value="extension.exists() != value.exists()"/>
|
||||
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
|
||||
<source value="Extension"/>
|
||||
</constraint>
|
||||
<isModifier value="true"/>
|
||||
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
|
||||
<isSummary value="true"/>
|
||||
|
@ -1705,6 +2126,14 @@
|
|||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
|
||||
<targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<mapping>
|
||||
|
@ -1734,6 +2163,14 @@
|
|||
<type>
|
||||
<code value="code"/>
|
||||
</type>
|
||||
<constraint>
|
||||
<key value="ele-1"/>
|
||||
<severity value="error"/>
|
||||
<human value="All FHIR elements must have a @value or children"/>
|
||||
<expression value="hasValue() or (children().count() > id.count())"/>
|
||||
<xpath value="@value|f:*|h:div"/>
|
||||
<source value="Element"/>
|
||||
</constraint>
|
||||
<isModifier value="false"/>
|
||||
<isSummary value="true"/>
|
||||
<binding>
|
||||
|
|
Loading…
Reference in New Issue