diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/model/api/IFhirVersion.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/model/api/IFhirVersion.java index e9c20b959a6..5cc1460d53f 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/model/api/IFhirVersion.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/model/api/IFhirVersion.java @@ -39,4 +39,6 @@ public interface IFhirVersion { Object createServerConformanceProvider(RestfulServer theRestfulServer); + String getPathToSchemaDefinitions(); + } diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/parser/JsonParser.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/parser/JsonParser.java index 7b326e56dce..6e3a24904d4 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/parser/JsonParser.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/parser/JsonParser.java @@ -117,8 +117,7 @@ public class JsonParser extends BaseParser implements IParser { private boolean myPrettyPrint; /** - * Do not use this constructor, the recommended way to obtain a new instance of the JSON parser is to invoke - * {@link FhirContext#newJsonParser()}. + * Do not use this constructor, the recommended way to obtain a new instance of the JSON parser is to invoke {@link FhirContext#newJsonParser()}. */ public JsonParser(FhirContext theContext) { super(theContext); @@ -273,30 +272,36 @@ public class JsonParser extends BaseParser implements IParser { for (BundleEntry nextEntry : theBundle.getEntries()) { theEventWriter.writeStartObject(); - boolean deleted = nextEntry.getDeletedAt() != null && nextEntry.getDeletedAt().isEmpty() == false; - if (deleted) { - writeTagWithTextNode(theEventWriter, "deleted", nextEntry.getDeletedAt()); - } - writeOptionalTagWithTextNode(theEventWriter, "base", nextEntry.getLinkBase()); writeOptionalTagWithTextNode(theEventWriter, "status", nextEntry.getStatus()); writeOptionalTagWithTextNode(theEventWriter, "search", nextEntry.getLinkSearch()); writeOptionalTagWithDecimalNode(theEventWriter, "score", nextEntry.getScore()); - linkStarted = false; - linkStarted = writeAtomLinkInDstu1Format(theEventWriter, "self", nextEntry.getLinkSelf(), linkStarted); - linkStarted = writeAtomLinkInDstu1Format(theEventWriter, "alternate", nextEntry.getLinkAlternate(), linkStarted); - linkStarted = writeAtomLinkInDstu1Format(theEventWriter, "search", nextEntry.getLinkSearch(), linkStarted); - if (linkStarted) { - theEventWriter.writeEnd(); + boolean deleted = nextEntry.getDeletedAt() != null && nextEntry.getDeletedAt().isEmpty() == false; + if (deleted) { + theEventWriter.writeStartObject("deleted"); + if (nextEntry.getResource() != null) { + theEventWriter.write("type", myContext.getResourceDefinition(nextEntry.getResource()).getName()); + writeOptionalTagWithTextNode(theEventWriter, "resourceId", nextEntry.getResource().getId().getIdPart()); + writeOptionalTagWithTextNode(theEventWriter, "versionId", nextEntry.getResource().getId().getVersionIdPart()); + } + writeTagWithTextNode(theEventWriter, "instant", nextEntry.getDeletedAt()); } - writeOptionalTagWithTextNode(theEventWriter, "updated", nextEntry.getUpdated()); - writeOptionalTagWithTextNode(theEventWriter, "published", nextEntry.getPublished()); - - writeCategories(theEventWriter, nextEntry.getCategories()); - - writeAuthor(nextEntry, theEventWriter); +// linkStarted = false; +// linkStarted = writeAtomLinkInDstu1Format(theEventWriter, "self", nextEntry.getLinkSelf(), linkStarted); +// linkStarted = writeAtomLinkInDstu1Format(theEventWriter, "alternate", nextEntry.getLinkAlternate(), linkStarted); +// linkStarted = writeAtomLinkInDstu1Format(theEventWriter, "search", nextEntry.getLinkSearch(), linkStarted); +// if (linkStarted) { +// theEventWriter.writeEnd(); +// } +// +// writeOptionalTagWithTextNode(theEventWriter, "updated", nextEntry.getUpdated()); +// writeOptionalTagWithTextNode(theEventWriter, "published", nextEntry.getPublished()); +// +// writeCategories(theEventWriter, nextEntry.getCategories()); +// +// writeAuthor(nextEntry, theEventWriter); IResource resource = nextEntry.getResource(); if (resource != null && !resource.isEmpty() && !deleted) { @@ -315,7 +320,8 @@ public class JsonParser extends BaseParser implements IParser { theEventWriter.writeEnd(); } - private void encodeChildElementToStreamWriter(RuntimeResourceDefinition theResDef, IBaseResource theResource, JsonGenerator theWriter, IBase theNextValue, BaseRuntimeElementDefinition theChildDef, String theChildName, boolean theIsSubElementWithinResource) throws IOException { + private void encodeChildElementToStreamWriter(RuntimeResourceDefinition theResDef, IBaseResource theResource, JsonGenerator theWriter, IBase theNextValue, + BaseRuntimeElementDefinition theChildDef, String theChildName, boolean theIsSubElementWithinResource) throws IOException { switch (theChildDef.getChildType()) { case PRIMITIVE_DATATYPE: { @@ -426,7 +432,8 @@ public class JsonParser extends BaseParser implements IParser { } - private void encodeCompositeElementChildrenToStreamWriter(RuntimeResourceDefinition theResDef, IBaseResource theResource, IBase theNextValue, JsonGenerator theEventWriter, List theChildren, boolean theIsSubElementWithinResource) throws IOException { + private void encodeCompositeElementChildrenToStreamWriter(RuntimeResourceDefinition theResDef, IBaseResource theResource, IBase theNextValue, JsonGenerator theEventWriter, + List theChildren, boolean theIsSubElementWithinResource) throws IOException { for (BaseRuntimeChildDefinition nextChild : theChildren) { if (nextChild instanceof RuntimeChildNarrativeDefinition) { @@ -529,7 +536,7 @@ public class JsonParser extends BaseParser implements IParser { for (int i = 0; i < valueIdx; i++) { boolean haveContent = false; - + List heldExts = Collections.emptyList(); List heldModExts = Collections.emptyList(); if (extensions.size() > i && extensions.get(i) != null && extensions.get(i).isEmpty() == false) { @@ -541,7 +548,7 @@ public class JsonParser extends BaseParser implements IParser { haveContent = true; heldModExts = modifierExtensions.get(i); } - + if (!haveContent) { theEventWriter.writeNull(); } else { @@ -556,13 +563,15 @@ public class JsonParser extends BaseParser implements IParser { } } - private void encodeCompositeElementToStreamWriter(RuntimeResourceDefinition theResDef, IBaseResource theResource, IBase theNextValue, JsonGenerator theEventWriter, BaseRuntimeElementCompositeDefinition resDef, boolean theIsSubElementWithinResource) throws IOException, DataFormatException { + private void encodeCompositeElementToStreamWriter(RuntimeResourceDefinition theResDef, IBaseResource theResource, IBase theNextValue, JsonGenerator theEventWriter, + BaseRuntimeElementCompositeDefinition resDef, boolean theIsSubElementWithinResource) throws IOException, DataFormatException { extractAndWriteExtensionsAsDirectChild(theNextValue, theEventWriter, resDef, theResDef, theResource, null); encodeCompositeElementChildrenToStreamWriter(theResDef, theResource, theNextValue, theEventWriter, resDef.getExtensions(), theIsSubElementWithinResource); encodeCompositeElementChildrenToStreamWriter(theResDef, theResource, theNextValue, theEventWriter, resDef.getChildren(), theIsSubElementWithinResource); } - private void encodeResourceToJsonStreamWriter(RuntimeResourceDefinition theResDef, IBaseResource theResource, JsonGenerator theEventWriter, String theObjectNameOrNull, boolean theIsSubElementWithinResource) throws IOException { + private void encodeResourceToJsonStreamWriter(RuntimeResourceDefinition theResDef, IBaseResource theResource, JsonGenerator theEventWriter, String theObjectNameOrNull, + boolean theIsSubElementWithinResource) throws IOException { String resourceId = null; if (theResource instanceof IResource) { IResource res = (IResource) theResource; @@ -583,7 +592,8 @@ public class JsonParser extends BaseParser implements IParser { encodeResourceToJsonStreamWriter(theResDef, theResource, theEventWriter, theObjectNameOrNull, theIsSubElementWithinResource, resourceId); } - private void encodeResourceToJsonStreamWriter(RuntimeResourceDefinition theResDef, IBaseResource theResource, JsonGenerator theEventWriter, String theObjectNameOrNull, boolean theIsSubElementWithinResource, String theResourceId) throws IOException { + private void encodeResourceToJsonStreamWriter(RuntimeResourceDefinition theResDef, IBaseResource theResource, JsonGenerator theEventWriter, String theObjectNameOrNull, + boolean theIsSubElementWithinResource, String theResourceId) throws IOException { if (!theIsSubElementWithinResource) { super.containResourcesForEncoding(theResource); } @@ -663,10 +673,10 @@ public class JsonParser extends BaseParser implements IParser { } /** - * This is useful only for the two cases where extensions are encoded as direct children (e.g. not in some object - * called _name): resource extensions, and extension extensions + * This is useful only for the two cases where extensions are encoded as direct children (e.g. not in some object called _name): resource extensions, and extension extensions */ - private void extractAndWriteExtensionsAsDirectChild(IBase theElement, JsonGenerator theEventWriter, BaseRuntimeElementDefinition theElementDef, RuntimeResourceDefinition theResDef, IBaseResource theResource, String theParentExtensionUrl) throws IOException { + private void extractAndWriteExtensionsAsDirectChild(IBase theElement, JsonGenerator theEventWriter, BaseRuntimeElementDefinition theElementDef, RuntimeResourceDefinition theResDef, + IBaseResource theResource, String theParentExtensionUrl) throws IOException { List extensions = new ArrayList(0); List modifierExtensions = new ArrayList(0); @@ -677,7 +687,7 @@ public class JsonParser extends BaseParser implements IParser { if (theElementDef != null) { extractDeclaredExtensions(theElement, theElementDef, extensions, modifierExtensions); } - + // Write the extensions writeExtensionsAsDirectChild(theResource, theEventWriter, theResDef, extensions, modifierExtensions, theParentExtensionUrl); } @@ -729,7 +739,7 @@ public class JsonParser extends BaseParser implements IParser { if (theAlternateVal == null || theAlternateVal.getValueType() == ValueType.NULL) { return; } - + boolean newerThanDstu1 = myContext.getVersion().getVersion().isNewerThan(FhirVersionEnum.DSTU1); JsonObject alternate = (JsonObject) theAlternateVal; for (Entry nextEntry : alternate.entrySet()) { @@ -773,7 +783,8 @@ public class JsonParser extends BaseParser implements IParser { object = reader.readObject(); } catch (JsonParsingException e) { if (e.getMessage().startsWith("Unexpected char 39")) { - throw new DataFormatException("Failed to parse JSON encoded FHIR content: " + e.getMessage() + " - This may indicate that single quotes are being used as JSON escapes where double quotes are required", e); + throw new DataFormatException("Failed to parse JSON encoded FHIR content: " + e.getMessage() + + " - This may indicate that single quotes are being used as JSON escapes where double quotes are required", e); } throw new DataFormatException("Failed to parse JSON encoded FHIR content: " + e.getMessage(), e); } @@ -901,7 +912,7 @@ public class JsonParser extends BaseParser implements IParser { JsonObject obj = theObject.getJsonObject(nextName); for (String nextUrl : obj.keySet()) { JsonArray array = obj.getJsonArray(nextUrl); - parseExtensionInDstu2Style(true, theState, null, nextUrl, array); + parseExtensionInDstu2Style(true, theState, null, nextUrl, array); } continue; } else if (nextName.charAt(0) == '_') { @@ -1023,8 +1034,7 @@ public class JsonParser extends BaseParser implements IParser { JsonValue jsonVal = nextExt.get(nextKey); if (jsonVal.getValueType() == ValueType.ARRAY) { /* - * Extension children which are arrays are sub-extensions. Any other value type should be treated as - * a value. + * Extension children which are arrays are sub-extensions. Any other value type should be treated as a value. */ JsonArray arrayValue = (JsonArray) jsonVal; parseExtensionInDstu2Style(theModifier, theState, extUrl, nextKey, arrayValue); @@ -1153,7 +1163,8 @@ public class JsonParser extends BaseParser implements IParser { } } - private void writeExtensionsAsDirectChild(IBaseResource theResource, JsonGenerator theEventWriter, RuntimeResourceDefinition resDef, List extensions, List modifierExtensions, String theParentExtensionUrl) throws IOException { + private void writeExtensionsAsDirectChild(IBaseResource theResource, JsonGenerator theEventWriter, RuntimeResourceDefinition resDef, List extensions, + List modifierExtensions, String theParentExtensionUrl) throws IOException { if (extensions.isEmpty() == false) { if (myContext.getVersion().getVersion().isNewerThan(FhirVersionEnum.DSTU1)) { Collections.sort(extensions); @@ -1282,13 +1293,14 @@ public class JsonParser extends BaseParser implements IParser { } } - public String writeExtensionInDstu2Format(RuntimeResourceDefinition theResDef, IBaseResource theResource, JsonGenerator theEventWriter, String theCurrentlyWritingExtensionUrl, String theParentExtensionUrl) throws IOException { + public String writeExtensionInDstu2Format(RuntimeResourceDefinition theResDef, IBaseResource theResource, JsonGenerator theEventWriter, String theCurrentlyWritingExtensionUrl, + String theParentExtensionUrl) throws IOException { if (myUndeclaredExtension != null) { return writeUndeclaredExtInDstu2Format(theResDef, theResource, theEventWriter, myUndeclaredExtension, theCurrentlyWritingExtensionUrl, theParentExtensionUrl); } else { String extensionUrl = myDef.getExtensionUrl(); checkIfNewExtensionUrlArrayIsNeeded(theEventWriter, extensionUrl, theCurrentlyWritingExtensionUrl, theParentExtensionUrl); - + theEventWriter.writeStartObject(); BaseRuntimeElementDefinition def = myDef.getChildElementDefinitionByDatatype(myValue.getClass()); @@ -1300,17 +1312,17 @@ public class JsonParser extends BaseParser implements IParser { } theEventWriter.writeEnd(); - + return extensionUrl; } } private void checkIfNewExtensionUrlArrayIsNeeded(JsonGenerator theEventWriter, String theExtensionUrl, String theCurrentlyWritingExtensionUrl, String theParentExtensionUrl) { - if (StringUtils.equals(theCurrentlyWritingExtensionUrl, theExtensionUrl)==false) { + if (StringUtils.equals(theCurrentlyWritingExtensionUrl, theExtensionUrl) == false) { if (isNotBlank(theCurrentlyWritingExtensionUrl)) { theEventWriter.writeEnd(); } - + String urlToWrite = UrlUtil.constructRelativeUrl(theParentExtensionUrl, theExtensionUrl); theEventWriter.writeStartArray(urlToWrite); } @@ -1319,16 +1331,16 @@ public class JsonParser extends BaseParser implements IParser { private void writeUndeclaredExtInDstu1Format(RuntimeResourceDefinition theResDef, IBaseResource theResource, JsonGenerator theEventWriter, ExtensionDt ext) throws IOException { IElement value = ext.getValue(); String extensionUrl = ext.getUrl().getValue(); - - theEventWriter.writeStartObject(); - theEventWriter.write("url", extensionUrl); + + theEventWriter.writeStartObject(); + theEventWriter.write("url", extensionUrl); boolean noValue = value == null || value.isEmpty(); if (noValue && ext.getAllUndeclaredExtensions().isEmpty()) { ourLog.debug("Extension with URL[{}] has no value", extensionUrl); } else if (noValue) { - theEventWriter.writeStartArray("extension"); + theEventWriter.writeStartArray("extension"); for (ExtensionDt next : ext.getUndeclaredExtensions()) { writeUndeclaredExtInDstu1Format(theResDef, theResource, theEventWriter, next); @@ -1349,10 +1361,11 @@ public class JsonParser extends BaseParser implements IParser { theEventWriter.writeEnd(); } - private String writeUndeclaredExtInDstu2Format(RuntimeResourceDefinition theResDef, IBaseResource theResource, JsonGenerator theEventWriter, ExtensionDt ext, String theCurrentlyWritingExtensionUrl, String theParentExtensionUrl) throws IOException { + private String writeUndeclaredExtInDstu2Format(RuntimeResourceDefinition theResDef, IBaseResource theResource, JsonGenerator theEventWriter, ExtensionDt ext, + String theCurrentlyWritingExtensionUrl, String theParentExtensionUrl) throws IOException { IElement value = ext.getValue(); String extensionUrl = ext.getUrl().getValue(); - + checkIfNewExtensionUrlArrayIsNeeded(theEventWriter, extensionUrl, theCurrentlyWritingExtensionUrl, theParentExtensionUrl); theEventWriter.writeStartObject(); @@ -1364,7 +1377,7 @@ public class JsonParser extends BaseParser implements IParser { BaseRuntimeElementDefinition elemDef = null; RuntimeResourceDefinition resDef = myContext.getResourceDefinition(theResource); extractAndWriteExtensionsAsDirectChild(ext, theEventWriter, elemDef, resDef, theResource, extensionUrl); - + } else { RuntimeChildUndeclaredExtensionDefinition extDef = myContext.getRuntimeChildUndeclaredExtensionDefinition(); String childName = extDef.getChildNameByDatatype(value.getClass()); @@ -1376,7 +1389,7 @@ public class JsonParser extends BaseParser implements IParser { } theEventWriter.writeEnd(); - + return extensionUrl; } diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/parser/XmlParser.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/parser/XmlParser.java index b43530e396e..143ac05abb1 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/parser/XmlParser.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/parser/XmlParser.java @@ -100,8 +100,7 @@ public class XmlParser extends BaseParser implements IParser { private boolean myPrettyPrint; /** - * Do not use this constructor, the recommended way to obtain a new instance of the XML parser is to invoke - * {@link FhirContext#newXmlParser()}. + * Do not use this constructor, the recommended way to obtain a new instance of the XML parser is to invoke {@link FhirContext#newXmlParser()}. */ public XmlParser(FhirContext theContext) { super(theContext); @@ -525,8 +524,8 @@ public class XmlParser extends BaseParser implements IParser { } } - private void encodeChildElementToStreamWriter(RuntimeResourceDefinition theResDef, IBaseResource theResource, XMLStreamWriter theEventWriter, IBase nextValue, String childName, BaseRuntimeElementDefinition childDef, String theExtensionUrl, boolean theIncludedResource) - throws XMLStreamException, DataFormatException { + private void encodeChildElementToStreamWriter(RuntimeResourceDefinition theResDef, IBaseResource theResource, XMLStreamWriter theEventWriter, IBase nextValue, String childName, + BaseRuntimeElementDefinition childDef, String theExtensionUrl, boolean theIncludedResource) throws XMLStreamException, DataFormatException { if (nextValue.isEmpty()) { if (childDef.getChildType() == ChildTypeEnum.CONTAINED_RESOURCES && getContainedResources().isEmpty() == false && theIncludedResource == false) { // We still want to go in.. @@ -601,8 +600,8 @@ public class XmlParser extends BaseParser implements IParser { } - private void encodeCompositeElementChildrenToStreamWriter(RuntimeResourceDefinition theResDef, IBaseResource theResource, IBase theElement, XMLStreamWriter theEventWriter, List children, boolean theIncludedResource) throws XMLStreamException, - DataFormatException { + private void encodeCompositeElementChildrenToStreamWriter(RuntimeResourceDefinition theResDef, IBaseResource theResource, IBase theElement, XMLStreamWriter theEventWriter, + List children, boolean theIncludedResource) throws XMLStreamException, DataFormatException { for (BaseRuntimeChildDefinition nextChild : children) { if (nextChild instanceof RuntimeChildNarrativeDefinition && !theIncludedResource) { INarrativeGenerator gen = myContext.getNarrativeGenerator(); @@ -676,13 +675,22 @@ public class XmlParser extends BaseParser implements IParser { } } - private void encodeCompositeElementToStreamWriter(RuntimeResourceDefinition theResDef, IBaseResource theResource, IBase theElement, XMLStreamWriter theEventWriter, BaseRuntimeElementCompositeDefinition resDef, boolean theIncludedResource) throws XMLStreamException, DataFormatException { + private void encodeResourceToStreamWriterInDstu2Format(RuntimeResourceDefinition theResDef, IBaseResource theResource, IBase theElement, XMLStreamWriter theEventWriter, + BaseRuntimeElementCompositeDefinition resDef, boolean theIncludedResource) throws XMLStreamException, DataFormatException { encodeExtensionsIfPresent(theResDef, theResource, theEventWriter, theElement, theIncludedResource); encodeCompositeElementChildrenToStreamWriter(theResDef, theResource, theElement, theEventWriter, resDef.getExtensions(), theIncludedResource); encodeCompositeElementChildrenToStreamWriter(theResDef, theResource, theElement, theEventWriter, resDef.getChildren(), theIncludedResource); } - private void encodeExtensionsIfPresent(RuntimeResourceDefinition theResDef, IBaseResource theResource, XMLStreamWriter theWriter, IBase theElement, boolean theIncludedResource) throws XMLStreamException, DataFormatException { + private void encodeCompositeElementToStreamWriter(RuntimeResourceDefinition theResDef, IBaseResource theResource, IBase theElement, XMLStreamWriter theEventWriter, + BaseRuntimeElementCompositeDefinition resDef, boolean theIncludedResource) throws XMLStreamException, DataFormatException { + encodeExtensionsIfPresent(theResDef, theResource, theEventWriter, theElement, theIncludedResource); + encodeCompositeElementChildrenToStreamWriter(theResDef, theResource, theElement, theEventWriter, resDef.getExtensions(), theIncludedResource); + encodeCompositeElementChildrenToStreamWriter(theResDef, theResource, theElement, theEventWriter, resDef.getChildren(), theIncludedResource); + } + + private void encodeExtensionsIfPresent(RuntimeResourceDefinition theResDef, IBaseResource theResource, XMLStreamWriter theWriter, IBase theElement, boolean theIncludedResource) + throws XMLStreamException, DataFormatException { if (theElement instanceof ISupportsUndeclaredExtensions) { ISupportsUndeclaredExtensions res = (ISupportsUndeclaredExtensions) theElement; encodeUndeclaredExtensions(theResDef, theResource, theWriter, res.getUndeclaredExtensions(), "extension", theIncludedResource); @@ -737,12 +745,9 @@ public class XmlParser extends BaseParser implements IParser { theEventWriter.writeStartElement(resDef.getName()); theEventWriter.writeDefaultNamespace(FHIR_NS); - if (!myContext.getVersion().getVersion().isNewerThan(FhirVersionEnum.DSTU1)) { - if (theResourceId != null) { - theEventWriter.writeAttribute("id", theResourceId); - } - } else { + if (myContext.getVersion().getVersion().isNewerThan(FhirVersionEnum.DSTU1)) { + // DSTU2+ IResource resource = (IResource) theResource; writeOptionalTagWithValue(theEventWriter, "id", resource.getId().getIdPart()); @@ -753,6 +758,13 @@ public class XmlParser extends BaseParser implements IParser { writeOptionalTagWithValue(theEventWriter, "lastUpdated", updated.getValueAsString()); } theEventWriter.writeEndElement(); + + } else { + + // DSTU1 + if (theResourceId != null) { + theEventWriter.writeAttribute("id", theResourceId); + } } if (theResource instanceof Binary) { @@ -767,13 +779,21 @@ public class XmlParser extends BaseParser implements IParser { theEventWriter.writeCharacters(bin.getContentAsBase64()); } } else { - encodeCompositeElementToStreamWriter(resDef, theResource, theResource, theEventWriter, resDef, theIncludedResource); + if (myContext.getVersion().getVersion().isNewerThan(FhirVersionEnum.DSTU1)) { + // DSTU2+ + encodeResourceToStreamWriterInDstu2Format(resDef, theResource, theResource, theEventWriter, resDef, theIncludedResource); + } else { + // DSTU1 + encodeCompositeElementToStreamWriter(resDef, theResource, theResource, theEventWriter, resDef, theIncludedResource); + } + } theEventWriter.writeEndElement(); } - private void encodeUndeclaredExtensions(RuntimeResourceDefinition theResDef, IBaseResource theResource, XMLStreamWriter theWriter, List extensions, String tagName, boolean theIncludedResource) throws XMLStreamException, DataFormatException { + private void encodeUndeclaredExtensions(RuntimeResourceDefinition theResDef, IBaseResource theResource, XMLStreamWriter theWriter, List extensions, String tagName, + boolean theIncludedResource) throws XMLStreamException, DataFormatException { for (ExtensionDt next : extensions) { theWriter.writeStartElement(tagName); theWriter.writeAttribute("url", next.getUrl().getValue()); diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/FhirValidator.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/FhirValidator.java index 63a0aa0f7ea..25e5a90c8ed 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/FhirValidator.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/FhirValidator.java @@ -115,7 +115,7 @@ public class FhirValidator { * Should the validator validate the resource against the base schema (the schema provided with the FHIR distribution itself) */ public void setValidateAgainstStandardSchema(boolean theValidateAgainstStandardSchema) { - addOrRemoveValidator(theValidateAgainstStandardSchema, SchemaBaseValidator.class, new SchemaBaseValidator()); + addOrRemoveValidator(theValidateAgainstStandardSchema, SchemaBaseValidator.class, new SchemaBaseValidator(myContext)); } /** @@ -125,7 +125,7 @@ public class FhirValidator { if (theValidateAgainstStandardSchematron && !ourPhlocPresentOnClasspath) { throw new IllegalArgumentException(myContext.getLocalizer().getMessage(I18N_KEY_NO_PHLOC_ERROR)); } - addOrRemoveValidator(theValidateAgainstStandardSchematron, SchematronBaseValidator.class, new SchematronBaseValidator()); + addOrRemoveValidator(theValidateAgainstStandardSchematron, SchematronBaseValidator.class, new SchematronBaseValidator(myContext)); } /** diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/SchemaBaseValidator.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/SchemaBaseValidator.java index 4eb22d93515..f079903319a 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/SchemaBaseValidator.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/SchemaBaseValidator.java @@ -45,6 +45,7 @@ import org.xml.sax.SAXException; import org.xml.sax.SAXParseException; import ca.uhn.fhir.context.ConfigurationException; +import ca.uhn.fhir.context.FhirContext; import ca.uhn.fhir.model.api.Bundle; import ca.uhn.fhir.model.api.IResource; import ca.uhn.fhir.model.base.resource.BaseOperationOutcome.BaseIssue; @@ -59,6 +60,7 @@ class SchemaBaseValidator implements IValidator { sn.add("xml.xsd"); sn.add("xhtml1-strict.xsd"); sn.add("fhir-single.xsd"); + sn.add("fhir-xhtml.xsd"); sn.add("tombstone.xsd"); sn.add("opensearch.xsd"); sn.add("opensearchscore.xsd"); @@ -67,6 +69,11 @@ class SchemaBaseValidator implements IValidator { } private Map myKeyToSchema = new HashMap(); + private FhirContext myCtx; + + SchemaBaseValidator(FhirContext theContext) { + myCtx = theContext; + } private void doValidate(ValidationContext theContext, String schemaName) { Schema schema = loadSchema("dstu", schemaName); @@ -113,7 +120,7 @@ class SchemaBaseValidator implements IValidator { } private Source loadXml(String theVersion, String theSystemId, String theSchemaName) { - String pathToBase = "ca/uhn/fhir/model/" + theVersion + "/schema/" + theSchemaName; + String pathToBase = myCtx.getVersion().getPathToSchemaDefinitions() + '/' + theSchemaName; ourLog.debug("Going to load resource: {}", pathToBase); InputStream baseIs = FhirValidator.class.getClassLoader().getResourceAsStream(pathToBase); if (baseIs == null) { @@ -179,7 +186,7 @@ class SchemaBaseValidator implements IValidator { } - private static final class MyResourceResolver implements LSResourceResolver { + private final class MyResourceResolver implements LSResourceResolver { private String myVersion; private MyResourceResolver(String theVersion) { @@ -193,22 +200,23 @@ class SchemaBaseValidator implements IValidator { input.setPublicId(thePublicId); input.setSystemId(theSystemId); input.setBaseURI(theBaseURI); - String pathToBase = "ca/uhn/fhir/model/" + myVersion + "/schema/" + theSystemId; - +// String pathToBase = "ca/uhn/fhir/model/" + myVersion + "/schema/" + theSystemId; + String pathToBase = myCtx.getVersion().getPathToSchemaDefinitions() + '/' + theSystemId; + ourLog.debug("Loading referenced schema file: " + pathToBase); - + InputStream baseIs = FhirValidator.class.getClassLoader().getResourceAsStream(pathToBase); if (baseIs == null) { - throw new InternalErrorException("No FHIR-BASE schema found"); + throw new InternalErrorException("Schema file not found: " + pathToBase); } input.setByteStream(baseIs); - + return input; } - throw new ConfigurationException("Unknown schema: " + theBaseURI); + throw new ConfigurationException("Unknown schema: " + theSystemId); } } diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/SchematronBaseValidator.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/SchematronBaseValidator.java index cb87497b6ea..96d0e5e75c9 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/SchematronBaseValidator.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/SchematronBaseValidator.java @@ -28,8 +28,10 @@ import java.util.Map; import javax.xml.transform.stream.StreamSource; +import org.hl7.fhir.instance.model.IBaseResource; import org.oclc.purl.dsdl.svrl.SchematronOutputType; +import ca.uhn.fhir.context.FhirContext; import ca.uhn.fhir.model.api.Bundle; import ca.uhn.fhir.model.api.BundleEntry; import ca.uhn.fhir.model.api.IResource; @@ -44,7 +46,12 @@ import com.phloc.schematron.xslt.SchematronResourceSCH; public class SchematronBaseValidator implements IValidator { - private Map, ISchematronResource> myClassToSchematron = new HashMap, ISchematronResource>(); + private Map, ISchematronResource> myClassToSchematron = new HashMap, ISchematronResource>(); + private FhirContext myCtx; + + SchematronBaseValidator(FhirContext theContext) { + myCtx = theContext; + } @Override public void validateResource(ValidationContext theCtx) { @@ -87,19 +94,19 @@ public class SchematronBaseValidator implements IValidator { private ISchematronResource getSchematron(ValidationContext theCtx) { Class resource = theCtx.getResource().getClass(); - Class baseResourceClass = (Class) theCtx.getFhirContext().getResourceDefinition(resource).getBaseDefinition().getImplementingClass(); + Class baseResourceClass = theCtx.getFhirContext().getResourceDefinition(resource).getBaseDefinition().getImplementingClass(); return getSchematronAndCache(theCtx, "dstu", baseResourceClass); } - private ISchematronResource getSchematronAndCache(ValidationContext theCtx, String theVersion, Class theClass) { + private ISchematronResource getSchematronAndCache(ValidationContext theCtx, String theVersion, Class theClass) { synchronized (myClassToSchematron) { ISchematronResource retVal = myClassToSchematron.get(theClass); if (retVal != null) { return retVal; } - String pathToBase = "ca/uhn/fhir/model/" + theVersion + "/schema/" + theCtx.getFhirContext().getResourceDefinition(theCtx.getResource()).getBaseDefinition().getName().toLowerCase() + String pathToBase = myCtx.getVersion().getPathToSchemaDefinitions() + '/' + theCtx.getFhirContext().getResourceDefinition(theCtx.getResource()).getBaseDefinition().getName().toLowerCase() + ".sch"; InputStream baseIs = FhirValidator.class.getClassLoader().getResourceAsStream(pathToBase); if (baseIs == null) { diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/model.properties b/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/model.properties deleted file mode 100644 index 4d488681d4b..00000000000 --- a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/model.properties +++ /dev/null @@ -1,32 +0,0 @@ -dt.1=ca.uhn.fhir.model.dstu.composite.AddressDt -dt.2=ca.uhn.fhir.model.dstu.composite.AgeDt -dt.3=ca.uhn.fhir.model.dstu.composite.AttachmentDt -dt.4=ca.uhn.fhir.model.dstu.composite.CodeableConceptDt -dt.5=ca.uhn.fhir.model.dstu.composite.CodingDt -dt.6=ca.uhn.fhir.model.dstu.composite.ContactDt -dt.8=ca.uhn.fhir.model.dstu.composite.DurationDt -dt.9=ca.uhn.fhir.model.dstu.composite.HumanNameDt -dt.10=ca.uhn.fhir.model.dstu.composite.IdentifierDt -dt.11=ca.uhn.fhir.model.dstu.composite.NarrativeDt -dt.12=ca.uhn.fhir.model.dstu.composite.PeriodDt -dt.13=ca.uhn.fhir.model.dstu.composite.QuantityDt -dt.14=ca.uhn.fhir.model.dstu.composite.RangeDt -dt.15=ca.uhn.fhir.model.dstu.composite.RatioDt -dt.16=ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt -dt.17=ca.uhn.fhir.model.dstu.composite.SampledDataDt -dt.18=ca.uhn.fhir.model.dstu.composite.ScheduleDt - -dt.31=ca.uhn.fhir.model.primitive.Base64BinaryDt -dt.33=ca.uhn.fhir.model.primitive.BooleanDt -dt.34=ca.uhn.fhir.model.primitive.BoundCodeableConceptDt -dt.35=ca.uhn.fhir.model.primitive.BoundCodeDt -dt.36=ca.uhn.fhir.model.primitive.CodeDt -dt.37=ca.uhn.fhir.model.primitive.DateDt -dt.38=ca.uhn.fhir.model.primitive.DateTimeDt -dt.39=ca.uhn.fhir.model.primitive.DecimalDt -dt.40=ca.uhn.fhir.model.primitive.IdDt -dt.42=ca.uhn.fhir.model.primitive.InstantDt -dt.43=ca.uhn.fhir.model.primitive.IntegerDt -dt.44=ca.uhn.fhir.model.primitive.OidDt -dt.45=ca.uhn.fhir.model.primitive.StringDt -dt.46=ca.uhn.fhir.model.primitive.UriDt diff --git a/hapi-fhir-structures-dev/.classpath b/hapi-fhir-structures-dev/.classpath index 49ac9b99910..6ab4f68bc72 100644 --- a/hapi-fhir-structures-dev/.classpath +++ b/hapi-fhir-structures-dev/.classpath @@ -15,6 +15,7 @@ + diff --git a/hapi-fhir-structures-dev/.settings/org.eclipse.core.resources.prefs b/hapi-fhir-structures-dev/.settings/org.eclipse.core.resources.prefs index cdfe4f1b669..a16325fe5a1 100644 --- a/hapi-fhir-structures-dev/.settings/org.eclipse.core.resources.prefs +++ b/hapi-fhir-structures-dev/.settings/org.eclipse.core.resources.prefs @@ -2,4 +2,6 @@ eclipse.preferences.version=1 encoding//src/main/java=UTF-8 encoding//src/test/java=UTF-8 encoding//src/test/resources=UTF-8 +encoding//target/generated-resources/tinder=UTF-8 +encoding//target/generated-sources/tinder=UTF-8 encoding/=UTF-8 diff --git a/hapi-fhir-structures-dev/src/main/java/ca/uhn/fhir/model/dev/FhirDev.java b/hapi-fhir-structures-dev/src/main/java/ca/uhn/fhir/model/dev/FhirDev.java index 405a22a1e8c..bae7804fad1 100644 --- a/hapi-fhir-structures-dev/src/main/java/ca/uhn/fhir/model/dev/FhirDev.java +++ b/hapi-fhir-structures-dev/src/main/java/ca/uhn/fhir/model/dev/FhirDev.java @@ -36,8 +36,6 @@ import ca.uhn.fhir.rest.server.RestfulServer; import ca.uhn.fhir.rest.server.provider.dev.ServerConformanceProvider; import ca.uhn.fhir.rest.server.provider.dev.ServerProfileProvider; -import javax.servlet.http.HttpServletRequest; - public class FhirDev implements IFhirVersion { private String myId; @@ -84,4 +82,9 @@ public class FhirDev implements IFhirVersion { return str; } + @Override + public String getPathToSchemaDefinitions() { + return "ca/uhn/fhir/model/dev/schema"; + } + } diff --git a/hapi-fhir-structures-dev/src/main/java/ca/uhn/fhir/rest/server/provider/dev/ServerConformanceProvider.java b/hapi-fhir-structures-dev/src/main/java/ca/uhn/fhir/rest/server/provider/dev/ServerConformanceProvider.java index 7a42e12c186..2395699e1e4 100644 --- a/hapi-fhir-structures-dev/src/main/java/ca/uhn/fhir/rest/server/provider/dev/ServerConformanceProvider.java +++ b/hapi-fhir-structures-dev/src/main/java/ca/uhn/fhir/rest/server/provider/dev/ServerConformanceProvider.java @@ -41,6 +41,7 @@ import ca.uhn.fhir.model.dev.resource.Conformance.RestResourceInteraction; import ca.uhn.fhir.model.dev.resource.Conformance.RestResourceSearchParam; import ca.uhn.fhir.model.dev.resource.OperationDefinition; import ca.uhn.fhir.model.dev.resource.OperationDefinition.Parameter; +import ca.uhn.fhir.model.dev.valueset.ResourceTypeEnum; import ca.uhn.fhir.model.dev.valueset.RestfulConformanceModeEnum; import ca.uhn.fhir.model.dev.valueset.SystemRestfulInteractionEnum; import ca.uhn.fhir.model.dev.valueset.TypeRestfulInteractionEnum; @@ -66,10 +67,8 @@ import ca.uhn.fhir.util.ExtensionConstants; * Server FHIR Provider which serves the conformance statement for a RESTful server implementation * *

- * Note: This class is safe to extend, but it is important to note that the same instance of {@link Conformance} is - * always returned unless {@link #setCache(boolean)} is called with a value of false. This means that if - * you are adding anything to the returned conformance instance on each call you should call - * setCache(false) in your provider constructor. + * Note: This class is safe to extend, but it is important to note that the same instance of {@link Conformance} is always returned unless {@link #setCache(boolean)} is called with a value of + * false. This means that if you are adding anything to the returned conformance instance on each call you should call setCache(false) in your provider constructor. *

*/ public class ServerConformanceProvider { @@ -84,9 +83,8 @@ public class ServerConformanceProvider { } /** - * Gets the value of the "publisher" that will be placed in the generated conformance statement. As this is a - * mandatory element, the value should not be null (although this is not enforced). The value defaults to - * "Not provided" but may be set to null, which will cause this element to be omitted. + * Gets the value of the "publisher" that will be placed in the generated conformance statement. As this is a mandatory element, the value should not be null (although this is not enforced). The + * value defaults to "Not provided" but may be set to null, which will cause this element to be omitted. */ public String getPublisher() { return myPublisher; @@ -266,28 +264,28 @@ public class ServerConformanceProvider { } sortSearchParameters(searchParameters); if (!searchParameters.isEmpty()) { - boolean allOptional = searchParameters.get(0).isRequired() == false; - - OperationDefinition query = null; - if (!allOptional) { - RestOperation operation = rest.addOperation(); - query = new OperationDefinition(); - operation.setDefinition(new ResourceReferenceDt(query)); - query.getDescriptionElement().setValue(searchMethodBinding.getDescription()); - query.addUndeclaredExtension(false, ExtensionConstants.QUERY_RETURN_TYPE, new CodeDt(resourceName)); - for (String nextInclude : searchMethodBinding.getIncludes()) { - query.addUndeclaredExtension(false, ExtensionConstants.QUERY_ALLOWED_INCLUDE, new StringDt(nextInclude)); - } - } + // boolean allOptional = searchParameters.get(0).isRequired() == false; + // + // OperationDefinition query = null; + // if (!allOptional) { + // RestOperation operation = rest.addOperation(); + // query = new OperationDefinition(); + // operation.setDefinition(new ResourceReferenceDt(query)); + // query.getDescriptionElement().setValue(searchMethodBinding.getDescription()); + // query.addUndeclaredExtension(false, ExtensionConstants.QUERY_RETURN_TYPE, new CodeDt(resourceName)); + // for (String nextInclude : searchMethodBinding.getIncludes()) { + // query.addUndeclaredExtension(false, ExtensionConstants.QUERY_ALLOWED_INCLUDE, new StringDt(nextInclude)); + // } + // } for (SearchParameter nextParameter : searchParameters) { String nextParamName = nextParameter.getName(); - // String chain = null; + String chain = null; String nextParamUnchainedName = nextParamName; if (nextParamName.contains(".")) { - // chain = nextParamName.substring(nextParamName.indexOf('.') + 1); + chain = nextParamName.substring(nextParamName.indexOf('.') + 1); nextParamUnchainedName = nextParamName.substring(0, nextParamName.indexOf('.')); } @@ -303,27 +301,22 @@ public class ServerConformanceProvider { } } - Parameter param; - if (query == null) { - // param = resource.addSearchParam(); - } else { - param = query.addParameter(); - param.addUndeclaredExtension(false, ExtensionConstants.PARAM_IS_REQUIRED, new BooleanDt(nextParameter.isRequired())); + RestResourceSearchParam param = resource.addSearchParam(); + param.setName(nextParamUnchainedName); + if (StringUtils.isNotBlank(chain)) { + param.addChain(chain); + } + param.setDocumentation(nextParamDescription); + if (nextParameter.getParamType() != null) { + param.getTypeElement().setValueAsString(nextParameter.getParamType().getCode()); } - - // param.setName(nextParamName); - // if (StringUtils.isNotBlank(chain)) { - // param.addChain(chain); - // } - // param.setDocumentation(nextParamDescription); - // param.setType(nextParameter.getParamType()); for (Class nextTarget : nextParameter.getDeclaredTypes()) { RuntimeResourceDefinition targetDef = myRestfulServer.getFhirContext().getResourceDefinition(nextTarget); if (targetDef != null) { - // ResourceTypeEnum code = ResourceTypeEnum.VALUESET_BINDER.fromCodeString(targetDef.getName()); - // if (code != null) { - // param.addTarget(code); - // } + ResourceTypeEnum code = ResourceTypeEnum.VALUESET_BINDER.fromCodeString(targetDef.getName()); + if (code != null) { + param.addTarget(code); + } } } } @@ -331,8 +324,7 @@ public class ServerConformanceProvider { } /** - * Sets the cache property (default is true). If set to true, the same response will be returned for each - * invocation. + * Sets the cache property (default is true). If set to true, the same response will be returned for each invocation. *

* See the class documentation for an important note if you are extending this class *

@@ -342,9 +334,8 @@ public class ServerConformanceProvider { } /** - * Sets the value of the "publisher" that will be placed in the generated conformance statement. As this is a - * mandatory element, the value should not be null (although this is not enforced). The value defaults to - * "Not provided" but may be set to null, which will cause this element to be omitted. + * Sets the value of the "publisher" that will be placed in the generated conformance statement. As this is a mandatory element, the value should not be null (although this is not enforced). The + * value defaults to "Not provided" but may be set to null, which will cause this element to be omitted. */ public void setPublisher(String thePublisher) { myPublisher = thePublisher; diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/alert.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/alert.sch new file mode 100644 index 00000000000..125e005a0bb --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/alert.sch @@ -0,0 +1,52 @@ + + + + + + + Alert + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/allergyintolerance.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/allergyintolerance.sch new file mode 100644 index 00000000000..154fc5d3770 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/allergyintolerance.sch @@ -0,0 +1,82 @@ + + + + + + + AllergyIntolerance + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/appointment.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/appointment.sch new file mode 100644 index 00000000000..90e78c55a9e --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/appointment.sch @@ -0,0 +1,79 @@ + + + + + + + Appointment + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/appointmentresponse.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/appointmentresponse.sch new file mode 100644 index 00000000000..42fbfa72f2d --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/appointmentresponse.sch @@ -0,0 +1,55 @@ + + + + + + + AppointmentResponse + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/basic.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/basic.sch new file mode 100644 index 00000000000..680e403c39c --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/basic.sch @@ -0,0 +1,52 @@ + + + + + + + Basic + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/binary.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/binary.sch new file mode 100644 index 00000000000..3bfe127e2df --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/binary.sch @@ -0,0 +1,31 @@ + + + + + + + Binary + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/bundle.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/bundle.sch new file mode 100644 index 00000000000..ad08b3a0a54 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/bundle.sch @@ -0,0 +1,52 @@ + + + + + + + Bundle + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Search only when transaction + Inv-1: Status only when transaction or search + Inv-5: Status only when transaction or history + + + Inv-3: status only when resource + Inv-4: deleted or resource (but not both) + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/careplan.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/careplan.sch new file mode 100644 index 00000000000..aef8d08a0ba --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/careplan.sch @@ -0,0 +1,112 @@ + + + + + + + CarePlan + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: Only provide a detail reference, or a simple detail summary + Inv-2: Quantity can only be specified if activity category is supply + Inv-1: DailyDose can only be specified if activity category is drug or food + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: There can only be a repeat element if there is none or one event + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-3: At most, only one of count or end can be present + Inv-2: Either frequency or when SHALL be present, but not both + + + Inv-4: duration SHALL be a positive value + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/careplan2.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/careplan2.sch new file mode 100644 index 00000000000..57d6531b68f --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/careplan2.sch @@ -0,0 +1,64 @@ + + + + + + + CarePlan2 + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/claimresponse.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/claimresponse.sch new file mode 100644 index 00000000000..e5a240d7cc6 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/claimresponse.sch @@ -0,0 +1,181 @@ + + + + + + + ClaimResponse + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/clinicalassessment.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/clinicalassessment.sch new file mode 100644 index 00000000000..f81d33915c5 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/clinicalassessment.sch @@ -0,0 +1,94 @@ + + + + + + + ClinicalAssessment + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/communication.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/communication.sch new file mode 100644 index 00000000000..a8d96b3a60c --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/communication.sch @@ -0,0 +1,82 @@ + + + + + + + Communication + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: It the Attachment has data, it SHALL have a contentType + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/communicationrequest.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/communicationrequest.sch new file mode 100644 index 00000000000..1d9c4f5cdeb --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/communicationrequest.sch @@ -0,0 +1,94 @@ + + + + + + + CommunicationRequest + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: It the Attachment has data, it SHALL have a contentType + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/composition.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/composition.sch new file mode 100644 index 00000000000..983c980f017 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/composition.sch @@ -0,0 +1,107 @@ + + + + + + + Composition + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: A section must have either subsections or content + Inv-1: A section can only have a code if it has no content + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/conceptmap.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/conceptmap.sch new file mode 100644 index 00000000000..f8bac4cf234 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/conceptmap.sch @@ -0,0 +1,46 @@ + + + + + + + ConceptMap + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: A system is required if a value is provided. + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If the map is narrower or inexact, there SHALL be some comments + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/condition.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/condition.sch new file mode 100644 index 00000000000..7aafec704ff --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/condition.sch @@ -0,0 +1,160 @@ + + + + + + + Condition + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: Stage SHALL have summary or assessment + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: evidence SHALL have code or details + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: location SHALL have code or details + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-4: Relationship SHALL have either a code or a target + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-5: Relationship SHALL have either a code or a target + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/conformance.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/conformance.sch new file mode 100644 index 00000000000..d9db0f91738 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/conformance.sch @@ -0,0 +1,96 @@ + + + + + + + Conformance + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: A Conformance statement SHALL have at least one of description, software, or implementation + Inv-1: A Conformance statement SHALL have at least one of rest, messaging or document + Inv-7: The set of documents must be unique by the combination of profile & mode + Inv-5: The set of end points listed for messaging must be unique + Inv-4: If there is more than one messaging element, endpoint must be specified for each one + Inv-8: There can only be one REST declaration per mode + + + Inv-2: A system is required if a value is provided. + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-10: A given query can only be described once per RESTful mode + Inv-9: A given resource can only be described once per RESTful mode + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-11: Operation codes must be unique in the context of a resource + Inv-12: Search parameter names must be unique in the context of a resource + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: Messaging end point is required (and is only permitted) when statement is for an implementation + Inv-6: The set of events per messaging endpoint must be unique by the combination of code & mode + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/contract.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/contract.sch new file mode 100644 index 00000000000..047a768c406 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/contract.sch @@ -0,0 +1,151 @@ + + + + + + + Contract + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: It the Attachment has data, it SHALL have a contentType + + + Inv-1: It the Attachment has data, it SHALL have a contentType + + + Inv-1: It the Attachment has data, it SHALL have a contentType + + + Inv-1: It the Attachment has data, it SHALL have a contentType + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/contraindication.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/contraindication.sch new file mode 100644 index 00000000000..cefa75308ac --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/contraindication.sch @@ -0,0 +1,67 @@ + + + + + + + Contraindication + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/coverage.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/coverage.sch new file mode 100644 index 00000000000..8d5f13f862e --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/coverage.sch @@ -0,0 +1,61 @@ + + + + + + + Coverage + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/dataelement.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/dataelement.sch new file mode 100644 index 00000000000..e411785bc8c --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/dataelement.sch @@ -0,0 +1,83 @@ + + + + + + + DataElement + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: Can have a maximum of one definitional binding or primary concept + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: A system is required if a value is provided. + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: provide either a valueSet or a description (or both) + Inv-14: Example value sets are always extensible + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-26: Must have at a name or a uri (or both) + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/device.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/device.sch new file mode 100644 index 00000000000..d7604db3924 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/device.sch @@ -0,0 +1,61 @@ + + + + + + + Device + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: A system is required if a value is provided. + + + Inv-1: If present, start SHALL have a lower value than end + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/devicecomponent.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/devicecomponent.sch new file mode 100644 index 00000000000..d9b9f5ba7e5 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/devicecomponent.sch @@ -0,0 +1,94 @@ + + + + + + + DeviceComponent + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/devicemetric.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/devicemetric.sch new file mode 100644 index 00000000000..ced5bee2280 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/devicemetric.sch @@ -0,0 +1,86 @@ + + + + + + + DeviceMetric + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: There can only be a repeat element if there is none or one event + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-3: At most, only one of count or end can be present + Inv-2: Either frequency or when SHALL be present, but not both + + + Inv-4: duration SHALL be a positive value + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/deviceuserequest.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/deviceuserequest.sch new file mode 100644 index 00000000000..07ec6584b8f --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/deviceuserequest.sch @@ -0,0 +1,89 @@ + + + + + + + DeviceUseRequest + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: There can only be a repeat element if there is none or one event + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-3: At most, only one of count or end can be present + Inv-2: Either frequency or when SHALL be present, but not both + + + Inv-4: duration SHALL be a positive value + + + Inv-1: If present, start SHALL have a lower value than end + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/deviceusestatement.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/deviceusestatement.sch new file mode 100644 index 00000000000..d664b4f4023 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/deviceusestatement.sch @@ -0,0 +1,80 @@ + + + + + + + DeviceUseStatement + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: There can only be a repeat element if there is none or one event + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-3: At most, only one of count or end can be present + Inv-2: Either frequency or when SHALL be present, but not both + + + Inv-4: duration SHALL be a positive value + + + Inv-1: If present, start SHALL have a lower value than end + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/diagnosticorder.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/diagnosticorder.sch new file mode 100644 index 00000000000..03bfc8b35d0 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/diagnosticorder.sch @@ -0,0 +1,85 @@ + + + + + + + DiagnosticOrder + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/diagnosticreport.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/diagnosticreport.sch new file mode 100644 index 00000000000..1162b795379 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/diagnosticreport.sch @@ -0,0 +1,91 @@ + + + + + + + DiagnosticReport + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: It the Attachment has data, it SHALL have a contentType + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/documentmanifest.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/documentmanifest.sch new file mode 100644 index 00000000000..516c3daa9de --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/documentmanifest.sch @@ -0,0 +1,76 @@ + + + + + + + DocumentManifest + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/documentreference.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/documentreference.sch new file mode 100644 index 00000000000..84624731de2 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/documentreference.sch @@ -0,0 +1,127 @@ + + + + + + + DocumentReference + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: A location or a service (or both) SHALL be provided + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/eligibilityrequest.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/eligibilityrequest.sch new file mode 100644 index 00000000000..156ab44ae93 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/eligibilityrequest.sch @@ -0,0 +1,58 @@ + + + + + + + EligibilityRequest + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/eligibilityresponse.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/eligibilityresponse.sch new file mode 100644 index 00000000000..dca8893ea21 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/eligibilityresponse.sch @@ -0,0 +1,61 @@ + + + + + + + EligibilityResponse + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/encounter.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/encounter.sch new file mode 100644 index 00000000000..f70ec7269f3 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/encounter.sch @@ -0,0 +1,172 @@ + + + + + + + Encounter + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/enrollmentrequest.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/enrollmentrequest.sch new file mode 100644 index 00000000000..1a2a0583877 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/enrollmentrequest.sch @@ -0,0 +1,70 @@ + + + + + + + EnrollmentRequest + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/enrollmentresponse.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/enrollmentresponse.sch new file mode 100644 index 00000000000..5ee77f6e405 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/enrollmentresponse.sch @@ -0,0 +1,61 @@ + + + + + + + EnrollmentResponse + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/episodeofcare.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/episodeofcare.sch new file mode 100644 index 00000000000..c90dcc384f9 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/episodeofcare.sch @@ -0,0 +1,82 @@ + + + + + + + EpisodeOfCare + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/explanationofbenefit.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/explanationofbenefit.sch new file mode 100644 index 00000000000..65375220e96 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/explanationofbenefit.sch @@ -0,0 +1,61 @@ + + + + + + + ExplanationOfBenefit + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/extensiondefinition.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/extensiondefinition.sch new file mode 100644 index 00000000000..a2b9e9c5595 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/extensiondefinition.sch @@ -0,0 +1,89 @@ + + + + + + + ExtensionDefinition + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: All element names must start with the extension name + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: A system is required if a value is provided. + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: Must have at a name or a uri (or both) + + + Inv-3: Path names cannot contain .value + + + Inv-2: Min <= Max + Inv-7: Pattern may only be specified if there is one type + Inv-6: Fixed value may only be specified if there is one type + Inv-5: Either a namereference or a fixed value (but not both) is permitted + Inv-15: Constraint names must be unique. + Inv-8: Pattern and value are mutually exclusive + Inv-16: default value and meaningWhenMissing are mutually exclusive + Inv-13: Types must be unique by the combination of code and profile + Inv-14: Constraints must be unique by key + Inv-11: Binding can only be present for coded elements + + + Inv-1: If there is no discriminators, there must be a description + + + Inv-3: Max SHALL be a number or "*" + + + Inv-4: Aggregation may only be specified if one of the allowed types for the element is a resource + + + Inv-10: provide either a reference or a description (or both) + Inv-9: Example value sets are always extensible + + + Inv-12: uri SHALL start with http:// or https:// + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/familyhistory.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/familyhistory.sch new file mode 100644 index 00000000000..fccfea859a2 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/familyhistory.sch @@ -0,0 +1,112 @@ + + + + + + + FamilyHistory + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: Can have age[x] or birth[x], but not both + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: Quantity values cannot have a comparator when used in a Range + Inv-2: If present, low SHALL have a lower value than high + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: Quantity values cannot have a comparator when used in a Range + Inv-2: If present, low SHALL have a lower value than high + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: Quantity values cannot have a comparator when used in a Range + Inv-2: If present, low SHALL have a lower value than high + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/fhir-all.xsd b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/fhir-all.xsd new file mode 100644 index 00000000000..41778ef5823 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/fhir-all.xsd @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/fhir-atom-single.xsd b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/fhir-atom-single.xsd new file mode 100644 index 00000000000..04f961016cb --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/fhir-atom-single.xsd @@ -0,0 +1,250 @@ + + + + + + This is a reduced form of the atom schema, that only supports the features profiled in the FHIR specification + + + + + + + + + + + + + The Atom text construct is defined in section 3.1 of the format spec. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/fhir-atom.xsd b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/fhir-atom.xsd new file mode 100644 index 00000000000..e4f1ef16fe8 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/fhir-atom.xsd @@ -0,0 +1,250 @@ + + + + + + This is a reduced form of the atom schema, that only supports the features profiled in the FHIR specification + + + + + + + + + + + + + The Atom text construct is defined in section 3.1 of the format spec. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/fhir-base.xsd b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/fhir-base.xsd new file mode 100644 index 00000000000..fd89e9f538f --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/fhir-base.xsd @@ -0,0 +1,4448 @@ + + + + + + + + + + + + + A whole number + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + + + + + + + A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds may be provided but may also be ignored. Dates SHALL be valid dates. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + + + + A string which has at least one character and no leading or trailing whitespace and where there is no whitespace other than single spaces in the contents + If the element is present, it must have either a @value, an @id referenced from the Narrative, or extensions + + + + + + + + + + + + + + + + + + A date, or partial date (e.g. just year or year + month). There is no time zone. The format is a union of the schema types gYear, gYearMonth and date. Dates SHALL be valid dates. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + + A rational number with implicit precision + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + + String of characters used to identify a name or a resource + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + + + + + Any combination of lowercase letters, numerals, "-" and ".", with a length limit of 36 characters. (This might be an integer, an unprefixed OID, UUID or any other identifier pattern that meets these constraints.) Systems SHALL send ids as lower-case but SHOULD interpret them case-insensitively. + If the element is present, it must have either a @value, an @id referenced from the Narrative, or extensions + + + + + + + + + + + + + A stream of bytes + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + + + + A time during the day, with no date specified + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + + + + + An oid represented as a URI + If the element is present, it must have either a @value, an @id referenced from the Narrative, or extensions + + + + + + + + + + + + + + + A sequence of Unicode characters + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + + Value of "true" or "false" + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + + + + + A UUID, represented as a URI + If the element is present, it must have either a @value, an @id referenced from the Narrative, or extensions + + + + + + + + + + + + + An instant in time - known at least to the second + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Optional Extensions Element - found in all resources. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Base definition for all elements that are defined inside a resource - but not those in a data type. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. + + + + + + + + + Base definition for all elements in a resource. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. + + + + + + + + A human-readable formatted text, including images. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data. + + + + + The actual narrative content, a stripped down version of XHTML. + + + + + + + + + + + The contents of the narrative are entirely generated from the structured data in the resource. + + + + + The contents of the narrative are entirely generated from the structured data in the resource and some of the content is generated from extensions. + + + + + The contents of the narrative contain additional information not found in the structured data. + + + + + the contents of the narrative are some equivalent of "No human-readable text provided for this resource". + + + + + + + The status of a resource narrative + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + A time period defined by a start and end date and optionally time. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + The start of the period. The boundary is inclusive. + + + + + The end of the period. If the end of the period is missing, it means that the period is ongoing. + + + + + + + + + A reference to a code defined by a terminology system. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + The identification of the code system that defines the meaning of the symbol in the code. + + + + + The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged. + + + + + A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination). + + + + + A representation of the meaning of the code in the system, following the rules of the system. + + + + + Indicates that this code was chosen by a user directly - i.e. off a pick list of available items (codes or displays). + + + + + The set of possible coded values this coding was chosen from or constrained by. + + + + + + + + + A set of ordered Quantities defined by a low and high limit. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + The low limit. The boundary is inclusive. + + + + + The high limit. The boundary is inclusive. + + + + + + + + + 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. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + The value of the measured amount. The value includes an implicit precision in the presentation of the value. + + + + + How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues. E.g. if the comparator is "<" , then the real value is < stated value. + + + + + A human-readable form of the units. + + + + + The identification of the system that provides the coded form of the unit. + + + + + A computer processable form of the units in some unit representation system. + + + + + + + + + + + The actual value is less than the given value. + + + + + The actual value is less than or equal to the given value. + + + + + The actual value is greater than or equal to the given value. + + + + + The actual value is greater than the given value. + + + + + + + How the Quantity should be understood and represented + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + For referring to data content defined in other formats. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate. + + + + + The human language of the content. The value can be any valid value according to BCP 47. + + + + + The actual data of the attachment - a sequence of bytes. In XML, represented using base64. + + + + + An alternative location where the data can be accessed. + + + + + The number of bytes of data that make up this attachment. + + + + + The calculated hash of the data using SHA-1. Represented using base64. + + + + + A label or set of text to display in place of the data. + + + + + + + + + A relationship of two Quantity values - expressed as a numerator and a denominator. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + The value of the numerator. + + + + + The value of the denominator. + + + + + + + + + A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + The base quantity that a measured value of zero represents. In addition, this provides the units of the entire measurement series. + + + + + The length of time between sampling times, measured in milliseconds. + + + + + A correction factor that is applied to the sampled data points before they are added to the origin. + + + + + The lower limit of detection of the measured points. This is needed if any of the data points have the value "L" (lower than detection limit). + + + + + The upper limit of detection of the measured points. This is needed if any of the data points have the value "U" (higher than detection limit). + + + + + The number of sample points at each time point. If this value is greater than one, then the dimensions will be interlaced - all the sample points for a point in time will be recorded at once. + + + + + A series of data points which are decimal values separated by a single space (character u20). The special values "E" (error), "L" (below detection limit) and "U" (above detection limit) can also be used in place of a decimal value. + + + + + + + + + + + + + + + + + + + + + + A reference from one resource to another. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + A reference to a location at which the other resource is found. The reference may a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources. + + + + + Plain text narrative that identifies the resource in addition to the resource reference. + + + + + + + + + A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + A reference to a code defined by a terminology system. + + + + + A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user. + + + + + + + + + A technical identifier - identifies some entity uniquely and unambiguously. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + The purpose of this identifier. + + + + + A text string for the identifier that can be displayed to a human so they can recognize the identifier. + + + + + Establishes the namespace in which set of possible id values is unique. + + + + + The portion of the identifier typically displayed to the user and which is unique within the context of the system. + + + + + Time period during which identifier is/was valid for use. + + + + + Organization that issued/manages the identifier. + + + + + + + + + + + the identifier recommended for display and use in real-world interactions. + + + + + the identifier considered to be most trusted for the identification of this item. + + + + + A temporary identifier. + + + + + An identifier that was assigned in secondary use - it serves to identify the object in a relative context, but cannot be consistently assigned to the same object again in a different context. + + + + + + + Identifies the purpose for this identifier, if known + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + + + The value of the measured amount. The value includes an implicit precision in the presentation of the value. + + + + + How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues. E.g. if the comparator is "<" , then the real value is < stated value. + + + + + A human-readable form of the units. + + + + + The identification of the system that provides the coded form of the unit. + + + + + A computer processable form of the units in some unit representation system. + + + + + + + + + + + + + + The value of the measured amount. The value includes an implicit precision in the presentation of the value. + + + + + How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues. E.g. if the comparator is "<" , then the real value is < stated value. + + + + + A human-readable form of the units. + + + + + The identification of the system that provides the coded form of the unit. + + + + + A computer processable form of the units in some unit representation system. + + + + + + + + + + + + + + The value of the measured amount. The value includes an implicit precision in the presentation of the value. + + + + + How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues. E.g. if the comparator is "<" , then the real value is < stated value. + + + + + A human-readable form of the units. + + + + + The identification of the system that provides the coded form of the unit. + + + + + A computer processable form of the units in some unit representation system. + + + + + + + + + + + + + + The value of the measured amount. The value includes an implicit precision in the presentation of the value. + + + + + How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues. E.g. if the comparator is "<" , then the real value is < stated value. + + + + + A human-readable form of the units. + + + + + The identification of the system that provides the coded form of the unit. + + + + + A computer processable form of the units in some unit representation system. + + + + + + + + + + + + + + The value of the measured amount. The value includes an implicit precision in the presentation of the value. + + + + + How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues. E.g. if the comparator is "<" , then the real value is < stated value. + + + + + A human-readable form of the units. + + + + + The identification of the system that provides the coded form of the unit. + + + + + A computer processable form of the units in some unit representation system. + + + + + + + + + + Captures constraints on each element within the resource, profile, or extension. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + The path identifies the element and is expressed as a "."-separated list of ancestor elements, beginning with the name of the resource or extension. + + + + + Codes that define how this element is represented in instances, when the deviation varies from the normal case. + + + + + The name of this element definition (to refer to it from other element definitions using ElementDefinition.nameReference). This is a unique name referring to a specific set of constraints applied to this element. One use of this is to provide a name to different slices of the same element. + + + + + Indicates that the element is sliced into a set of alternative definitions (there are multiple definitions on a single element in the base resource). The set of slices is any elements that come after this in the element sequence that have the same path, until a shorter path occurs (the shorter path terminates the set). + + + + + A concise definition that is shown in the generated XML format that summarizes profiles (used throughout the specification). + + + + + The definition SHALL be consistent with the base definition, but convey the meaning of the element in the particular context of use of the resource. + + + + + Comments about the use of the element, including notes about how to use the data properly, exceptions to proper use, etc. + + + + + Explains why this element is needed and why it's been constrained as it has. + + + + + Identifies additional names by which this element might also be known. + + + + + The minimum number of times this element SHALL appear in the instance. + + + + + The maximum number of times this element is permitted to appear in the instance. + + + + + The data type or resource that the value of this element is permitted to be. + + + + + Identifies the name of a slice defined elsewhere in the profile whose constraints should be applied to the current element. + + + + + The value that should be used if there is no value stated in the instance. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The Implicit meaning that is to be understood when this element is missing. + + + + + Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-signficant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-senstive, accent-sensitive, etc.). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + An example value for this element. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Indicates the maximum length in characters that is permitted to be present in conformant instances and which is expected to be supported by conformant consumers that support the element. + + + + + A reference to an invariant that may make additional statements about the cardinality or value in the instance. + + + + + Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance. + + + + + If true, conformant resource authors SHALL be capable of providing a value for the element and resource consumers SHALL be capable of extracting and doing something useful with the data element. If false, the element may be ignored and not supported. + + + + + If true, the value of this element affects the interpretation of the element or resource that contains it, and the value of the element cannot be ignored. Typically, this is used for status, negation and qualification codes. The effect of this is that the element cannot be ignored by systems: they SHALL either recognize the element and process it, and/or a pre-determination has been made that it is not relevant to their particular system. + + + + + Whether the element should be included if a client requests a search with the parameter _summary=true. + + + + + Binds to a value set if this element is coded (code, Coding, CodeableConcept). + + + + + Identifies a concept from an external specification that roughly corresponds to this element. + + + + + + + + + Captures constraints on each element within the resource, profile, or extension. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + An internal reference to the definition of a mapping. + + + + + Expresses what part of the target specification corresponds to this element. + + + + + + + + + Captures constraints on each element within the resource, profile, or extension. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + Designates which child elements are used to discriminate between the slices when processing an instance. If one or more discriminators are provided, the value of the child elements in the instance data SHALL completely distinguish which slice the element in the resource matches based on the allowed values for those elements in each of the slices. + + + + + A humane readable text description of how the slicing works. If there is no discriminator, this is required to be present to provide whatever information is possible about how the slices can be differentiated. + + + + + If the matching elements have to occur in the same order as defined in the profile. + + + + + Whether additional slices are allowed or not. When the slices are ordered, profile authors can also say that additional slices are only allowed at the end. + + + + + + + + + Captures constraints on each element within the resource, profile, or extension. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + A descriptive name for this - can be useful for generating implementation artifacts. + + + + + If true, then conformant systems may use additional codes or (where the data type permits) text alone to convey concepts not covered by the set of codes identified in the binding. If false, then conformant systems are constrained to the provided codes alone. + + + + + Indicates the degree of conformance expectations associated with this binding. + + + + + Describes the intended use of this particular set of codes. + + + + + Points to the value set or external definition that identifies the set of codes to be used. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Captures constraints on each element within the resource, profile, or extension. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + Name of Data type or Resource that is a(or the) type used for this element. + + + + + Identifies a profile structure that SHALL hold for resources or datatypes referenced as the type of this element. Can be a local reference - to another structure in this profile, or a reference to a structure in another profile. + + + + + If the type is a reference to another resource, how the resource is or can be aggreated - is it a contained resource, or a reference, and if the context is a bundle, is it included in the bundle. + + + + + + + + + Captures constraints on each element within the resource, profile, or extension. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + Allows identification of which elements have their cardinalities impacted by the constraint. Will not be referenced for constraints that do not affect cardinality. + + + + + Used to label the constraint in OCL or in short displays incapable of displaying the full human description. + + + + + Identifies the impact constraint violation has on the conformance of the instance. + + + + + Text that can be used to describe the constraint in messages identifying that the constraint has been violated. + + + + + An XPath expression of constraint that can be executed to see if this constraint is met. + + + + + + + + + + + In XML, this property is represented as an attribute not an element. + + + + + + + How a property is represented on the wire + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + No additional content is allowed other than that described by the slices in this profile. + + + + + Additional content is allowed anywhere in the list. + + + + + Additional content is allowed, but only at the end of the list. + + + + + + + How slices are interpreted when evaluating an instance + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + Only codes in the specified set are allowed. If the binding is extensible, other codes may be used for concepts not covered by the bound set of codes. + + + + + For greater interoperability, implementers are strongly encouraged to use the bound set of codes, however alternate codes may be used in derived profiles and implementations if necessary without being considered non-conformant. + + + + + The codes in the set are an example to illustrate the meaning of the field. There is no particular preference for its use nor any assertion that the provided values are sufficient to meet implementation needs. + + + + + + + Binding conformance for applications + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + The reference is a local reference to a contained resource. + + + + + The reference to a resource that has to be resolved externally to the resource that includes the reference. + + + + + The resource the reference points to will be found in the same bundle as the resource that includes the reference. + + + + + + + How resource references can be aggregated + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + If the constraint is violated, the resource is not conformant. + + + + + If the constraint is violated, the resource is conformant, but it is not necessarily following best practice. + + + + + + + SHALL applications comply with this constraint? + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + Specifies an event that may occur multiple times. Timing schedules are used for to record when things are expected or requested to occur. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + Identifies specific time periods when the event should occur. + + + + + Identifies a repeating pattern to the intended time periods. + + + + + + + + + Specifies an event that may occur multiple times. Timing schedules are used for to record when things are expected or requested to occur. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + Indicates how often the event should occur. + + + + + Identifies the occurrence of daily life that determines timing. + + + + + How long each repetition should last. + + + + + The units of time for the duration. + + + + + A total count of the desired number of repetitions. + + + + + When to stop repeating the timing schedule. + + + + + + + + + + + event occurs [duration] before the hour of sleep (or trying to). + + + + + event occurs [duration] after waking. + + + + + event occurs [duration] before a meal (from the Latin ante cibus). + + + + + event occurs [duration] before breakfast (from the Latin ante cibus matutinus). + + + + + event occurs [duration] before lunch (from the Latin ante cibus diurnus). + + + + + event occurs [duration] before dinner (from the Latin ante cibus vespertinus). + + + + + event occurs [duration] after a meal (from the Latin post cibus). + + + + + event occurs [duration] after breakfast (from the Latin post cibus matutinus). + + + + + event occurs [duration] after lunch (from the Latin post cibus diurnus). + + + + + event occurs [duration] after dinner (from the Latin post cibus vespertinus). + + + + + + + Real world event that the schedule relates to + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + second. + + + + + minute. + + + + + hour. + + + + + day. + + + + + week. + + + + + month. + + + + + year. + + + + + + + A unit of time (units from UCUM) + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + There is a variety of postal address formats defined around the world. This format defines a superset that is the basis for all addresses around the world. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + The purpose of this address. + + + + + A full text representation of the address. + + + + + This component contains the house number, apartment number, street name, street direction, +P.O. Box number, delivery hints, and similar address information. + + + + + The name of the city, town, village or other community or delivery center. + + + + + Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (i.e. US 2 letter state codes). + + + + + A postal code designating a region defined by the postal service. + + + + + Country - a nation as commonly understood or generally accepted. + + + + + Time period when address was/is in use. + + + + + + + + + + + A communication address at a home. + + + + + An office address. First choice for business related contacts during business hours. + + + + + A temporary address. The period can provide more detailed information. + + + + + This address is no longer in use (or was never correct, but retained for records). + + + + + + + The use of an address + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + A human's name with the ability to identify parts and usage. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + Identifies the purpose for this name. + + + + + A full text representation of the name. + + + + + The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father. + + + + + Given name. + + + + + Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name. + + + + + Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name. + + + + + Indicates the period of time when this name was valid for the named person. + + + + + + + + + + + Known as/conventional/the one you normally use. + + + + + The formal name as registered in an official (government) registry, but which name might not be commonly used. May be called "legal name". + + + + + A temporary name. Name.period can provide more detailed information. This may also be used for temporary names assigned at birth or in emergency situations. + + + + + A name that is used to address the person in an informal manner, but is not part of their formal or usual name. + + + + + Anonymous assigned name, alias, or pseudonym (used to protect a person's identity for privacy reasons). + + + + + This name is no longer in use (or was never correct, but retained for records). + + + + + A name used prior to marriage. Marriage naming customs vary greatly around the world. This name use is for use by applications that collect and store "maiden" names. Though the concept of maiden name is often gender specific, the use of this term is not gender specific. The use of this term does not imply any particular history for a person's name, nor should the maiden name be determined algorithmically. + + + + + + + The use of a human name + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + Details for All kinds of technology mediated contact points for a person or organization, including telephone, email, etc. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + Telecommunications form for contact point - what communications system is required to make use of the contact. + + + + + The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address). + + + + + Identifies the purpose for the contact point. + + + + + Time period when the contact point was/is in use. + + + + + + + + + + + The value is a telephone number used for voice calls. Use of full international numbers starting with + is recommended to enable automatic dialing support but not required. + + + + + The value is a fax machine. Use of full international numbers starting with + is recommended to enable automatic dialing support but not required. + + + + + The value is an email address. + + + + + The value is a url. This is intended for various personal contacts including blogs, Twitter, Facebook, etc. Do not use for email addresses. + + + + + + + Telecommunications form for contact point + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + A communication contact point at a home; attempted contacts for business purposes might intrude privacy and chances are one will contact family or other household members instead of the person one wishes to call. Typically used with urgent cases, or if no other contacts are available. + + + + + An office contact point. First choice for business related contacts during business hours. + + + + + A temporary contact point. The period can provide more detailed information. + + + + + This contact point is no longer in use (or was never correct, but retained for records). + + + + + A telecommunication device that moves and stays with its owner. May have characteristics of all other use codes, suitable for urgent matters, not the first choice for routine business. + + + + + + + Use of contact point + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + This special resource type is used to represent [operation](operations.html] request and response. It has no other use, and there is no RESTful end=point associated with it. + + + + + + + A parameter passed to or received from the operation. + + + + + + + + + This special resource type is used to represent [operation](operations.html] request and response. It has no other use, and there is no RESTful end=point associated with it. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + The name of the parameter (reference to the operation definition). + + + + + If the parameter is a data type. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + If the parameter is a whole resource. + + + + + A named part of a parameter. In many implementation context, a set of named parts is known as a "Tuple". + + + + + + + + + This special resource type is used to represent [operation](operations.html] request and response. It has no other use, and there is no RESTful end=point associated with it. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + The name of the parameter (reference to the operation definition). + + + + + The value of the parameter. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This special resource type is used to represent [operation](operations.html] request and response. It has no other use, and there is no RESTful end=point associated with it. + + + + + Base Resource for everything. + + + + + The logical id of the resource, as used in the url for the resoure. Once assigned, this value never changes. + + + + + The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource. + + + + + A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. + + + + + The base language in which the resource is written. + + + + + + + Base Resource for everything. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + The version specific identifier, as it appears in the version portion of the url. This values changes when the resource is created, updated, or deleted. + + + + + When the resource last changed - e.g. when the version changed. + + + + + A list of profiles that this resource claims to conform to. The URL is a reference to Profile.url. + + + + + Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure. + + + + + Tags applied to this resource. Tags are intended to to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource. + + + + + + + + + + + + + + + + A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety. + + + + + These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope. + + + + + May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. + + + + + May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. + + + + + + + + + + + This Questionnaire is not ready for official use. + + + + + This Questionnaire is ready for use. + + + + + This Questionnaire should no longer be used to gather data. + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + The specified property of the code equals the provided value. + + + + + The specified property of the code has an is-a relationship with the provided value. + + + + + The specified property of the code does not have an is-a relationship with the provided value. + + + + + The specified property of the code matches the regex specified in the provided value. + + + + + The specified property of the code is in the set of codes or concepts specified in the provided value (comma separated list). + + + + + The specified property of the code is not in the set of codes or concepts specified in the provided value (comma separated list). + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + The value is not known + + + + + The source human does not know the value + + + + + There is reason to expect (from the workflow) that the value may become known + + + + + The workflow didn't lead to this value being known + + + + + The information is not available due to security, privacy or related reasons + + + + + The source system wasn't capable of supporting this element + + + + + The content of the data is represented in the resource narrative + + + + + Some system or workflow process error means that the information is not available + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + This is the current reference for this document. + + + + + This reference has been superseded by another reference. + + + + + This reference was created in error. + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + The processing completed without errors. + + + + + The processing identified with errors. + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + Male + + + + + Female + + + + + Other + + + + + Unknown + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + Boolean true + + + + + Boolean false + + + + + The content is greater than zero, but too small to be quantified + + + + + The specific quantity is not known, but is known to be non-zero and is not specified because it makes up the bulk of the material + + + + + The value is no longer available + + + + + The are no known applicable values in this context + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + Display the note. + + + + + Print the note on the form. + + + + + Print the note for the operator. + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + Search parameter SHALL be a number (a whole number, or a decimal). + + + + + Search parameter is on a date/time. The date format is the standard XML format, though other formats may be supported. + + + + + Search parameter is a simple string, like a name part. Search is case-insensitive and accent-insensitive. May match just the start of a string. String parameters may contain spaces. + + + + + Search parameter on a coded element or identifier. May be used to search through the text, displayname, code and code/codesystem (for codes) and label, system and key (for identifier). Its value is either a string or a pair of namespace and value, separated by a "|", depending on the modifier used. + + + + + A reference to another resource. + + + + + A composite search parameter that combines a search on two values together. + + + + + A search parameter that searches on a quantity. + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + There is a variety of postal address formats defined around the world. This format defines a superset that is the basis for all addresses around the world. + + + + + A duration (length of time) with a UCUM code + + + + + For referring to data content defined in other formats. + + + + + Base definition for all elements that are defined inside a resource - but not those in a data type. + + + + + A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text. + + + + + A reference to a code defined by a terminology system. + + + + + Details for All kinds of technology mediated contact points for a person or organization, including telephone, email, etc. + + + + + A count of a discrete element (no unit) + + + + + A measure of distance + + + + + A length of time + + + + + Base definition for all elements in a resource. + + + + + Captures constraints on each element within the resource, profile, or extension. + + + + + Optional Extensions Element - found in all resources. + + + + + A human's name with the ability to identify parts and usage. + + + + + A technical identifier - identifies some entity uniquely and unambiguously. + + + + + An amount of money. With regard to precision, see [[X]] + + + + + A human-readable formatted text, including images. + + + + + A time period defined by a start and end date and optionally time. + + + + + 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. + + + + + A set of ordered Quantities defined by a low and high limit. + + + + + A relationship of two Quantity values - expressed as a numerator and a denominator. + + + + + A reference from one resource to another. + + + + + A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data. + + + + + Specifies an event that may occur multiple times. Timing schedules are used for to record when things are expected or requested to occur. + + + + + A stream of bytes + + + + + Value of "true" or "false" + + + + + A string which has at least one character and no leading or trailing whitespace and where there is no whitespace other than single spaces in the contents + + + + + A date, or partial date (e.g. just year or year + month). There is no time zone. The format is a union of the schema types gYear, gYearMonth and date. Dates SHALL be valid dates. + + + + + A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds may be provided but may also be ignored. Dates SHALL be valid dates. + + + + + A rational number with implicit precision + + + + + Any combination of lowercase letters, numerals, "-" and ".", with a length limit of 36 characters. (This might be an integer, an unprefixed OID, UUID or any other identifier pattern that meets these constraints.) Systems SHALL send ids as lower-case but SHOULD interpret them case-insensitively. + + + + + An instant in time - known at least to the second + + + + + A whole number + + + + + An oid represented as a URI + + + + + A sequence of Unicode characters + + + + + A time during the day, with no date specified + + + + + String of characters used to identify a name or a resource + + + + + A UUID, represented as a URI + + + + + Prospective warnings of potential issues when providing care to the patient. + + + + + Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance. + + + + + A scheduled healthcare event for a patient and/or practitioner(s) where a service may take place at a specific date/time. + + + + + A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection. + + + + + Basic is used for handling concepts not yet defined in FHIR, narrative-only resources that don't map to an existing resource, and custom resources not appropriate for inclusion in the FHIR specification. + + + + + A binary resource can contain any content, whether text, image, pdf, zip archive, etc. + + + + + A container for a group of resources. + + + + + Describes the intention of how one or more practitioners intend to deliver care for a particular patient for a period of time, possibly limited to care for a specific condition or set of conditions. + + + + + Describes the intention of how one or more practitioners intend to deliver care for a particular patient for a period of time, possibly limited to care for a specific condition or set of conditions. + + + + + This resource provides the adjudication details from the processing of a Claim resource. + + + + + A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. + + + + + An occurrence of information being transmitted. E.g., an alert that was sent to a responsible provider, a public health agency was notified about a reportable condition. + + + + + A request to convey information. E.g., the CDS system proposes that an alert be sent to a responsible provider, the CDS system proposes that the public health agency be notified about a reportable condition. + + + + + A set of healthcare-related information that is assembled together into a single logical document that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. + + + + + A statement of relationships from one set of concepts to one or more other concepts - either code systems or data elements, or classes in class models. + + + + + Use to record detailed information about conditions, problems or diagnoses recognized by a clinician. There are many uses including: recording a Diagnosis during an Encounter; populating a problem List or a Summary Statement, such as a Discharge Summary. + + + + + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + + + + + A formal agreement between parties regarding the conduct of business, exchange of information or other matters. + + + + + Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient. E.g. Drug-drug interaction, Ineffective treatment frequency, Procedure-condition conflict, etc. + + + + + Financial instrument which may be used to pay for or reimburse for health care products and services. + + + + + The formal description of a single piece of information that can be gathered and reported. + + + + + This resource identifies an instance of a manufactured thing that is used in the provision of healthcare without being substantially changed through that activity. The device may be a machine, an insert, a computer, an application, etc. This includes durable (reusable) medical equipment as well as disposable equipment used for diagnostic, treatment, and research for healthcare and public health. + + + + + Describes the characteristics, operational status and capabilities of a medical-related component of a medical device. + + + + + Describes a measurement, calculation or setting capability of a medical device. + + + + + Represents a request for the use of a device. + + + + + A record of a device being used by a patient where the record is the result of a report from the patient or another clinician. + + + + + A request for a diagnostic investigation service to be performed. + + + + + The findings and interpretation of diagnostic tests performed on patients, groups of patients, devices, and locations, and/or specimens derived from these. The report includes clinical context such as requesting and provider information, and some mix of atomic results, images, textual and coded interpretation, and formatted representation of diagnostic reports. + + + + + A manifest that defines a set of documents. + + + + + A reference to a document. + + + + + This resource provides the insurance eligibility details from the insurer regarding a specified coverage and optionally some class of service. + + + + + This resource provides eligibility and plan details from the processing of an Eligibility resource. + + + + + An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient. + + + + + This resource provides the insurance Enrollment details to the insurer regarding a specified coverage. + + + + + This resource provides Enrollment and plan details from the processing of an Enrollment resource. + + + + + An association between a patient and an organization / healthcare provider(s) during which time encounters may occur. The managing organization assumes a level of responsibility for the patient during this time. + + + + + This resource provides: the claim details; adjudication details from the processing of a Claim; and optionally account balance information, for informing the subscriber of the benefits provided. + + + + + Defines an extension that can be used in resources. + + + + + Significant health events and conditions for people related to the subject relevant in the context of care for the subject. + + + + + Describes the intended objective(s) of the care. + + + + + Represents a defined collection of entities that may be discussed or acted upon collectively but which are not expected to act collectively and are not formally or legally recognized. I.e. A collection of entities that isn't an Organization. + + + + + The details of a Healthcare Service available at a location. + + + + + A set of DICOM SOP Instances of a patient, selected for some application purpose, e.g., quality assurance, teaching, conference, consulting, etc. Objects selected can be from different studies, but must be of the same patient. + + + + + Representation of the content produced in a DICOM imaging study. A study comprises a set of Series, each of which includes a set of Service-Object Pair Instances (SOP Instances - images or other data) acquired or produced in a common context. A Series is of only one modality (e.g., X-ray, CT, MR, ultrasound), but a Study may have multiple Series of different modalities. + + + + + Immunization event information. + + + + + A patient's point-of-time immunization status and recommendation with optional supporting justification. + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + A set of information summarized from a list of other resources. + + + + + Details and position information for a physical place where services are provided and resources and participants may be stored, found, contained or accommodated. + + + + + A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference. + + + + + Primarily used for identification and definition of Medication, but also covers ingredients and packaging. + + + + + Describes the event of a patient being given a dose of a medication. This may be as simple as swallowing a tablet or it may be a long running infusion. + +Related resources tie this event to the authorizing prescription, and the specific encounter between patient and health care practitioner. + + + + + Dispensing a medication to a named patient. This includes a description of the supply provided and the instructions for administering the medication. + + + + + An order for both supply of the medication and the instructions for administration of the medicine to a patient. + + + + + A record of medication being taken by a patient, or that the medication has been given to a patient where the record is the result of a report from the patient or another clinician. + + + + + The header for a message exchange that is either requesting or responding to an action. The Reference(s) that are the subject of the action as well as other Information related to the action are typically transmitted in a bundle in which the MessageHeader resource instance is the first resource in the bundle. + + + + + A curated namespace that issues unique symbols within that namespace for the identification of concepts, people, devices, etc. Represents a "System" used within the Identifier and Coding data types. + + + + + A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. + + + + + Measurements and simple assertions made about a patient, device or other subject. + + + + + A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction). + + + + + A collection of error, warning or information messages that result from a system action. + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + A request to perform an action. + + + + + A response to an order. + + + + + A formally or informally recognized grouping of people or organizations formed for the purpose of achieving some form of collective action. Includes companies, institutions, corporations, departments, community groups, healthcare practice groups, etc. + + + + + Other is a conformant for handling resource concepts not yet defined for FHIR or outside HL7's scope of interest. + + + + + Demographics and other administrative information about a person or animal receiving care or other health-related services. + + + + + This resource provides the status of the payment for goods and services rendered, and the request and response resource references. + + + + + This resource provides payment details and claim references supporting a bulk payment. + + + + + This resource provides the request and response details for the resource for which the status is to be checked. + + + + + Demographics and administrative information about a person independent of a specific health-related context. + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + A person who is directly or indirectly involved in the provisioning of healthcare. + + + + + An action that is performed on a patient. This can be a physical 'thing' like an operation, or less invasive like counseling or hypnotherapy. + + + + + A request for a procedure to be performed. May be a proposal or an order. + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + A Resource Profile - a statement of use of one or more FHIR Resources. It may include constraints on Resources and Data Types, Terminology Binding Statements and Extension Definitions. + + + + + Provenance information that describes the activity that led to the creation of a set of resources. This information can be used to help determine their reliability or trace where the information in them came from. The focus of the provenance resource is record keeping, audit and traceability, and not explicit statements of clinical significance. + + + + + A structured set of questions intended to guide the collection of answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. + + + + + A structured set of questions and their answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. + + + + + This resource provides the request and line items details for the claim which is to be re-adjudicated. + + + + + Used to record and send details about a request for referral service or transfer of a patient to the care of another provider or provider organisation. + + + + + Information about a person that is involved in the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process. + + + + + This resource provides the request and response details for the request for which all actions are to be reversed or terminated. + + + + + An assessment of the likely outcome(s) for a patient or other subject as well as the likelihood of each outcome. + + + + + A container for slot(s) of time that may be available for booking appointments. + + + + + A Search Parameter that defines a named search item that can be used to search/filter on a resource. + + + + + A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. + + + + + A slot of time on a schedule that may be available for booking appointments. + + + + + Sample for analysis. + + + + + This resource provides the request and response details for the resource for which the processing status is to be checked. + + + + + This resource provides processing status, errors and notes from the processing of a resource. + + + + + Todo. + + + + + A homogeneous material with a definite composition. + + + + + A supply - a request for something, and provision of what is supplied. + + + + + This resource provides the supporting information for a process, for example clinical or financial information related to a claim or pre-authorization. + + + + + A value set specifies a set of codes drawn from one or more code systems. + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + An authorization for the supply of glasses and/or contact lenses to a patient. + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + An encounter during which the patient is hospitalized and stays overnight. + + + + + An encounter during which the patient is not hospitalized overnight. + + + + + An encounter where the patient visits the practitioner in his/her office, e.g. a G.P. visit. + + + + + An encounter where the patient needs urgent care. + + + + + An encounter where the practitioner visits the patient at his/her home. + + + + + An encounter taking place outside the regular environment for giving care. + + + + + An encounter where the patient needs more prolonged treatment or investigations than outpatients, but who do not need to stay in the hospital overnight. + + + + + An encounter that takes place where the patient and practitioner do not physically meet but use electronic means for contact. + + + + + Any other encounter type that is not described by one of the other values. Where this is used it is expected that an implementer will include an extension value to define what the actual other type is. + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + There is a variety of postal address formats defined around the world. This format defines a superset that is the basis for all addresses around the world. + + + + + A duration (length of time) with a UCUM code + + + + + For referring to data content defined in other formats. + + + + + Base definition for all elements that are defined inside a resource - but not those in a data type. + + + + + A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text. + + + + + A reference to a code defined by a terminology system. + + + + + Details for All kinds of technology mediated contact points for a person or organization, including telephone, email, etc. + + + + + A count of a discrete element (no unit) + + + + + A measure of distance + + + + + A length of time + + + + + Base definition for all elements in a resource. + + + + + Captures constraints on each element within the resource, profile, or extension. + + + + + Optional Extensions Element - found in all resources. + + + + + A human's name with the ability to identify parts and usage. + + + + + A technical identifier - identifies some entity uniquely and unambiguously. + + + + + An amount of money. With regard to precision, see [[X]] + + + + + A human-readable formatted text, including images. + + + + + A time period defined by a start and end date and optionally time. + + + + + 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. + + + + + A set of ordered Quantities defined by a low and high limit. + + + + + A relationship of two Quantity values - expressed as a numerator and a denominator. + + + + + A reference from one resource to another. + + + + + A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data. + + + + + Specifies an event that may occur multiple times. Timing schedules are used for to record when things are expected or requested to occur. + + + + + A stream of bytes + + + + + Value of "true" or "false" + + + + + A string which has at least one character and no leading or trailing whitespace and where there is no whitespace other than single spaces in the contents + + + + + A date, or partial date (e.g. just year or year + month). There is no time zone. The format is a union of the schema types gYear, gYearMonth and date. Dates SHALL be valid dates. + + + + + A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds may be provided but may also be ignored. Dates SHALL be valid dates. + + + + + A rational number with implicit precision + + + + + Any combination of lowercase letters, numerals, "-" and ".", with a length limit of 36 characters. (This might be an integer, an unprefixed OID, UUID or any other identifier pattern that meets these constraints.) Systems SHALL send ids as lower-case but SHOULD interpret them case-insensitively. + + + + + An instant in time - known at least to the second + + + + + A whole number + + + + + An oid represented as a URI + + + + + A sequence of Unicode characters + + + + + A time during the day, with no date specified + + + + + String of characters used to identify a name or a resource + + + + + A UUID, represented as a URI + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + This profile is still under development. + + + + + This profile is ready for normal use. + + + + + This profile has been deprecated, withdrawn or superseded and should no longer be used. + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + The Encounter has not yet started. + + + + + The Patient is present for the encounter, however is not currently meeting with a practitioner. + + + + + The Encounter has begun and the patient is present / the practitioner and the patient are meeting. + + + + + The Encounter has begun, but the patient is temporarily on leave. + + + + + The Encounter has ended. + + + + + The Encounter has ended before it has begun. + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + The person authenticated the content in their personal capacity. + + + + + The person authenticated the content in their professional capacity. + + + + + The person authenticated the content and accepted legal responsibility for its content. + + + + + The organization authenticated the content as consistent with their policies and procedures. + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + The treatment is complete and this represents a Claim for the services. + + + + + The treatment is proposed and this represents a Pre-authorization for the services. + + + + + The treatment is proposed and this represents a Pre-determination for the services. + + + + + A locally defined or otherwise resolved status. + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + Prospective warnings of potential issues when providing care to the patient. + + + + + Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance. + + + + + A scheduled healthcare event for a patient and/or practitioner(s) where a service may take place at a specific date/time. + + + + + A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection. + + + + + Basic is used for handling concepts not yet defined in FHIR, narrative-only resources that don't map to an existing resource, and custom resources not appropriate for inclusion in the FHIR specification. + + + + + A binary resource can contain any content, whether text, image, pdf, zip archive, etc. + + + + + A container for a group of resources. + + + + + Describes the intention of how one or more practitioners intend to deliver care for a particular patient for a period of time, possibly limited to care for a specific condition or set of conditions. + + + + + Describes the intention of how one or more practitioners intend to deliver care for a particular patient for a period of time, possibly limited to care for a specific condition or set of conditions. + + + + + This resource provides the adjudication details from the processing of a Claim resource. + + + + + A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. + + + + + An occurrence of information being transmitted. E.g., an alert that was sent to a responsible provider, a public health agency was notified about a reportable condition. + + + + + A request to convey information. E.g., the CDS system proposes that an alert be sent to a responsible provider, the CDS system proposes that the public health agency be notified about a reportable condition. + + + + + A set of healthcare-related information that is assembled together into a single logical document that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. + + + + + A statement of relationships from one set of concepts to one or more other concepts - either code systems or data elements, or classes in class models. + + + + + Use to record detailed information about conditions, problems or diagnoses recognized by a clinician. There are many uses including: recording a Diagnosis during an Encounter; populating a problem List or a Summary Statement, such as a Discharge Summary. + + + + + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + + + + + A formal agreement between parties regarding the conduct of business, exchange of information or other matters. + + + + + Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient. E.g. Drug-drug interaction, Ineffective treatment frequency, Procedure-condition conflict, etc. + + + + + Financial instrument which may be used to pay for or reimburse for health care products and services. + + + + + The formal description of a single piece of information that can be gathered and reported. + + + + + This resource identifies an instance of a manufactured thing that is used in the provision of healthcare without being substantially changed through that activity. The device may be a machine, an insert, a computer, an application, etc. This includes durable (reusable) medical equipment as well as disposable equipment used for diagnostic, treatment, and research for healthcare and public health. + + + + + Describes the characteristics, operational status and capabilities of a medical-related component of a medical device. + + + + + Describes a measurement, calculation or setting capability of a medical device. + + + + + Represents a request for the use of a device. + + + + + A record of a device being used by a patient where the record is the result of a report from the patient or another clinician. + + + + + A request for a diagnostic investigation service to be performed. + + + + + The findings and interpretation of diagnostic tests performed on patients, groups of patients, devices, and locations, and/or specimens derived from these. The report includes clinical context such as requesting and provider information, and some mix of atomic results, images, textual and coded interpretation, and formatted representation of diagnostic reports. + + + + + A manifest that defines a set of documents. + + + + + A reference to a document. + + + + + This resource provides the insurance eligibility details from the insurer regarding a specified coverage and optionally some class of service. + + + + + This resource provides eligibility and plan details from the processing of an Eligibility resource. + + + + + An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient. + + + + + This resource provides the insurance Enrollment details to the insurer regarding a specified coverage. + + + + + This resource provides Enrollment and plan details from the processing of an Enrollment resource. + + + + + An association between a patient and an organization / healthcare provider(s) during which time encounters may occur. The managing organization assumes a level of responsibility for the patient during this time. + + + + + This resource provides: the claim details; adjudication details from the processing of a Claim; and optionally account balance information, for informing the subscriber of the benefits provided. + + + + + Defines an extension that can be used in resources. + + + + + Significant health events and conditions for people related to the subject relevant in the context of care for the subject. + + + + + Describes the intended objective(s) of the care. + + + + + Represents a defined collection of entities that may be discussed or acted upon collectively but which are not expected to act collectively and are not formally or legally recognized. I.e. A collection of entities that isn't an Organization. + + + + + The details of a Healthcare Service available at a location. + + + + + A set of DICOM SOP Instances of a patient, selected for some application purpose, e.g., quality assurance, teaching, conference, consulting, etc. Objects selected can be from different studies, but must be of the same patient. + + + + + Representation of the content produced in a DICOM imaging study. A study comprises a set of Series, each of which includes a set of Service-Object Pair Instances (SOP Instances - images or other data) acquired or produced in a common context. A Series is of only one modality (e.g., X-ray, CT, MR, ultrasound), but a Study may have multiple Series of different modalities. + + + + + Immunization event information. + + + + + A patient's point-of-time immunization status and recommendation with optional supporting justification. + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + A set of information summarized from a list of other resources. + + + + + Details and position information for a physical place where services are provided and resources and participants may be stored, found, contained or accommodated. + + + + + A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference. + + + + + Primarily used for identification and definition of Medication, but also covers ingredients and packaging. + + + + + Describes the event of a patient being given a dose of a medication. This may be as simple as swallowing a tablet or it may be a long running infusion. + +Related resources tie this event to the authorizing prescription, and the specific encounter between patient and health care practitioner. + + + + + Dispensing a medication to a named patient. This includes a description of the supply provided and the instructions for administering the medication. + + + + + An order for both supply of the medication and the instructions for administration of the medicine to a patient. + + + + + A record of medication being taken by a patient, or that the medication has been given to a patient where the record is the result of a report from the patient or another clinician. + + + + + The header for a message exchange that is either requesting or responding to an action. The Reference(s) that are the subject of the action as well as other Information related to the action are typically transmitted in a bundle in which the MessageHeader resource instance is the first resource in the bundle. + + + + + A curated namespace that issues unique symbols within that namespace for the identification of concepts, people, devices, etc. Represents a "System" used within the Identifier and Coding data types. + + + + + A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. + + + + + Measurements and simple assertions made about a patient, device or other subject. + + + + + A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction). + + + + + A collection of error, warning or information messages that result from a system action. + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + A request to perform an action. + + + + + A response to an order. + + + + + A formally or informally recognized grouping of people or organizations formed for the purpose of achieving some form of collective action. Includes companies, institutions, corporations, departments, community groups, healthcare practice groups, etc. + + + + + Other is a conformant for handling resource concepts not yet defined for FHIR or outside HL7's scope of interest. + + + + + Demographics and other administrative information about a person or animal receiving care or other health-related services. + + + + + This resource provides the status of the payment for goods and services rendered, and the request and response resource references. + + + + + This resource provides payment details and claim references supporting a bulk payment. + + + + + This resource provides the request and response details for the resource for which the status is to be checked. + + + + + Demographics and administrative information about a person independent of a specific health-related context. + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + A person who is directly or indirectly involved in the provisioning of healthcare. + + + + + An action that is performed on a patient. This can be a physical 'thing' like an operation, or less invasive like counseling or hypnotherapy. + + + + + A request for a procedure to be performed. May be a proposal or an order. + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + A Resource Profile - a statement of use of one or more FHIR Resources. It may include constraints on Resources and Data Types, Terminology Binding Statements and Extension Definitions. + + + + + Provenance information that describes the activity that led to the creation of a set of resources. This information can be used to help determine their reliability or trace where the information in them came from. The focus of the provenance resource is record keeping, audit and traceability, and not explicit statements of clinical significance. + + + + + A structured set of questions intended to guide the collection of answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. + + + + + A structured set of questions and their answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. + + + + + This resource provides the request and line items details for the claim which is to be re-adjudicated. + + + + + Used to record and send details about a request for referral service or transfer of a patient to the care of another provider or provider organisation. + + + + + Information about a person that is involved in the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process. + + + + + This resource provides the request and response details for the request for which all actions are to be reversed or terminated. + + + + + An assessment of the likely outcome(s) for a patient or other subject as well as the likelihood of each outcome. + + + + + A container for slot(s) of time that may be available for booking appointments. + + + + + A Search Parameter that defines a named search item that can be used to search/filter on a resource. + + + + + A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. + + + + + A slot of time on a schedule that may be available for booking appointments. + + + + + Sample for analysis. + + + + + This resource provides the request and response details for the resource for which the processing status is to be checked. + + + + + This resource provides processing status, errors and notes from the processing of a resource. + + + + + Todo. + + + + + A homogeneous material with a definite composition. + + + + + A supply - a request for something, and provision of what is supplied. + + + + + This resource provides the supporting information for a process, for example clinical or financial information related to a claim or pre-authorization. + + + + + A value set specifies a set of codes drawn from one or more code systems. + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + An authorization for the supply of glasses and/or contact lenses to a patient. + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + This is a preliminary composition or document (also known as initial or interim). The content may be incomplete or unverified. + + + + + The composition or document is complete and verified by an appropriate person, and no further work is planned. + + + + + The composition or document has been modified subsequent to being released as "final", and is complete and verified by an authorized person. The modifications added new information to the composition or document, but did not revise existing content. + + + + + The composition or document has been modified subsequent to being released as "final", and is complete and verified by an authorized person. + + + + + The composition or document was originally created/issued in error, and this is an amendment that marks that the entire series should not be considered as valid. + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + Change the status of a Medication Administration to show that it is complete. + + + + + Someone wishes to record that the record of administration of a medication is in error and should be ignored. + + + + + Indicates that a medication has been recorded against the patient's record. + + + + + Update a Medication Administration record. + + + + + Notification of a change to an administrative resource (either create or update). Note that there is no delete, though some administrative resources have status or period elements for this use. + + + + + Translate a code from one value set to another, based on the existing value set and concept maps resources, and/or other additional knowledge available to the server. The coded value is carried as an extension in the message header. The outcome is an operationOutcome with hints, warnings, or errors, or the translated code in an extension. + + + + + Provide a diagnostic report, or update a previously provided diagnostic report. + + + + + Provide a simple observation or update a previously provided simple observation. + + + + + Notification that two patient records actually identify the same patient. + + + + + Notification that previous advice that two patient records concern the same patient is now considered incorrect. + + + + + The definition of a value set is used to create a simple collection of codes suitable for use for data entry or validation. An expanded value set will be returned, or an error message. + + + + + Validate that a coded value is in the set of codes allowed by a value set. The coded value is carried as an extension in the message header. The outcome is an OperationOutcome with hints, warnings, or errors. + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + This valueset is still under development. + + + + + This valueset is ready for normal use. + + + + + This valueset has been withdrawn or superceded and should no longer be used. + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/fhir-single.xsd b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/fhir-single.xsd new file mode 100644 index 00000000000..9c442790c31 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/fhir-single.xsd @@ -0,0 +1,23507 @@ + + + + + + + + + + + + + A whole number + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + + + + + + + A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds may be provided but may also be ignored. Dates SHALL be valid dates. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + + + + A string which has at least one character and no leading or trailing whitespace and where there is no whitespace other than single spaces in the contents + If the element is present, it must have either a @value, an @id referenced from the Narrative, or extensions + + + + + + + + + + + + + + + + + + A date, or partial date (e.g. just year or year + month). There is no time zone. The format is a union of the schema types gYear, gYearMonth and date. Dates SHALL be valid dates. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + + A rational number with implicit precision + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + + String of characters used to identify a name or a resource + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + + + + + Any combination of lowercase letters, numerals, "-" and ".", with a length limit of 36 characters. (This might be an integer, an unprefixed OID, UUID or any other identifier pattern that meets these constraints.) Systems SHALL send ids as lower-case but SHOULD interpret them case-insensitively. + If the element is present, it must have either a @value, an @id referenced from the Narrative, or extensions + + + + + + + + + + + + + A stream of bytes + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + + + + A time during the day, with no date specified + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + + + + + An oid represented as a URI + If the element is present, it must have either a @value, an @id referenced from the Narrative, or extensions + + + + + + + + + + + + + + + A sequence of Unicode characters + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + + Value of "true" or "false" + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + + + + + A UUID, represented as a URI + If the element is present, it must have either a @value, an @id referenced from the Narrative, or extensions + + + + + + + + + + + + + An instant in time - known at least to the second + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Optional Extensions Element - found in all resources. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Base definition for all elements that are defined inside a resource - but not those in a data type. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. + + + + + + + + + Base definition for all elements in a resource. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. + + + + + + + + A human-readable formatted text, including images. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data. + + + + + The actual narrative content, a stripped down version of XHTML. + + + + + + + + + + + The contents of the narrative are entirely generated from the structured data in the resource. + + + + + The contents of the narrative are entirely generated from the structured data in the resource and some of the content is generated from extensions. + + + + + The contents of the narrative contain additional information not found in the structured data. + + + + + the contents of the narrative are some equivalent of "No human-readable text provided for this resource". + + + + + + + The status of a resource narrative + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + A time period defined by a start and end date and optionally time. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + The start of the period. The boundary is inclusive. + + + + + The end of the period. If the end of the period is missing, it means that the period is ongoing. + + + + + + + + + A reference to a code defined by a terminology system. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + The identification of the code system that defines the meaning of the symbol in the code. + + + + + The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged. + + + + + A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination). + + + + + A representation of the meaning of the code in the system, following the rules of the system. + + + + + Indicates that this code was chosen by a user directly - i.e. off a pick list of available items (codes or displays). + + + + + The set of possible coded values this coding was chosen from or constrained by. + + + + + + + + + A set of ordered Quantities defined by a low and high limit. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + The low limit. The boundary is inclusive. + + + + + The high limit. The boundary is inclusive. + + + + + + + + + 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. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + The value of the measured amount. The value includes an implicit precision in the presentation of the value. + + + + + How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues. E.g. if the comparator is "<" , then the real value is < stated value. + + + + + A human-readable form of the units. + + + + + The identification of the system that provides the coded form of the unit. + + + + + A computer processable form of the units in some unit representation system. + + + + + + + + + + + The actual value is less than the given value. + + + + + The actual value is less than or equal to the given value. + + + + + The actual value is greater than or equal to the given value. + + + + + The actual value is greater than the given value. + + + + + + + How the Quantity should be understood and represented + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + For referring to data content defined in other formats. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate. + + + + + The human language of the content. The value can be any valid value according to BCP 47. + + + + + The actual data of the attachment - a sequence of bytes. In XML, represented using base64. + + + + + An alternative location where the data can be accessed. + + + + + The number of bytes of data that make up this attachment. + + + + + The calculated hash of the data using SHA-1. Represented using base64. + + + + + A label or set of text to display in place of the data. + + + + + + + + + A relationship of two Quantity values - expressed as a numerator and a denominator. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + The value of the numerator. + + + + + The value of the denominator. + + + + + + + + + A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + The base quantity that a measured value of zero represents. In addition, this provides the units of the entire measurement series. + + + + + The length of time between sampling times, measured in milliseconds. + + + + + A correction factor that is applied to the sampled data points before they are added to the origin. + + + + + The lower limit of detection of the measured points. This is needed if any of the data points have the value "L" (lower than detection limit). + + + + + The upper limit of detection of the measured points. This is needed if any of the data points have the value "U" (higher than detection limit). + + + + + The number of sample points at each time point. If this value is greater than one, then the dimensions will be interlaced - all the sample points for a point in time will be recorded at once. + + + + + A series of data points which are decimal values separated by a single space (character u20). The special values "E" (error), "L" (below detection limit) and "U" (above detection limit) can also be used in place of a decimal value. + + + + + + + + + + + + + + + + + + + + + + A reference from one resource to another. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + A reference to a location at which the other resource is found. The reference may a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources. + + + + + Plain text narrative that identifies the resource in addition to the resource reference. + + + + + + + + + A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + A reference to a code defined by a terminology system. + + + + + A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user. + + + + + + + + + A technical identifier - identifies some entity uniquely and unambiguously. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + The purpose of this identifier. + + + + + A text string for the identifier that can be displayed to a human so they can recognize the identifier. + + + + + Establishes the namespace in which set of possible id values is unique. + + + + + The portion of the identifier typically displayed to the user and which is unique within the context of the system. + + + + + Time period during which identifier is/was valid for use. + + + + + Organization that issued/manages the identifier. + + + + + + + + + + + the identifier recommended for display and use in real-world interactions. + + + + + the identifier considered to be most trusted for the identification of this item. + + + + + A temporary identifier. + + + + + An identifier that was assigned in secondary use - it serves to identify the object in a relative context, but cannot be consistently assigned to the same object again in a different context. + + + + + + + Identifies the purpose for this identifier, if known + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + + + The value of the measured amount. The value includes an implicit precision in the presentation of the value. + + + + + How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues. E.g. if the comparator is "<" , then the real value is < stated value. + + + + + A human-readable form of the units. + + + + + The identification of the system that provides the coded form of the unit. + + + + + A computer processable form of the units in some unit representation system. + + + + + + + + + + + + + + The value of the measured amount. The value includes an implicit precision in the presentation of the value. + + + + + How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues. E.g. if the comparator is "<" , then the real value is < stated value. + + + + + A human-readable form of the units. + + + + + The identification of the system that provides the coded form of the unit. + + + + + A computer processable form of the units in some unit representation system. + + + + + + + + + + + + + + The value of the measured amount. The value includes an implicit precision in the presentation of the value. + + + + + How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues. E.g. if the comparator is "<" , then the real value is < stated value. + + + + + A human-readable form of the units. + + + + + The identification of the system that provides the coded form of the unit. + + + + + A computer processable form of the units in some unit representation system. + + + + + + + + + + + + + + The value of the measured amount. The value includes an implicit precision in the presentation of the value. + + + + + How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues. E.g. if the comparator is "<" , then the real value is < stated value. + + + + + A human-readable form of the units. + + + + + The identification of the system that provides the coded form of the unit. + + + + + A computer processable form of the units in some unit representation system. + + + + + + + + + + + + + + The value of the measured amount. The value includes an implicit precision in the presentation of the value. + + + + + How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues. E.g. if the comparator is "<" , then the real value is < stated value. + + + + + A human-readable form of the units. + + + + + The identification of the system that provides the coded form of the unit. + + + + + A computer processable form of the units in some unit representation system. + + + + + + + + + + Captures constraints on each element within the resource, profile, or extension. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + The path identifies the element and is expressed as a "."-separated list of ancestor elements, beginning with the name of the resource or extension. + + + + + Codes that define how this element is represented in instances, when the deviation varies from the normal case. + + + + + The name of this element definition (to refer to it from other element definitions using ElementDefinition.nameReference). This is a unique name referring to a specific set of constraints applied to this element. One use of this is to provide a name to different slices of the same element. + + + + + Indicates that the element is sliced into a set of alternative definitions (there are multiple definitions on a single element in the base resource). The set of slices is any elements that come after this in the element sequence that have the same path, until a shorter path occurs (the shorter path terminates the set). + + + + + A concise definition that is shown in the generated XML format that summarizes profiles (used throughout the specification). + + + + + The definition SHALL be consistent with the base definition, but convey the meaning of the element in the particular context of use of the resource. + + + + + Comments about the use of the element, including notes about how to use the data properly, exceptions to proper use, etc. + + + + + Explains why this element is needed and why it's been constrained as it has. + + + + + Identifies additional names by which this element might also be known. + + + + + The minimum number of times this element SHALL appear in the instance. + + + + + The maximum number of times this element is permitted to appear in the instance. + + + + + The data type or resource that the value of this element is permitted to be. + + + + + Identifies the name of a slice defined elsewhere in the profile whose constraints should be applied to the current element. + + + + + The value that should be used if there is no value stated in the instance. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The Implicit meaning that is to be understood when this element is missing. + + + + + Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-signficant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-senstive, accent-sensitive, etc.). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + An example value for this element. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Indicates the maximum length in characters that is permitted to be present in conformant instances and which is expected to be supported by conformant consumers that support the element. + + + + + A reference to an invariant that may make additional statements about the cardinality or value in the instance. + + + + + Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance. + + + + + If true, conformant resource authors SHALL be capable of providing a value for the element and resource consumers SHALL be capable of extracting and doing something useful with the data element. If false, the element may be ignored and not supported. + + + + + If true, the value of this element affects the interpretation of the element or resource that contains it, and the value of the element cannot be ignored. Typically, this is used for status, negation and qualification codes. The effect of this is that the element cannot be ignored by systems: they SHALL either recognize the element and process it, and/or a pre-determination has been made that it is not relevant to their particular system. + + + + + Whether the element should be included if a client requests a search with the parameter _summary=true. + + + + + Binds to a value set if this element is coded (code, Coding, CodeableConcept). + + + + + Identifies a concept from an external specification that roughly corresponds to this element. + + + + + + + + + Captures constraints on each element within the resource, profile, or extension. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + An internal reference to the definition of a mapping. + + + + + Expresses what part of the target specification corresponds to this element. + + + + + + + + + Captures constraints on each element within the resource, profile, or extension. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + Designates which child elements are used to discriminate between the slices when processing an instance. If one or more discriminators are provided, the value of the child elements in the instance data SHALL completely distinguish which slice the element in the resource matches based on the allowed values for those elements in each of the slices. + + + + + A humane readable text description of how the slicing works. If there is no discriminator, this is required to be present to provide whatever information is possible about how the slices can be differentiated. + + + + + If the matching elements have to occur in the same order as defined in the profile. + + + + + Whether additional slices are allowed or not. When the slices are ordered, profile authors can also say that additional slices are only allowed at the end. + + + + + + + + + Captures constraints on each element within the resource, profile, or extension. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + A descriptive name for this - can be useful for generating implementation artifacts. + + + + + If true, then conformant systems may use additional codes or (where the data type permits) text alone to convey concepts not covered by the set of codes identified in the binding. If false, then conformant systems are constrained to the provided codes alone. + + + + + Indicates the degree of conformance expectations associated with this binding. + + + + + Describes the intended use of this particular set of codes. + + + + + Points to the value set or external definition that identifies the set of codes to be used. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Captures constraints on each element within the resource, profile, or extension. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + Name of Data type or Resource that is a(or the) type used for this element. + + + + + Identifies a profile structure that SHALL hold for resources or datatypes referenced as the type of this element. Can be a local reference - to another structure in this profile, or a reference to a structure in another profile. + + + + + If the type is a reference to another resource, how the resource is or can be aggreated - is it a contained resource, or a reference, and if the context is a bundle, is it included in the bundle. + + + + + + + + + Captures constraints on each element within the resource, profile, or extension. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + Allows identification of which elements have their cardinalities impacted by the constraint. Will not be referenced for constraints that do not affect cardinality. + + + + + Used to label the constraint in OCL or in short displays incapable of displaying the full human description. + + + + + Identifies the impact constraint violation has on the conformance of the instance. + + + + + Text that can be used to describe the constraint in messages identifying that the constraint has been violated. + + + + + An XPath expression of constraint that can be executed to see if this constraint is met. + + + + + + + + + + + In XML, this property is represented as an attribute not an element. + + + + + + + How a property is represented on the wire + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + No additional content is allowed other than that described by the slices in this profile. + + + + + Additional content is allowed anywhere in the list. + + + + + Additional content is allowed, but only at the end of the list. + + + + + + + How slices are interpreted when evaluating an instance + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + Only codes in the specified set are allowed. If the binding is extensible, other codes may be used for concepts not covered by the bound set of codes. + + + + + For greater interoperability, implementers are strongly encouraged to use the bound set of codes, however alternate codes may be used in derived profiles and implementations if necessary without being considered non-conformant. + + + + + The codes in the set are an example to illustrate the meaning of the field. There is no particular preference for its use nor any assertion that the provided values are sufficient to meet implementation needs. + + + + + + + Binding conformance for applications + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + The reference is a local reference to a contained resource. + + + + + The reference to a resource that has to be resolved externally to the resource that includes the reference. + + + + + The resource the reference points to will be found in the same bundle as the resource that includes the reference. + + + + + + + How resource references can be aggregated + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + If the constraint is violated, the resource is not conformant. + + + + + If the constraint is violated, the resource is conformant, but it is not necessarily following best practice. + + + + + + + SHALL applications comply with this constraint? + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + Specifies an event that may occur multiple times. Timing schedules are used for to record when things are expected or requested to occur. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + Identifies specific time periods when the event should occur. + + + + + Identifies a repeating pattern to the intended time periods. + + + + + + + + + Specifies an event that may occur multiple times. Timing schedules are used for to record when things are expected or requested to occur. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + Indicates how often the event should occur. + + + + + Identifies the occurrence of daily life that determines timing. + + + + + How long each repetition should last. + + + + + The units of time for the duration. + + + + + A total count of the desired number of repetitions. + + + + + When to stop repeating the timing schedule. + + + + + + + + + + + event occurs [duration] before the hour of sleep (or trying to). + + + + + event occurs [duration] after waking. + + + + + event occurs [duration] before a meal (from the Latin ante cibus). + + + + + event occurs [duration] before breakfast (from the Latin ante cibus matutinus). + + + + + event occurs [duration] before lunch (from the Latin ante cibus diurnus). + + + + + event occurs [duration] before dinner (from the Latin ante cibus vespertinus). + + + + + event occurs [duration] after a meal (from the Latin post cibus). + + + + + event occurs [duration] after breakfast (from the Latin post cibus matutinus). + + + + + event occurs [duration] after lunch (from the Latin post cibus diurnus). + + + + + event occurs [duration] after dinner (from the Latin post cibus vespertinus). + + + + + + + Real world event that the schedule relates to + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + second. + + + + + minute. + + + + + hour. + + + + + day. + + + + + week. + + + + + month. + + + + + year. + + + + + + + A unit of time (units from UCUM) + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + There is a variety of postal address formats defined around the world. This format defines a superset that is the basis for all addresses around the world. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + The purpose of this address. + + + + + A full text representation of the address. + + + + + This component contains the house number, apartment number, street name, street direction, +P.O. Box number, delivery hints, and similar address information. + + + + + The name of the city, town, village or other community or delivery center. + + + + + Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (i.e. US 2 letter state codes). + + + + + A postal code designating a region defined by the postal service. + + + + + Country - a nation as commonly understood or generally accepted. + + + + + Time period when address was/is in use. + + + + + + + + + + + A communication address at a home. + + + + + An office address. First choice for business related contacts during business hours. + + + + + A temporary address. The period can provide more detailed information. + + + + + This address is no longer in use (or was never correct, but retained for records). + + + + + + + The use of an address + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + A human's name with the ability to identify parts and usage. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + Identifies the purpose for this name. + + + + + A full text representation of the name. + + + + + The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father. + + + + + Given name. + + + + + Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name. + + + + + Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name. + + + + + Indicates the period of time when this name was valid for the named person. + + + + + + + + + + + Known as/conventional/the one you normally use. + + + + + The formal name as registered in an official (government) registry, but which name might not be commonly used. May be called "legal name". + + + + + A temporary name. Name.period can provide more detailed information. This may also be used for temporary names assigned at birth or in emergency situations. + + + + + A name that is used to address the person in an informal manner, but is not part of their formal or usual name. + + + + + Anonymous assigned name, alias, or pseudonym (used to protect a person's identity for privacy reasons). + + + + + This name is no longer in use (or was never correct, but retained for records). + + + + + A name used prior to marriage. Marriage naming customs vary greatly around the world. This name use is for use by applications that collect and store "maiden" names. Though the concept of maiden name is often gender specific, the use of this term is not gender specific. The use of this term does not imply any particular history for a person's name, nor should the maiden name be determined algorithmically. + + + + + + + The use of a human name + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + Details for All kinds of technology mediated contact points for a person or organization, including telephone, email, etc. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + Telecommunications form for contact point - what communications system is required to make use of the contact. + + + + + The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address). + + + + + Identifies the purpose for the contact point. + + + + + Time period when the contact point was/is in use. + + + + + + + + + + + The value is a telephone number used for voice calls. Use of full international numbers starting with + is recommended to enable automatic dialing support but not required. + + + + + The value is a fax machine. Use of full international numbers starting with + is recommended to enable automatic dialing support but not required. + + + + + The value is an email address. + + + + + The value is a url. This is intended for various personal contacts including blogs, Twitter, Facebook, etc. Do not use for email addresses. + + + + + + + Telecommunications form for contact point + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + A communication contact point at a home; attempted contacts for business purposes might intrude privacy and chances are one will contact family or other household members instead of the person one wishes to call. Typically used with urgent cases, or if no other contacts are available. + + + + + An office contact point. First choice for business related contacts during business hours. + + + + + A temporary contact point. The period can provide more detailed information. + + + + + This contact point is no longer in use (or was never correct, but retained for records). + + + + + A telecommunication device that moves and stays with its owner. May have characteristics of all other use codes, suitable for urgent matters, not the first choice for routine business. + + + + + + + Use of contact point + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + This special resource type is used to represent [operation](operations.html] request and response. It has no other use, and there is no RESTful end=point associated with it. + + + + + + + A parameter passed to or received from the operation. + + + + + + + + + This special resource type is used to represent [operation](operations.html] request and response. It has no other use, and there is no RESTful end=point associated with it. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + The name of the parameter (reference to the operation definition). + + + + + If the parameter is a data type. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + If the parameter is a whole resource. + + + + + A named part of a parameter. In many implementation context, a set of named parts is known as a "Tuple". + + + + + + + + + This special resource type is used to represent [operation](operations.html] request and response. It has no other use, and there is no RESTful end=point associated with it. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + The name of the parameter (reference to the operation definition). + + + + + The value of the parameter. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This special resource type is used to represent [operation](operations.html] request and response. It has no other use, and there is no RESTful end=point associated with it. + + + + + Base Resource for everything. + + + + + The logical id of the resource, as used in the url for the resoure. Once assigned, this value never changes. + + + + + The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource. + + + + + A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. + + + + + The base language in which the resource is written. + + + + + + + Base Resource for everything. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + The version specific identifier, as it appears in the version portion of the url. This values changes when the resource is created, updated, or deleted. + + + + + When the resource last changed - e.g. when the version changed. + + + + + A list of profiles that this resource claims to conform to. The URL is a reference to Profile.url. + + + + + Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure. + + + + + Tags applied to this resource. Tags are intended to to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource. + + + + + + + + + + + + + + + + A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety. + + + + + These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope. + + + + + May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. + + + + + May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. + + + + + + + + + + + This Questionnaire is not ready for official use. + + + + + This Questionnaire is ready for use. + + + + + This Questionnaire should no longer be used to gather data. + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + The specified property of the code equals the provided value. + + + + + The specified property of the code has an is-a relationship with the provided value. + + + + + The specified property of the code does not have an is-a relationship with the provided value. + + + + + The specified property of the code matches the regex specified in the provided value. + + + + + The specified property of the code is in the set of codes or concepts specified in the provided value (comma separated list). + + + + + The specified property of the code is not in the set of codes or concepts specified in the provided value (comma separated list). + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + The value is not known + + + + + The source human does not know the value + + + + + There is reason to expect (from the workflow) that the value may become known + + + + + The workflow didn't lead to this value being known + + + + + The information is not available due to security, privacy or related reasons + + + + + The source system wasn't capable of supporting this element + + + + + The content of the data is represented in the resource narrative + + + + + Some system or workflow process error means that the information is not available + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + This is the current reference for this document. + + + + + This reference has been superseded by another reference. + + + + + This reference was created in error. + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + The processing completed without errors. + + + + + The processing identified with errors. + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + Male + + + + + Female + + + + + Other + + + + + Unknown + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + Boolean true + + + + + Boolean false + + + + + The content is greater than zero, but too small to be quantified + + + + + The specific quantity is not known, but is known to be non-zero and is not specified because it makes up the bulk of the material + + + + + The value is no longer available + + + + + The are no known applicable values in this context + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + Display the note. + + + + + Print the note on the form. + + + + + Print the note for the operator. + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + Search parameter SHALL be a number (a whole number, or a decimal). + + + + + Search parameter is on a date/time. The date format is the standard XML format, though other formats may be supported. + + + + + Search parameter is a simple string, like a name part. Search is case-insensitive and accent-insensitive. May match just the start of a string. String parameters may contain spaces. + + + + + Search parameter on a coded element or identifier. May be used to search through the text, displayname, code and code/codesystem (for codes) and label, system and key (for identifier). Its value is either a string or a pair of namespace and value, separated by a "|", depending on the modifier used. + + + + + A reference to another resource. + + + + + A composite search parameter that combines a search on two values together. + + + + + A search parameter that searches on a quantity. + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + There is a variety of postal address formats defined around the world. This format defines a superset that is the basis for all addresses around the world. + + + + + A duration (length of time) with a UCUM code + + + + + For referring to data content defined in other formats. + + + + + Base definition for all elements that are defined inside a resource - but not those in a data type. + + + + + A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text. + + + + + A reference to a code defined by a terminology system. + + + + + Details for All kinds of technology mediated contact points for a person or organization, including telephone, email, etc. + + + + + A count of a discrete element (no unit) + + + + + A measure of distance + + + + + A length of time + + + + + Base definition for all elements in a resource. + + + + + Captures constraints on each element within the resource, profile, or extension. + + + + + Optional Extensions Element - found in all resources. + + + + + A human's name with the ability to identify parts and usage. + + + + + A technical identifier - identifies some entity uniquely and unambiguously. + + + + + An amount of money. With regard to precision, see [[X]] + + + + + A human-readable formatted text, including images. + + + + + A time period defined by a start and end date and optionally time. + + + + + 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. + + + + + A set of ordered Quantities defined by a low and high limit. + + + + + A relationship of two Quantity values - expressed as a numerator and a denominator. + + + + + A reference from one resource to another. + + + + + A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data. + + + + + Specifies an event that may occur multiple times. Timing schedules are used for to record when things are expected or requested to occur. + + + + + A stream of bytes + + + + + Value of "true" or "false" + + + + + A string which has at least one character and no leading or trailing whitespace and where there is no whitespace other than single spaces in the contents + + + + + A date, or partial date (e.g. just year or year + month). There is no time zone. The format is a union of the schema types gYear, gYearMonth and date. Dates SHALL be valid dates. + + + + + A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds may be provided but may also be ignored. Dates SHALL be valid dates. + + + + + A rational number with implicit precision + + + + + Any combination of lowercase letters, numerals, "-" and ".", with a length limit of 36 characters. (This might be an integer, an unprefixed OID, UUID or any other identifier pattern that meets these constraints.) Systems SHALL send ids as lower-case but SHOULD interpret them case-insensitively. + + + + + An instant in time - known at least to the second + + + + + A whole number + + + + + An oid represented as a URI + + + + + A sequence of Unicode characters + + + + + A time during the day, with no date specified + + + + + String of characters used to identify a name or a resource + + + + + A UUID, represented as a URI + + + + + Prospective warnings of potential issues when providing care to the patient. + + + + + Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance. + + + + + A scheduled healthcare event for a patient and/or practitioner(s) where a service may take place at a specific date/time. + + + + + A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection. + + + + + Basic is used for handling concepts not yet defined in FHIR, narrative-only resources that don't map to an existing resource, and custom resources not appropriate for inclusion in the FHIR specification. + + + + + A binary resource can contain any content, whether text, image, pdf, zip archive, etc. + + + + + A container for a group of resources. + + + + + Describes the intention of how one or more practitioners intend to deliver care for a particular patient for a period of time, possibly limited to care for a specific condition or set of conditions. + + + + + Describes the intention of how one or more practitioners intend to deliver care for a particular patient for a period of time, possibly limited to care for a specific condition or set of conditions. + + + + + This resource provides the adjudication details from the processing of a Claim resource. + + + + + A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. + + + + + An occurrence of information being transmitted. E.g., an alert that was sent to a responsible provider, a public health agency was notified about a reportable condition. + + + + + A request to convey information. E.g., the CDS system proposes that an alert be sent to a responsible provider, the CDS system proposes that the public health agency be notified about a reportable condition. + + + + + A set of healthcare-related information that is assembled together into a single logical document that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. + + + + + A statement of relationships from one set of concepts to one or more other concepts - either code systems or data elements, or classes in class models. + + + + + Use to record detailed information about conditions, problems or diagnoses recognized by a clinician. There are many uses including: recording a Diagnosis during an Encounter; populating a problem List or a Summary Statement, such as a Discharge Summary. + + + + + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + + + + + A formal agreement between parties regarding the conduct of business, exchange of information or other matters. + + + + + Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient. E.g. Drug-drug interaction, Ineffective treatment frequency, Procedure-condition conflict, etc. + + + + + Financial instrument which may be used to pay for or reimburse for health care products and services. + + + + + The formal description of a single piece of information that can be gathered and reported. + + + + + This resource identifies an instance of a manufactured thing that is used in the provision of healthcare without being substantially changed through that activity. The device may be a machine, an insert, a computer, an application, etc. This includes durable (reusable) medical equipment as well as disposable equipment used for diagnostic, treatment, and research for healthcare and public health. + + + + + Describes the characteristics, operational status and capabilities of a medical-related component of a medical device. + + + + + Describes a measurement, calculation or setting capability of a medical device. + + + + + Represents a request for the use of a device. + + + + + A record of a device being used by a patient where the record is the result of a report from the patient or another clinician. + + + + + A request for a diagnostic investigation service to be performed. + + + + + The findings and interpretation of diagnostic tests performed on patients, groups of patients, devices, and locations, and/or specimens derived from these. The report includes clinical context such as requesting and provider information, and some mix of atomic results, images, textual and coded interpretation, and formatted representation of diagnostic reports. + + + + + A manifest that defines a set of documents. + + + + + A reference to a document. + + + + + This resource provides the insurance eligibility details from the insurer regarding a specified coverage and optionally some class of service. + + + + + This resource provides eligibility and plan details from the processing of an Eligibility resource. + + + + + An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient. + + + + + This resource provides the insurance Enrollment details to the insurer regarding a specified coverage. + + + + + This resource provides Enrollment and plan details from the processing of an Enrollment resource. + + + + + An association between a patient and an organization / healthcare provider(s) during which time encounters may occur. The managing organization assumes a level of responsibility for the patient during this time. + + + + + This resource provides: the claim details; adjudication details from the processing of a Claim; and optionally account balance information, for informing the subscriber of the benefits provided. + + + + + Defines an extension that can be used in resources. + + + + + Significant health events and conditions for people related to the subject relevant in the context of care for the subject. + + + + + Describes the intended objective(s) of the care. + + + + + Represents a defined collection of entities that may be discussed or acted upon collectively but which are not expected to act collectively and are not formally or legally recognized. I.e. A collection of entities that isn't an Organization. + + + + + The details of a Healthcare Service available at a location. + + + + + A set of DICOM SOP Instances of a patient, selected for some application purpose, e.g., quality assurance, teaching, conference, consulting, etc. Objects selected can be from different studies, but must be of the same patient. + + + + + Representation of the content produced in a DICOM imaging study. A study comprises a set of Series, each of which includes a set of Service-Object Pair Instances (SOP Instances - images or other data) acquired or produced in a common context. A Series is of only one modality (e.g., X-ray, CT, MR, ultrasound), but a Study may have multiple Series of different modalities. + + + + + Immunization event information. + + + + + A patient's point-of-time immunization status and recommendation with optional supporting justification. + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + A set of information summarized from a list of other resources. + + + + + Details and position information for a physical place where services are provided and resources and participants may be stored, found, contained or accommodated. + + + + + A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference. + + + + + Primarily used for identification and definition of Medication, but also covers ingredients and packaging. + + + + + Describes the event of a patient being given a dose of a medication. This may be as simple as swallowing a tablet or it may be a long running infusion. + +Related resources tie this event to the authorizing prescription, and the specific encounter between patient and health care practitioner. + + + + + Dispensing a medication to a named patient. This includes a description of the supply provided and the instructions for administering the medication. + + + + + An order for both supply of the medication and the instructions for administration of the medicine to a patient. + + + + + A record of medication being taken by a patient, or that the medication has been given to a patient where the record is the result of a report from the patient or another clinician. + + + + + The header for a message exchange that is either requesting or responding to an action. The Reference(s) that are the subject of the action as well as other Information related to the action are typically transmitted in a bundle in which the MessageHeader resource instance is the first resource in the bundle. + + + + + A curated namespace that issues unique symbols within that namespace for the identification of concepts, people, devices, etc. Represents a "System" used within the Identifier and Coding data types. + + + + + A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. + + + + + Measurements and simple assertions made about a patient, device or other subject. + + + + + A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction). + + + + + A collection of error, warning or information messages that result from a system action. + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + A request to perform an action. + + + + + A response to an order. + + + + + A formally or informally recognized grouping of people or organizations formed for the purpose of achieving some form of collective action. Includes companies, institutions, corporations, departments, community groups, healthcare practice groups, etc. + + + + + Other is a conformant for handling resource concepts not yet defined for FHIR or outside HL7's scope of interest. + + + + + Demographics and other administrative information about a person or animal receiving care or other health-related services. + + + + + This resource provides the status of the payment for goods and services rendered, and the request and response resource references. + + + + + This resource provides payment details and claim references supporting a bulk payment. + + + + + This resource provides the request and response details for the resource for which the status is to be checked. + + + + + Demographics and administrative information about a person independent of a specific health-related context. + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + A person who is directly or indirectly involved in the provisioning of healthcare. + + + + + An action that is performed on a patient. This can be a physical 'thing' like an operation, or less invasive like counseling or hypnotherapy. + + + + + A request for a procedure to be performed. May be a proposal or an order. + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + A Resource Profile - a statement of use of one or more FHIR Resources. It may include constraints on Resources and Data Types, Terminology Binding Statements and Extension Definitions. + + + + + Provenance information that describes the activity that led to the creation of a set of resources. This information can be used to help determine their reliability or trace where the information in them came from. The focus of the provenance resource is record keeping, audit and traceability, and not explicit statements of clinical significance. + + + + + A structured set of questions intended to guide the collection of answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. + + + + + A structured set of questions and their answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. + + + + + This resource provides the request and line items details for the claim which is to be re-adjudicated. + + + + + Used to record and send details about a request for referral service or transfer of a patient to the care of another provider or provider organisation. + + + + + Information about a person that is involved in the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process. + + + + + This resource provides the request and response details for the request for which all actions are to be reversed or terminated. + + + + + An assessment of the likely outcome(s) for a patient or other subject as well as the likelihood of each outcome. + + + + + A container for slot(s) of time that may be available for booking appointments. + + + + + A Search Parameter that defines a named search item that can be used to search/filter on a resource. + + + + + A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. + + + + + A slot of time on a schedule that may be available for booking appointments. + + + + + Sample for analysis. + + + + + This resource provides the request and response details for the resource for which the processing status is to be checked. + + + + + This resource provides processing status, errors and notes from the processing of a resource. + + + + + Todo. + + + + + A homogeneous material with a definite composition. + + + + + A supply - a request for something, and provision of what is supplied. + + + + + This resource provides the supporting information for a process, for example clinical or financial information related to a claim or pre-authorization. + + + + + A value set specifies a set of codes drawn from one or more code systems. + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + An authorization for the supply of glasses and/or contact lenses to a patient. + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + An encounter during which the patient is hospitalized and stays overnight. + + + + + An encounter during which the patient is not hospitalized overnight. + + + + + An encounter where the patient visits the practitioner in his/her office, e.g. a G.P. visit. + + + + + An encounter where the patient needs urgent care. + + + + + An encounter where the practitioner visits the patient at his/her home. + + + + + An encounter taking place outside the regular environment for giving care. + + + + + An encounter where the patient needs more prolonged treatment or investigations than outpatients, but who do not need to stay in the hospital overnight. + + + + + An encounter that takes place where the patient and practitioner do not physically meet but use electronic means for contact. + + + + + Any other encounter type that is not described by one of the other values. Where this is used it is expected that an implementer will include an extension value to define what the actual other type is. + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + There is a variety of postal address formats defined around the world. This format defines a superset that is the basis for all addresses around the world. + + + + + A duration (length of time) with a UCUM code + + + + + For referring to data content defined in other formats. + + + + + Base definition for all elements that are defined inside a resource - but not those in a data type. + + + + + A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text. + + + + + A reference to a code defined by a terminology system. + + + + + Details for All kinds of technology mediated contact points for a person or organization, including telephone, email, etc. + + + + + A count of a discrete element (no unit) + + + + + A measure of distance + + + + + A length of time + + + + + Base definition for all elements in a resource. + + + + + Captures constraints on each element within the resource, profile, or extension. + + + + + Optional Extensions Element - found in all resources. + + + + + A human's name with the ability to identify parts and usage. + + + + + A technical identifier - identifies some entity uniquely and unambiguously. + + + + + An amount of money. With regard to precision, see [[X]] + + + + + A human-readable formatted text, including images. + + + + + A time period defined by a start and end date and optionally time. + + + + + 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. + + + + + A set of ordered Quantities defined by a low and high limit. + + + + + A relationship of two Quantity values - expressed as a numerator and a denominator. + + + + + A reference from one resource to another. + + + + + A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data. + + + + + Specifies an event that may occur multiple times. Timing schedules are used for to record when things are expected or requested to occur. + + + + + A stream of bytes + + + + + Value of "true" or "false" + + + + + A string which has at least one character and no leading or trailing whitespace and where there is no whitespace other than single spaces in the contents + + + + + A date, or partial date (e.g. just year or year + month). There is no time zone. The format is a union of the schema types gYear, gYearMonth and date. Dates SHALL be valid dates. + + + + + A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds may be provided but may also be ignored. Dates SHALL be valid dates. + + + + + A rational number with implicit precision + + + + + Any combination of lowercase letters, numerals, "-" and ".", with a length limit of 36 characters. (This might be an integer, an unprefixed OID, UUID or any other identifier pattern that meets these constraints.) Systems SHALL send ids as lower-case but SHOULD interpret them case-insensitively. + + + + + An instant in time - known at least to the second + + + + + A whole number + + + + + An oid represented as a URI + + + + + A sequence of Unicode characters + + + + + A time during the day, with no date specified + + + + + String of characters used to identify a name or a resource + + + + + A UUID, represented as a URI + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + This profile is still under development. + + + + + This profile is ready for normal use. + + + + + This profile has been deprecated, withdrawn or superseded and should no longer be used. + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + The Encounter has not yet started. + + + + + The Patient is present for the encounter, however is not currently meeting with a practitioner. + + + + + The Encounter has begun and the patient is present / the practitioner and the patient are meeting. + + + + + The Encounter has begun, but the patient is temporarily on leave. + + + + + The Encounter has ended. + + + + + The Encounter has ended before it has begun. + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + The person authenticated the content in their personal capacity. + + + + + The person authenticated the content in their professional capacity. + + + + + The person authenticated the content and accepted legal responsibility for its content. + + + + + The organization authenticated the content as consistent with their policies and procedures. + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + The treatment is complete and this represents a Claim for the services. + + + + + The treatment is proposed and this represents a Pre-authorization for the services. + + + + + The treatment is proposed and this represents a Pre-determination for the services. + + + + + A locally defined or otherwise resolved status. + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + Prospective warnings of potential issues when providing care to the patient. + + + + + Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance. + + + + + A scheduled healthcare event for a patient and/or practitioner(s) where a service may take place at a specific date/time. + + + + + A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection. + + + + + Basic is used for handling concepts not yet defined in FHIR, narrative-only resources that don't map to an existing resource, and custom resources not appropriate for inclusion in the FHIR specification. + + + + + A binary resource can contain any content, whether text, image, pdf, zip archive, etc. + + + + + A container for a group of resources. + + + + + Describes the intention of how one or more practitioners intend to deliver care for a particular patient for a period of time, possibly limited to care for a specific condition or set of conditions. + + + + + Describes the intention of how one or more practitioners intend to deliver care for a particular patient for a period of time, possibly limited to care for a specific condition or set of conditions. + + + + + This resource provides the adjudication details from the processing of a Claim resource. + + + + + A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. + + + + + An occurrence of information being transmitted. E.g., an alert that was sent to a responsible provider, a public health agency was notified about a reportable condition. + + + + + A request to convey information. E.g., the CDS system proposes that an alert be sent to a responsible provider, the CDS system proposes that the public health agency be notified about a reportable condition. + + + + + A set of healthcare-related information that is assembled together into a single logical document that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. + + + + + A statement of relationships from one set of concepts to one or more other concepts - either code systems or data elements, or classes in class models. + + + + + Use to record detailed information about conditions, problems or diagnoses recognized by a clinician. There are many uses including: recording a Diagnosis during an Encounter; populating a problem List or a Summary Statement, such as a Discharge Summary. + + + + + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + + + + + A formal agreement between parties regarding the conduct of business, exchange of information or other matters. + + + + + Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient. E.g. Drug-drug interaction, Ineffective treatment frequency, Procedure-condition conflict, etc. + + + + + Financial instrument which may be used to pay for or reimburse for health care products and services. + + + + + The formal description of a single piece of information that can be gathered and reported. + + + + + This resource identifies an instance of a manufactured thing that is used in the provision of healthcare without being substantially changed through that activity. The device may be a machine, an insert, a computer, an application, etc. This includes durable (reusable) medical equipment as well as disposable equipment used for diagnostic, treatment, and research for healthcare and public health. + + + + + Describes the characteristics, operational status and capabilities of a medical-related component of a medical device. + + + + + Describes a measurement, calculation or setting capability of a medical device. + + + + + Represents a request for the use of a device. + + + + + A record of a device being used by a patient where the record is the result of a report from the patient or another clinician. + + + + + A request for a diagnostic investigation service to be performed. + + + + + The findings and interpretation of diagnostic tests performed on patients, groups of patients, devices, and locations, and/or specimens derived from these. The report includes clinical context such as requesting and provider information, and some mix of atomic results, images, textual and coded interpretation, and formatted representation of diagnostic reports. + + + + + A manifest that defines a set of documents. + + + + + A reference to a document. + + + + + This resource provides the insurance eligibility details from the insurer regarding a specified coverage and optionally some class of service. + + + + + This resource provides eligibility and plan details from the processing of an Eligibility resource. + + + + + An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient. + + + + + This resource provides the insurance Enrollment details to the insurer regarding a specified coverage. + + + + + This resource provides Enrollment and plan details from the processing of an Enrollment resource. + + + + + An association between a patient and an organization / healthcare provider(s) during which time encounters may occur. The managing organization assumes a level of responsibility for the patient during this time. + + + + + This resource provides: the claim details; adjudication details from the processing of a Claim; and optionally account balance information, for informing the subscriber of the benefits provided. + + + + + Defines an extension that can be used in resources. + + + + + Significant health events and conditions for people related to the subject relevant in the context of care for the subject. + + + + + Describes the intended objective(s) of the care. + + + + + Represents a defined collection of entities that may be discussed or acted upon collectively but which are not expected to act collectively and are not formally or legally recognized. I.e. A collection of entities that isn't an Organization. + + + + + The details of a Healthcare Service available at a location. + + + + + A set of DICOM SOP Instances of a patient, selected for some application purpose, e.g., quality assurance, teaching, conference, consulting, etc. Objects selected can be from different studies, but must be of the same patient. + + + + + Representation of the content produced in a DICOM imaging study. A study comprises a set of Series, each of which includes a set of Service-Object Pair Instances (SOP Instances - images or other data) acquired or produced in a common context. A Series is of only one modality (e.g., X-ray, CT, MR, ultrasound), but a Study may have multiple Series of different modalities. + + + + + Immunization event information. + + + + + A patient's point-of-time immunization status and recommendation with optional supporting justification. + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + A set of information summarized from a list of other resources. + + + + + Details and position information for a physical place where services are provided and resources and participants may be stored, found, contained or accommodated. + + + + + A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference. + + + + + Primarily used for identification and definition of Medication, but also covers ingredients and packaging. + + + + + Describes the event of a patient being given a dose of a medication. This may be as simple as swallowing a tablet or it may be a long running infusion. + +Related resources tie this event to the authorizing prescription, and the specific encounter between patient and health care practitioner. + + + + + Dispensing a medication to a named patient. This includes a description of the supply provided and the instructions for administering the medication. + + + + + An order for both supply of the medication and the instructions for administration of the medicine to a patient. + + + + + A record of medication being taken by a patient, or that the medication has been given to a patient where the record is the result of a report from the patient or another clinician. + + + + + The header for a message exchange that is either requesting or responding to an action. The Reference(s) that are the subject of the action as well as other Information related to the action are typically transmitted in a bundle in which the MessageHeader resource instance is the first resource in the bundle. + + + + + A curated namespace that issues unique symbols within that namespace for the identification of concepts, people, devices, etc. Represents a "System" used within the Identifier and Coding data types. + + + + + A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. + + + + + Measurements and simple assertions made about a patient, device or other subject. + + + + + A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction). + + + + + A collection of error, warning or information messages that result from a system action. + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + A request to perform an action. + + + + + A response to an order. + + + + + A formally or informally recognized grouping of people or organizations formed for the purpose of achieving some form of collective action. Includes companies, institutions, corporations, departments, community groups, healthcare practice groups, etc. + + + + + Other is a conformant for handling resource concepts not yet defined for FHIR or outside HL7's scope of interest. + + + + + Demographics and other administrative information about a person or animal receiving care or other health-related services. + + + + + This resource provides the status of the payment for goods and services rendered, and the request and response resource references. + + + + + This resource provides payment details and claim references supporting a bulk payment. + + + + + This resource provides the request and response details for the resource for which the status is to be checked. + + + + + Demographics and administrative information about a person independent of a specific health-related context. + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + A person who is directly or indirectly involved in the provisioning of healthcare. + + + + + An action that is performed on a patient. This can be a physical 'thing' like an operation, or less invasive like counseling or hypnotherapy. + + + + + A request for a procedure to be performed. May be a proposal or an order. + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + A Resource Profile - a statement of use of one or more FHIR Resources. It may include constraints on Resources and Data Types, Terminology Binding Statements and Extension Definitions. + + + + + Provenance information that describes the activity that led to the creation of a set of resources. This information can be used to help determine their reliability or trace where the information in them came from. The focus of the provenance resource is record keeping, audit and traceability, and not explicit statements of clinical significance. + + + + + A structured set of questions intended to guide the collection of answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. + + + + + A structured set of questions and their answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. + + + + + This resource provides the request and line items details for the claim which is to be re-adjudicated. + + + + + Used to record and send details about a request for referral service or transfer of a patient to the care of another provider or provider organisation. + + + + + Information about a person that is involved in the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process. + + + + + This resource provides the request and response details for the request for which all actions are to be reversed or terminated. + + + + + An assessment of the likely outcome(s) for a patient or other subject as well as the likelihood of each outcome. + + + + + A container for slot(s) of time that may be available for booking appointments. + + + + + A Search Parameter that defines a named search item that can be used to search/filter on a resource. + + + + + A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. + + + + + A slot of time on a schedule that may be available for booking appointments. + + + + + Sample for analysis. + + + + + This resource provides the request and response details for the resource for which the processing status is to be checked. + + + + + This resource provides processing status, errors and notes from the processing of a resource. + + + + + Todo. + + + + + A homogeneous material with a definite composition. + + + + + A supply - a request for something, and provision of what is supplied. + + + + + This resource provides the supporting information for a process, for example clinical or financial information related to a claim or pre-authorization. + + + + + A value set specifies a set of codes drawn from one or more code systems. + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + An authorization for the supply of glasses and/or contact lenses to a patient. + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + This is a preliminary composition or document (also known as initial or interim). The content may be incomplete or unverified. + + + + + The composition or document is complete and verified by an appropriate person, and no further work is planned. + + + + + The composition or document has been modified subsequent to being released as "final", and is complete and verified by an authorized person. The modifications added new information to the composition or document, but did not revise existing content. + + + + + The composition or document has been modified subsequent to being released as "final", and is complete and verified by an authorized person. + + + + + The composition or document was originally created/issued in error, and this is an amendment that marks that the entire series should not be considered as valid. + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + Change the status of a Medication Administration to show that it is complete. + + + + + Someone wishes to record that the record of administration of a medication is in error and should be ignored. + + + + + Indicates that a medication has been recorded against the patient's record. + + + + + Update a Medication Administration record. + + + + + Notification of a change to an administrative resource (either create or update). Note that there is no delete, though some administrative resources have status or period elements for this use. + + + + + Translate a code from one value set to another, based on the existing value set and concept maps resources, and/or other additional knowledge available to the server. The coded value is carried as an extension in the message header. The outcome is an operationOutcome with hints, warnings, or errors, or the translated code in an extension. + + + + + Provide a diagnostic report, or update a previously provided diagnostic report. + + + + + Provide a simple observation or update a previously provided simple observation. + + + + + Notification that two patient records actually identify the same patient. + + + + + Notification that previous advice that two patient records concern the same patient is now considered incorrect. + + + + + The definition of a value set is used to create a simple collection of codes suitable for use for data entry or validation. An expanded value set will be returned, or an error message. + + + + + Validate that a coded value is in the set of codes allowed by a value set. The coded value is carried as an extension in the message header. The outcome is an OperationOutcome with hints, warnings, or errors. + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + This valueset is still under development. + + + + + This valueset is ready for normal use. + + + + + This valueset has been withdrawn or superceded and should no longer be used. + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + Prospective warnings of potential issues when providing care to the patient. + + + + + Prospective warnings of potential issues when providing care to the patient. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Identifier assigned to the alert for external use (outside the FHIR environment). + + + + + Allows an alert to be divided into different categories like clinical, administrative etc. + + + + + Supports basic workflow. + + + + + The person who this alert concerns. + + + + + The person or device that created the alert. + + + + + The textual component of the alert to display to the user. + + + + + + + + + + + A current alert that should be displayed to a user. A system may use the category to determine which roles should view the alert. + + + + + The alert does not need to be displayed any more. + + + + + The alert was added in error, and should no longer be displayed. + + + + + + + Indicates whether this alert is active and needs to be displayed to a user, or whether it is no longer needed or entered in error + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance. + + + + + Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + This records identifiers associated with this allergy/intolerance concern that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). + + + + + Date when the sensitivity was recorded. + + + + + Indicates who has responsibility for the record. + + + + + The patient who has the allergy or intolerance. + + + + + Identification of a substance, or a class of substances, that is considered to be responsible for the Adverse reaction risk. + + + + + Assertion about certainty associated with the propensity, or potential risk, of a reaction to the identified Substance. + + + + + Estimate of the potential clinical harm, or seriousness, of the reaction to the identified Substance. + + + + + Identification of the underlying physiological mechanism for the Reaction Risk. + + + + + Category of the identified Substance. + + + + + Represents the date and/or time of the last known occurence of a reaction event. + + + + + Additional narrative about the propensity for the Adverse Reaction, not captured in other fields. + + + + + Details about each Adverse Reaction Event linked to exposure to the identified Substance. + + + + + + + + + Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance. + + + + + + + Identification of the specific substance considered to be responsible for the Adverse Reaction event. Note: the substance for a specific reaction may be different to the substance identified as the cause of the risk, but must be consistent with it. For instance, it may be a more specific substance (e.g. a brand medication) or a composite substance that includes the identified substance. It must be clinically safe to only process the AllergyIntolerance.substance and ignore the AllergyIntolerance.event.substance. + + + + + Statement about the degree of clinical certainty that the Specific Substance was the cause of the Manifestation in this reaction event. + + + + + Clinical symptoms and/or signs that are observed or associated with the Adverse Reaction Event. + + + + + Text description about the Reaction as a whole, including details of the manifestation if required. + + + + + Record of the date and/or time of the onset of the Reaction. + + + + + The amount of time that the Adverse Reaction persisted. + + + + + Clinical assessment of the severity of the reaction event as a whole, potentially considering multiple different manifestations. + + + + + Identification of the route by which the subject was exposed to the substance. + + + + + Additional text about the Adverse Reaction event not captured in other fields. + + + + + + + + + + + There is a low level of clinical certainty that the reaction was caused by the identified Substance. + + + + + There is a high level of clinical certainty that the reaction was caused by the identified Substance. + + + + + There is a very high level of clinical certainty that the reaction was due to the identified Substance, which may include clinical evidence by testing or rechallenge. + + + + + + + Statement about the degree of clinical certainty that a Specific Substance was the cause of the Manifestation in an reaction event + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + Immune mediated reaction, including allergic reactions and hypersensitivities. + + + + + A non-immune mediated reaction, which can include pseudoallergic reactions, side effects, intolerances, drug toxicities (eg to Gentamicin), drug-drug interactions, food-drug interactions, and drug-disease interactions. + + + + + + + Identification of the underlying physiological mechanism for a Reaction Risk + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + Causes mild physiological effects. + + + + + Causes moderate physiological effects. + + + + + Causes severe physiological effects. + + + + + + + Clinical assessment of the severity of a reaction event as a whole, potentially considering multiple different manifestations + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + The potential clinical impact of a future reaction is estimated as low risk: exposure to substance is unlikely to result in a life threatening or organ system threatening outcome. Future exposure to the Substance is considered a relative contra-indication. + + + + + The potential clinical impact of a future reaction is estimated as high risk: exposure to substance may result in a life threatening or organ system threatening outcome. Future exposure to the Substance may be considered an absolute contra-indication. + + + + + Unable to assess the potential clinical impact with the information available. + + + + + + + Estimate of the potential clinical harm, or seriousness, of a reaction to an identified Substance + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + Any substance consumed to provide nutritional support for the body. + + + + + Substances administered to achieve a physiological effect. + + + + + Substances that are encountered in the environment. + + + + + + + Category of an identified Substance + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + A low level of certainty about the propensity for a reaction to the identified Substance. + + + + + A high level of certainty about the propensity for a reaction to the identified Substance, which may include clinical evidence by testing or rechallenge. + + + + + A reaction to the identified Substance has been clinically reassessed by testing or rechallenge and considered to be resolved. + + + + + A propensity for a reaction to the identified Substance has been disproven with a high level of clinical certainty, which may include testing or rechallenge, and is refuted. + + + + + + + Assertion about certainty associated with a propensity, or potential risk, of a reaction to the identified Substance + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + A scheduled healthcare event for a patient and/or practitioner(s) where a service may take place at a specific date/time. + + + + + A scheduled healthcare event for a patient and/or practitioner(s) where a service may take place at a specific date/time. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + This records identifiers associated with this appointment concern that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). + + + + + The priority of the appointment. Can be used to make informed decisions if needing to re-prioritize appointments. (The iCal Standard specifies 0 as undefined, 1 as highest, 9 as lowest priority) (Need to change back to CodeableConcept). + + + + + The overall status of the Appointment. Each of the participants has their own participation status which indicates their involvement in the process, however this status indicates the shared status. + + + + + The type of appointments that is being booked (ideally this would be an identifiable service - which is at a location, rather than the location itself). + + + + + The reason that this appointment is being scheduled, this is more clinical than administrative. + + + + + The brief description of the appointment as would be shown on a subject line in a meeting request, or appointment list. Detailed or expanded information should be put in the comment field. + + + + + Date/Time that the appointment is to take place. + + + + + Date/Time that the appointment is to conclude. + + + + + The slot that this appointment is filling. If provided then the schedule will not be provided as slots are not recursive, and the start/end values MUST be the same as from the slot. + + + + + The primary location that this appointment is to take place. + + + + + Additional comments about the appointment. + + + + + An Order that lead to the creation of this appointment. + + + + + List of participants involved in the appointment. + + + + + Who recorded the appointment. + + + + + Date when the appointment was recorded. + + + + + + + + + A scheduled healthcare event for a patient and/or practitioner(s) where a service may take place at a specific date/time. + + + + + + + Role of participant in the appointment. + + + + + A Person of device that is participating in the appointment, usually Practitioner, Patient, RelatedPerson or Device. + + + + + Is this participant required to be present at the meeting. This covers a use-case where 2 doctors need to meet to discuss the results for a specific patient, and the patient is not required to be present. + + + + + Participation status of the Patient. + + + + + + + + + + + The participant is required to attend the appointment. + + + + + The participant may optionally attend the appointment. + + + + + The participant is not required to attend the appointment (appointment is about them, not for them). + + + + + + + Is the Participant required to attend the appointment + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + Some or all of the participant(s) have not finalized their acceptance of the appointment request. + + + + + All participant(s) have been considered and the appointment is condirmed to go ahead at the date/times specified. + + + + + Some of the patients have arrived. + + + + + This appointment has completed and may have resulted in an encounter. + + + + + The appointment has been cancelled. + + + + + Some or all of the participant(s) have not/did not appear for the appointment (usually the patient). + + + + + + + The free/busy status of an appointment + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + The participant has accepted the appointment. + + + + + The participant has declined the appointment and will not participate in the appointment. + + + + + The participant has tentatively accepted the appointment. This could be automatically created by a system and requires further processing before it can be accepted. There is no commitment that attendance will occur. + + + + + The participant has started the appointment. + + + + + The participant's involvement in the appointment has been completed. + + + + + The participant needs to indicate if they accept the appointment by changing this status to one of the other statuses. + + + + + + + The Participation status of an appointment + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection. + + + + + A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + This records identifiers associated with this appointment concern that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). + + + + + Parent appointment that this response is replying to. + + + + + Role of participant in the appointment. + + + + + A Person of device that is participating in the appointment, usually Practitioner, Patient, RelatedPerson or Device. + + + + + Participation status of the Patient. + + + + + Additional comments about the appointment. + + + + + Date/Time that the appointment is to take place. + + + + + Date/Time that the appointment is to conclude. + + + + + Who recorded the appointment response. + + + + + Date when the response was recorded or last updated. + + + + + + + + + + + The appointment participant has accepted that they can attend the appointment at the time specified in the AppointmentResponse. + + + + + The appointment participant has declined the appointment. + + + + + The appointment participant has tentatively accepted the appointment. + + + + + The participant has in-process the appointment. + + + + + The participant has completed the appointment. + + + + + This is the intitial status of an appointment participant until a participant has replied. It implies that there is no commitment for the appointment. + + + + + + + The Participation status of an appointment + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + Basic is used for handling concepts not yet defined in FHIR, narrative-only resources that don't map to an existing resource, and custom resources not appropriate for inclusion in the FHIR specification. + + + + + Basic is used for handling concepts not yet defined in FHIR, narrative-only resources that don't map to an existing resource, and custom resources not appropriate for inclusion in the FHIR specification. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Identifier assigned to the resource for business purposes, outside the context of FHIR. + + + + + Identifies the 'type' of resource - equivalent to the resource name for other resources. + + + + + Identifies the patient, practitioner, device or any other resource that is the "focus" of this resoruce. + + + + + Indicates who was responsible for creating the resource instance. + + + + + Identifies when the resource was first created. + + + + + + + + + A binary resource can contain any content, whether text, image, pdf, zip archive, etc. + + + + + A binary resource can contain any content, whether text, image, pdf, zip archive, etc. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + MimeType of the binary content represented as a standard MimeType (BCP 13). + + + + + The actual content, base64 encoded. + + + + + + + + + A container for a group of resources. + + + + + A container for a group of resources. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Indicates the purpose of this bundle- how it was intended to be used. + + + + + The base URL for the service that provided these resources. All relative URLs are relative to this one (equivalent to xml:base). + + + + + If a set of search matches, this is the total number of matches for the search (as opposed to the number of results in this bundle). + + + + + A series of links that provide context to this bundle. + + + + + An entry in a bundle resource - will either contain a resource, or a deleted entry (transaction and history bundles only). + + + + + XML Digital Signature - base64 encoded. + + + + + + + + + A container for a group of resources. + + + + + + + A name which details the functional use for this link - see [[http://www.iana.org/assignments/link-relations/link-relations.xhtml]]. + + + + + The reference details for the link. + + + + + + + + + A container for a group of resources. + + + + + + + The Base URL for the resource, if different to the base URL specified for the bundle as a whole. + + + + + The status of a resource in the bundle. Used for search (to differentiate between resources included as a match, and resources included as an _include), for history (deleted resources), and for transactions (create/update/delete). + + + + + Search URL for this resource when processing a transaction (see transaction documentation). + + + + + When searching, the server's search ranking score for the entry. + + + + + If this is an entry that represents a deleted resource. Only used when the bundle is a transaction or a history type. See RESTful API documentation for further information. + + + + + The Resources for the entry. + + + + + + + + + A container for a group of resources. + + + + + + + The type of resource that was deleted (required to construct the identity). + + + + + The id of the resource that was deleted. + + + + + Version id for releted resource. + + + + + The date/time that the resource was deleted. + + + + + + + + + + + Transaction: perform a create operation on this resource. + + + + + Transaction: perform an update operation on this resource. + + + + + Transaction: look for this resource using the search url provided. If there's no match, create it. Search: this resource is returned because it matches the search criteria. + + + + + Search: this resource is returned because it meets an _include criteria. + + + + + + + The status of a resource in the bundle. Used for search (to differentiate between resources included as a match, and resources included as an _include), and for transactions (create/update/delete) + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + The bundle is a document. The first resource is a Composition. + + + + + The bundle is a message. The first resource is a MessageHeader. + + + + + The bundle is a transaction - intended to be processed by a server as an atomic commit. + + + + + The bundle is a transaction response. + + + + + The bundle is a list of resources from a _history interaction on a server. + + + + + The bundle is a list of resources returned as a result of a search/query interaction, operation, or message. + + + + + The bundle is a set of resources collected into a single document for ease of distribution. + + + + + + + Indicates the purpose of a bundle- how it was intended to be used + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + Describes the intention of how one or more practitioners intend to deliver care for a particular patient for a period of time, possibly limited to care for a specific condition or set of conditions. + + + + + Describes the intention of how one or more practitioners intend to deliver care for a particular patient for a period of time, possibly limited to care for a specific condition or set of conditions. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + This records identifiers associated with this care plan that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). + + + + + Identifies the patient/subject whose intended care is described by the plan. + + + + + Indicates whether the plan is currently being acted upon, represents future intentions or is now just historical record. + + + + + Indicates when the plan did (or is intended to) come into effect and end. + + + + + Identifies the most recent date on which the plan has been revised. + + + + + Identifies the conditions/problems/concerns/diagnoses/etc. whose management and/or mitigation are handled by this plan. + + + + + Identifies all people and organizations who are expected to be involved in the care envisioned by this plan. + + + + + Describes the intended objective(s) of carrying out the Care Plan. + + + + + Identifies a planned action to occur as part of the plan. For example, a medication to be used, lab tests to perform, self-monitoring, education, etc. + + + + + General notes about the care plan not covered elsewhere. + + + + + + + + + Describes the intention of how one or more practitioners intend to deliver care for a particular patient for a period of time, possibly limited to care for a specific condition or set of conditions. + + + + + + + Indicates specific responsibility of an individual within the care plan. E.g. "Primary physician", "Team coordinator", "Caregiver", etc. + + + + + The specific person or organization who is participating/expected to participate in the care plan. + + + + + + + + + Describes the intention of how one or more practitioners intend to deliver care for a particular patient for a period of time, possibly limited to care for a specific condition or set of conditions. + + + + + + + Human-readable description of a specific desired objective of the care plan. + + + + + Indicates whether the goal has been reached and is still considered relevant. + + + + + Any comments related to the goal. + + + + + The identified conditions that this goal relates to - the condition that caused it to be created, or that it is intended to address. + + + + + + + + + Describes the intention of how one or more practitioners intend to deliver care for a particular patient for a period of time, possibly limited to care for a specific condition or set of conditions. + + + + + + + Internal reference that identifies the goals that this activity is intended to contribute towards meeting. + + + + + Identifies what progress is being made for the specific activity. + + + + + If true, indicates that the described activity is one that must NOT be engaged in when following the plan. + + + + + Resources that describe follow-on actions resulting from the plan, such as drug prescriptions, encounter records, appointments, etc. + + + + + Notes about the execution of the activity. + + + + + The details of the proposed activity represented in a specific resource. + + + + + A simple summary of details suitable for a general care plan system (e.g. form driven) that doesn't know about specific resources such as procedure etc. + + + + + + + + + Describes the intention of how one or more practitioners intend to deliver care for a particular patient for a period of time, possibly limited to care for a specific condition or set of conditions. + + + + + + + High-level categorization of the type of activity in a care plan. + + + + + Detailed description of the type of activity. E.g. What lab test, what procedure, what kind of encounter. + + + + + The period, timing or frequency upon which the described activity is to occur. + + + + + + + + Identifies the facility where the activity will occur. E.g. home, hospital, specific clinic, etc. + + + + + Identifies who's expected to be involved in the activity. + + + + + Identifies the food, drug or other product being consumed or supplied in the activity. + + + + + Identifies the quantity expected to be consumed in a given day. + + + + + Identifies the quantity expected to be supplied. + + + + + This provides a textual description of constraints on the activity occurrence, including relation to other activities. It may also include objectives, pre-conditions and end-conditions. Finally, it may convey specifics about the activity such as body site, method, route, etc. + + + + + + + + + + + The plan is in development or awaiting use but is not yet intended to be acted upon. + + + + + The plan is intended to be followed and used as part of patient care. + + + + + The plan is no longer in use and is not expected to be followed or used in patient care. + + + + + + + Indicates whether the plan is currently being acted upon, represents future intentions or is now just historical record. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + Plan for the patient to consume food of a specified nature. + + + + + Plan for the patient to consume/receive a drug, vaccine or other product. + + + + + Plan to meet or communicate with the patient (in-patient, out-patient, phone call, etc.). + + + + + Plan to capture information about a patient (vitals, labs, diagnostic images, etc.). + + + + + Plan to modify the patient in some way (surgery, physiotherapy, education, counseling, etc.). + + + + + Plan to provide something to the patient (medication, medical supply, etc.). + + + + + Some other form of action. + + + + + + + High-level categorization of the type of activity in a care plan. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + The goal is being sought but has not yet been reached. (Also applies if goal was reached in the past but there has been regression and goal is being sought again). + + + + + The goal has been met and no further action is needed. + + + + + The goal has been met, but ongoing activity is needed to sustain the goal objective. + + + + + The goal is no longer being sought. + + + + + + + Indicates whether the goal has been met and is still being targeted + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + Activity is planned but no action has yet been taken. + + + + + Appointment or other booking has occurred but activity has not yet begun. + + + + + Activity has been started but is not yet complete. + + + + + Activity was started but has temporarily ceased with an expectation of resumption at a future time. + + + + + The activities have been completed (more or less) as planned. + + + + + The activities have been ended prior to completion (perhaps even before they were started). + + + + + + + Indicates where the activity is at in its overall life cycle + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + Describes the intention of how one or more practitioners intend to deliver care for a particular patient for a period of time, possibly limited to care for a specific condition or set of conditions. + + + + + Describes the intention of how one or more practitioners intend to deliver care for a particular patient for a period of time, possibly limited to care for a specific condition or set of conditions. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + This records identifiers associated with this care plan that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). + + + + + Identifies the patient/subject whose intended care is described by the plan. + + + + + Indicates whether the plan is currently being acted upon, represents future intentions or is now just historical record. + + + + + Indicates when the plan did (or is intended to) come into effect and end. + + + + + Identifies the most recent date on which the plan has been revised. + + + + + Identifies the conditions/problems/concerns/diagnoses/etc. whose management and/or mitigation are handled by this plan. + + + + + Identifies all people and organizations who are expected to be involved in the care envisioned by this plan. + + + + + General notes about the care plan not covered elsewhere. + + + + + Describes the intended objective(s) of carrying out the Care Plan. + + + + + Identifies an action that is planned to happen as part of the careplan. For example, a medication to be used, lab tests to perform, self-monitoring, education, etc. + + + + + + + + + Describes the intention of how one or more practitioners intend to deliver care for a particular patient for a period of time, possibly limited to care for a specific condition or set of conditions. + + + + + + + Indicates specific responsibility of an individual within the care plan. E.g. "Primary physician", "Team coordinator", "Caregiver", etc. + + + + + The specific person or organization who is participating/expected to participate in the care plan. + + + + + + + + + + + The plan is in development or awaiting use but is not yet intended to be acted upon. + + + + + The plan is intended to be followed and used as part of patient care. + + + + + The plan is no longer in use and is not expected to be followed or used in patient care. + + + + + + + Indicates whether the plan is currently being acted upon, represents future intentions or is now just historical record. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + This resource provides the adjudication details from the processing of a Claim resource. + + + + + This resource provides the adjudication details from the processing of a Claim resource. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The Response Business Identifier. + + + + + Original request resource referrence. + + + + + The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. + + + + + The style (standard) and version of the original material which was converted into this resource. + + + + + The date when the enclosed suite of services were performed or completed. + + + + + The Insurer who produced this adjudicated response. + + + + + The practitioner who is responsible for the services rendered to the patient. + + + + + The organization which is responsible for the services rendered to the patient. + + + + + Transaction status: error, complete. + + + + + A description of the status of the adjudication. + + + + + Party to be reimbursed: Subscriber, provider, other. + + + + + The first tier service adjudications for submitted services. + + + + + The first tier service adjudications for payor added services. + + + + + Mutually exclusive with Services Provided (Item). + + + + + The total cost of the services reported. + + + + + The amount of deductable applied which was not allocated to any particular service line. + + + + + Total amount of benefit payable (Equal to sum of the Benefit amounts from all detail lines and additions less the Unallocated Deductable). + + + + + Adjustment to the payment of this transaction which is not related to adjudication of this transaction. + + + + + Reason for the payment adjustment. + + + + + Estimated payment data. + + + + + Payable less any payment adjustment. + + + + + Payment identifer. + + + + + Status of funds reservation (For provider, for Patient, None). + + + + + The form to be used for printing the content. + + + + + Note text. + + + + + + + + + This resource provides the adjudication details from the processing of a Claim resource. + + + + + + + A service line number. + + + + + A list of note references to the notes provided below. + + + + + The adjudications results. + + + + + The second tier service adjudications for submitted services. + + + + + + + + + This resource provides the adjudication details from the processing of a Claim resource. + + + + + + + Code indicating: Co-Pay, deductable, elegible, benefit, tax, etc. + + + + + Monitory amount associated with the code. + + + + + A non-monitary value for example a percentage. Mutually exclusive to the amount element above. + + + + + + + + + This resource provides the adjudication details from the processing of a Claim resource. + + + + + + + A service line number. + + + + + The adjudications results. + + + + + The third tier service adjudications for submitted services. + + + + + + + + + This resource provides the adjudication details from the processing of a Claim resource. + + + + + + + Code indicating: Co-Pay, deductable, elegible, benefit, tax, etc. + + + + + Monitory amount associated with the code. + + + + + A non-monitary value for example a percentage. Mutually exclusive to the amount element above. + + + + + + + + + This resource provides the adjudication details from the processing of a Claim resource. + + + + + + + A service line number. + + + + + The adjudications results. + + + + + + + + + This resource provides the adjudication details from the processing of a Claim resource. + + + + + + + Code indicating: Co-Pay, deductable, elegible, benefit, tax, etc. + + + + + Monitory amount associated with the code. + + + + + A non-monitary value for example a percentage. Mutually exclusive to the amount element above. + + + + + + + + + This resource provides the adjudication details from the processing of a Claim resource. + + + + + + + List of input service items which this service line is intended to replace. + + + + + A code to indicate the Professional Service or Product supplied. + + + + + The fee charged for the professional service or product.. + + + + + A list of note references to the notes provided below. + + + + + The adjudications results. + + + + + The second tier service adjudications for payor added services. + + + + + + + + + This resource provides the adjudication details from the processing of a Claim resource. + + + + + + + Code indicating: Co-Pay, deductable, elegible, benefit, tax, etc. + + + + + Monitory amount associated with the code. + + + + + A non-monitary value for example a percentage. Mutually exclusive to the amount element above. + + + + + + + + + This resource provides the adjudication details from the processing of a Claim resource. + + + + + + + A code to indicate the Professional Service or Product supplied. + + + + + The fee charged for the professional service or product.. + + + + + The adjudications results. + + + + + + + + + This resource provides the adjudication details from the processing of a Claim resource. + + + + + + + Code indicating: Co-Pay, deductable, elegible, benefit, tax, etc. + + + + + Monitory amount associated with the code. + + + + + A non-monitary value for example a percentage. Mutually exclusive to the amount element above. + + + + + + + + + This resource provides the adjudication details from the processing of a Claim resource. + + + + + + + The sequence number of the line item submitted which contains the error. This value is ommitted when the error is elsewhere. + + + + + The sequence number of the addition within the line item submitted which contains the error. This value is ommitted when the error is not related to an Addition. + + + + + The sequence number of the addition within the line item submitted which contains the error. This value is ommitted when the error is not related to an Addition. + + + + + An error code,froma specified code system, which details why the claim could not be adjudicated. + + + + + + + + + This resource provides the adjudication details from the processing of a Claim resource. + + + + + + + An integer associated with each note which may be referred to from each service line item. + + + + + The note purpose: Print/Display. + + + + + The note text. + + + + + + + + + A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. + + + + + A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The patient being asssesed. + + + + + The clinicial performing the assessment. + + + + + The point in time at which the assessment was concluded (not when it was recorded). + + + + + A summary of the context and/or cause of the assessment - why / where was it peformed, and what patient events/sstatus prompted it. + + + + + A reference to the last assesment that was conducted bon this patient. Assessments are often/usually ongoing in nature; a care provider (practitioner or team) will make new assessments on an ongoing basis as new data arises or the patient's conditions changes. + + + + + This a list of the general problems/conditions for a patient. + + + + + A reference to a specific care plan that prompted this assessment. The care plan provides further context for the assessment. + + + + + A reference to a specific care plan that prompted this assessment. The referral request may provide further context for the assessment. + + + + + One or more sets of investigations (signs, symptions, etc). The actual grouping of investigations vary greatly depending on the type and context of the assessment. These investigations may include data generated during the assessment process, or data previously generated and recorded that is pertinent to the outcomes. + + + + + Reference to a specific published clinical protocol that was followed during this assessment, and/or that provides evidence in support of the diagnosis. + + + + + A text summary of the investigations and the diagnosis. + + + + + An specific diagnosis that was considered likely or relevant to ongoing treatment. + + + + + Diagnoses/conditions resolved since the last assessment. + + + + + Diagnosis considered not possible. + + + + + Estimate of likely outcome. + + + + + Plan of action after assessment. + + + + + Actions taken during assessment. + + + + + + + + + A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. + + + + + + + A name/code for the group ("set") of investigations. Typically, this will be something like "signs", "symptoms", "clinical", "diagnostic", but the list is not constrained, and others such groups such as (exposure|family|travel|nutitirional) history may be used. + + + + + A record of a specific investigation that was undertaken. + + + + + + + + + A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. + + + + + + + Specific text of code for diagnosis. + + + + + Which investigations support diagnosis. + + + + + + + + + A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. + + + + + + + Specific text of code for diagnosis. + + + + + Grounds for elimination. + + + + + + + + + An occurrence of information being transmitted. E.g., an alert that was sent to a responsible provider, a public health agency was notified about a reportable condition. + + + + + An occurrence of information being transmitted. E.g., an alert that was sent to a responsible provider, a public health agency was notified about a reportable condition. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Identifiers associated with this Communication that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). + + + + + The type of message such as alert, notification, reminder, instruction, etc. + + + + + The entity (e.g., person, organization, clinical information system, or device) which is the source of the communication. + + + + + The entity (e.g., person, organization, clinical information system, or device) which is the target of the communication. + + + + + Text, attachment(s), or resource(s) to be communicated to the recipient. + + + + + The communication medium, e.g., email, fax. + + + + + The status of the transmission. + + + + + The encounter within which the communication was sent. + + + + + The time when this communication was sent. + + + + + The time when this communication arrived at the destination. + + + + + The reason or justification for the communication. + + + + + The patient who is the focus of this communication. + + + + + + + + + An occurrence of information being transmitted. E.g., an alert that was sent to a responsible provider, a public health agency was notified about a reportable condition. + + + + + + + An individual message part for multi-part messages. + + + + + + + + + + + + + + The communication transmission is ongoing. + + + + + The message transmission is complete, i.e., delivered to the recipient's destination. + + + + + The communication transmission has been held by originating system/user request. + + + + + The receiving system has declined to accept the message. + + + + + There was a failure in transmitting the message out. + + + + + + + The status of the communication + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + A request to convey information. E.g., the CDS system proposes that an alert be sent to a responsible provider, the CDS system proposes that the public health agency be notified about a reportable condition. + + + + + A request to convey information. E.g., the CDS system proposes that an alert be sent to a responsible provider, the CDS system proposes that the public health agency be notified about a reportable condition. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + A unique ID of this request for reference purposes. It must be provided if user wants it returned as part of any output, otherwise it will be auto-generated, if needed, by CDS system. Does not need to be the actual ID of the source system. + + + + + The type of message such as alert, notification, reminder, instruction, etc. + + + + + The entity (e.g., person, organization, clinical information system, or device) which is the source of the communication. + + + + + The entity (e.g., person, organization, clinical information system, or device) which is the intended target of the communication. + + + + + Text, attachment(s), or resource(s) to be communicated to the recipient. + + + + + The communication medium, e.g., email, fax. + + + + + The responsible person who authorizes this order, e.g., physician. This may be different than the author of the order statement, e.g., clerk, who may have entered the statement into the order entry application. + + + + + The status of the proposal or order. + + + + + The encounter within which the communication request was created. + + + + + The time when this communication is to occur. + + + + + The reason or justification for the communication request. + + + + + The time when the request was made. + + + + + The patient who is the focus of this communication request. + + + + + Characterizes how quickly the proposed act must be initiated. Includes concepts such as stat, urgent, routine. + + + + + + + + + A request to convey information. E.g., the CDS system proposes that an alert be sent to a responsible provider, the CDS system proposes that the public health agency be notified about a reportable condition. + + + + + + + An individual message part for multi-part messages. + + + + + + + + + + + + + + The request has been proposed. + + + + + The request has been planned. + + + + + The request has been placed. + + + + + The receiving system has received the request but not yet decided whether it will be performed. + + + + + The receiving system has accepted the order, but work has not yet commenced. + + + + + The work to fulfill the order is happening. + + + + + The work has been complete, the report(s) released, and no further work is planned. + + + + + The request has been held by originating system/user request. + + + + + The receiving system has declined to fulfill the request. + + + + + The communication was attempted, but due to some procedural error, it could not be completed. + + + + + + + The status of the communication + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + A set of healthcare-related information that is assembled together into a single logical document that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. + + + + + A set of healthcare-related information that is assembled together into a single logical document that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Logical Identifier for the composition, assigned when created. This identifier stays constant as the composition is changed over time. + + + + + The composition editing time, when the composition was last logically changed by the author. + + + + + Specifies the particular kind of composition (e.g. History and Physical, Discharge Summary, Progress Note). This usually equates to the purpose of making the composition. + + + + + A categorization for the type of the composition. This may be implied by or derived from the code specified in the Composition Type. + + + + + Official human-readable label for the composition. + + + + + The workflow/clinical status of this composition. The status is a marker for the clinical standing of the document. + + + + + The code specifying the level of confidentiality of the Composition. + + + + + Who or what the composition is about. The composition can be about a person, (patient or healthcare practitioner), a device (I.e. machine) or even a group of subjects (such as a document about a herd of livestock, or a set of patients that share a common exposure). + + + + + Identifies who is responsible for the information in the composition. (Not necessarily who typed it in.). + + + + + A participant who has attested to the accuracy of the composition/document. + + + + + Identifies the organization or group who is responsible for ongoing maintenance of and access to the composition/document information. + + + + + The clinical service, such as a colonoscopy or an appendectomy, being documented. + + + + + Describes the clinical encounter or type of care this documentation is associated with. + + + + + The root of the sections that make up the composition. + + + + + + + + + A set of healthcare-related information that is assembled together into a single logical document that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. + + + + + + + The type of attestation the authenticator offers. + + + + + When composition was attested by the party. + + + + + Who attested the composition in the specified way. + + + + + + + + + A set of healthcare-related information that is assembled together into a single logical document that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. + + + + + + + This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a "History and Physical Report" in which the procedure being documented is necessarily a "History and Physical" act. + + + + + The period of time covered by the documentation. There is no assertion that the documentation is a complete representation for this period, only that it documents events during this time. + + + + + Full details for the event(s) the composition/documentation consents. + + + + + + + + + A set of healthcare-related information that is assembled together into a single logical document that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. + + + + + + + The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents. + + + + + A code identifying the kind of content contained within the section. This must be consistent with the section title. + + + + + A nested sub-section within this section. + + + + + The content (narrative and data) associated with the section. + + + + + + + + + A statement of relationships from one set of concepts to one or more other concepts - either code systems or data elements, or classes in class models. + + + + + A statement of relationships from one set of concepts to one or more other concepts - either code systems or data elements, or classes in class models. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The identifier that is used to identify this concept map when it is referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI). + + + + + The identifier that is used to identify this version of the concept map when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp. + + + + + A free text natural language name describing the concept map. + + + + + The name of the individual or organization that published the concept map. + + + + + Contacts of the publisher to assist a user in finding and communicating with the publisher. + + + + + A free text natural language description of the use of the concept map - reason for definition, conditions of use, etc. + + + + + A copyright statement relating to the concept map and/or its contents. + + + + + The status of the concept map. + + + + + This ConceptMap was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. + + + + + The date that the concept map status was last changed. + + + + + The source value set that specifies the concepts that are being mapped. + + + + + + + The target value set provides context to the mappings. Note that the mapping is made between concepts, not between value sets, but the value set provides important context about how the concept mapping choices are made. + + + + + + + Mappings for an individual concept in the source to one or more concepts in the target. + + + + + + + + + A statement of relationships from one set of concepts to one or more other concepts - either code systems or data elements, or classes in class models. + + + + + + + Code System (if the source is a value value set that crosses more than one code system). + + + + + Identity (code or path) or the element/item being mapped. + + + + + A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified element can be resolved, and it has the specified value. + + + + + A concept from the target value set that this concept maps to. + + + + + + + + + A statement of relationships from one set of concepts to one or more other concepts - either code systems or data elements, or classes in class models. + + + + + + + A reference to a specific concept that holds a coded value. This can be an element in a FHIR resource, or a specific reference to a data element in a different specification (e.g. v2) or a general reference to a kind of data field, or a reference to a value set with an appropriately narrow definition. + + + + + The code system of the dependency code (if the source/dependency is a value set that cross code systems). + + + + + Identity (code or path) or the element/item that the map depends on / refers to. + + + + + + + + + A statement of relationships from one set of concepts to one or more other concepts - either code systems or data elements, or classes in class models. + + + + + + + The code system of the target code (if the target is a value set that cross code systems). + + + + + Identity (code or path) or the element/item that the map refers to. + + + + + The equivalence between the source and target concepts (counting for the dependencies and products). The equivalence is read from source to target (e.g. the source is 'wider' than the target. + + + + + A description of status/issues in mapping that conveys additional information not represented in the structured data. + + + + + A set of additional outcomes from this mapping to other elements. To properly execute this mapping, the specified element must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the equivalence cannot be relied on. + + + + + + + + + + + The definitions of the concepts mean the same thing (including when structural implications of meaning are considered) (i.e. extensionally identical). + + + + + The definitions of the concepts are exactly the same (i.e. only grammatical differences) and structural implications of meaning are identifical or irrelevant (i.e. intensionally identical). + + + + + The target mapping is wider in meaning than the source concept. + + + + + The target mapping subsumes the meaning of the source concept (e.g. the source is-a target). + + + + + The target mapping is narrower in meaning that the source concept. The sense in which the mapping is narrower SHALL be described in the comments in this case, and applications should be careful when atempting to use these mappings operationally. + + + + + The target mapping specialises the meaning of the source concept (e.g. the target is-a source). + + + + + The target mapping overlaps with the source concept, but both source and target cover additional meaning, or the definitions are imprecise and it is uncertain whether they have the same boundaries to their meaning. The sense in which the mapping is narrower SHALL be described in the comments in this case, and applications should be careful when atempting to use these mappings operationally. + + + + + There is no match for this concept in the destination concept system. + + + + + This is an explicit assertion that there is no mapping between the source and target concept. + + + + + + + The degree of equivalence between concepts + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + Use to record detailed information about conditions, problems or diagnoses recognized by a clinician. There are many uses including: recording a Diagnosis during an Encounter; populating a problem List or a Summary Statement, such as a Discharge Summary. + + + + + Use to record detailed information about conditions, problems or diagnoses recognized by a clinician. There are many uses including: recording a Diagnosis during an Encounter; populating a problem List or a Summary Statement, such as a Discharge Summary. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + This records identifiers associated with this condition that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). + + + + + Indicates the patient who the condition record is associated with. + + + + + Encounter during which the condition was first asserted. + + + + + Person who takes responsibility for asserting the existence of the condition as part of the electronic record. + + + + + Estimated or actual date the condition/problem/diagnosis was first detected/suspected. + + + + + Identification of the condition, problem or diagnosis. + + + + + A category assigned to the condition. E.g. complaint | symptom | finding | diagnosis. + + + + + The clinical status of the condition. + + + + + The degree of confidence that this condition is correct. + + + + + A subjective assessment of the severity of the condition as evaluated by the clinician. + + + + + Estimated or actual date or date-time the condition began, in the opinion of the clinician. + + + + + + + The date or estimated date that the condition resolved or went into remission. This is called "abatement" because of the many overloaded connotations associated with "remission" or "resolution" - Conditions are never really resolved, but they can abate. + + + + + + + + Clinical stage or grade of a condition. May include formal severity assessments. + + + + + Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed. + + + + + The anatomical location where this condition manifests itself. + + + + + Further conditions, problems, diagnoses, procedures or events or the substance that caused/triggered this Condition. + + + + + Further conditions, problems, diagnoses, procedures or events or the substance that preceded this Condition. + + + + + Additional information about the Condition. This is a general notes/comments entry for description of the Condition, its diagnosis and prognosis. + + + + + + + + + Use to record detailed information about conditions, problems or diagnoses recognized by a clinician. There are many uses including: recording a Diagnosis during an Encounter; populating a problem List or a Summary Statement, such as a Discharge Summary. + + + + + + + A simple summary of the stage such as "Stage 3". The determination of the stage is disease-specific. + + + + + Reference to a formal record of the evidence on which the staging assessment is based. + + + + + + + + + Use to record detailed information about conditions, problems or diagnoses recognized by a clinician. There are many uses including: recording a Diagnosis during an Encounter; populating a problem List or a Summary Statement, such as a Discharge Summary. + + + + + + + A manifestation or symptom that led to the recording of this condition. + + + + + Links to other relevant information, including pathology reports. + + + + + + + + + Use to record detailed information about conditions, problems or diagnoses recognized by a clinician. There are many uses including: recording a Diagnosis during an Encounter; populating a problem List or a Summary Statement, such as a Discharge Summary. + + + + + + + Code that identifies the structural location. + + + + + Detailed anatomical location information. + + + + + + + + + Use to record detailed information about conditions, problems or diagnoses recognized by a clinician. There are many uses including: recording a Diagnosis during an Encounter; populating a problem List or a Summary Statement, such as a Discharge Summary. + + + + + + + Code that identifies the target of this relationship. The code takes the place of a detailed instance target. + + + + + Target of the relationship. + + + + + + + + + Use to record detailed information about conditions, problems or diagnoses recognized by a clinician. There are many uses including: recording a Diagnosis during an Encounter; populating a problem List or a Summary Statement, such as a Discharge Summary. + + + + + + + Code that identifies the target of this relationship. The code takes the place of a detailed instance target. + + + + + Target of the relationship. + + + + + + + + + + + This is a tentative diagnosis - still a candidate that is under consideration. + + + + + The patient is being treated on the basis that this is the condition, but it is still not confirmed. + + + + + There is sufficient diagnostic and/or clinical evidence to treat this as a confirmed condition. + + + + + This condition has been ruled out by diagnostic and clinical evidence. + + + + + + + The clinical status of the Condition or diagnosis + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + + + + + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The identifier that is used to identify this conformance statement when it is referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI). + + + + + The identifier that is used to identify this version of the conformance statement when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp. + + + + + A free text natural language name identifying the conformance statement. + + + + + Name of Organization publishing this conformance statement. + + + + + Contacts for Organization relevant to this conformance statement. The contacts may be a website, email, phone numbers, etc. + + + + + A free text natural language description of the conformance statement and its use. Typically, this is used when the profile describes a desired rather than an actual solution, for example as a formal expression of requirements as part of an RFP. + + + + + The status of this conformance statement. + + + + + A flag to indicate that this conformance statement is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. + + + + + The date (and optionally time) when the conformance statement was published. + + + + + Software that is covered by this conformance statement. It is used when the profile describes the capabilities of a particular software version, independent of an installation. + + + + + Identifies a specific implementation instance that is described by the conformance statement - i.e. a particular installation, rather than the capabilities of a software program. + + + + + The version of the FHIR specification on which this conformance statement is based. + + + + + A flag that indicates whether the application accepts unknown elements as part of a resource. + + + + + A list of the formats supported by this implementation. + + + + + A list of profiles supported by the system. For a server, "supported by the system" means the system hosts/produces a set of resources, conformant to a particular profile, and allows its clients to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile. + + + + + A definition of the restful capabilities of the solution, if any. + + + + + A description of the messaging capabilities of the solution. + + + + + A document definition. + + + + + + + + + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + + + + + + + Name software is known by. + + + + + The version identifier for the software covered by this statement. + + + + + Date this version of the software released. + + + + + + + + + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + + + + + + + Information about the specific installation that this conformance statement relates to. + + + + + A base URL for the implementation. This forms the base for REST interfaces as well as the mailbox and document interfaces. + + + + + + + + + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + + + + + + + Identifies whether this portion of the statement is describing ability to initiate or receive restful operations. + + + + + Information about the system's restful capabilities that apply across all applications, such as security. + + + + + Information about security of implementation. + + + + + A specification of the restful capabilities of the solution for a specific resource type. + + + + + A specification of restful operations supported by the system. + + + + + Definition of an operation or a named query and with its parameters and their meaning and type. + + + + + A list of profiles that this server implements for accepting documents in the mailbox. If this list is empty, then documents are not accepted. The base specification has the profile identifier "http://hl7.org/fhir/documents/mailbox". Other specifications can declare their own identifier for this purpose. + + + + + + + + + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + + + + + + + Server adds CORS headers when responding to requests - this enables javascript applications to use the server. + + + + + Types of security services are supported/required by the system. + + + + + General description of how security works. + + + + + Certificates associated with security profiles. + + + + + + + + + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + + + + + + + Mime type for certificate. + + + + + Actual certificate. + + + + + + + + + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + + + + + + + A type of resource exposed via the restful interface. + + + + + A specification of the profile that describes the solution's support for the resource, including any constraints on cardinality, bindings, lengths or other limitations. + + + + + Identifies a restful operation supported by the solution. + + + + + Thi field is set to true to specify that the system does not support (server) or use (client) versioning for this resource type. If this is not set to true, the server must at least correctly track and populate the versionId meta-property on resources. + + + + + A flag for whether the server is able to return past versions as part of the vRead operation. + + + + + A flag to indicate that the server allows the client to create new identities on the server. If the update operation is used (client) or allowed (server) to a new location where a resource doesn't already exist. This means that the server allows the client to create new identities on the server. + + + + + A list of _include values supported by the server. + + + + + Additional search parameters for implementations to support and/or make use of. + + + + + + + + + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + + + + + + + Coded identifier of the operation, supported by the system resource. + + + + + Guidance specific to the implementation of this operation, such as 'delete is a logical delete' or 'updates are only allowed with version id' or 'creates permitted from pre-authorized certificates only'. + + + + + + + + + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + + + + + + + The name of the search parameter used in the interface. + + + + + A formal reference to where this parameter was first defined, so that a client can be confident of the meaning of the search parameter. + + + + + The type of value a search parameter refers to, and how the content is interpreted. + + + + + This allows documentation of any distinct behaviors about how the search parameter is used. For example, text matching algorithms. + + + + + Types of resource (if a resource is referenced). + + + + + Chained names supported. + + + + + + + + + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + + + + + + + A coded identifier of the operation, supported by the system. + + + + + Guidance specific to the implementation of this operation, such as limitations on the kind of transactions allowed, or information about system wide search is implemented. + + + + + + + + + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + + + + + + + The name of a query, which is used in the _query parameter when the query is called. + + + + + Where the formal definition can be found. + + + + + + + + + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + + + + + + + An address to which messages and/or replies are to be sent. + + + + + Length if the receiver's reliable messaging cache in minutes (if a receiver) or how long the cache length on the receiver should be (if a sender). + + + + + Documentation about the system's messaging capabilities for this endpoint not otherwise documented by the conformance statement. For example, process for becoming an authorized messaging exchange partner. + + + + + A description of the solution's support for an event at this end point. + + + + + + + + + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + + + + + + + A coded identifier of a supported messaging event. + + + + + The impact of the content of the message. + + + + + The mode of this event declaration - whether application is sender or receiver. + + + + + A list of the messaging transport protocol(s) identifiers, supported by this endpoint. + + + + + A resource associated with the event. This is the resource that defines the event. + + + + + Information about the request for this event. + + + + + Information about the response for this event. + + + + + Guidance on how this event is handled, such as internal system trigger points, business rules, etc. + + + + + + + + + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + + + + + + + Mode of this document declaration - whether application is producer or consumer. + + + + + A description of how the application supports or uses the specified document profile. For example, when are documents created, what action is taken with consumed documents, etc. + + + + + A constraint on a resource used in the document. + + + + + + + + + + + The application produces documents of the specified type. + + + + + The application consumes documents of the specified type. + + + + + + + Whether the application produces or consumes documents + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Operations supported by REST at the system level + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + VersionId meta-property is not suppoerted (server) or used (client). + + + + + VersionId meta-property is suppoerted (server) or used (client). + + + + + VersionId is must be correct for updates (server) or will be specified (If-match header) for updates (client). + + + + + + + How the system supports versioning for a resource + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + The application acts as a server for this resource. + + + + + The application acts as a client for this resource. + + + + + + + The mode of a RESTful conformance statement + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Operations supported by REST at the type or instance level + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + The application sends requests and receives responses. + + + + + The application receives requests and sends responses. + + + + + + + The mode of a message conformance statement + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + The message represents/requests a change that should not be processed more than once. E.g. Making a booking for an appointment. + + + + + The message represents a response to query for current information. Retrospective processing is wrong and/or wasteful. + + + + + The content is not necessarily intended to be current, and it can be reprocessed, though there may be version issues created by processing old notifications. + + + + + + + The impact of the content of a message + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + This conformance statement is still under development. + + + + + This conformance statement is ready for use in production systems. + + + + + This conformance statement has been withdrawn or superceded and should no longer be used. + + + + + + + The status of this conformance statement + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + A formal agreement between parties regarding the conduct of business, exchange of information or other matters. + + + + + A formal agreement between parties regarding the conduct of business, exchange of information or other matters. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Unique Id for this contract. + + + + + Who and/or what this is about: typically Patient, Organization, property. + + + + + A formally or informally recognized grouping of people or organizations formed for the purpose of achieving some form of collective action. Includes companies, institutions, corporations, departments, community groups, healthcare practice groups, etc. + + + + + A Location includes both incidental locations (a place which is used for healthcare without prior designation or authorization) and dedicated, formally appointed locations. + + + + + Type of contract (Privacy-Security, Agreement, Insurance). + + + + + More specific type of contract (Privacy, Disclosure-Authorization, Advanced-Directive, DNR, Authorization-to-Treat). + + + + + When this was issued. + + + + + Relevant time/time-period when applicable. + + + + + The number of repetitions of a service or product. + + + + + The unit price product. + + + + + A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. + + + + + An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. + + + + + The quantity times the unit price for an additional service or product or charge. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied. + + + + + Contract author or responsible party. + + + + + First Party to the contract, may be the party who confers or delegates the rights defined in the contract. + + + + + The Second party to the contract, may be the party who accepts obligations or be that to which rights are delegated. + + + + + Who witnesses the contract. + + + + + First Party to the contract, may be the party who confers or delegates the rights defined in the contract. + + + + + First Party to the contract, may be the party who confers or delegates the rights defined in the contract. + + + + + List or contract signatures. + + + + + The itemized terms of the contract. The legal clause or conditions of the Contract that requires or prevents either one or both parties to perform a particular requirement by some specified time. + + + + + Legally binding contract. + + + + + Relevant time/time-period when applicable. + + + + + Friendly Human readable form (might be a reference to the UI used to capture the contract). + + + + + Relevant time/time-period when applicable. + + + + + Legal text in Human readable form. + + + + + Relevant time/time-period when applicable. + + + + + Computable Policy rules (e.g. XACML, DKAL, SecPal). + + + + + Relevant time/time-period when applicable. + + + + + + + + + A formal agreement between parties regarding the conduct of business, exchange of information or other matters. + + + + + + + Party or role who is signing. + + + + + The DSIG signature contents in Base64. + + + + + + + + + A formal agreement between parties regarding the conduct of business, exchange of information or other matters. + + + + + + + Unique Id for this particular term. + + + + + The type of the term. + + + + + The subtype of the term which is appropriate to the term type. + + + + + Who or what the contract term is about. + + + + + Human readable form of the term of the contract. + + + + + When this term was issued. + + + + + Relevant time/time-period when the term is applicable. + + + + + The number of repetitions of a service or product. + + + + + The unit price product. + + + + + A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. + + + + + An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. + + + + + The quantity times the unit price for an additional service or product or charge. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied. + + + + + + + + + Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient. E.g. Drug-drug interaction, Ineffective treatment frequency, Procedure-condition conflict, etc. + + + + + Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient. E.g. Drug-drug interaction, Ineffective treatment frequency, Procedure-condition conflict, etc. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Indicates the patient whose record the contraindication is associated with. + + + + + Identifies the general type of issue identified. + + + + + Indicates the degree of importance associated with the identified issue based on the potential impact on the patient. + + + + + Indicates the resource representing the current activity or proposed activity that. + + + + + A textual explanation of the contraindication. + + + + + The date or date-time when the contraindication was initially identified. + + + + + Identifies the provider or software that identified the. + + + + + Business identifier associated with the contraindication record. + + + + + The literature, knowledge-base or similar reference that describes the propensity for the contraindication identified. + + + + + Indicates an action that has been taken or is committed to to reduce or eliminate the likelihood of the risk identified by the contraindicaiton from manifesting. Can also reflect an observation of known mitigating factors that may reduce/eliminate the need for any action. + + + + + + + + + Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient. E.g. Drug-drug interaction, Ineffective treatment frequency, Procedure-condition conflict, etc. + + + + + + + Describes the action that was taken or the observation that was made that reduces/eliminates the risk associated with the identified contraindication. + + + + + Indicates when the mitigating action was documented. + + + + + Identifies the practitioner who determined the mitigation and takes responsibility for the mitigation step occurring. + + + + + + + + + Financial instrument which may be used to pay for or reimburse for health care products and services. + + + + + Financial instrument which may be used to pay for or reimburse for health care products and services. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The program or plan underwriter or payor. + + + + + Time period during which the coverage is in force. A missing start date indicates the start date isn't known, a missing end date means the coverage is continuing to be in force. + + + + + The type of coverage: social program, medical plan, accident coverage (workers compensation, auto), group health. + + + + + The main (and possibly only) identifier for the coverage - often referred to as a Subscriber Id, Certificate number or Personal Health Number or Case ID. + + + + + Identifies a style or collective of coverage issues by the underwriter, for example may be used to identify a class of coverage or employer group. May also be referred to as a Policy or Group ID. + + + + + Identifies a style or collective of coverage issues by the underwriter, for example may be used to identify a class of coverage or employer group. May also be referred to as a Policy or Group ID. + + + + + Identifies a sub-style or sub-collective of coverage issues by the underwriter, for example may be used to identify a specific employer group within a class of employers. May be referred to as a Section or Division ID. + + + + + A unique identifier for a dependent under the coverage. + + + + + An optional counter for a particular instance of the identified coverage which increments upon each renewal. + + + + + The party who 'owns' the insurance contractual relationship to the policy or to whom the benefit of the policy is due. + + + + + The identifier for a community of providers. + + + + + The policy(s) which constitute this insurance coverage. + + + + + + + + + The formal description of a single piece of information that can be gathered and reported. + + + + + The formal description of a single piece of information that can be gathered and reported. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The identifier that is used to identify this data element when it is referenced in a Profile, Questionnaire or an instance. + + + + + The identifier that is used to identify this version of the data element when it is referenced in a Profile, Questionnaire or instance. This is an arbitrary value managed by the definition author manually. + + + + + Details of the individual or organization who accepts responsibility for publishing the data element. + + + + + Contact details to assist a user in finding and communicating with the publisher. + + + + + The status of the data element. + + + + + The date that the status for this business version of the data element became effective. (I.e. Date the draft was created, date element became active or date element became retired). + + + + + The term used by humans to refer to the data element. Should ideally be unique within the context in which the data element is expected to be used. + + + + + A set of terms from external terminologies that may be used to assist with indexing and searching of data element definitions. + + + + + Identifies how precise the data element is in its definition. + + + + + A code that provides the meaning for a data element according to a particular terminology. + + + + + The default/suggested phrasing to use when prompting a human to capture the data element in question form (e.g. In a survey). + + + + + The text to display beside the element indicating its meaning or to use to prompt for the element in a user display or form. + + + + + Provides a complete explanation of the meaning of the data element for human readability. + + + + + Comments about the use of the element, including notes about how to use the data properly, exceptions to proper use, etc. + + + + + Explains why this element is needed and why it's been constrained as it has. + + + + + Identifies additional names by which this element might also be known. + + + + + The FHIR data type that is the type for data that corresponds to this data element. + + + + + A sample value for this element demonstrating the type of information that would typically be captured. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Indicates the shortest length that SHALL be supported by conformant instances without truncation. + + + + + Identifies the units of measure in which the data element should be captured or expressed. + + + + + + + Binds to a value set if this element is coded (code, Coding, CodeableConcept). + + + + + Identifies a concept from an external specification that roughly corresponds to this element. + + + + + + + + + The formal description of a single piece of information that can be gathered and reported. + + + + + + + If true, then conformant systems may use additional codes or (where the data type permits) text alone to convey concepts not covered by the set of codes identified in the binding. If false, then conformant systems are constrained to the provided codes alone. + + + + + Indicates the degree of conformance expectations associated with this binding. + + + + + Describes the intended use of this particular set of codes. + + + + + Points to the value set that identifies the set of codes to be used. + + + + + + + + + The formal description of a single piece of information that can be gathered and reported. + + + + + + + A URI that identifies the specification that this mapping is expressed to. + + + + + If true, indicates that the official meaning of the data element is exactly equivalent to the mapped element. + + + + + A name for the specification that is being mapped to. + + + + + Comments about this mapping, including version notes, issues, scope limitations, and other important notes for usage. + + + + + Expresses what part of the target specification corresponds to this element. + + + + + + + + + + + The data element is sufficiently well-constrained that multiple pieces of data captured according to the constraints of the data element will be comparable (though in some cases, a degree of automated conversion/normalization may be required). + + + + + The data element is fully specified down to a single value set, single unit of measure, single data type, etc. Multiple pieces of data associated with this data element are fully compareable. + + + + + The data element allows multiple units of measure having equivalent meaning. E.g. "cc" (cubic centimeter) and "mL". + + + + + The data element allows multiple units of measure that are convertable between each other (e.g. Inches and centimeters) and/or allows data to be captured in multiple value sets for which a known mapping exists allowing conversion of meaning. + + + + + A convertable data element where unit conversions are different only by a power of 10. E.g. g, mg, kg. + + + + + The data element is unconstrained in units, choice of data types and/or choice of vocabulary such that automated comparison of data captured using the data element is not possible. + + + + + + + Indicates the degree of precision of the data element definition + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + This data element is still under development. + + + + + This data element is ready for normal use. + + + + + This data element has been deprecated, withdrawn or superseded and should no longer be used. + + + + + + + The lifecycle status of a Resource data element + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + This resource identifies an instance of a manufactured thing that is used in the provision of healthcare without being substantially changed through that activity. The device may be a machine, an insert, a computer, an application, etc. This includes durable (reusable) medical equipment as well as disposable equipment used for diagnostic, treatment, and research for healthcare and public health. + + + + + This resource identifies an instance of a manufactured thing that is used in the provision of healthcare without being substantially changed through that activity. The device may be a machine, an insert, a computer, an application, etc. This includes durable (reusable) medical equipment as well as disposable equipment used for diagnostic, treatment, and research for healthcare and public health. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Identifiers assigned to this device by various organizations. The most likely organizations to assign identifiers are the manufacturer and the owner, though regulatory agencies may also assign an identifier. The identifiers identify the particular device, not the kind of device. + + + + + A kind of this device. + + + + + A name of the manufacturer. + + + + + The "model" - an identifier assigned by the manufacturer to identify the product by its type. This number is shared by the all devices sold as the same type. + + + + + The version of the device, if the device has multiple releases under the same model, or if the device is software or carries firmware. + + + + + Date of expiry of this device (if applicable). + + + + + FDA Mandated Unique Device Identifier. Use the human readable information (the content that the user sees, which is sometimes different to the exact syntax represented in the barcode) - see http://www.fda.gov/MedicalDevices/DeviceRegulationandGuidance/UniqueDeviceIdentification/default.htm. + + + + + Lot number assigned by the manufacturer. + + + + + An organization that is responsible for the provision and ongoing maintenance of the device. + + + + + The resource may be found in a literal location (i.e. GPS coordinates), a logical place (i.e. "in/with the patient"), or a coded location. + + + + + Patient information, if the resource is affixed to a person. + + + + + Contact details for an organization or a particular human that is responsible for the device. + + + + + A network address on which the device may be contacted directly. + + + + + + + + + Describes the characteristics, operational status and capabilities of a medical-related component of a medical device. + + + + + Describes the characteristics, operational status and capabilities of a medical-related component of a medical device. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Describes the specific component type as defined in the object-oriented or metric nomenclature partition. + + + + + Describes the local assigned unique identification by the software. For example: handle ID. + + + + + Describes the timestamp for the most recent system change which includes device configuration or setting change. + + + + + Describes the link to the source Device that contains administrative device information such as manufacture, serial number, etc. + + + + + Describes the link to the parent resource. For example: Channel is linked to its VMD parent. + + + + + Indicates current operational status of the device. For example: On, Off, Standby, etc. + + + + + Describes the parameter group supported by the current device component that is based on some nomenclature, e.g., cardiovascular. + + + + + Describes the physical principle of the measurement. For example: thermal, chemical, acoustical, etc. + + + + + Describes the production specification such as component revision, serial number, etc. + + + + + Describes the language code for the human-readable text string produced by the device. This language code will follow the IETF language tag. Example: en-US. + + + + + + + + + Describes the characteristics, operational status and capabilities of a medical-related component of a medical device. + + + + + + + Describes the specification type, such as, serial number, part number, hardware revision, software revision, etc. + + + + + Describes the internal component unique identification. This is a provision for manufacture specific standard components using a private OID. 11073-10101 has a partition for private OID semantic that the manufacture can make use of. + + + + + Describes the printable string defining the component. + + + + + + + + + + + Measurement principle isn't in the list. + + + + + Measurement is done using chemical. + + + + + Measurement is done using electrical. + + + + + Measurement is done using impedance. + + + + + Measurement is done using nuclear. + + + + + Measurement is done using optical. + + + + + Measurement is done using thermal. + + + + + Measurement is done using biological. + + + + + Measurement is done using mechanical. + + + + + Measurement is done using acoustical. + + + + + Measurement is done using manual. + + + + + + + Different measurement principle supported by the device + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + Describes a measurement, calculation or setting capability of a medical device. + + + + + Describes a measurement, calculation or setting capability of a medical device. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Describes the type of the metric. For example: Heart Rate, PEEP Setting, etc. + + + + + Describes the unique identification of this metric that has been assigned by the device or gateway software. For example: handle ID. +It should be noted that in order to make the identifier unique, the system element of the identifier should be set to the unique identifier of the device. + + + + + Describes the unit that an observed value determined for this metric will have. For example: Percent, Seconds, etc. + + + + + Describes the link to the Device that this DeviceMetric belongs to and that contains administrative device information such as manufacture, serial number, etc. + + + + + Describes the link to the DeviceComponent that this DeviceMetric belongs to and that provide information about the location of this DeviceMetric in the containment structure of the parent Device. +An example would be a DeviceComponent that represents a Channel. This reference can be used by a client application to distinguish DeviceMetrics that have the same type, but should be interpreted based on their containment location. + + + + + Indicates current operational state of the device. For example: On, Off, Standby, etc. + + + + + Describes the physical principle of the measurement. For example: thermal, chemical, acoustical, etc. + + + + + Describes the typical color of the representation of observations that have been generated for this DeviceMetric. + + + + + Indicates the category of the observation generation process. A DeviceMetric can be for example a setting, measurement, or calculation. + + + + + Describes the measurement repetition time. This is not +necessarily the same as the update +period. + + + + + Describes the calibrations that have been performed or that are required to be performed. + + + + + + + + + Describes a measurement, calculation or setting capability of a medical device. + + + + + + + Describes the type of the calibration method. + + + + + Describes the state of the calibration. + + + + + Describes the time last calibration has been performed. + + + + + + + + + + + The metric has not been calibrated. + + + + + The metric needs to be calibrated. + + + + + The metric has been calibrated. + + + + + The state of calibration of this metric is unspecified. + + + + + + + Describes the state of a metric calibration + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + TODO. + + + + + TODO. + + + + + TODO. + + + + + TODO. + + + + + + + Describes the type of a metric calibration + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + DeviceObservations generated for this DeviceMetric are measured. + + + + + DeviceObservations generated for this DeviceMetric is a setting that will influence the behavior of the Device. + + + + + DeviceObservations generated for this DeviceMetric are calculated. + + + + + The category of this DeviceMetric is unspecified. + + + + + + + Describes the category of the metric + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + The DeviceMetric is operating and will generate DeviceObservations. + + + + + The DeviceMetric is not operating. + + + + + The DeviceMetric is operating, but will not generate any DeviceObservations. + + + + + + + Describes the operational status of the DeviceMetric + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + Represents a request for the use of a device. + + + + + Represents a request for the use of a device. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Body site where the device is to be used. + + + + + The status of the request. + + + + + The details of the device to be used. + + + + + An encounter that provides additional context in which this request is made. + + + + + Identifiers assigned to this order by the orderer or by the receiver. + + + + + Reason or justification for the use of this device. + + + + + Details about this request that were not represented at all or sufficiently in one of the attributes provided in a class. These may include for example a comment, an instruction, or a note associated with the statement. + + + + + The proposed act must be performed if the indicated conditions occur, e.g.., shortness of breath, SpO2 less than x%. + + + + + The time when the request was made. + + + + + The time at which the request was made/recorded. + + + + + The patient who will use the device. + + + + + The timing schedule for the use of the device The Schedule data type allows many different expressions, for example. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013". + + + + + + + + Characterizes how quickly the use of device must be initiated. Includes concepts such as stat, urgent, routine. + + + + + + + + + + + The request has been proposed. + + + + + The request has been planned. + + + + + The request has been placed. + + + + + The receiving system has received the request but not yet decided whether it will be performed. + + + + + The receiving system has accepted the request but work has not yet commenced. + + + + + The work to fulfill the order is happening. + + + + + The work has been complete, the report(s) released, and no further work is planned. + + + + + The request has been held by originating system/user request. + + + + + The receiving system has declined to fulfill the request. + + + + + The request was attempted, but due to some procedural error, it could not be completed. + + + + + + + Codes representing the status of the request + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + The request has a normal priority. + + + + + The request should be done urgently. + + + + + The request is time-critical. + + + + + The request should be acted on as soon as possible. + + + + + + + Codes representing the priority of the request + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + A record of a device being used by a patient where the record is the result of a report from the patient or another clinician. + + + + + A record of a device being used by a patient where the record is the result of a report from the patient or another clinician. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Body site where the device was used. + + + + + The time period over which the device was used. + + + + + The details of the device used. + + + + + An external identifier for this statement such as an IRI. + + + + + Reason or justification for the use of the device. + + + + + Details about the device statement that were not represented at all or sufficiently in one of the attributes provided in a class. These may include for example a comment, an instruction, or a note associated with the statement. + + + + + The time at which the statement was made/recorded. + + + + + The patient who used the device. + + + + + How often the device was used. + + + + + + + + + + + + A request for a diagnostic investigation service to be performed. + + + + + A request for a diagnostic investigation service to be performed. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Who or what the investigation is to be performed on. This is usually a human patient, but diagnostic tests can also be requested on animals, groups of humans or animals, devices such as dialysis machines, or even locations (typically for environmental scans). + + + + + The practitioner that holds legal responsibility for ordering the investigation. + + + + + Identifiers assigned to this order by the order or by the receiver. + + + + + An encounter that provides additional information about the healthcare context in which this request is made. + + + + + An explanation or justification for why this diagnostic investigation is being requested. + + + + + Additional clinical information about the patient or specimen that may influence test interpretations. + + + + + One or more specimens that the diagnostic investigation is about. + + + + + The status of the order. + + + + + The clinical priority associated with this order. + + + + + A summary of the events of interest that have occurred as the request is processed. E.g. when the order was made, various processing steps (specimens received), when it was completed. + + + + + The specific diagnostic investigations that are requested as part of this request. Sometimes, there can only be one item per request, but in most contexts, more than one investigation can be requested. + + + + + + + + + A request for a diagnostic investigation service to be performed. + + + + + + + The status for the event. + + + + + Additional information about the event that occurred - e.g. if the status remained unchanged. + + + + + The date/time at which the event occurred. + + + + + The person who was responsible for performing or recording the action. + + + + + + + + + A request for a diagnostic investigation service to be performed. + + + + + + + A code that identifies a particular diagnostic investigation, or panel of investigations, that have been requested. + + + + + If the item is related to a specific specimen. + + + + + Anatomical location where the request test should be performed. + + + + + The status of this individual item within the order. + + + + + A summary of the events of interest that have occurred as this item of the request is processed. + + + + + + + + + + + The request has been placed. + + + + + The receiving system has received the order, but not yet decided whether it will be performed. + + + + + The receiving system has accepted the order, but work has not yet commenced. + + + + + The work to fulfill the order is happening. + + + + + The work is complete, and the outcomes are being reviewed for approval. + + + + + The work has been complete, the report(s) released, and no further work is planned. + + + + + The request has been held by originating system/user request. + + + + + The receiving system has declined to fulfill the request. + + + + + The diagnostic investigation was attempted, but due to some procedural error, it could not be completed. + + + + + + + The status of a diagnostic order + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + The order has a normal priority. + + + + + The order should be urgently. + + + + + The order is time-critical. + + + + + The order should be acted on as soon as possible. + + + + + + + The clinical priority of a diagnostic order + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + The findings and interpretation of diagnostic tests performed on patients, groups of patients, devices, and locations, and/or specimens derived from these. The report includes clinical context such as requesting and provider information, and some mix of atomic results, images, textual and coded interpretation, and formatted representation of diagnostic reports. + + + + + The findings and interpretation of diagnostic tests performed on patients, groups of patients, devices, and locations, and/or specimens derived from these. The report includes clinical context such as requesting and provider information, and some mix of atomic results, images, textual and coded interpretation, and formatted representation of diagnostic reports. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + A code or name that describes this diagnostic report. + + + + + The status of the diagnostic report as a whole. + + + + + The date and/or time that this version of the report was released from the source diagnostic service. + + + + + The subject of the report. Usually, but not always, this is a patient. However diagnostic services also perform analyses on specimens collected from a variety of other sources. + + + + + The diagnostic service that is responsible for issuing the report. + + + + + The local ID assigned to the report by the order filler, usually by the Information System of the diagnostic service provider. + + + + + Details concerning a test requested. + + + + + The section of the diagnostic service that performs the examination e.g. biochemistry, hematology, MRI. + + + + + The time or time-period the observed values are related to. This is usually either the time of the procedure or of specimen collection(s), but very often the source of the date/time is not known, only the date/time itself. + + + + + + + Details about the specimens on which this diagnostic report is based. + + + + + Observations that are part of this diagnostic report. Observations can be simple name/value pairs (e.g. "atomic" results), or they can be grouping observations that include references to other members of the group (e.g. "panels"). + + + + + One or more links to full details of any imaging performed during the diagnostic investigation. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images. + + + + + A list of key images associated with this report. The images are generally created during the diagnostic process, and may be directly of the patient, or of treated specimens (i.e. slides of interest). + + + + + Concise and clinically contextualized narrative interpretation of the diagnostic report. + + + + + Codes for the conclusion. + + + + + Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent. + + + + + + + + + The findings and interpretation of diagnostic tests performed on patients, groups of patients, devices, and locations, and/or specimens derived from these. The report includes clinical context such as requesting and provider information, and some mix of atomic results, images, textual and coded interpretation, and formatted representation of diagnostic reports. + + + + + + + A comment about the image. Typically, this is used to provide an explanation for why the image is included, or to draw the viewer's attention to important features. + + + + + Reference to the image source. + + + + + + + + + + + The existence of the report is registered, but there is nothing yet available. + + + + + This is a partial (e.g. initial, interim or preliminary) report: data in the report may be incomplete or unverified. + + + + + The report is complete and verified by an authorized person. + + + + + The report has been modified subsequent to being Final, and is complete and verified by an authorized person. + + + + + The report has been modified subsequent to being Final, and is complete and verified by an authorized person, and data has been changed. + + + + + The report has been modified subsequent to being Final, and is complete and verified by an authorized person. New content has been added, but existing content hasn't changed. + + + + + The report is unavailable because the measurement was not started or not completed (also sometimes called "aborted"). + + + + + The report has been withdrawn following previous Final release. + + + + + + + The status of the diagnostic report as a whole + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + A manifest that defines a set of documents. + + + + + A manifest that defines a set of documents. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + A single identifier that uniquely identifies this manifest. Principally used to refer to the manifest in non-FHIR contexts. + + + + + Other identifiers associated with the document, including version independent, source record and workflow related identifiers. + + + + + Who or what the set of documents is about. The documents can be about a person, (patient or healthcare practitioner), a device (i.e. machine) or even a group of subjects (such as a document about a herd of farm animals, or a set of patients that share a common exposure). If the documents cross more than one subject, then more than one subject is allowed here (unusual use case). + + + + + A patient, practitioner, or organization for which this set of documents is intended. + + + + + Specifies the kind of this set of documents (e.g. Patient Summary, Discharge Summary, Prescription, etc.). The type of a set of documents may be the same as one of the documents in it - especially if there is only one - but it may be wider. + + + + + Identifies who is responsible for adding the information to the document. + + + + + When the document manifest was created for submission to the server (not necessarily the same thing as the actual resource last modified time, since it may be modified, replicated etc). + + + + + Identifies the source system, application, or software that produced the document manifest. + + + + + The status of this document manifest. + + + + + Whether this document manifest replaces another. + + + + + Human-readable description of the source document. This is sometimes known as the "title". + + + + + A code specifying the level of confidentiality of this set of Documents. + + + + + The list of resources that describe the parts of this document reference. Usually, these would be document references, but direct references to binary attachments and images are also allowed. + + + + + + + + + A reference to a document. + + + + + A reference to a document. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Document identifier as assigned by the source of the document. This identifier is specific to this version of the document. This unique identifier may be used elsewhere to identify this version of the document. + + + + + Other identifiers associated with the document, including version independent, source record and workflow related identifiers. + + + + + Who or what the document is about. The document can be about a person, (patient or healthcare practitioner), a device (I.e. machine) or even a group of subjects (such as a document about a herd of farm animals, or a set of patients that share a common exposure). + + + + + Specifies the particular kind of document (e.g. Patient Summary, Discharge Summary, Prescription, etc.). + + + + + A categorization for the type of the document. This may be implied by or derived from the code specified in the Document Type. + + + + + Identifies who is responsible for adding the information to the document. + + + + + Identifies the organization or group who is responsible for ongoing maintenance of and access to the document. + + + + + A reference to a domain or server that manages policies under which the document is accessed and/or made available. + + + + + Which person or organization authenticates that this document is valid. + + + + + When the document was created. + + + + + When the document reference was created. + + + + + The status of this document reference. + + + + + The status of the underlying document. + + + + + Relationships that this document has with other document references that already exist. + + + + + Human-readable description of the source document. This is sometimes known as the "title". + + + + + A code specifying the level of confidentiality of the XDS Document. + + + + + The primary language in which the source document is written. + + + + + The mime type of the source document. + + + + + An identifier that identifies that the format and content of the document conforms to additional rules beyond the base format indicated in the mimeType. + + + + + The size of the source document this reference refers to in bytes. + + + + + A hash of the source document to ensure that changes have not occurred. + + + + + A url at which the document can be accessed. + + + + + A description of a service call that can be used to retrieve the document. + + + + + The clinical context in which the document was prepared. + + + + + + + + + A reference to a document. + + + + + + + The type of relationship that this document has with anther document. + + + + + The target document of this relationship. + + + + + + + + + A reference to a document. + + + + + + + The type of the service that can be used to access the documents. + + + + + Where the service end-point is located. + + + + + A list of named parameters that is used in the service call. + + + + + + + + + A reference to a document. + + + + + + + The name of a parameter. + + + + + The value of the named parameter. + + + + + + + + + A reference to a document. + + + + + + + This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a "History and Physical Report" in which the procedure being documented is necessarily a "History and Physical" act. + + + + + The time period over which the service that is described by the document was provided. + + + + + The kind of facility where the patient was seen. + + + + + + + + + + + This document logically replaces or supercedes the target document. + + + + + This document was generated by transforming the target document (e.g. format or language conversion). + + + + + This document is a signature of the target document. + + + + + This document adds additional information to the target document. + + + + + + + The type of relationship between documents + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + This resource provides the insurance eligibility details from the insurer regarding a specified coverage and optionally some class of service. + + + + + This resource provides the insurance eligibility details from the insurer regarding a specified coverage and optionally some class of service. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The Response Business Identifier. + + + + + The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. + + + + + The style (standard) and version of the original material which was converted into this resource. + + + + + The date when this resource was created. + + + + + The Insurer who is target of the request. + + + + + The practitioner who is responsible for the services rendered to the patient. + + + + + The organization which is responsible for the services rendered to the patient. + + + + + + + + + This resource provides eligibility and plan details from the processing of an Eligibility resource. + + + + + This resource provides eligibility and plan details from the processing of an Eligibility resource. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The Response Business Identifier. + + + + + Original request resource reference. + + + + + Transaction status: error, complete. + + + + + A description of the status of the adjudication. + + + + + The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. + + + + + The style (standard) and version of the original material which was converted into this resource. + + + + + The date when the enclosed suite of services were performed or completed. + + + + + The Insurer who produced this adjudicated response. + + + + + The practitioner who is responsible for the services rendered to the patient. + + + + + The organization which is responsible for the services rendered to the patient. + + + + + + + + + An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient. + + + + + An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Identifier(s) by which this encounter is known. + + + + + planned | arrived | in progress | onleave | finished | cancelled. + + + + + The current status is always found in the current version of the resource. This status history permits the encounter resource to contain the status history without the needing to read through the historical versions of the resource, or even have the server store them. + + + + + inpatient | outpatient | ambulatory | emergency +. + + + + + Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation). + + + + + The patient present at the encounter. + + + + + Where a specific encounter should be classified as a part of a specific episode of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as govt reporting, or issue tracking. + + + + + The main practitioner responsible for providing the service. + + + + + The appointment that scheduled this encounter. + + + + + The start and end time of the encounter. + + + + + Quantity of time the encounter lasted. This excludes the time during leaves of absence. + + + + + Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis. + + + + + Reason the encounter takes place, as specified using information from another resource. For admissions, this is the admission diagnosis. + + + + + Indicates the urgency of the encounter. + + + + + Details about an admission to a clinic. + + + + + List of locations at which the patient has been. + + + + + Department or team providing care. + + + + + Another Encounter of which this encounter is a part of (administratively or in time). + + + + + + + + + An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient. + + + + + + + planned | arrived | in progress | onleave | finished | cancelled. + + + + + The time that the episode was in the specified status. + + + + + + + + + An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient. + + + + + + + Role of participant in encounter. + + + + + The period of time that the specified participant was present during the encounter. These can overlap or be sub-sets of the overall encounters period. + + + + + Persons involved in the encounter other than the patient. + + + + + + + + + An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient. + + + + + + + Pre-admission identifier. + + + + + The location from which the patient came before admission. + + + + + From where patient was admitted (physician referral, transfer). + + + + + Dietary restrictions for the patient. + + + + + Special courtesies (VIP, board member). + + + + + Wheelchair, translator, stretcher, etc. + + + + + Location to which the patient is discharged. + + + + + Category or kind of location after discharge. + + + + + The final diagnosis given a patient before release from the hospital after all testing, surgery, and workup are complete. + + + + + Whether this hospitalization is a readmission. + + + + + + + + + An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient. + + + + + + + The location where the encounter takes place. + + + + + The status of the participants presence at the specified location during the period specified. If the participant is is no longer at the location, then the period will have an end date/time. + + + + + Time period during which the patient was present at the location. + + + + + + + + + + + The patient is planned to be moved to this location at some point in the future. + + + + + The patient is currently at this location, or was between the period specified. + + + + + This location is held empty for this patient. + + + + + + + The status of the location + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + This resource provides the insurance Enrollment details to the insurer regarding a specified coverage. + + + + + This resource provides the insurance Enrollment details to the insurer regarding a specified coverage. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The Response Business Identifier. + + + + + The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. + + + + + The style (standard) and version of the original material which was converted into this resource. + + + + + The date when this resource was created. + + + + + The Insurer who is target of the request. + + + + + The practitioner who is responsible for the services rendered to the patient. + + + + + The organization which is responsible for the services rendered to the patient. + + + + + Patient Resource. + + + + + Reference to the program or plan identification, underwriter or payor. + + + + + The relationship of the patient to the subscriber. + + + + + + + + + This resource provides Enrollment and plan details from the processing of an Enrollment resource. + + + + + This resource provides Enrollment and plan details from the processing of an Enrollment resource. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The Response Business Identifier. + + + + + Original request resource reference. + + + + + Transaction status: error, complete. + + + + + A description of the status of the adjudication. + + + + + The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. + + + + + The style (standard) and version of the original material which was converted into this resource. + + + + + The date when the enclosed suite of services were performed or completed. + + + + + The Insurer who produced this adjudicated response. + + + + + The practitioner who is responsible for the services rendered to the patient. + + + + + The organization which is responsible for the services rendered to the patient. + + + + + + + + + An association between a patient and an organization / healthcare provider(s) during which time encounters may occur. The managing organization assumes a level of responsibility for the patient during this time. + + + + + An association between a patient and an organization / healthcare provider(s) during which time encounters may occur. The managing organization assumes a level of responsibility for the patient during this time. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Identifier(s) by which this EpisodeOfCare is known. + + + + + planned | active | onhold | finished | withdrawn | other. + + + + + The status history for the EpisodeOfCare. + + + + + The type can be very important in processing as this could be used in determining if the episodeofcare is relevant to specific government reporting, or other types of classifications. + + + + + The patient that this episodeofcare applies to. + + + + + The organization that has assumed the specific responsibilities for the specified duration. + + + + + The interval during which the managing organization assumes the defined responsibility. + + + + + A list of conditions/problems/diagnoses that this episode of care is intended to be providing care for. + + + + + A Referral Request that this EpisodeOfCare manages activities within. + + + + + The practitioner that is the care manager/care co-ordinator for this patient. + + + + + The list of practitioners that may be facilitating this episode of care for specific purposes. + + + + + + + + + An association between a patient and an organization / healthcare provider(s) during which time encounters may occur. The managing organization assumes a level of responsibility for the patient during this time. + + + + + + + planned | active | onhold | finished | withdrawn | other. + + + + + The period during this episodeofcare that the specific status applied. + + + + + + + + + An association between a patient and an organization / healthcare provider(s) during which time encounters may occur. The managing organization assumes a level of responsibility for the patient during this time. + + + + + + + The practitioner within the team. + + + + + The role that this team member is taking within this episode of care. + + + + + The period of time that this practitioner is performing some role within the episode of care. + + + + + + + + + + + This episode of care is planned to start at the date specified in the period.start. During this status an organization may perform assessments to determine if they are eligible to receive services, or be organizing to make resources available to provide care services. + + + + + This episode of care is current. + + + + + This episode of care is on hold, the organization has limitted responsibility for the patient (such as while on respite). + + + + + This episode of care is finished at the organization is not expecting to be providing care to the patient. + + + + + The episode of care was withdrawn from service, often selected during the planned stage as the patient may have gone elsewhere, or the circumstances have changed and the organization is unable to provide the care. + + + + + The status is outside one of these values, an extension should be used to define what the status reason is. + + + + + + + The status of the encounter + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + This resource provides: the claim details; adjudication details from the processing of a Claim; and optionally account balance information, for informing the subscriber of the benefits provided. + + + + + This resource provides: the claim details; adjudication details from the processing of a Claim; and optionally account balance information, for informing the subscriber of the benefits provided. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The Response Business Identifier. + + + + + Original request resource reference. + + + + + Transaction status: error, complete. + + + + + A description of the status of the adjudication. + + + + + The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. + + + + + The style (standard) and version of the original material which was converted into this resource. + + + + + The date when the enclosed suite of services were performed or completed. + + + + + The Insurer who produced this adjudicated response. + + + + + The practitioner who is responsible for the services rendered to the patient. + + + + + The organization which is responsible for the services rendered to the patient. + + + + + + + + + Defines an extension that can be used in resources. + + + + + Defines an extension that can be used in resources. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The URL at which this definition is (or will be) published, and which is used to reference this profile in extension urls in operational FHIR systems. + + + + + Formal identifier that is used to identify this profile when it is represented in other formats (e.g. ISO 11179(, or referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI), (if it's not possible to use the literal URI). + + + + + A free text natural language name identifying the extension. + + + + + Defined so that applications can use this name when displaying the value of the extension to the user. + + + + + Details of the individual or organization who accepts responsibility for publishing the extension definition. + + + + + Contact details to assist a user in finding and communicating with the publisher. + + + + + A free text natural language description of the extension and its use. + + + + + A set of terms from external terminologies that may be used to assist with indexing and searching of extension definitions. + + + + + The status of the extension. + + + + + This extension definition was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. + + + + + The date that this version of the extension was published. + + + + + The Scope and Usage that this extension was created to meet. + + + + + An external specification that the content is mapped to. + + + + + Identifies the type of context to which the extension applies. + + + + + Identifies the types of resource or data type elements to which the extension can be applied. + + + + + Definition of the elements that are defined to be in the extension. + + + + + + + + + Defines an extension that can be used in resources. + + + + + + + An Internal id that is used to identify this mapping set when specific mappings are made. + + + + + A URI that identifies the specification that this mapping is expressed to. + + + + + A name for the specification that is being mapped to. + + + + + Comments about this mapping, including version notes, issues, scope limitations, and other important notes for usage. + + + + + + + + + + + The context is all elements matching a particular resource element path. + + + + + The context is all nodes matching a particular data type element path (root or repeating element) or all elements referencing a particular primitive data type (expressed as the datatype name). + + + + + The context is all nodes whose mapping to a specified reference model corresponds to a particular mapping structure. The context identifies the mapping target. The mapping should clearly identify where such an extension could be used. + + + + + The context is a particular extension from a particular profile. Expressed as uri#name, where uri identifies the profile and #name identifies the extension code. + + + + + + + How an extension context is interpreted + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + Significant health events and conditions for people related to the subject relevant in the context of care for the subject. + + + + + Significant health events and conditions for people related to the subject relevant in the context of care for the subject. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + This records identifiers associated with this family history record that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). + + + + + The person who this history concerns. + + + + + The date (and possibly time) when the family history was taken. + + + + + Conveys information about family history not specific to individual relations. + + + + + The related person. Each FamilyHistory resource contains the entire family history for a single person. + + + + + + + + + Significant health events and conditions for people related to the subject relevant in the context of care for the subject. + + + + + + + This will either be a name or a description. E.g. "Aunt Susan", "my cousin with the red hair". + + + + + The type of relationship this person has to the patient (father, mother, brother etc.). + + + + + The actual or approximate date of birth of the relative. + + + + + + + + The actual or approximate age of the relative at the time the family history is recorded. + + + + + + + + If this resource is indicating that the related person is deceased, then an indicator of whether the person is deceased (yes) or not (no) or the age or age range or description of age at death - can be indicated here. If the reason for death is known, then it can be indicated in the outcome code of the condition - in this case the deceased property should still be set. + + + + + + + + + + This property allows a non condition-specific note to the made about the related person. Ideally, the note would be in the condition property, but this is not always possible. + + + + + The significant Conditions (or condition) that the family member had. This is a repeating section to allow a system to represent more than one condition per resource, though there is nothing stopping multiple resources - one per condition. + + + + + + + + + Significant health events and conditions for people related to the subject relevant in the context of care for the subject. + + + + + + + The actual condition specified. Could be a coded condition (like MI or Diabetes) or a less specific string like 'cancer' depending on how much is known about the condition and the capabilities of the creating system. + + + + + Indicates what happened as a result of this condition. If the condition resulted in death, deceased date is captured on the relation. + + + + + Either the age of onset, range of approximate age or descriptive string can be recorded. For conditions with multiple occurrences, this describes the first known occurrence. + + + + + + + + An area where general notes can be placed about this specific condition. + + + + + + + + + Describes the intended objective(s) of the care. + + + + + Describes the intended objective(s) of the care. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + This records identifiers associated with this care plan that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). + + + + + Identifies the patient/subject whose intended care is described by the plan. + + + + + Human-readable description of a specific desired objective of care. + + + + + Indicates whether the goal has been reached and is still considered relevant. + + + + + Any comments related to the goal. + + + + + The identified conditions that this goal relates to - the condition that caused it to be created, or that it is intended to address. + + + + + + + + + + + A goal is proposed for this patient. + + + + + A goal is planned for this patient. + + + + + The goal is being sought but has not yet been reached. (Also applies if goal was reached in the past but there has been regression and goal is being sought again). + + + + + The goal has been met and no further action is needed. + + + + + The goal has been met, but ongoing activity is needed to sustain the goal objective. + + + + + The goal is no longer being sought. + + + + + A proposed goal was accepted. + + + + + A proposed goal was rejected. + + + + + + + Indicates whether the goal has been met and is still being targeted + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + Represents a defined collection of entities that may be discussed or acted upon collectively but which are not expected to act collectively and are not formally or legally recognized. I.e. A collection of entities that isn't an Organization. + + + + + Represents a defined collection of entities that may be discussed or acted upon collectively but which are not expected to act collectively and are not formally or legally recognized. I.e. A collection of entities that isn't an Organization. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + A unique business identifier for this group. + + + + + Identifies the broad classification of the kind of resources the group includes. + + + + + If true, indicates that the resource refers to a specific group of real individuals. If false, the group defines a set of intended individuals. + + + + + Provides a specific type of resource the group includes. E.g. "cow", "syringe", etc. + + + + + A label assigned to the group for human identification and communication. + + + + + A count of the number of resource instances that are part of the group. + + + + + Identifies the traits shared by members of the group. + + + + + Identifies the resource instances that are members of the group. + + + + + + + + + Represents a defined collection of entities that may be discussed or acted upon collectively but which are not expected to act collectively and are not formally or legally recognized. I.e. A collection of entities that isn't an Organization. + + + + + + + A code that identifies the kind of trait being asserted. + + + + + The value of the trait that holds (or does not hold - see 'exclude') for members of the group. + + + + + + + + + If true, indicates the characteristic is one that is NOT held by members of the group. + + + + + + + + + + + Group contains "person" Patient resources. + + + + + Group contains "animal" Patient resources. + + + + + Group contains healthcare practitioner resources. + + + + + Group contains Device resources. + + + + + Group contains Medication resources. + + + + + Group contains Substance resources. + + + + + + + Types of resources that are part of group + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + The details of a Healthcare Service available at a location. + + + + + The details of a Healthcare Service available at a location. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + External Ids for this item. + + + + + The location where this healthcare service may be provided. + + + + + Identifies the broad category of service being performed or delivered. Selecting a Service Category then determines the list of relevant service types that can be selected in the Primary Service Type. + + + + + A specific type of service that may be delivered or performed. + + + + + Further description of the service as it would be presented to a consumer while searching. + + + + + Additional description of the or any specific issues not covered by the other attributes, which can be displayed as further detail under the serviceName. + + + + + Extra details about the service that can't be placed in the other fields. + + + + + The free provision code provides a link to the Free Provision reference entity to enable the selection of one free provision type. + + + + + Does this service have specific eligibility requirements that need to be met in order to use the service. + + + + + The description of service eligibility should, in general, not exceed one or two paragraphs. It should be sufficient for a prospective consumer to determine if they are likely to be eligible or not. Where eligibility requirements and conditions are complex, it may simply be noted that an eligibility assessment is required. Where eligibility is determined by an outside source, such as an Act of Parliament, this should be noted, preferably with a reference to a commonly available copy of the source document such as a web page. + + + + + Indicates whether or not a prospective consumer will require an appointment for a particular service at a Site to be provided by the Organization. Indicates if an appointment is required for access to this service. If this flag is 'NotDefined', then this flag is overridden by the Site's availability flag. (ConditionalIndicator Enum). + + + + + If there is an image associated with this Service Site, its URI can be included here. + + + + + A Collection of times that the Service Site is available. + + + + + Not avail times - need better description. + + + + + A description of Site availability exceptions, e.g., public holiday availability. Succinctly describing all possible exceptions to normal Site availability as details in the Available Times and Not Available Times. + + + + + The public part of the 'keys' allocated to an Organization by an accredited body to support secure exchange of data over the internet. To be provided by the Organization, where available. + + + + + Program Names that can be used to categorize the service. + + + + + List of contacts related to this specific healthcare service. If this is empty, then refer to the location's contacts. + + + + + Collection of Characteristics (attributes). + + + + + Ways that the service accepts referrals. + + + + + The setting where this service can be provided, such is in home, or at location in organisation. + + + + + Collection of Target Groups for the Service Site (The target audience that this service is for). + + + + + Need better description. + + + + + Need better description. + + + + + List of the specific. + + + + + + + + + The details of a Healthcare Service available at a location. + + + + + + + The specific type of service being delivered or performed. + + + + + Collection of Specialties handled by the Service Site. This is more of a Medical Term. + + + + + + + + + The details of a Healthcare Service available at a location. + + + + + + + Indicates which Days of the week are available between the Start and End Times. + + + + + Is this always available? (hence times are irrelevant) e.g. 24 hour service. + + + + + The opening time of day (the date is not included). Note: If the AllDay flag is set, then this time is ignored. + + + + + The closing time of day (the date is not included). Note: If the AllDay flag is set, then this time is ignored. + + + + + + + + + The details of a Healthcare Service available at a location. + + + + + + + The reason that can be presented to the user as to why this time is not available. + + + + + Service is not available (seasonally or for a public holiday) from this date. + + + + + Service is not available (seasonally or for a public holiday) until this date. + + + + + + + + + A set of DICOM SOP Instances of a patient, selected for some application purpose, e.g., quality assurance, teaching, conference, consulting, etc. Objects selected can be from different studies, but must be of the same patient. + + + + + A set of DICOM SOP Instances of a patient, selected for some application purpose, e.g., quality assurance, teaching, conference, consulting, etc. Objects selected can be from different studies, but must be of the same patient. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Instance UID of the DICOM KOS SOP Instances represenetd in this resource. + + + + + A patient resource reference which is the patient subject of all DICOM SOP Instances in this key object selection. + + + + + The reason for, or significance of, the selection of objects referenced in the resource. + + + + + Text description of the DICOM SOP instances selected in the key object selection. This should be aligned with the content of the title element, and can provide further explanation of the SOP instances in the selection. + + + + + Author of key object selection. It can be a human authtor or a device which made the decision of the SOP instances selected. For example, a radiologist selected a set of imaging SOP instances to attached in a diagnostic report, and a CAD application may author a selection to describe SOP instances it used to generate a detection conclusion. + + + + + Date and time when the key object selection was authored. Note that this is the date and time the DICOM SOP instances in the selection were selected (selection decision making). It is different from the creation date and time of the selection resource. + + + + + Study identity and locating information of the DICOM SOP instances in the selection. + + + + + + + + + A set of DICOM SOP Instances of a patient, selected for some application purpose, e.g., quality assurance, teaching, conference, consulting, etc. Objects selected can be from different studies, but must be of the same patient. + + + + + + + Study instance uid of the SOP instances in the selection. + + + + + The DICOM Application Entity Title where the study can be retrieved. +Note that this AE Title is provided to retrieve all SOP instances of the study, not only those in the selection. + + + + + WADO-RS URL to retrieve the study. Note that this URL retrieves all SOP instances of the study, not only those in the selection. + + + + + Series indetity and locating information of the DICOM SOP instances in the selection. + + + + + + + + + A set of DICOM SOP Instances of a patient, selected for some application purpose, e.g., quality assurance, teaching, conference, consulting, etc. Objects selected can be from different studies, but must be of the same patient. + + + + + + + Series instance uid of the SOP instances in the selection. + + + + + The DICOM Application Entity Title where the series can be retrieved. +Note that this AE Title is provided to retrieve all SOP instances of the series not only those in the selection. + + + + + WADO-RS URL to retrieve the series Note that this URL retrieves all SOP instances of the series not only those in the selection. + + + + + Identity and locating information of the selected DICOM SOP instances. + + + + + + + + + A set of DICOM SOP Instances of a patient, selected for some application purpose, e.g., quality assurance, teaching, conference, consulting, etc. Objects selected can be from different studies, but must be of the same patient. + + + + + + + SOP class uid of the selected instance. + + + + + SOP Instance uid of the selected instance. + + + + + The DICOM Application Entity Title where the DICOM SOP instance can be retrieved. + + + + + WADO-RS URL to retrieve the DICOM SOP Instance. + + + + + + + + + Representation of the content produced in a DICOM imaging study. A study comprises a set of Series, each of which includes a set of Service-Object Pair Instances (SOP Instances - images or other data) acquired or produced in a common context. A Series is of only one modality (e.g., X-ray, CT, MR, ultrasound), but a Study may have multiple Series of different modalities. + + + + + Representation of the content produced in a DICOM imaging study. A study comprises a set of Series, each of which includes a set of Service-Object Pair Instances (SOP Instances - images or other data) acquired or produced in a common context. A Series is of only one modality (e.g., X-ray, CT, MR, ultrasound), but a Study may have multiple Series of different modalities. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Date and Time the study started. + + + + + The patient for whom the images are of. + + + + + Formal identifier for the study. + + + + + Accession Number. + + + + + Other identifiers for the study. + + + + + A list of the diagnostic orders that resulted in this imaging study being performed. + + + + + A list of all the Series.ImageModality values that are actual acquisition modalities, i.e. those in the DICOM Context Group 29 (value set OID 1.2.840.10008.6.1.19). + + + + + The requesting/referring physician. + + + + + Availability of study (online, offline or nearline). + + + + + WADO-RS URI where Study is available. + + + + + Number of Series in Study. + + + + + Number of SOP Instances in Study. + + + + + Diagnoses etc provided with request. + + + + + Type of procedure performed. + + + + + Who read study and interpreted the images. + + + + + Institution-generated description or classification of the Study (component) performed. + + + + + Each study has one or more series of image instances. + + + + + + + + + Representation of the content produced in a DICOM imaging study. A study comprises a set of Series, each of which includes a set of Service-Object Pair Instances (SOP Instances - images or other data) acquired or produced in a common context. A Series is of only one modality (e.g., X-ray, CT, MR, ultrasound), but a Study may have multiple Series of different modalities. + + + + + + + The Numeric identifier of this series in the study. + + + + + The modality of this series sequence. + + + + + Formal identifier for this series. + + + + + A description of the series. + + + + + Sequence that contains attributes from the. + + + + + Availability of series (online, offline or nearline). + + + + + WADO-RS URI where Series is available. + + + + + Body part examined. See DICOM Part 16 Annex L for the mapping from DICOM to Snomed. + + + + + The date when the series was started. + + + + + A single image taken from a patient. + + + + + + + + + Representation of the content produced in a DICOM imaging study. A study comprises a set of Series, each of which includes a set of Service-Object Pair Instances (SOP Instances - images or other data) acquired or produced in a common context. A Series is of only one modality (e.g., X-ray, CT, MR, ultrasound), but a Study may have multiple Series of different modalities. + + + + + + + The number of this image in the series. + + + + + Formal identifier for this image. + + + + + DICOM Image type. + + + + + The type of the instance. + + + + + The description of the instance. + + + + + WADO-RS url where image is available. + + + + + A FHIR resource with content for this instance. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Type of acquired image data in the instance + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + Resources are immediately available,. + + + + + Resources need to be retrieved by manual intervention. + + + + + Resources need to be retrieved from relatively slow media. + + + + + Resources cannot be retrieved. + + + + + + + Availability of the resource + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Type of data in the instance + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + Immunization event information. + + + + + Immunization event information. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + A unique identifier assigned to this adverse reaction record. + + + + + Date vaccine administered or was to be administered. + + + + + Vaccine that was administered or was to be administered. + + + + + The patient to whom the vaccine was to be administered. + + + + + Indicates if the vaccination was refused. + + + + + True if this administration was reported rather than directly administered. + + + + + Clinician who administered the vaccine. + + + + + Clinician who ordered the vaccination. + + + + + Name of vaccine manufacturer. + + + + + The service delivery location where the vaccine administration occurred. + + + + + Lot number of the vaccine product. + + + + + Date vaccine batch expires. + + + + + Body site where vaccine was administered. + + + + + The path by which the vaccine product is taken into the body. + + + + + The quantity of vaccine product that was administered. + + + + + Reasons why a vaccine was administered or refused. + + + + + Categorical data indicating that an adverse event is associated in time to an immunization. + + + + + Contains information about the protocol(s) under which the vaccine was administered. + + + + + + + + + Immunization event information. + + + + + + + Reasons why a vaccine was administered. + + + + + Refusal or exemption reasons. + + + + + + + + + Immunization event information. + + + + + + + Date of reaction to the immunization. + + + + + Details of the reaction. + + + + + Self-reported indicator. + + + + + + + + + Immunization event information. + + + + + + + Nominal position in a series. + + + + + Contains the description about the protocol under which the vaccine was administered. + + + + + Indicates the authority who published the protocol? E.g. ACIP. + + + + + One possible path to achieve presumed immunity against a disease - within the context of an authority. + + + + + The recommended number of doses to achieve immunity. + + + + + The targeted disease. + + + + + Indicates if the immunization event should "count" against the protocol. + + + + + Provides an explanation as to why a immunization event should or should not count against the protocol. + + + + + + + + + A patient's point-of-time immunization status and recommendation with optional supporting justification. + + + + + A patient's point-of-time immunization status and recommendation with optional supporting justification. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + A unique identifier assigned to this particular recommendation record. + + + + + The patient who is the subject of the profile. + + + + + Vaccine administration recommendations. + + + + + + + + + A patient's point-of-time immunization status and recommendation with optional supporting justification. + + + + + + + The date the immunization recommendation was created. + + + + + Vaccine that pertains to the recommendation. + + + + + This indicates the next recommended dose number (e.g. dose 2 is the next recommended dose). + + + + + Vaccine administration status. + + + + + Vaccine date recommendations - e.g. earliest date to administer, latest date to administer, etc. + + + + + Contains information about the protocol under which the vaccine was administered. + + + + + Immunization event history that supports the status and recommendation. + + + + + Patient Information that supports the status and recommendation. This includes patient observations, adverse reactions and allergy/intolerance information. + + + + + + + + + A patient's point-of-time immunization status and recommendation with optional supporting justification. + + + + + + + Date classification of recommendation - e.g. earliest date to give, latest date to give, etc. + + + + + Date recommendation. + + + + + + + + + A patient's point-of-time immunization status and recommendation with optional supporting justification. + + + + + + + Indicates the nominal position in a series of the next dose. This is the recommended dose number as per a specified protocol. + + + + + Contains the description about the protocol under which the vaccine was administered. + + + + + Indicates the authority who published the protocol? E.g. ACIP. + + + + + One possible path to achieve presumed immunity against a disease - within the context of an authority. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The business identifier for the instance: invoice number, claim number, pre-determination or pre-authorization number. + + + + + The version of the specification on which this instance relies. + + + + + The version of the specification from which the original instance was created. + + + + + The date when the enclosed suite of services were performed or completed. + + + + + Insurer Identifier, typical BIN number (6 digit). + + + + + The provider which is responsible for the bill, claim pre-determination, pre-authorization. + + + + + The organization which is responsible for the bill, claim pre-determination, pre-authorization. + + + + + Complete (Bill or Claim), Proposed (Pre-Authorization), Exploratory (Pre-determination). + + + + + Immediate (STAT), best effort (NORMAL), deferred (DEFER). + + + + + In the case of a Pre-Determination/Pre-Authorization the provider may request that funds in the amount of the expected Benefit be reserved ('Patient' or 'Provider') to pay for the Benefits determined on the subsequent claim(s). 'None' explicitly indicates no funds reserving is requested. + + + + + Person who created the invoice/claim/pre-determination or pre-authorization. + + + + + Facility where the services were provided. + + + + + The party to be reimbursed for the services. + + + + + The referral resource which lists the date, practitioner, reason and other supporting information. + + + + + Ordered list of patient diagnosis for which care is sought. + + + + + List of patient conditions for which care is sought. + + + + + Patient Resource. + + + + + Financial instrument by which payment information for health care. + + + + + Factors which may influence the applicability of coverage. + + + + + Name of school for over-aged dependants. + + + + + Date of an accident which these services are addressing. + + + + + Type of accident: work, auto, etc. + + + + + A list of intervention and exception codes which may influence the adjudication of the claim. + + + + + First tier of goods and services. + + + + + Code to indicate that Xrays, images, emails, documents, models or attachments are being sent in support of this submission. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + Party to be reimbursed: Subscriber, provider, other. + + + + + The provider who is to be reimbursed for the claim (the party to whom any benefit is assigned). + + + + + The organization who is to be reimbursed for the claim (the party to whom any benefit is assigned). + + + + + The person other than the subscriber who is to be reimbursed for the claim (the party to whom any benefit is assigned). + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + Sequence of diagnosis. + + + + + The diagnosis. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + A service line item. + + + + + The instance number of the Coverage which is the focus for adjudication. The Coverage against which the claim is to be adjudicated. + + + + + Reference to the program or plan identification, underwriter or payor. + + + + + The contract number of a business agreement which describes the terms and conditions. + + + + + The relationship of the patient to the subscriber. + + + + + A list of references from the Insurer to which these services pertain. + + + + + The Coverages adjudication details. + + + + + The style (standard) and version of the original material which was converted into this resource. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + A service line number. + + + + + The type of product or service. + + + + + The practitioner who is responsible for the services rendered to the patient. + + + + + Diagnosis applicable for this service or product line. + + + + + If a grouping item then 'GROUP' otherwise it is a node therefore a code to indicate the Institutional Service or Product supplied. + + + + + The date when the enclosed suite of services were performed or completed. + + + + + The number of repetitions of a service or product. + + + + + If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children of the group. + + + + + A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. + + + + + An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. + + + + + The quantity times the unit price for an additional service or product or charge. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied. + + + + + List of Unique Device Identifiers associated with this line item. + + + + + Physical service site on the patient (limb, tooth, etc). + + + + + A region or surface of the site, eg. limb region or tooth surface(s). + + + + + Item typification or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen. + + + + + Second tier of goods and services. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + A service line number. + + + + + The type of product or service. + + + + + If a grouping item then 'GROUP' otherwise it is a node therefore a code to indicate the Institutional Service or Product supplied. + + + + + The number of repetitions of a service or product. + + + + + If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children of the group. + + + + + A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. + + + + + An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. + + + + + The quantity times the unit price for an additional service or product or charge. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied. + + + + + List of Unique Device Identifiers associated with this line item. + + + + + Third tier of goods and services. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + A service line number. + + + + + The type of product or service. + + + + + The fee for an additional service or product or charge. + + + + + The number of repetitions of a service or product. + + + + + The fee for an additional service or product or charge. + + + + + A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. + + + + + An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. + + + + + The quantity times the unit price for an additional service or product or charge. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied. + + + + + List of Unique Device Identifiers associated with this line item. + + + + + + + + + A set of information summarized from a list of other resources. + + + + + A set of information summarized from a list of other resources. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Identifier for the List assigned for business purposes outside the context of FHIR. + + + + + This code defines the purpose of the list - why it was created. + + + + + The common subject (or patient) of the resources that are in the list, if there is one. + + + + + The entity responsible for deciding what the contents of the list were. + + + + + The date that the list was prepared. + + + + + Whether items in the list have a meaningful order. + + + + + How this list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted. + + + + + Entries in this list. + + + + + If the list is empty, why the list is empty. + + + + + + + + + A set of information summarized from a list of other resources. + + + + + + + The flag allows the system constructing the list to make one or more statements about the role and significance of the item in the list. + + + + + True if this item is marked as deleted in the list. + + + + + When this item was added to the list. + + + + + A reference to the actual resource from which data was derived. + + + + + + + + + + + This list is the master list, maintained in an ongoing fashion with regular updates as the real world list it is tracking changes. + + + + + This list was prepared as a snapshot. It should not be assumed to be current. + + + + + The list is prepared as a statement of changes that have been made or recommended. + + + + + + + The processing mode that applies to this list + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + Details and position information for a physical place where services are provided and resources and participants may be stored, found, contained or accommodated. + + + + + Details and position information for a physical place where services are provided and resources and participants may be stored, found, contained or accommodated. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Unique code or number identifying the location to its users. + + + + + Name of the location as used by humans. Does not need to be unique. + + + + + Description of the Location, which helps in finding or referencing the place. + + + + + Indicates the type of function performed at the location. + + + + + The contact details of communication devices available at the location. This can include phone numbers, fax numbers, mobile numbers, email addresses and web sites. + + + + + Physical location. + + + + + Physical form of the location, e.g. building, room, vehicle, road. + + + + + The absolute geographic location of the Location, expressed in a KML compatible manner (see notes below for KML). + + + + + The organization that is responsible for the provisioning and upkeep of the location. + + + + + active | suspended | inactive. + + + + + Another Location which this Location is physically part of. + + + + + Indicates whether a resource instance represents a specific location or a class of locations. + + + + + + + + + Details and position information for a physical place where services are provided and resources and participants may be stored, found, contained or accommodated. + + + + + + + Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below). + + + + + Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below). + + + + + Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below). + + + + + + + + + + + The location is operational. + + + + + The location is temporarily closed. + + + + + The location is no longer used. + + + + + + + Indicates whether the location is still in use + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + The Location resource represents a specific instance of a Location. + + + + + The Location represents a class of Locations. + + + + + + + Indicates whether a resource instance represents a specific location or a class of locations + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference. + + + + + A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Whether the media is a photo (still image), an audio recording, or a video recording. + + + + + Details of the type of the media - usually, how it was acquired (what type of device). If images sourced from a DICOM system, are wrapped in a Media resource, then this is the modality. + + + + + Identifiers associated with the image - these may include identifiers for the image itself, identifiers for the context of its collection (e.g. series ids) and context ids such as accession numbers or other workflow identifiers. + + + + + The date/time when the media was originally recorded. For video and audio, if the length of the recording is not insignificant, this is the start of the recording. + + + + + Who/What this Media is a record of. + + + + + The person who administered the collection of the image. + + + + + The name of the imaging view e.g Lateral or Antero-posterior (AP). + + + + + The name of the device / manufacturer of the device that was used to make the recording. + + + + + Height of the image in pixels(photo/video). + + + + + Width of the image in pixels (photo/video). + + + + + The number of frames in a photo. This is used with a multi-page fax, or an imaging acquisition context that takes multiple slices in a single image, or an animated gif. If there is more than one frame, this SHALL have a value in order to alert interface software that a multi-frame capable rendering widget is required. + + + + + The duration of the recording in seconds - for audio and video. + + + + + The actual content of the media - inline or by direct reference to the media source file. + + + + + + + + + + + The media consists of one or more unmoving images, including photographs, computer-generated graphs and charts, and scanned documents. + + + + + The media consists of a series of frames that capture a moving image. + + + + + The media consists of a sound recording. + + + + + + + Whether the Media is a photo, video, or audio + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + Primarily used for identification and definition of Medication, but also covers ingredients and packaging. + + + + + Primarily used for identification and definition of Medication, but also covers ingredients and packaging. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The common/commercial name of the medication absent information such as strength, form, etc. E.g. Acetaminophen, Tylenol 3, etc. The fully coordinated name is communicated as the display of Medication.code. + + + + + A code (or set of codes) that identify this medication. Usage note: This could be a standard drug code such as a drug regulator code, RxNorm code, SNOMED CT code, etc. It could also be a local formulary code, optionally with translations to the standard drug codes. + + + + + Set to true if the item is attributable to a specific manufacturer (even if we don't know who that is). + + + + + Describes the details of the manufacturer. + + + + + Medications are either a single administrable product or a package that contains one or more products. + + + + + Information that only applies to products (not packages). + + + + + Information that only applies to packages (not products). + + + + + + + + + Primarily used for identification and definition of Medication, but also covers ingredients and packaging. + + + + + + + Describes the form of the item. Powder; tables; carton. + + + + + Identifies a particular constituent of interest in the product. + + + + + + + + + Primarily used for identification and definition of Medication, but also covers ingredients and packaging. + + + + + + + The actual ingredient - either a substance (simple ingredient) or another medication. + + + + + Specifies how many (or how much) of the items there are in this Medication. E.g. 250 mg per tablet. + + + + + + + + + Primarily used for identification and definition of Medication, but also covers ingredients and packaging. + + + + + + + The kind of container that this package comes as. + + + + + A set of components that go to make up the described item. + + + + + + + + + Primarily used for identification and definition of Medication, but also covers ingredients and packaging. + + + + + + + Identifies one of the items in the package. + + + + + The amount of the product that is in the package. + + + + + + + + + + + The medication is a product. + + + + + The medication is a package - a contained group of one of more products. + + + + + + + Whether the medication is a product or a package + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + Describes the event of a patient being given a dose of a medication. This may be as simple as swallowing a tablet or it may be a long running infusion. + +Related resources tie this event to the authorizing prescription, and the specific encounter between patient and health care practitioner. + + + + + Describes the event of a patient being given a dose of a medication. This may be as simple as swallowing a tablet or it may be a long running infusion. + +Related resources tie this event to the authorizing prescription, and the specific encounter between patient and health care practitioner. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + External identifier - FHIR will generate its own internal IDs (probably URLs) which do not need to be explicitly managed by the resource. The identifier here is one that would be used by another non-FHIR system - for example an automated medication pump would provide a record each time it operated; an administration while the patient was off the ward might be made with a different system and entered after the event. Particularly important if these records have to be updated. + + + + + Will generally be set to show that the administration has been completed. For some long running administrations such as infusions it is possible for an administration to be started but not completed or it may be paused while some other process is under way. + + + + + The person or animal to whom the medication was given. + + + + + The individual who was responsible for giving the medication to the patient. + + + + + The visit or admission the or other contact between patient and health care provider the medication administration was performed as part of. + + + + + The original request, instruction or authority to perform the administration. + + + + + Set this to true if the record is saying that the medication was NOT administered. + + + + + A code indicating why the administration was not performed. + + + + + An interval of time during which the administration took place. For many administrations, such as swallowing a tablet the lower and upper values of the interval will be the same. + + + + + + + Identifies the medication that was administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications. + + + + + The device used in administering the medication to the patient. E.g. a particular infusion pump. + + + + + Provides details of how much of the medication was administered. + + + + + + + + + Describes the event of a patient being given a dose of a medication. This may be as simple as swallowing a tablet or it may be a long running infusion. + +Related resources tie this event to the authorizing prescription, and the specific encounter between patient and health care practitioner. + + + + + + + The timing schedule for giving the medication to the patient. This may be a single time point (using dateTime) or it may be a start and end dateTime (Period). + + + + + + + If set to true or if specified as a CodeableConcept, indicates that the medication is only taken when needed within the specified schedule rather than at every scheduled dose. If a CodeableConcept is present, it indicates the pre-condition for taking the Medication. + + + + + + + A coded specification of the anatomic site where the medication first entered the body. E.g. "left arm". + + + + + A code specifying the route or physiological path of administration of a therapeutic agent into or onto the patient. E.g. topical, intravenous, etc. + + + + + A coded value indicating the method by which the medication was introduced into or onto the body. Most commonly used for injections. Examples: Slow Push; Deep IV. + +Terminologies used often pre-coordinate this term with the route and or form of administration. + + + + + The amount of the medication given at one administration event. Use this value when the administration is essentially an instantaneous event such as a swallowing a tablet or giving an injection. + + + + + Identifies the speed with which the medication was introduced into the patient. Typically the rate for an infusion e.g. 200ml in 2 hours. May also expressed as a rate per unit of time such as 100ml per hour - the duration is then not specified, or is specified in the quantity. + + + + + The maximum total quantity of a therapeutic substance that was administered to the patient over the specified period of time. E.g. 1000mg in 24 hours. + + + + + + + + + + + The administration has started but has not yet completed. + + + + + Actions implied by the administration have been temporarily halted, but are expected to continue later. May also be called "suspended". + + + + + All actions that are implied by the administration have occurred. + + + + + The administration was entered in error and therefore nullified. + + + + + Actions implied by the administration have been permanently halted, before all of them occurred. + + + + + + + A set of codes indicating the current status of a MedicationAdministration + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + Dispensing a medication to a named patient. This includes a description of the supply provided and the instructions for administering the medication. + + + + + Dispensing a medication to a named patient. This includes a description of the supply provided and the instructions for administering the medication. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Identifier assigned by the dispensing facility - this is an identifier assigned outside FHIR. + + + + + A code specifying the state of the set of dispense events. + + + + + A link to a resource representing the person to whom the medication will be given. + + + + + The individual responsible for dispensing the medication. + + + + + Indicates the medication order that is being dispensed against. + + + + + Indicates the details of the dispense event such as the days supply and quantity of medication dispensed. + + + + + Indicates whether or not substitution was made as part of the dispense. In some cases substitution will be expected but doesn't happen, in other cases substitution is not expected but does happen. This block explains what substitition did or did not happen and why. + + + + + + + + + Dispensing a medication to a named patient. This includes a description of the supply provided and the instructions for administering the medication. + + + + + + + Identifier assigned by the dispensing facility. This is an identifier assigned outside FHIR. + + + + + A code specifying the state of the dispense event. + + + + + Indicates the type of dispensing event that is performed. Examples include: Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc. + + + + + The amount of medication that has been dispensed. Includes unit of measure. + + + + + Identifies the medication being administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications. + + + + + The time when the dispensed product was packaged and reviewed. + + + + + The time the dispensed product was provided to the patient or their representative. + + + + + Identification of the facility/location where the medication was shipped to, as part of the dispense event. + + + + + Identifies the person who picked up the medication. This will usually be a patient or their carer, but some cases exist where it can be a healthcare professional. + + + + + Indicates how the medication is to be used by the patient. + + + + + + + + + Dispensing a medication to a named patient. This includes a description of the supply provided and the instructions for administering the medication. + + + + + + + Additional instructions such as "Swallow with plenty of water" which may or may not be coded. + + + + + The timing schedule for giving the medication to the patient. The Schedule data type allows many different expressions, for example. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013". + + + + + + + + If set to true or if specified as a CodeableConcept, indicates that the medication is only taken when needed within the specified schedule rather than at every scheduled dose. If a CodeableConcept is present, it indicates the pre-condition for taking the Medication. + + + + + + + A coded specification of the anatomic site where the medication first enters the body. + + + + + A code specifying the route or physiological path of administration of a therapeutic agent into or onto a subject. + + + + + A coded value indicating the method by which the medication is introduced into or onto the body. Most commonly used for injections. Examples: Slow Push; Deep IV. + +Terminologies used often pre-coordinate this term with the route and or form of administration. + + + + + The amount of therapeutic or other substance given at one administration event. + + + + + Identifies the speed with which the substance is introduced into the subject. Typically the rate for an infusion. 200ml in 2 hours. + + + + + The maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time, e.g. 1000mg in 24 hours. + + + + + + + + + Dispensing a medication to a named patient. This includes a description of the supply provided and the instructions for administering the medication. + + + + + + + A code signifying whether a different drug was dispensed from what was prescribed. + + + + + Indicates the reason for the substitution of (or lack of substitution) from what was prescribed. + + + + + The person or organization that has primary responsibility for the substitution. + + + + + + + + + + + The dispense has started but has not yet completed. + + + + + Actions implied by the administration have been temporarily halted, but are expected to continue later. May also be called "suspended". + + + + + All actions that are implied by the dispense have occurred. + + + + + The dispense was entered in error and therefore nullified. + + + + + Actions implied by the dispense have been permanently halted, before all of them occurred. + + + + + + + A code specifying the state of the dispense event. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + An order for both supply of the medication and the instructions for administration of the medicine to a patient. + + + + + An order for both supply of the medication and the instructions for administration of the medicine to a patient. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + External identifier - one that would be used by another non-FHIR system - for example a re-imbursement system might issue its own id for each prescription that is created. This is particularly important where FHIR only provides part of an erntire workflow process where records have to be tracked through an entire system. + + + + + The date (and perhaps time) when the prescription was written. + + + + + A code specifying the state of the order. Generally this will be active or completed state. + + + + + A link to a resource representing the person to whom the medication will be given. + + + + + The healthcare professional responsible for authorizing the prescription. + + + + + A link to a resource that identifies the particular occurrence of contact between patient and health care provider. + + + + + Can be the reason or the indication for writing the prescription. + + + + + + + Identifies the medication being administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications. + + + + + Indicates how the medication is to be used by the patient. + + + + + Deals with details of the dispense part of the order. + + + + + Indicates whether or not substitution can or should be part of the dispense. In some cases substitution must happen, in other cases substitution must not happen, and in others it does not matter. This block explains the prescriber's intent. If nothing is specified substitution may be done. + + + + + + + + + An order for both supply of the medication and the instructions for administration of the medicine to a patient. + + + + + + + Free text dosage instructions for cases where the instructions are too complex to code. + + + + + Additional instructions such as "Swallow with plenty of water" which may or may not be coded. + + + + + The timing schedule for giving the medication to the patient. The Schedule data type allows many different expressions, for example. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013". + + + + + + + + If set to true or if specified as a CodeableConcept, indicates that the medication is only taken when needed within the specified schedule rather than at every scheduled dose. If a CodeableConcept is present, it indicates the pre-condition for taking the Medication. + + + + + + + A coded specification of the anatomic site where the medication first enters the body. + + + + + A code specifying the route or physiological path of administration of a therapeutic agent into or onto a patient. + + + + + A coded value indicating the method by which the medication is introduced into or onto the body. Most commonly used for injections. Examples: Slow Push; Deep IV. + +Terminologies used often pre-coordinate this term with the route and or form of administration. + + + + + The amount of therapeutic or other substance given at one administration event. + + + + + Identifies the speed with which the substance is introduced into the subject. Typically the rate for an infusion. 200ml in 2 hours. + + + + + The maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time. E.g. 1000mg in 24 hours. + + + + + + + + + An order for both supply of the medication and the instructions for administration of the medicine to a patient. + + + + + + + Identifies the medication that is to be dispensed. This may be a more specifically defined than the medicationPrescription.medication . This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications. + + + + + Design Comments: This indicates the validity period of a prescription (stale dating the Prescription) +It reflects the prescriber perspective for the validity of the prescription. Dispenses must not be made against the prescription outside of this period. The lower-bound of the Dispensing Window signifies the earliest date that the prescription can be filled for the first time. If an upper-bound is not specified then the Prescription is open-ended or will default to a stale-date based on regulations. +Rationale: Indicates when the Prescription becomes valid, and when it ceases to be a dispensable Prescription. + + + + + An integer indicating the number of repeats of the Dispense. +UsageNotes: For example, the number of times the prescribed quantity is to be supplied including the initial standard fill. + + + + + The amount that is to be dispensed. + + + + + Identifies the period time over which the supplied product is expected to be used, or the length of time the dispense is expected to last. +In some situations, this attribute may be used instead of quantity to identify the amount supplied by how long it is expected to last, rather than the physical quantity issued, e.g. 90 days supply of medication (based on an ordered dosage) When possible, it is always better to specify quantity, as this tends to be more precise. expectedSupplyDuration will always be an estimate that can be influenced by external factors. + + + + + + + + + An order for both supply of the medication and the instructions for administration of the medicine to a patient. + + + + + + + A code signifying whether a different drug should be dispensed from what was prescribed. + + + + + Indicates the reason for the substitution, or why substitution must or must not be performed. + + + + + + + + + + + The prescription is 'actionable', but not all actions that are implied by it have occurred yet. + + + + + Actions implied by the prescription have been temporarily halted, but are expected to continue later. May also be called "suspended". + + + + + All actions that are implied by the prescription have occurred (this will rarely be made explicit). + + + + + The prescription was entered in error and therefore nullified. + + + + + Actions implied by the prescription have been permanently halted, before all of them occurred. + + + + + The prescription was replaced by a newer one, which encompasses all the information in the previous one. + + + + + + + A code specifying the state of the prescribing event. Describes the lifecycle of the prescription. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + A record of medication being taken by a patient, or that the medication has been given to a patient where the record is the result of a report from the patient or another clinician. + + + + + A record of medication being taken by a patient, or that the medication has been given to a patient where the record is the result of a report from the patient or another clinician. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + External identifier - FHIR will generate its own internal IDs (probably URLs) which do not need to be explicitly managed by the resource. The identifier here is one that would be used by another non-FHIR system - for example an automated medication pump would provide a record each time it operated; an administration while the patient was off the ward might be made with a different system and entered after the event. Particularly important if these records have to be updated. + + + + + The person or animal who is /was taking the medication. + + + + + Set this to true if the record is saying that the medication was NOT taken. + + + + + A code indicating why the medication was not taken. + + + + + The interval of time during which it is being asserted that the patient was taking the medication. + + + + + Identifies the medication being administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications. + + + + + An identifier or a link to a resource that identifies a device used in administering the medication to the patient. + + + + + Indicates how the medication is/was used by the patient. + + + + + + + + + A record of medication being taken by a patient, or that the medication has been given to a patient where the record is the result of a report from the patient or another clinician. + + + + + + + The timing schedule for giving the medication to the patient. The Schedule data type allows many different expressions, for example. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013". + + + + + If set to true or if specified as a CodeableConcept, indicates that the medication is only taken when needed within the specified schedule rather than at every scheduled dose. If a CodeableConcept is present, it indicates the pre-condition for taking the Medication. + + + + + + + A coded specification of the anatomic site where the medication first enters the body. + + + + + A code specifying the route or physiological path of administration of a therapeutic agent into or onto a subject. + + + + + A coded value indicating the method by which the medication is introduced into or onto the body. Most commonly used for injections. Examples: Slow Push; Deep IV. + +Terminologies used often pre-coordinate this term with the route and or form of administration. + + + + + The amount of therapeutic or other substance given at one administration event. + + + + + Identifies the speed with which the substance is introduced into the subject. Typically the rate for an infusion. 200ml in 2 hours. + + + + + The maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time. E.g. 1000mg in 24 hours. + + + + + + + + + The header for a message exchange that is either requesting or responding to an action. The Reference(s) that are the subject of the action as well as other Information related to the action are typically transmitted in a bundle in which the MessageHeader resource instance is the first resource in the bundle. + + + + + The header for a message exchange that is either requesting or responding to an action. The Reference(s) that are the subject of the action as well as other Information related to the action are typically transmitted in a bundle in which the MessageHeader resource instance is the first resource in the bundle. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The identifier of this message. + + + + + The time that the message was sent. + + + + + Code that identifies the event this message represents and connects it with its definition. Events defined as part of the FHIR specification have the system value "http://hl7.org/fhir/message-type". + + + + + Information about the message that this message is a response to. Only present if this message is a response. + + + + + The source application from which this message originated. + + + + + The destination application which the message is intended for. + + + + + The person or device that performed the data entry leading to this message. Where there is more than one candidate, pick the most proximal to the message. Can provide other enterers in extensions. + + + + + The logical author of the message - the person or device that decided the described event should happen. Where there is more than one candidate, pick the most proximal to the MessageHeader. Can provide other authors in extensions. + + + + + Allows data conveyed by a message to be addressed to a particular person or department when routing to a specific application isn't sufficient. + + + + + The person or organization that accepts overall responsibility for the contents of the message. The implication is that the message event happened under the policies of the responsible party. + + + + + Coded indication of the cause for the event - indicates a reason for the occurance of the event that is a focus of this message. + + + + + The actual data of the message - a reference to the root/focus class of the event. + + + + + + + + + The header for a message exchange that is either requesting or responding to an action. The Reference(s) that are the subject of the action as well as other Information related to the action are typically transmitted in a bundle in which the MessageHeader resource instance is the first resource in the bundle. + + + + + + + The id of the message that this message is a response to. + + + + + Code that identifies the type of response to the message - whether it was successful or not, and whether it should be resent or not. + + + + + Full details of any issues found in the message. + + + + + + + + + The header for a message exchange that is either requesting or responding to an action. The Reference(s) that are the subject of the action as well as other Information related to the action are typically transmitted in a bundle in which the MessageHeader resource instance is the first resource in the bundle. + + + + + + + Human-readable name for the source system. + + + + + May include configuration or other information useful in debugging. + + + + + Can convey versions of multiple systems in situations where a message passes through multiple hands. + + + + + An e-mail, phone, website or other contact point to use to resolve issues with message communications. + + + + + Identifies the routing target to send acknowledgements to. + + + + + + + + + The header for a message exchange that is either requesting or responding to an action. The Reference(s) that are the subject of the action as well as other Information related to the action are typically transmitted in a bundle in which the MessageHeader resource instance is the first resource in the bundle. + + + + + + + Human-readable name for the target system. + + + + + Identifies the target end system in situations where the initial message transmission is to an intermediary system. + + + + + Indicates where the message should be routed to. + + + + + + + + + + + The message was accepted and processed without error. + + + + + Some internal unexpected error occurred - wait and try again. Note - this is usually used for things like database unavailable, which may be expected to resolve, though human intervention may be required. + + + + + The message was rejected because of some content in it. There is no point in re-sending without change. The response narrative SHALL describe what the issue is. + + + + + + + The kind of response to a message + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + A curated namespace that issues unique symbols within that namespace for the identification of concepts, people, devices, etc. Represents a "System" used within the Identifier and Coding data types. + + + + + A curated namespace that issues unique symbols within that namespace for the identification of concepts, people, devices, etc. Represents a "System" used within the Identifier and Coding data types. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Indicates the purpose for the namingsystem - what kinds of things does it make unique?. + + + + + The descriptive name of this particular identifier type or code system. + + + + + Indicates whether the namingsystem is "ready for use" or not. + + + + + If present, indicates that the identifier or code system is principally intended for use or applies to entities within the specified country. For example, the country associated with a national code system. + + + + + Categorizes a namingsystem for easier search by grouping related namingsystems. + + + + + The name of the organization that is responsible for issuing identifiers or codes for this namespace and ensuring their non-collision. + + + + + Details about what the namespace identifies including scope, granularity, version labeling, etc. + + + + + Provides guidance on the use of the namespace, including the handling of formatting characters, use of upper vs. lower case, etc. + + + + + Indicates how the system may be identified when referenced in electronic exchange. + + + + + The person who can be contacted about this system registration entry. + + + + + For namingsystems that are retired, indicates the namingsystem that should be used in their place (if any). + + + + + + + + + A curated namespace that issues unique symbols within that namespace for the identification of concepts, people, devices, etc. Represents a "System" used within the Identifier and Coding data types. + + + + + + + Identifies the unique identifier scheme used for this particular identifier. + + + + + The string that should be sent over the wire to identify the code system or identifier system. + + + + + Indicates whether this identifier is the "preferred" identifier of this type. + + + + + Identifies the period of time over which this identifier is considered appropriate to refer to the namingsystem. Outside of this window, the identifier might be non-deterministic. + + + + + + + + + A curated namespace that issues unique symbols within that namespace for the identification of concepts, people, devices, etc. Represents a "System" used within the Identifier and Coding data types. + + + + + + + Names of the person who can be contacted. + + + + + Identifies the mechanism(s) by which they can be contacted. + + + + + + + + + + + System has been submitted but not yet approved. + + + + + System is valid for use. + + + + + System should no longer be used. + + + + + + + Indicates whether the namingsystem should be used + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + The namingsystem is used to define concepts and symbols to represent those concepts. E.g. UCUM, LOINC, NDC code, local lab codes, etc. + + + + + The namingsystem is used to manage identifiers (e.g. license numbers, order numbers, etc.). + + + + + The namingsystem is used as the root for other identifiers and namingsystems. + + + + + + + Identifies the purpose of the namingsystem + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + An ISO object identifier. E.g. 1.2.3.4.5. + + + + + A universally unique identifier of the form a5afddf4-e880-459b-876e-e4591b0acc11. + + + + + A uniform resource identifier (ideally a URL - uniform resource locator). E.g. http://unitsofmeasure.org. + + + + + Some other type of unique identifier. E.g HL7-assigned reserved string such as LN for LOINC. + + + + + + + Identifies the style of unique identifier used to identify a namepace + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. + + + + + A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The person (patient) who needs the nutrition order for an oral diet, nutritional supplement and/or enteral or formula feeding. + + + + + The practitioner that holds legal responsibility for ordering the diet, nutritional supplement, or formula feedings. + + + + + Identifiers assigned to this order by the order sender or by the order receiver. + + + + + An encounter that provides additional information about the healthcare context in which this request is made. + + + + + The date and time that this nutrition order was requested. + + + + + The ability to list substances that may cause allergies or intolerances which should be included in the nutrition order. + + + + + This modifier is used to convey order-specific modifiers about the type of food that should be given. These can be derived from patient allergies, intolerances, or preferences such as Halal, Vegan or Kosher. This modifier applies to the entire nutrition order inclusive of the oral diet, nutritional supplements and enteral formula feedings. + + + + + This modifier is used to convey order-specific modifiers about the type of food that should NOT be given. These can be derived from patient allergies, intolerances, or preferences such as No Red Meat, No Soy or No Wheat or Gluten-Free. This modifier applies to the entire nutrition order inclusive of the oral diet, nutritional supplements and enteral formula feedings. + + + + + Different items that combine to make a complete description of the nutrition to be provided via oral diet, nutritional supplement and/or formula order. + + + + + The workflow status of the nutrition order request, e.g., Active, Inactive, Pending, Held, Canceled, Suspended. + + + + + + + + + A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. + + + + + + + The frequency at which the diet, oral supplement or enteral formula should be given. + + + + + + + Indicates whether the nutrition item is currently in effect for the patient. + + + + + Class that defines the components of an oral diet order for the patient. + + + + + Class that defines the components of a supplement order for the patient. + + + + + Class that defines the components of an enteral formula order for the patient. + + + + + + + + + A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. + + + + + + + Indicates the type of oral diet or diet restrictions that describe what can be consumed orally (i.e., take via the mouth). + + + + + Class that defines the details of any nutrient modifications required for the oral diet. + + + + + Class that describes any texture modifications required for the patient to safely consume various types of solid foods. + + + + + Identifies the required consistency (e.g., honey-thick, nectar-thick, thin, thickened.) of liquids or fluids served to the patient. + + + + + Additional instructions or information pertaining to the oral diet. + + + + + + + + + A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. + + + + + + + Identifies the type of nutrient that is being modified such as carbohydrate or sodium. + + + + + The quantity or range of the specified nutrient to supply. + + + + + + + + + + + A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. + + + + + + + Identifies any texture modifications (for solid foods) that should be made, e.g. easy to chew, chopped, ground, and pureed. + + + + + Indicates what specific type of food (e.g., meats) the texture modification applies to or may apply to all foods in the diet. + + + + + + + + + A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. + + + + + + + Indicates the type of nutritional supplement product required such as high protein or pediatric clear liquid supplement. + + + + + The amount of the nutritional supplement product to provide to the patient. + + + + + The product or brand name of the nutritional supplement product to be provided to the patient. + + + + + + + + + A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. + + + + + + + Free text formula administration or feeding instructions for cases where the instructions are too complex to code. + + + + + Indicates the type of enteral or infant formula requested such as an adult standard formula with fiber or a soy-based infant formula. + + + + + The product or brand name of the enteral or infant formula product to be provided to the patient. + + + + + Indicates the type of modular component such as protein, carbohydrate, fat or fiber to be provided in addition to or mixed with the base formula. + + + + + The product or brand name of the type of modular component to be added to the formula. + + + + + The amount of energy (Calories) that the formula should provide per specified volume, typically per mL or fluid oz. For example, an infant may require a formula the provides 24 Calories per fluid ounce or an adult may require an enteral formula that provides 1.5 Calorie/mL. + + + + + A coded concept specifying the route or physiological path of administration into the patient 's gastrointestinal tract for purposes of providing the formula feeding, e.g., nasogastric tube. + + + + + The volume of formula to provide to the patient per the specified administration schedule. + + + + + Identifies the speed with which the formula is introduced into the subject via a feeding pump, e.g., 60 mL per hour, according to the specified schedule. + + + + + The change in the administration rate over a given time, e.g. increase by 10 mL/hour every 4 hours. + + + + + The maximum total quantity of formula that may be administered to a subject over the period of time, e.g., 1440 mL over 24 hours. + + + + + + + + + + + TODO. + + + + + TODO. + + + + + TODO. + + + + + TODO. + + + + + TODO. + + + + + + + TODO + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + Measurements and simple assertions made about a patient, device or other subject. + + + + + Measurements and simple assertions made about a patient, device or other subject. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Describes what was observed. Sometimes this is called the observation "code". + + + + + The information determined as a result of making the observation, if the information has a simple value. + + + + + + + + + + + + + + Provides a reason why the expected value in the element Observation.value[x] is missing. + + + + + The assessment made based on the result of the observation. + + + + + May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result. + + + + + The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the "physiologically relevant time". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself. + + + + + + + The date and time this observation was made available. + + + + + The status of the result value. + + + + + An estimate of the degree to which quality issues have impacted on the value reported. + + + + + Indicates the site on the subject's body where the observation was made ( i.e. the target site). + + + + + Indicates the mechanism used to perform the observation. + + + + + A unique identifier for the simple observation. + + + + + The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, +other observer (for example a relative or EMT), or any observation made about the subject. + + + + + The specimen that was used when this observation was made. + + + + + Who was responsible for asserting the observed value as "true". + + + + + The healthcare event ( e.g. a patient and healthcare provider interaction ) that relates to this observation. + + + + + Guidance on how to interpret the value by comparison to a normal or recommended range. + + + + + Related observations - either components, or previous observations, or statements of derivation. + + + + + + + + + Measurements and simple assertions made about a patient, device or other subject. + + + + + + + The value of the low bound of the reference range. If this is omitted, the low bound of the reference range is assumed to be meaningless. E.g. <2.3. + + + + + The value of the high bound of the reference range. If this is omitted, the high bound of the reference range is assumed to be meaningless. E.g. >5. + + + + + Code for the meaning of the reference range. + + + + + The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so. + + + + + Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of "Negative" or a list or table of 'normals'. + + + + + + + + + Measurements and simple assertions made about a patient, device or other subject. + + + + + + + A code specifying the kind of relationship that exists with the target observation. + + + + + A reference to the observation that is related to this observation. + + + + + + + + + + + The result has no reliability concerns. + + + + + An early estimate of value; measurement is still occurring. + + + + + An early estimate of value; processing is still occurring. + + + + + The observation value should be treated with care. + + + + + The result has been generated while calibration is occurring. + + + + + The observation could not be completed because of an error. + + + + + No observation reliability value was available. + + + + + + + Codes that provide an estimate of the degree to which quality issues have impacted on the value of an observation + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + The existence of the observation is registered, but there is no result yet available. + + + + + This is an initial or interim observation: data may be incomplete or unverified. + + + + + The observation is complete and verified by an authorized person. + + + + + The observation has been modified subsequent to being Final, and is complete and verified by an authorized person. + + + + + The observation is unavailable because the measurement was not started or not completed (also sometimes called "aborted"). + + + + + The observation has been withdrawn following previous Final release. + + + + + + + Codes providing the status of an observation + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + The target observation is a component of this observation (e.g. Systolic and Diastolic Blood Pressure). + + + + + This observation is a group observation (e.g. a battery, a panel of tests, a set of vital sign measurements) that includes the target as a member of the group. + + + + + The target observation is part of the information from which this observation value is derived (e.g. calculated anion gap, Apgar score). + + + + + This observation follows the target observation (e.g. timed tests such as Glucose Tolerance Test). + + + + + This observation replaces a previous observation (i.e. a revised value). The target observation is now obsolete. + + + + + The value of the target observation qualifies (refines) the semantics of the source observation (e.g. a lipaemia measure target from a plasma measure). + + + + + The value of the target observation interferes (degardes quality, or prevents valid observation) with the semantics of the source observation (e.g. a hemolysis measure target from a plasma potassium measure which has no value). + + + + + + + Codes specifying how two observations are related + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction). + + + + + A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction). + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The identifier that is used to identify this operation definition when it is referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI). + + + + + The identifier that is used to identify this version of the profile when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp. + + + + + A free text natural language name identifying the Profile. + + + + + Details of the individual or organization who accepts responsibility for publishing the profile. + + + + + Contact details to assist a user in finding and communicating with the publisher. + + + + + A free text natural language description of the profile and its use. + + + + + A set of terms from external terminologies that may be used to assist with indexing and searching of templates. + + + + + The status of the profile. + + + + + This profile was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. + + + + + The date that this version of the profile was published. + + + + + Whether this is operation or named query. + + + + + The name used to invoke the operation. + + + + + Additional information about how to use this operation or named query. + + + + + Indicates that this operation definition is a constraining profile on the base. + + + + + Indicates whether this operation or named query can be invoked at the system level (e.g. without needing to choose a resource type for the context). + + + + + Indicates whether this operation or named query can be invoked at the resource type level for any given resource type level (e.g. without needing to choose a resource type for the context). + + + + + Indicates whether this operation can be invoked on a particular instance of one of the given types. + + + + + The parameters for the operation/query. + + + + + + + + + A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction). + + + + + + + The name of used to identify the parameter. + + + + + Whether this is an input or an output parameter. + + + + + The minimum number of times this parameter SHALL appear in the request or response. + + + + + The maximum number of times this element is permitted to appear in the request or response. + + + + + Describes the meaning or use of this parameter. + + + + + The type for this parameter. + + + + + A profile the specifies the rules that this parameter must conform to. + + + + + The parts of a Tuple Parameter. + + + + + + + + + A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction). + + + + + + + The name of used to identify the parameter. + + + + + The minimum number of times this parameter SHALL appear in the request or response. + + + + + The maximum number of times this element is permitted to appear in the request or response. + + + + + Describes the meaning or use of this parameter. + + + + + The type for this parameter. + + + + + A profile the specifies the rules that this parameter must conform to. + + + + + + + + + + + This is an input parameter. + + + + + This is an output parameter. + + + + + + + Whether an operation parameter is an input or an output parameter + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + This operation is invoked as an operation. + + + + + This operation is a named query, invoked using the search mechanism. + + + + + + + Whether an operation is a normal operation or a query + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + A collection of error, warning or information messages that result from a system action. + + + + + A collection of error, warning or information messages that result from a system action. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + An error, warning or information message that results from a system action. + + + + + + + + + A collection of error, warning or information messages that result from a system action. + + + + + + + Indicates whether the issue indicates a variation from successful processing. + + + + + A code indicating the type of error, warning or information message. + + + + + Additional description of the issue. + + + + + A simple XPath limited to element names, repetition indicators and the default child access that identifies one of the elements in the resource that caused this issue to be raised. + + + + + + + + + + + The issue caused the action to fail, and no further checking could be performed. + + + + + The issue is sufficiently important to cause the action to fail. + + + + + The issue is not important enough to cause the action to fail, but may cause it to be performed suboptimally or in a way that is not as desired. + + + + + The issue has no relation to the degree of success of the action. + + + + + + + How the issue affects the success of the action + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The business identifier for the instance: invoice number, claim number, pre-determination or pre-authorization number. + + + + + The version of the specification on which this instance relies. + + + + + The version of the specification from which the original instance was created. + + + + + The date when the enclosed suite of services were performed or completed. + + + + + Insurer Identifier, typical BIN number (6 digit). + + + + + The provider which is responsible for the bill, claim pre-determination, pre-authorization. + + + + + The organization which is responsible for the bill, claim pre-determination, pre-authorization. + + + + + Complete (Bill or Claim), Proposed (Pre-Authorization), Exploratory (Pre-determination). + + + + + Immediate (STAT), best effort (NORMAL), deferred (DEFER). + + + + + In the case of a Pre-Determination/Pre-Authorization the provider may request that funds in the amount of the expected Benefit be reserved ('Patient' or 'Provider') to pay for the Benefits determined on the subsequent claim(s). 'None' explicitly indicates no funds reserving is requested. + + + + + Person who created the invoice/claim/pre-determination or pre-authorization. + + + + + Facility where the services were provided. + + + + + The party to be reimbursed for the services. + + + + + The referral resource which lists the date, practitioner, reason and other supporting information. + + + + + Ordered list of patient diagnosis for which care is sought. + + + + + List of patient conditions for which care is sought. + + + + + Patient Resource. + + + + + Financial instrument by which payment information for health care. + + + + + Factors which may influence the applicability of coverage. + + + + + Name of school for over-aged dependants. + + + + + Date of an accident which these services are addressing. + + + + + Type of accident: work, auto, etc. + + + + + A list of intervention and exception codes which may influence the adjudication of the claim. + + + + + A list of teeth which would be expected but are not found due to having been previously extracted or for other reasons. + + + + + The high-level details of an Orthodontic Treatment Plan. + + + + + First tier of goods and services. + + + + + Code to indicate that Xrays, images, emails, documents, models or attachments are being sent in support of this submission. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + Party to be reimbursed: Subscriber, provider, other. + + + + + The provider who is to be reimbursed for the claim (the party to whom any benefit is assigned). + + + + + The organization who is to be reimbursed for the claim (the party to whom any benefit is assigned). + + + + + The person other than the subscriber who is to be reimbursed for the claim (the party to whom any benefit is assigned). + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + Sequence of diagnosis. + + + + + The diagnosis. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + A service line item. + + + + + The instance number of the Coverage which is the focus for adjudication. The Coverage against which the claim is to be adjudicated. + + + + + Reference to the program or plan identification, underwriter or payor. + + + + + The contract number of a business agreement which describes the terms and conditions. + + + + + The relationship of the patient to the subscriber. + + + + + A list of references from the Insurer to which these services pertain. + + + + + The Coverages adjudication details. + + + + + The style (standard) and version of the original material which was converted into this resource. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + The code identifying which tooth is missing. + + + + + Missing reason may be: E-extraction, O-other. + + + + + The date of the extraction either known from records or patient reported estimate. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + The intended start date for service. + + + + + The estimated first examination fee. + + + + + The estimated diagnostic fee. + + + + + The estimated initial payment. + + + + + The estimated treatment duration in months. + + + + + The anticipated number of payments. + + + + + The anticipated payment amount. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + A service line number. + + + + + The type of product or service. + + + + + The practitioner who is responsible for the services rendered to the patient. + + + + + Diagnosis applicable for this service or product line. + + + + + If a grouping item then 'GROUP' otherwise it is a node therefore a code to indicate the Professional Service or Product supplied. + + + + + The date when the enclosed suite of services were performed or completed. + + + + + The number of repetitions of a service or product. + + + + + If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children of the group. + + + + + A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. + + + + + An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. + + + + + The quantity times the unit price for an addittional service or product or charge. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied. + + + + + List of Unique Device Identifiers associated with this line item. + + + + + Physical service site on the patient (limb, tooth, etc). + + + + + A region or surface of the site, eg. limb region or tooth surface(s). + + + + + Item typification or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen. + + + + + Second tier of goods and services. + + + + + The materials and placement date of prior fixed prosthesis. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + A service line number. + + + + + The type of product or service. + + + + + If a grouping item then 'GROUP' otherwise it is a node therefore a code to indicate the Professional Service or Product supplied. + + + + + The number of repetitions of a service or product. + + + + + If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children of the group. + + + + + A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. + + + + + An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. + + + + + The quantity times the unit price for an addittional service or product or charge. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied. + + + + + List of Unique Device Identifiers associated with this line item. + + + + + Third tier of goods and services. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + A service line number. + + + + + The type of product or service. + + + + + The fee for an addittional service or product or charge. + + + + + The number of repetitions of a service or product. + + + + + The fee for an addittional service or product or charge. + + + + + A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. + + + + + An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. + + + + + The quantity times the unit price for an addittional service or product or charge. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied. + + + + + List of Unique Device Identifiers associated with this line item. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + Indicates whether this is the initial placement of a fixed prosthesis. + + + + + Date of the initial placement. + + + + + Material of the prior denture or bridge prosthesis. (Oral). + + + + + + + + + A request to perform an action. + + + + + A request to perform an action. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Identifiers assigned to this order by the orderer or by the receiver. + + + + + When the order was made. + + + + + Patient this order is about. + + + + + Who initiated the order. + + + + + Who is intended to fulfill the order. + + + + + Text - why the order was made. + + + + + + + If required by policy. + + + + + When order should be fulfilled. + + + + + What action is being ordered. + + + + + + + + + A request to perform an action. + + + + + + + Code specifies when request should be done. The code may simply be a priority code. + + + + + A formal schedule. + + + + + + + + + A response to an order. + + + + + A response to an order. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Identifiers assigned to this order. The identifiers are usually assigned by the system responding to the order, but they may be provided or added to by other systems. + + + + + A reference to the order that this is in response to. + + + + + The date and time at which this order response was made (created/posted). + + + + + The person, organization, or device credited with making the response. + + + + + A reference to an authority policy that is the reason for the response. Usually this is used when the order is rejected, to provide a reason for rejection. + + + + + + + What this response says about the status of the original order. + + + + + Additional description about the response - e.g. a text description provided by a human user when making decisions about the order. + + + + + Links to resources that provide details of the outcome of performing the order. E.g. Diagnostic Reports in a response that is made to an order that referenced a diagnostic order. + + + + + + + + + + + The order is known, but no processing has occurred at this time. + + + + + The order is undergoing initial processing to determine whether it will be accepted (usually this involves human review). + + + + + The order was rejected because of a workflow/business logic reason. + + + + + The order was unable to be processed because of a technical error (i.e. unexpected error). + + + + + The order has been accepted, and work is in progress. + + + + + Processing the order was halted at the initiators request. + + + + + The order has been cancelled and replaced by another. + + + + + Processing the order was stopped because of some workflow/business logic reason. + + + + + The order has been completed. + + + + + + + The status of the response to an order + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + A formally or informally recognized grouping of people or organizations formed for the purpose of achieving some form of collective action. Includes companies, institutions, corporations, departments, community groups, healthcare practice groups, etc. + + + + + A formally or informally recognized grouping of people or organizations formed for the purpose of achieving some form of collective action. Includes companies, institutions, corporations, departments, community groups, healthcare practice groups, etc. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Identifier for the organization that is used to identify the organization across multiple disparate systems. + + + + + A name associated with the organization. + + + + + The kind of organization that this is. + + + + + A contact detail for the organization. + + + + + An address for the organization. + + + + + The organization of which this organization forms a part. + + + + + Contact for the organization for a certain purpose. + + + + + Location(s) the organization uses to provide services. + + + + + Whether the organization's record is still in active use. + + + + + + + + + A formally or informally recognized grouping of people or organizations formed for the purpose of achieving some form of collective action. Includes companies, institutions, corporations, departments, community groups, healthcare practice groups, etc. + + + + + + + Indicates a purpose for which the contact can be reached. + + + + + A name associated with the contact. + + + + + A contact detail (e.g. a telephone number or an email address) by which the party may be contacted. + + + + + Visiting or postal addresses for the contact. + + + + + Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes. + + + + + + + + + Other is a conformant for handling resource concepts not yet defined for FHIR or outside HL7's scope of interest. + + + + + Other is a conformant for handling resource concepts not yet defined for FHIR or outside HL7's scope of interest. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Identifier assigned to the resource for business purposes, outside the context of FHIR. + + + + + Identifies the 'type' of resource - equivalent to the resource name for other resources. + + + + + Identifies the patient, practitioner, device or any other resource that is the "focus" of this resoruce. + + + + + Indicates who was responsible for creating the resource instance. + + + + + Identifies when the resource was first created. + + + + + + + + + Demographics and other administrative information about a person or animal receiving care or other health-related services. + + + + + Demographics and other administrative information about a person or animal receiving care or other health-related services. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + An identifier that applies to this person as a patient. + + + + + A name associated with the individual. + + + + + A contact detail (e.g. a telephone number or an email address) by which the individual may be contacted. + + + + + Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes. + + + + + The date and time of birth for the individual. + + + + + Indicates if the individual is deceased or not. + + + + + + + Addresses for the individual. + + + + + This field contains a patient's most recent marital (civil) status. + + + + + Indicates whether the patient is part of a multiple or indicates the actual birth order. + + + + + + + Image of the person. + + + + + A contact party (e.g. guardian, partner, friend) for the patient. + + + + + This element has a value if the patient is an animal. + + + + + Languages which may be used to communicate with the patient about his or her health. + + + + + Patient's nominated care provider. + + + + + Organization that is the custodian of the patient record. + + + + + Link to another patient resource that concerns the same actual person. + + + + + Whether this patient record is in active use. + + + + + + + + + Demographics and other administrative information about a person or animal receiving care or other health-related services. + + + + + + + The nature of the relationship between the patient and the contact person. + + + + + A name associated with the person. + + + + + A contact detail for the person, e.g. a telephone number or an email address. + + + + + Address for the contact person. + + + + + Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes. + + + + + Organization on behalf of which the contact is acting or for which the contact is working. + + + + + The period during which this person or organization is valid to be contacted relating to this patient. + + + + + + + + + Demographics and other administrative information about a person or animal receiving care or other health-related services. + + + + + + + Identifies the high level categorization of the kind of animal. + + + + + Identifies the detailed categorization of the kind of animal. + + + + + Indicates the current state of the animal's reproductive organs. + + + + + + + + + Demographics and other administrative information about a person or animal receiving care or other health-related services. + + + + + + + The other patient resource that the link refers to. + + + + + The type of link between this patient resource and another patient resource. + + + + + + + + + + + The patient resource containing this link must no longer be used. The link points forward to another patient resource that must be used in lieu of the patient resource that contains the link. + + + + + The patient resource containing this link is in use and valid but not considered the main source of information about a patient. The link points forward to another patient resource that should be consulted to retrieve additional patient information. + + + + + The patient resource containing this link is in use and valid, but points to another patient resource that is known to contain data about the same person. Data in this resource might overlap or contradict information found in the other patient resource. This link does not indicate any relative importance of the resources concerned, and both should be regarded as equally valid. + + + + + + + The type of link between this patient resource and another patient resource. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + This resource provides the status of the payment for goods and services rendered, and the request and response resource references. + + + + + This resource provides the status of the payment for goods and services rendered, and the request and response resource references. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The Response Business Identifier. + + + + + The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. + + + + + The style (standard) and version of the original material which was converted into this resource. + + + + + The date when this resource was created. + + + + + The Insurer who is target of the request. + + + + + The practitioner who is responsible for the services rendered to the patient. + + + + + The organization which is responsible for the services rendered to the patient. + + + + + Reference of resource to reverse. + + + + + Reference of response to resource to reverse. + + + + + The payment status, typically paid: payment sent, cleared: payment received. + + + + + + + + + This resource provides payment details and claim references supporting a bulk payment. + + + + + This resource provides payment details and claim references supporting a bulk payment. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The Response Business Identifier. + + + + + Original request resource reference. + + + + + Transaction status: error, complete. + + + + + A description of the status of the adjudication. + + + + + The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. + + + + + The style (standard) and version of the original material which was converted into this resource. + + + + + The date when the enclosed suite of services were performed or completed. + + + + + The period of time for which payments have been gathered into this bulk payment for settlement. + + + + + The Insurer who produced this adjudicated response. + + + + + The practitioner who is responsible for the services rendered to the patient. + + + + + The organization which is responsible for the services rendered to the patient. + + + + + List of individual settlement amounts and the corresponding transaction. + + + + + The form to be used for printing the content. + + + + + Total payment amount. + + + + + Suite of notes. + + + + + + + + + This resource provides payment details and claim references supporting a bulk payment. + + + + + + + Code to indicate the nature of the payment, adjustment, funds advance, etc. + + + + + The claim or financial resource. + + + + + The claim response resource. + + + + + The Organization which submitted the invoice or financial transaction. + + + + + The organization which is receiving the payment. + + + + + The date of the invoice or financial resource. + + + + + Amount paid for this detail. + + + + + + + + + This resource provides payment details and claim references supporting a bulk payment. + + + + + + + The note purpose: Print/Display. + + + + + The note text. + + + + + + + + + This resource provides the request and response details for the resource for which the status is to be checked. + + + + + This resource provides the request and response details for the resource for which the status is to be checked. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The Response Business Identifier. + + + + + The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. + + + + + The style (standard) and version of the original material which was converted into this resource. + + + + + The date when this resource was created. + + + + + The Insurer who is target of the request. + + + + + The practitioner who is responsible for the services rendered to the patient. + + + + + The organization which is responsible for the services rendered to the patient. + + + + + Reference of resource to reverse. + + + + + Names of resource types to include. + + + + + Names of resource types to exclude. + + + + + A period of time during which the fulfilling resources would have been created. + + + + + + + + + Demographics and administrative information about a person independent of a specific health-related context. + + + + + Demographics and administrative information about a person independent of a specific health-related context. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Identifier for a person within a particular scope. + + + + + A name associated with the person. + + + + + A contact detail for the person, e.g. a telephone number or an email address. + + + + + Administrative Gender. + + + + + The birth date for the person. + + + + + One or more addresses for the person. + + + + + An image that can be displayed as a thumbnail of the person to enhance the identification of the individual. + + + + + The Organization that is the custodian of the person record. + + + + + Whether this person's record is in active use. + + + + + Link to a resource that converns the same actual person. + + + + + + + + + Demographics and administrative information about a person independent of a specific health-related context. + + + + + + + The resource to which this actual person is associated. + + + + + Level of assurance that this link is actually associated with the referenced record. + + + + + + + + + + + Little or no confidence in the asserted identity's accuracy. + + + + + Some confidence in the asserted identity's accuracy. + + + + + High confidence in the asserted identity's accuracy. + + + + + Very high confidence in the asserted identity's accuracy. + + + + + + + The level of confidence that this link represents the same actual person, based on NIST Authentication Levels + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The business identifier for the instance: invoice number, claim number, pre-determination or pre-authorization number. + + + + + The version of the specification on which this instance relies. + + + + + The version of the specification from which the original instance was created. + + + + + The date when the enclosed suite of services were performed or completed. + + + + + Insurer Identifier, typical BIN number (6 digit). + + + + + The provider which is responsible for the bill, claim pre-determination, pre-authorization. + + + + + The organization which is responsible for the bill, claim pre-determination, pre-authorization. + + + + + Complete (Bill or Claim), Proposed (Pre-Authorization), Exploratory (Pre-determination). + + + + + Immediate (STAT), best effort (NORMAL), deferred (DEFER). + + + + + In the case of a Pre-Determination/Pre-Authorization the provider may request that funds in the amount of the expected Benefit be reserved ('Patient' or 'Provider') to pay for the Benefits determined on the subsequent claim(s). 'None' explicitly indicates no funds reserving is requested. + + + + + Person who created the invoice/claim/pre-determination or pre-authorization. + + + + + Facility where the services were provided. + + + + + Prescription to support the dispensing of pharmacy services, medications or products. + + + + + Original prescription to support the dispensing of pharmacy services, medications or products. + + + + + The party to be reimbursed for the services. + + + + + The referral resource which lists the date, practitioner, reason and other supporting information. + + + + + Ordered list of patient diagnosis for which care is sought. + + + + + List of patient conditions for which care is sought. + + + + + Patient Resource. + + + + + Financial instrument by which payment information for health care. + + + + + Factors which may influence the applicability of coverage. + + + + + Name of school for over-aged dependants. + + + + + Date of an accident which these services are addressing. + + + + + Type of accident: work, auto, etc. + + + + + A list of intervention and exception codes which may influence the adjudication of the claim. + + + + + First tier of goods and services. + + + + + Code to indicate that Xrays, images, emails, documents, models or attachments are being sent in support of this submission. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + Party to be reimbursed: Subscriber, provider, other. + + + + + The provider who is to be reimbursed for the claim (the party to whom any benefit is assigned). + + + + + The organization who is to be reimbursed for the claim (the party to whom any benefit is assigned). + + + + + The person other than the subscriber who is to be reimbursed for the claim (the party to whom any benefit is assigned). + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + Sequence of diagnosis. + + + + + The diagnosis. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + A service line item. + + + + + The instance number of the Coverage which is the focus for adjudication. The Coverage to against which the claim is to be adjudicated. + + + + + Reference to the program or plan identification, underwriter or payor. + + + + + The contract number of a business agreement which describes the terms and conditions. + + + + + The relationship of the patient to the subscriber. + + + + + A list of references from the Insurer to which these services pertain. + + + + + The Coverages adjudication details. + + + + + The style (standard) and version of the original material which was converted into this resource. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + A service line number. + + + + + The type of product or service. + + + + + The practitioner who is responsible for the services rendered to the patient. + + + + + Diagnosis applicable for this service or product line. + + + + + If a grouping item then 'GROUP' otherwise it is a node therefore a code to indicate the Professional Service or Product supplied. + + + + + The date when the enclosed suite of services were performed or completed. + + + + + The number of repetitions of a service or product. + + + + + If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children of the group. + + + + + A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. + + + + + An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. + + + + + The quantity times the unit price for an additional service or product or charge. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied. + + + + + List of Unique Device Identifiers associated with this line item. + + + + + Physical service site on the patient (limb, tooth, etc). + + + + + A region or surface of the site, eg. limb region or tooth surface(s). + + + + + Item typification or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen. + + + + + Second tier of goods and services. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + A service line number. + + + + + The type of product or service. + + + + + If a grouping item then 'GROUP' otherwise it is a node therefore a code to indicate the Professional Service or Product supplied. + + + + + The number of repetitions of a service or product. + + + + + If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children of the group. + + + + + A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. + + + + + An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. + + + + + The quantity times the unit price for an additional service or product or charge. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied. + + + + + List of Unique Device Identifiers associated with this line item. + + + + + Third tier of goods and services. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + A service line number. + + + + + The type of product or service. + + + + + The fee for an additional service or product or charge. + + + + + The number of repetitions of a service or product. + + + + + The fee for an additional service or product or charge. + + + + + A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. + + + + + An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. + + + + + The quantity times the unit price for an additional service or product or charge. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied. + + + + + List of Unique Device Identifiers associated with this line item. + + + + + + + + + A person who is directly or indirectly involved in the provisioning of healthcare. + + + + + A person who is directly or indirectly involved in the provisioning of healthcare. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + An identifier that applies to this person in this role. + + + + + A name associated with the person. + + + + + A contact detail for the practitioner, e.g. a telephone number or an email address. + + + + + The postal address where the practitioner can be found or visited or to which mail can be delivered. + + + + + Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes. + + + + + The date and time of birth for the practitioner. + + + + + Image of the person. + + + + + The organization that the practitioner represents. + + + + + Roles which this practitioner is authorized to perform for the organization. + + + + + Specific specialty of the practitioner. + + + + + The period during which the person is authorized to act as a practitioner in these role(s) for the organization. + + + + + The location(s) at which this practitioner provides care. + + + + + Qualifications obtained by training and certification. + + + + + A language the practitioner is able to use in patient communication. + + + + + + + + + A person who is directly or indirectly involved in the provisioning of healthcare. + + + + + + + An identifier that applies to this person's qualification in this role. + + + + + Coded representation of the qualification. + + + + + Period during which the qualification is valid. + + + + + Organization that regulates and issues the qualification. + + + + + + + + + An action that is performed on a patient. This can be a physical 'thing' like an operation, or less invasive like counseling or hypnotherapy. + + + + + An action that is performed on a patient. This can be a physical 'thing' like an operation, or less invasive like counseling or hypnotherapy. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + This records identifiers associated with this procedure that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). + + + + + The person on whom the procedure was performed. + + + + + The specific procedure that is performed. Use text if the exact nature of the procedure can't be coded. + + + + + Detailed and structured anatomical location information. Multiple locations are allowed - e.g. multiple punch biopsies of a lesion. + + + + + The reason why the procedure was performed. This may be due to a Condition, may be coded entity of some type, or may simply be present as text. + + + + + Limited to 'real' people rather than equipment. + + + + + The dates over which the procedure was performed. Allows a period to support complex procedures that span more than one date, and also allows for the length of the procedure to be captured. + + + + + The encounter during which the procedure was performed. + + + + + What was the outcome of the procedure - did it resolve reasons why the procedure was performed?. + + + + + This could be a histology result. There could potentially be multiple reports - e.g. if this was a procedure that made multiple biopsies. + + + + + Any complications that occurred during the procedure, or in the immediate post-operative period. These are generally tracked separately from the notes, which typically will describe the procedure itself rather than any 'post procedure' issues. + + + + + If the procedure required specific follow up - e.g. removal of sutures. The followup may be represented as a simple note, or potentially could be more complex in which case the CarePlan resource can be used. + + + + + Procedures may be related to other items such as procedures or medications. For example treating wound dehiscence following a previous procedure. + + + + + Any other notes about the procedure - e.g. the operative notes. + + + + + + + + + An action that is performed on a patient. This can be a physical 'thing' like an operation, or less invasive like counseling or hypnotherapy. + + + + + + + The practitioner who was involved in the procedure. + + + + + E.g. surgeon, anaethetist, endoscopist. + + + + + + + + + An action that is performed on a patient. This can be a physical 'thing' like an operation, or less invasive like counseling or hypnotherapy. + + + + + + + The nature of the relationship. + + + + + The related item - e.g. a procedure. + + + + + + + + + + + This procedure had to be performed because of the related one. + + + + + This procedure caused the related one to be performed. + + + + + + + The nature of the relationship with this procedure + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + A request for a procedure to be performed. May be a proposal or an order. + + + + + A request for a procedure to be performed. May be a proposal or an order. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Identifiers assigned to this order by the order or by the receiver. + + + + + The patient who will receive the procedure. + + + + + The specific procedure that is ordered. Use text if the exact nature of the procedure can't be coded. + + + + + The site where the procedure is to be performed. + + + + + The reason why the procedure is proposed or ordered. This procedure request may be motivated by a Condition for instance. + + + + + The timing schedule for the proposed or ordered procedure. The Schedule data type allows many different expressions, for example. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013". + + + + + + + + The encounter within which the procedure proposal or request was created. + + + + + E.g. surgeon, anaethetist, endoscopist. + + + + + The status of the order. + + + + + Any other notes associated with this proposal or order - e.g., provider instructions. + + + + + If a CodeableConcept is present, it indicates the pre-condition for performing the procedure. + + + + + + + The time when the request was made. + + + + + The healthcare professional responsible for proposing or ordering the procedure. + + + + + The clinical priority associated with this order. + + + + + + + + + + + The request has a normal priority. + + + + + The request should be done urgently. + + + + + The request is time-critical. + + + + + The request should be acted on as soon as possible. + + + + + + + The priority of the request + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + The request has been proposed. + + + + + The request has been planned. + + + + + The request has been placed. + + + + + The receiving system has received the request but not yet decided whether it will be performed. + + + + + The receiving system has accepted the request, but work has not yet commenced. + + + + + The work to fulfill the request is happening. + + + + + The work has been complete, the report(s) released, and no further work is planned. + + + + + The request has been held by originating system/user request. + + + + + The receiving system has declined to fulfill the request. + + + + + The request was attempted, but due to some procedural error, it could not be completed. + + + + + + + The status of the request + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The business identifier for the instance: invoice number, claim number, pre-determination or pre-authorization number. + + + + + The version of the specification on which this instance relies. + + + + + The version of the specification from which the original instance was created. + + + + + The date when the enclosed suite of services were performed or completed. + + + + + Insurer Identifier, typical BIN number (6 digit). + + + + + The provider which is responsible for the bill, claim pre-determination, pre-authorization. + + + + + The organization which is responsible for the bill, claim pre-determination, pre-authorization. + + + + + Complete (Bill or Claim), Proposed (Pre-Authorization), Exploratory (Pre-determination). + + + + + Immediate (STAT), best effort (NORMAL), deferred (DEFER). + + + + + In the case of a Pre-Determination/Pre-Authorization the provider may request that funds in the amount of the expected Benefit be reserved ('Patient' or 'Provider') to pay for the Benefits determined on the subsequent claim(s). 'None' explicitly indicates no funds reserving is requested. + + + + + Person who created the invoice/claim/pre-determination or pre-authorization. + + + + + Facility where the services were provided. + + + + + The party to be reimbursed for the services. + + + + + The referral resource which lists the date, practitioner, reason and other supporting information. + + + + + Ordered list of patient diagnosis for which care is sought. + + + + + List of patient conditions for which care is sought. + + + + + Patient Resource. + + + + + Financial instrument by which payment information for health care. + + + + + Factors which may influence the applicability of coverage. + + + + + Name of school for over-aged dependants. + + + + + Date of an accident which these services are addressing. + + + + + Type of accident: work, auto, etc. + + + + + A list of intervention and exception codes which may influence the adjudication of the claim. + + + + + First tier of goods and services. + + + + + Code to indicate that Xrays, images, emails, documents, models or attachments are being sent in support of this submission. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + Party to be reimbursed: Subscriber, provider, other. + + + + + The provider who is to be reimbursed for the claim (the party to whom any benefit is assigned). + + + + + The organization who is to be reimbursed for the claim (the party to whom any benefit is assigned). + + + + + The person other than the subscriber who is to be reimbursed for the claim (the party to whom any benefit is assigned). + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + Sequence of diagnosis. + + + + + The diagnosis. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + A service line item. + + + + + The instance number of the Coverage which is the focus for adjudication. The Coverage against which the claim is to be adjudicated. + + + + + Reference to the program or plan identification, underwriter or payor. + + + + + The contract number of a business agreement which describes the terms and conditions. + + + + + The relationship of the patient to the subscriber. + + + + + A list of references from the Insurer to which these services pertain. + + + + + The Coverages adjudication details. + + + + + The style (standard) and version of the original material which was converted into this resource. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + A service line number. + + + + + The type of product or service. + + + + + The practitioner who is responsible for the services rendered to the patient. + + + + + Diagnosis applicable for this service or product line. + + + + + If a grouping item then 'GROUP' otherwise it is a node therefore a code to indicate the Professional Service or Product supplied. + + + + + The date when the enclosed suite of services were performed or completed. + + + + + The number of repetitions of a service or product. + + + + + If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children of the group. + + + + + A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. + + + + + An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. + + + + + The quantity times the unit price for an additional service or product or charge. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied. + + + + + List of Unique Device Identifiers associated with this line item. + + + + + Physical service site on the patient (limb, tooth, etc). + + + + + A region or surface of the site, eg. limb region or tooth surface(s). + + + + + Item typification or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen. + + + + + Second tier of goods and services. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + A service line number. + + + + + The type of product or service. + + + + + If a grouping item then 'GROUP' otherwise it is a node therefore a code to indicate the Professional Service or Product supplied. + + + + + The number of repetitions of a service or product. + + + + + If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children of the group. + + + + + A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. + + + + + An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. + + + + + The quantity times the unit price for an additional service or product or charge. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied. + + + + + List of Unique Device Identifiers associated with this line item. + + + + + Third tier of goods and services. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + A service line number. + + + + + The type of product or service. + + + + + The fee for an additional service or product or charge. + + + + + The number of repetitions of a service or product. + + + + + The fee for an additional service or product or charge. + + + + + A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. + + + + + An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. + + + + + The quantity times the unit price for an additional service or product or charge. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied. + + + + + List of Unique Device Identifiers associated with this line item. + + + + + + + + + A Resource Profile - a statement of use of one or more FHIR Resources. It may include constraints on Resources and Data Types, Terminology Binding Statements and Extension Definitions. + + + + + A Resource Profile - a statement of use of one or more FHIR Resources. It may include constraints on Resources and Data Types, Terminology Binding Statements and Extension Definitions. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The URL at which this profile is (or will be) published, and which is used to reference this profile in extension urls and tag values in operational FHIR systems. + + + + + Formal identifier that is used to identify this profile when it is represented in other formats, or referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI), (if it's not possible to use the literal URI). + + + + + The identifier that is used to identify this version of the profile when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually. + + + + + A free text natural language name identifying the Profile. + + + + + Details of the individual or organization who accepts responsibility for publishing the profile. + + + + + Contact details to assist a user in finding and communicating with the publisher. + + + + + A free text natural language description of the profile and its use. + + + + + A set of terms from external terminologies that may be used to assist with indexing and searching of templates. + + + + + The status of the profile. + + + + + This profile was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. + + + + + The date that this version of the profile was published. + + + + + The Scope and Usage that this profile was created to meet. + + + + + The version of the FHIR specification on which this profile is based - this is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 0.4.0 for this version. + + + + + An external specification that the content is mapped to. + + + + + The Resource or Data type being described. + + + + + The structure that is the base on which this set of constraints is derived from. + + + + + A snapshot view is expressed in a stand alone form that can be used and interpreted without considering the base profile. + + + + + A differential view is expressed relative to the base profile - a statement of differences that it applies. + + + + + + + + + A Resource Profile - a statement of use of one or more FHIR Resources. It may include constraints on Resources and Data Types, Terminology Binding Statements and Extension Definitions. + + + + + + + An Internal id that is used to identify this mapping set when specific mappings are made. + + + + + A URI that identifies the specification that this mapping is expressed to. + + + + + A name for the specification that is being mapped to. + + + + + Comments about this mapping, including version notes, issues, scope limitations, and other important notes for usage. + + + + + + + + + A Resource Profile - a statement of use of one or more FHIR Resources. It may include constraints on Resources and Data Types, Terminology Binding Statements and Extension Definitions. + + + + + + + Captures constraints on each element within the resource. + + + + + + + + + Provenance information that describes the activity that led to the creation of a set of resources. This information can be used to help determine their reliability or trace where the information in them came from. The focus of the provenance resource is record keeping, audit and traceability, and not explicit statements of clinical significance. + + + + + Provenance information that describes the activity that led to the creation of a set of resources. This information can be used to help determine their reliability or trace where the information in them came from. The focus of the provenance resource is record keeping, audit and traceability, and not explicit statements of clinical significance. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The Reference(s) that were generated by the activity described in this resource. A provenance can point to more than one target if multiple resources were created/updated by the same activity. + + + + + The period during which the activity occurred. + + + + + The instant of time at which the activity was recorded. + + + + + The reason that the activity was taking place. + + + + + Where the activity occurred, if relevant. + + + + + Policy or plan the activity was defined by. Typically, a single activity may have multiple applicable policy documents, such as patient consent, guarantor funding, etc. + + + + + An agent takes a role in an activity such that the agent can be assigned some degree of responsibility for the activity taking place. An agent can be a person, a piece of software, an inanimate object, an organization, or other entities that may be ascribed responsibility. + + + + + An entity used in this activity. + + + + + A digital signature on the target Reference(s). The signature should match a Provenance.agent.reference in the provenance resource. The signature is only added to support checking cryptographic integrity of the resource, and not to represent workflow and clinical aspects of the signing process, or to support non-repudiation. + + + + + + + + + Provenance information that describes the activity that led to the creation of a set of resources. This information can be used to help determine their reliability or trace where the information in them came from. The focus of the provenance resource is record keeping, audit and traceability, and not explicit statements of clinical significance. + + + + + + + The role that the participant played. + + + + + The type of the participant. + + + + + Identity of participant. May be a logical or physical uri and maybe absolute or relative. + + + + + Human-readable description of the participant. + + + + + + + + + Provenance information that describes the activity that led to the creation of a set of resources. This information can be used to help determine their reliability or trace where the information in them came from. The focus of the provenance resource is record keeping, audit and traceability, and not explicit statements of clinical significance. + + + + + + + How the entity was used during the activity. + + + + + The type of the entity. If the entity is a resource, then this is a resource type. + + + + + Identity of participant. May be a logical or physical uri and maybe absolute or relative. + + + + + Human-readable description of the entity. + + + + + The entity is attributed to an agent to express the agent's responsibility for that entity, possibly along with other agents. This description can be understood as shorthand for saying that the agent was responsible for the activity which generated the entity. + + + + + + + + + + + A transformation of an entity into another, an update of an entity resulting in a new one, or the construction of a new entity based on a preexisting entity. + + + + + A derivation for which the resulting entity is a revised version of some original. + + + + + The repeat of (some or all of) an entity, such as text or image, by someone who may or may not be its original author. + + + + + A primary source for a topic refers to something produced by some agent with direct experience and knowledge about the topic, at the time of the topic's study, without benefit from hindsight. + + + + + + + How an entity was used in an activity + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + A structured set of questions intended to guide the collection of answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. + + + + + A structured set of questions intended to guide the collection of answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + This records identifiers associated with this question set that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). + + + + + The version number assigned by the publisher for business reasons. It may remain the same when the resource is updated. + + + + + The lifecycle status of the questionnaire as a whole. + + + + + The date that this questionnaire was last changed. + + + + + Organization responsible for developing and maintaining the questionnaire. + + + + + A collection of related questions (or further groupings of questions). + + + + + + + + + A structured set of questions intended to guide the collection of answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. + + + + + + + An identifier that is unique within the questionnaire allowing linkage to the equivalent group in a QuestionnaireAnswers resource. + + + + + The human-readable name for this section of the questionnaire. + + + + + Identifies a how this group of questions is known in a particular terminology such as LOINC. + + + + + Additional text for the group, used for display purposes. + + + + + If true, indicates that the group must be present and have required questions within it answered. If false, the group may be skipped when answering the questionnaire. + + + + + Whether the group may occur multiple times in the instance, containing multiple sets of answers. + + + + + A sub-group within a group. The ordering of groups within this group is relevant. + + + + + Set of questions within this group. The order of questions within the group is relevant. + + + + + + + + + A structured set of questions intended to guide the collection of answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. + + + + + + + An identifier that is unique within the questionnaire allowing linkage to the equivalent group in a [[[QuestionnaireAnswers]]] resource. + + + + + Identifies a how this question is known in a particular terminology such as LOINC. + + + + + Text of the question as it is shown to the user. + + + + + The expected format of the answer, e.g. the type of input (string, integer) or whether a (multiple) choice is expected. + + + + + If true, indicates that the group must be present and have required questions within it answered. If false, the group may be skipped when answering the questionnaire. + + + + + Whether the group may occur multiple times in the instance, containing multiple sets of answers. + + + + + Reference to a valueset containing the possible options. + + + + + Nested group, containing nested question for this question. The order of groups within the question is relevant. + + + + + + + + + + + Answer is a yes/no answer. + + + + + Answer is a floating point number. + + + + + Answer is an integer. + + + + + Answer is a date. + + + + + Answer is a date and time. + + + + + Answer is a system timestamp. + + + + + Answer is a time independent of date. + + + + + Answer is a short (few words to short sentence) free-text entry. + + + + + Answer is a long (potentially multi-paragram) free-text entry. + + + + + Answer is a choice from a list of options. + + + + + Answer is a choice from a list of options or a free-text entry. + + + + + Answer is binary content such as a image, PDF, etc. + + + + + Answer is a reference to another resource (practitioner, organization, etc.). + + + + + Answer is a combination of a numeric value and unit. + + + + + + + The expected format of an answer + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + A structured set of questions and their answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. + + + + + A structured set of questions and their answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + A business identifier assigned to a particular completed (or partially completed) questionnaire. + + + + + Indicates the Questionnaire resource that defines the form for which answers are being provided. + + + + + The lifecycle status of the questionnaire answers as a whole. + + + + + The subject of the questionnaire answers. This could be a patient, organization, practitioner, device, etc. This is who/what the answers apply to, but is not necessarily the source of information. + + + + + Person who received the answers to the questions in the QuestionnaireAnswers and recorded them in the system. + + + + + The date and/or time that this version of the questionnaire answers was authored. + + + + + The person who answered the questions about the subject. Only used when this is not the subject him/herself. + + + + + Encounter during which this set of questionnaire answers were collected. When there were multiple encounters, this is the one considered most relevant to the context of the answers. + + + + + A group of questions to a possibly similarly grouped set of questions in the questionnaire answers. + + + + + + + + + A structured set of questions and their answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. + + + + + + + Identifies the group from the Questionnaire that corresponds to this group in the QuestionnaireAnswers resource. + + + + + Text that is displayed above the contents of the group. + + + + + Additional text for the group, used for display purposes. + + + + + More specific subject this section's answers are about, details the subject given in QuestionnaireAnswers. + + + + + A sub-group within a group. The ordering of groups within this group is relevant. + + + + + Set of questions within this group. The order of questions within the group is relevant. + + + + + + + + + A structured set of questions and their answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. + + + + + + + Identifies the question from the Questionnaire that corresponds to this question in the QuestionnaireAnswers resource. + + + + + Text of the question as it is shown to the user. + + + + + The respondent's answer(s) to the question. + + + + + Nested group, containing nested question for this question. The order of groups within the question is relevant. + + + + + + + + + A structured set of questions and their answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. + + + + + + + Single-valued answer to the question. + + + + + + + + + + + + + + + + + + + + + + + This QuestionnaireAnswers has been partially filled out with answers, but changes or additions are still expected to be made to it. + + + + + This QuestionnaireAnswers has been filled out with answers, and the current content is regarded as definitive. + + + + + This QuestionnaireAnswers has been filled out with answers, then marked as complete, yet changes or additions have been made to it afterwards. + + + + + + + Lifecycle status of the questionnaire answers + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + This resource provides the request and line items details for the claim which is to be re-adjudicated. + + + + + This resource provides the request and line items details for the claim which is to be re-adjudicated. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The Response Business Identifier. + + + + + The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. + + + + + The style (standard) and version of the original material which was converted into this resource. + + + + + The date when this resource was created. + + + + + The Insurer who is target of the request. + + + + + The practitioner who is responsible for the services rendered to the patient. + + + + + The organization which is responsible for the services rendered to the patient. + + + + + Reference of resource to reverse. + + + + + Reference of response to resource to reverse. + + + + + A reference to supply which authenticated the process. + + + + + List of top level items to be re-adjudicated, if none specified then the entire submission is re-adjudicated. + + + + + + + + + This resource provides the request and line items details for the claim which is to be re-adjudicated. + + + + + + + A service line number. + + + + + + + + + Used to record and send details about a request for referral service or transfer of a patient to the care of another provider or provider organisation. + + + + + Used to record and send details about a request for referral service or transfer of a patient to the care of another provider or provider organisation. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The workflow status of the referral or transfer of care request. + + + + + Business Id that uniquely identifies the referral/care transfer request instance. + + + + + An indication of the type of referral (or where applicable the type of transfer of care) request. + + + + + Indication of the clinical domain or discipline to which the referral or transfer of care request is sent. + + + + + An indication of the urgency of referral (or where applicable the type of transfer of care) request. + + + + + The patient who is the subject of a referral or transfer of care request. + + + + + The healthcare provider or provider organization who/which initaited the referral/transfer of care request. Can also be Patient (a self referral). + + + + + The healthcare provider(s) or provider organization(s) who/which is to receive the referral/transfer of care request. + + + + + The encounter at which the request for referral or transfer of care is initiated. + + + + + Date/DateTime the request for referral or transfer of care is sent by the author. + + + + + Description of clinical condition indicating why referral/transfer of care is requested. + + + + + The reason gives a short description of why the referral is being made, the description expands on this to support a more complete clinical summary. + + + + + The service(s) that is/are requested to be provided to the patient. + + + + + Any additional (administrative, financial or clinical) information required to support request for referral or transfer of care. + + + + + The period of time within which the services identified in the referral/transfer of care is specified or required to occur. + + + + + + + + + + + A draft referral that has yet to be send. + + + + + The referral has been transmitted, but not yet acknowledged by the recipient. + + + + + The referral has been acknowledged by the recipient, and is in the process of being actioned. + + + + + The referral has been cancelled without being completed. For example it is no longer needed. + + + + + The recipient has declined to accept the referral. + + + + + The referral has been completely actioned. + + + + + + + The status of the referral + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + Information about a person that is involved in the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process. + + + + + Information about a person that is involved in the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Identifier for a person within a particular scope. + + + + + The patient this person is related to. + + + + + The nature of the relationship between a patient and the related person. + + + + + A name associated with the person. + + + + + A contact detail for the person, e.g. a telephone number or an email address. + + + + + Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes. + + + + + Address where the related person can be contacted or visited. + + + + + Image of the person. + + + + + The period of time that this relationship is considered to be valid. If there are no dates defined, then the interval is unknown. + + + + + + + + + This resource provides the request and response details for the request for which all actions are to be reversed or terminated. + + + + + This resource provides the request and response details for the request for which all actions are to be reversed or terminated. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The Response Business Identifier. + + + + + The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. + + + + + The style (standard) and version of the original material which was converted into this resource. + + + + + The date when this resource was created. + + + + + The Insurer who is target of the request. + + + + + The practitioner who is responsible for the services rendered to the patient. + + + + + The organization which is responsible for the services rendered to the patient. + + + + + Reference of resource to reverse. + + + + + Reference of response to resource to reverse. + + + + + Payee information supplied for matching purposes. + + + + + Financial instrument by which payment information for health care. + + + + + If true remove all history excluding audit. + + + + + + + + + This resource provides the request and response details for the request for which all actions are to be reversed or terminated. + + + + + + + Party to be reimbursed: Subscriber, provider, other. + + + + + The provider who is to be reimbursed for the claim (the party to whom any benefit is assigned). + + + + + The organization who is to be reimbursed for the claim (the party to whom any benefit is assigned). + + + + + The person other than the subscriber who is to be reimbursed for the claim (the party to whom any benefit is assigned). + + + + + + + + + This resource provides the request and response details for the request for which all actions are to be reversed or terminated. + + + + + + + A service line item. + + + + + The instance number of the Coverage which is the focus for adjudication, that is the Coverage to which the claim is to be adjudicated against. + + + + + Reference to the program or plan identification, underwriter or payor. + + + + + The contract number of a business agreement which describes the terms and conditions. + + + + + The relationship of the patient to the subscriber. + + + + + + + + + An assessment of the likely outcome(s) for a patient or other subject as well as the likelihood of each outcome. + + + + + An assessment of the likely outcome(s) for a patient or other subject as well as the likelihood of each outcome. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The patient or group the risk assessment applies to. + + + + + The date (and possibly time) the risk assessment was performed. + + + + + For assessments or prognosis specific to a particular condition, indicates the condition being assessed. + + + + + The provider or software application that performed the assessment. + + + + + Business identifier assigned to the risk assessment. + + + + + The algorithm, processs or mechanism used to evaluate the risk. + + + + + Indicates the source data considered as part of the assessment (FamilyHistory, Observations, Procedures, Conditions, etc.). + + + + + Describes the expected outcome for the subject. + + + + + A description of the steps that might be taken to reduce the identified risk(s). + + + + + + + + + An assessment of the likely outcome(s) for a patient or other subject as well as the likelihood of each outcome. + + + + + + + One of the potential outcomes for the patient (e.g. remission, death, a particular condition). + + + + + How likely is the outcome (in the specified timeframe). + + + + + + + + Indicates the risk for this particular subject (with their specific characteristics) divided by the risk of the population in general. (Numbers greater than 1 = higher risk than the population, numbers less than 1 = lower risk.). + + + + + Indicates the period of time or age range of the subject to which the specified probability applies. + + + + + + + Additional information explaining the basis for the prediction. + + + + + + + + + A container for slot(s) of time that may be available for booking appointments. + + + + + A container for slot(s) of time that may be available for booking appointments. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + External Ids for this item. + + + + + The schedule type can be used for the categorization of healthcare services or other appointment types. + + + + + The resource this Schedule resource is providing availability information for. These are expected to usually be one of HealthcareService, Location, Practitioner, Device, Patient or RelatedPerson. + + + + + The period of time that the slots that are attached to this Schedule resource cover (even if none exist). These cover the amount of time that an organization's planning horizon; the interval for which they are currently accepting appointments. This does not define a "template" for planning outside these dates. + + + + + Comments on the availability to describe any extended information. Such as custom constraints on the slot(s) that may be associated. + + + + + When this Schedule was created, or last revised. + + + + + + + + + A Search Parameter that defines a named search item that can be used to search/filter on a resource. + + + + + A Search Parameter that defines a named search item that can be used to search/filter on a resource. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The URL at which this search parameter is (or will be) published, and which is used to reference this profile in conformance statements. + + + + + The name of the standard or custom search parameter. + + + + + Details of the individual or organization who accepts responsibility for publishing the search parameter. + + + + + Contact details to assist a user in finding and communicating with the publisher. + + + + + The Scope and Usage that this search parameter was created to meet. + + + + + The base resource type that this search parameter refers to. + + + + + The type of value a search parameter refers to, and how the content is interpreted. + + + + + A description of the search parameters and how it used. + + + + + An XPath expression that returns a set of elements for the search parameter. + + + + + Types of resource (if a resource is referenced). + + + + + + + + + A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. + + + + + A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Identifies the name, action type, time, and disposition of the audited event. + + + + + A person, a hardware device or software process. + + + + + Application systems and processes. + + + + + Specific instances of data or objects that have been accessed. + + + + + + + + + A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. + + + + + + + Identifier for a family of the event. + + + + + Identifier for the category of event. + + + + + Indicator for type of action performed during the event that generated the audit. + + + + + The time when the event occurred on the source. + + + + + Indicates whether the event succeeded or failed. + + + + + A free text description of the outcome of the event. + + + + + + + + + A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. + + + + + + + Specification of the role(s) the user plays when performing the event. Usually the codes used in this element are local codes defined by the role-based access control security system used in the local context. + + + + + Direct reference to a resource that identifies the participant. + + + + + Unique identifier for the user actively participating in the event. + + + + + Alternative Participant Identifier. For a human, this should be a user identifier text string from authentication system. This identifier would be one known to a common authentication system (e.g., single sign-on), if available. + + + + + Human-meaningful name for the user. + + + + + Indicator that the user is or is not the requestor, or initiator, for the event being audited. + + + + + Type of media involved. Used when the event is about exporting/importing onto media. + + + + + Logical network location for application activity, if the activity has a network location. + + + + + + + + + A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. + + + + + + + An identifier for the network access point of the user device for the audit event. + + + + + An identifier for the type of network access point that originated the audit event. + + + + + + + + + A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. + + + + + + + Logical source location within the healthcare enterprise network. + + + + + Identifier of the source where the event originated. + + + + + Code specifying the type of source where event originated. + + + + + + + + + A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. + + + + + + + Identifies a specific instance of the participant object. The reference should always be version specific. + + + + + Identifies a specific instance of the participant object. The reference should always be version specific. + + + + + Object type being audited. + + + + + Code representing the functional application role of Participant Object being audited. + + + + + Identifier for the data life-cycle stage for the participant object. + + + + + Denotes policy-defined sensitivity for the Participant Object ID such as VIP, HIV status, mental health status or similar topics. + + + + + An instance-specific descriptor of the Participant Object ID audited, such as a person's name. + + + + + Text that describes the object in more detail. + + + + + The actual query for a query-type participant object. + + + + + Additional Information about the Object. + + + + + + + + + A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. + + + + + + + Name of the property. + + + + + Property value. + + + + + + + + + + + This object is the patient that is the subject of care related to this event. It is identifiable by patient ID or equivalent. The patient may be either human or animal. + + + + + This is a location identified as related to the event. This is usually the location where the event took place. Note that for shipping, the usual events are arrival at a location or departure from a location. + + + + + This object is any kind of persistent document created as a result of the event. This could be a paper report, film, electronic report, DICOM Study, etc. Issues related to medical records life cycle management are conveyed elsewhere. + + + + + A logical object related to the event. (Deprecated). + + + + + This is any configurable file used to control creation of documents. Examples include the objects maintained by the HL7 Master File transactions, Value Sets, etc. + + + + + A human participant not otherwise identified by some other category. + + + + + (deprecated). + + + + + Typically a licensed person who is providing or performing care related to the event, generally a physician. The key distinction between doctor and practitioner is with regards to their role, not the licensing. The doctor is the human who actually performed the work. The practitioner is the human or organization that is responsible for the work. + + + + + A person or system that is being notified as part of the event. This is relevant in situations where automated systems provide notifications to other parties when an event took place. + + + + + Insurance company, or any other organization who accepts responsibility for paying for the healthcare event. + + + + + A person or active system object involved in the event with a security role. + + + + + A person or system object involved in the event with the authority to modify security roles of other objects. + + + + + A passive object, such as a role table, that is relevant to the event. + + + + + (deprecated) Relevant to certain RBAC security methodologies. + + + + + Any person or organization responsible for providing care. This encompasses all forms of care, licensed or otherwise, and all sorts of teams and care groups. Note, the distinction between practitioners and the doctor that actually provided the care to the patient. + + + + + The source or destination for data transfer, when it does not match some other role. + + + + + A source or destination for data transfer, that acts as an archive, database, or similar role. + + + + + An object that holds schedule information. This could be an appointment book, availability information, etc. + + + + + An organization or person that is the recipient of services. This could be an organization that is buying services for a patient, or a person that is buying services for an animal. + + + + + An order, task, work item, procedure step, or other description of work to be performed. E.g., a particular instance of an MPPS. + + + + + A list of jobs or a system that provides lists of jobs. E.g., an MWL SCP. + + + + + (Deprecated). + + + + + An object that specifies or controls the routing or delivery of items. For example, a distribution list is the routing criteria for mail. The items delivered may be documents, jobs, or other objects. + + + + + The contents of a query. This is used to capture the contents of any kind of query. For security surveillance purposes knowing the queries being made is very important. + + + + + + + Code representing the functional application role of Participant Object being audited + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + Person. + + + + + System Object. + + + + + Organization. + + + + + Other. + + + + + + + Code for the participant object type being audited + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + Create a new database object, such as Placing an Order. + + + + + Display or print data, such as a Doctor Census. + + + + + Update data, such as Revise Patient Information. + + + + + Delete items, such as a doctor master file record. + + + + + Perform a system or application function such as log-on, program execution or use of an object's method, or perform a query/search operation. + + + + + + + Indicator for type of action performed during the event that generated the audit. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + Origination / Creation. + + + + + Import / Copy from original. + + + + + Amendment. + + + + + Verification. + + + + + Translation. + + + + + Access / Use. + + + + + De-identification. + + + + + Aggregation, summarization, derivation. + + + + + Report. + + + + + Export / Copy to target. + + + + + Disclosure. + + + + + Receipt of disclosure. + + + + + Archiving. + + + + + Logical deletion. + + + + + Permanent erasure / Physical destruction. + + + + + + + Identifier for the data life-cycle stage for the participant object + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + Machine Name, including DNS name. + + + + + IP Address. + + + + + Telephone Number. + + + + + Email address. + + + + + URI (User directory, HTTP-PUT, ftp, etc.). + + + + + + + The type of network access point that originated the audit event + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + The operation completed successfully (whether with warnings or not). + + + + + The action was not successful due to some kind of catered for error (often equivalent to an HTTP 400 response). + + + + + The action was not successful due to some kind of unexpected error (often equivalent to an HTTP 500 response). + + + + + An error of such magnitude occurred that the system is not longer available for use (i.e. the system died). + + + + + + + Indicates whether the event succeeded or failed + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + A slot of time on a schedule that may be available for booking appointments. + + + + + A slot of time on a schedule that may be available for booking appointments. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + External Ids for this item. + + + + + The type of appointments that can be booked into this slot (ideally this would be an identifiable service - which is at a location, rather than the location itself). If provided then this overrides the value provided on the availability resource. + + + + + The schedule resource that this slot defines an interval of status information. + + + + + BUSY | FREE | BUSY-UNAVAILABLE | BUSY-TENTATIVE. + + + + + Date/Time that the slot is to begin. + + + + + Date/Time that the slot is to conclude. + + + + + This slot has already been overbooked, appointments are unlikely to be accepted for this time. + + + + + Comments on the slot to describe any extended information. Such as custom constraints on the slot. + + + + + When this slot was created, or last revised. + + + + + + + + + + + Indicates that the time interval is busy because one or more events have been scheduled for that interval. + + + + + Indicates that the time interval is free for scheduling. + + + + + Indicates that the time interval is busy and that the interval can not be scheduled. + + + + + Indicates that the time interval is busy because one or more events have been tentatively scheduled for that interval. + + + + + + + The free/busy status of an appointment + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + Sample for analysis. + + + + + Sample for analysis. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Id for specimen. + + + + + Kind of material that forms the specimen. + + + + + Parent specimen from which the focal specimen was a component. + + + + + Where the specimen came from. This may be from the patient(s) or from the environment or a device. + + + + + The identifier assigned by the lab when accessioning specimen(s). This is not necessarily the same as the specimen identifier, depending on local lab procedures. + + + + + Time when specimen was received for processing or testing. + + + + + Details concerning the specimen collection. + + + + + Details concerning treatment and processing steps for the specimen. + + + + + The container holding the specimen. The recursive nature of containers; i.e. blood in tube in tray in rack is not addressed here. + + + + + + + + + Sample for analysis. + + + + + + + Whether this relationship is to a parent or to a child. + + + + + The specimen resource that is the target of this relationship. + + + + + + + + + Sample for analysis. + + + + + + + Person who collected the specimen. + + + + + To communicate any details or issues encountered during the specimen collection procedure. + + + + + Time when specimen was collected from subject - the physiologically relevant time. + + + + + + + The quantity of specimen collected; for instance the volume of a blood sample, or the physical measurement of an anatomic pathology sample. + + + + + A coded value specifying the technique that is used to perform the procedure. + + + + + Anatomical location from which the specimen was collected (if subject is a patient). This element is not used for environmental specimens. + + + + + + + + + Sample for analysis. + + + + + + + Textual description of procedure. + + + + + A coded value specifying the procedure used to process the specimen. + + + + + Material used in the processing step. + + + + + + + + + Sample for analysis. + + + + + + + Id for container. There may be multiple; a manufacturer's bar code, lab assigned identifier, etc. The container ID may differ from the specimen id in some circumstances. + + + + + Textual description of the container. + + + + + The type of container associated with the specimen (e.g. slide, aliquot, etc). + + + + + The capacity (volume or other measure) the container may contain. + + + + + The quantity of specimen in the container; may be volume, dimensions, or other appropriate measurements, depending on the specimen type. + + + + + Introduced substance to preserve, maintain or enhance the specimen. examples: Formalin, Citrate, EDTA. + + + + + + + + + + + + + The target resource is the parent of the focal specimen resource. + + + + + The target resource is the child of the focal specimen resource. + + + + + + + Type indicating if this is a parent or child relationship + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + This resource provides the request and response details for the resource for which the processing status is to be checked. + + + + + This resource provides the request and response details for the resource for which the processing status is to be checked. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The Response Business Identifier. + + + + + The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. + + + + + The style (standard) and version of the original material which was converted into this resource. + + + + + The date when this resource was created. + + + + + The Insurer who is target of the request. + + + + + The practitioner who is responsible for the services rendered to the patient. + + + + + The organization which is responsible for the services rendered to the patient. + + + + + Reference of resource to reverse. + + + + + Reference of response to resource to reverse. + + + + + + + + + This resource provides processing status, errors and notes from the processing of a resource. + + + + + This resource provides processing status, errors and notes from the processing of a resource. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The Response Business Identifier. + + + + + Original request resource reference. + + + + + Transaction status: error, complete, held. + + + + + A description of the status of the adjudication or processing. + + + + + The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. + + + + + The style (standard) and version of the original material which was converted into this resource. + + + + + The date when the enclosed suite of services were performed or completed. + + + + + The Insurer who produced this adjudicated response. + + + + + The practitioner who is responsible for the services rendered to the patient. + + + + + The organization which is responsible for the services rendered to the patient. + + + + + The form to be used for printing the content. + + + + + Suite of processing note or additional requirements is the processing has been held. + + + + + Processing errors. + + + + + + + + + This resource provides processing status, errors and notes from the processing of a resource. + + + + + + + The note purpose: Print/Display. + + + + + The note text. + + + + + + + + + Todo. + + + + + Todo. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Todo. + + + + + Todo. + + + + + Todo. + + + + + Todo. + + + + + Todo. + + + + + Todo. + + + + + Todo. + + + + + Todo. + + + + + + + + + Todo. + + + + + + + Todo. + + + + + Todo. + + + + + ToDo. + + + + + Usage depends on the channel type. + + + + + + + + + Todo. + + + + + + + Todo. + + + + + Todo. + + + + + Todo. + + + + + + + + + + + The client has requested the subscription, and the server has not yet set it up. + + + + + The subscription is active. + + + + + The server has an error executing the notification. + + + + + Too many errors have occurred or the subscription has expired. + + + + + + + The status of a subscription + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + The channel is executed by making a post to the URI. If a payload is included, the URL is interpreted as the service base, and an update (PUT) is made. + + + + + The channel is executed by sending a packet across a web socket connection maintained by the client. The URL identifies the websocket, and the client binds to this URL. + + + + + The channel is executed by sending an email to the email addressed in the URI (which must be a mailto:). + + + + + The channel is executed by sending an SMS message to the phone number identified in the URL (tel:). + + + + + The channel Is executed by sending a message (e.g. a Bundle with a MessageHeader resource etc) to the application identified in the URI. + + + + + + + The type of method used to execute a subscription + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + A homogeneous material with a definite composition. + + + + + A homogeneous material with a definite composition. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + A code (or set of codes) that identify this substance. + + + + + A description of the substance - its appearance, handling requirements, and other usage notes. + + + + + Substance may be used to describe a kind of substance, or a specific package/container of the substance: an instance. + + + + + A substance can be composed of other substances. + + + + + + + + + A homogeneous material with a definite composition. + + + + + + + Identifier associated with the package/container (usually a label affixed directly). + + + + + When the substance is no longer valid to use. For some substances, a single arbitrary date is used for expiry. + + + + + The amount of the substance. + + + + + + + + + A homogeneous material with a definite composition. + + + + + + + The amount of the ingredient in the substance - a concentration ratio. + + + + + Another substance that is a component of this substance. + + + + + + + + + A supply - a request for something, and provision of what is supplied. + + + + + A supply - a request for something, and provision of what is supplied. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process. + + + + + Unique identifier for this supply request. + + + + + Status of the supply request. + + + + + The item that is requested to be supplied. + + + + + A link to a resource representing the person whom the ordered item is for. + + + + + Indicates the details of the dispense event such as the days supply and quantity of a supply dispensed. + + + + + + + + + A supply - a request for something, and provision of what is supplied. + + + + + + + Identifier assigned by the dispensing facility when the item(s) is dispensed. + + + + + A code specifying the state of the dispense event. + + + + + Indicates the type of dispensing event that is performed. Examples include: Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc. + + + + + The amount of supply that has been dispensed. Includes unit of measure. + + + + + Identifies the medication or substance or device being dispensed. This is either a link to a resource representing the details of the item or a simple attribute carrying a code that identifies the item from a known list. + + + + + The individual responsible for dispensing the medication, supplier or device. + + + + + The time the dispense event occurred. + + + + + The time the dispensed item was sent or handed to the patient (or agent). + + + + + Identification of the facility/location where the Supply was shipped to, as part of the dispense event. + + + + + Identifies the person who picked up the Supply. + + + + + + + + + + + Supply has been requested, but not dispensed. + + + + + Supply is part of a pharmacy order and has been dispensed. + + + + + Dispensing was not completed. + + + + + + + Status of the dispense + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + Supply has been requested, but not dispensed. + + + + + Supply is part of a pharmacy order and has been dispensed. + + + + + Supply has been received by the requestor. + + + + + The supply will not be completed because the supplier was unable or unwilling to supply the item. + + + + + The orderer of the supply cancelled the request. + + + + + + + Status of the supply + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + This resource provides the supporting information for a process, for example clinical or financial information related to a claim or pre-authorization. + + + + + This resource provides the supporting information for a process, for example clinical or financial information related to a claim or pre-authorization. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The Response Business Identifier. + + + + + The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. + + + + + The style (standard) and version of the original material which was converted into this resource. + + + + + The date when this resource was created. + + + + + The Insurer, organization or Provider who is target of the submission. + + + + + The practitioner who is responsible for the services rendered to the patient. + + + + + The organization which is responsible for the services rendered to the patient. + + + + + Original request. + + + + + Original response. + + + + + Person who created the submission. + + + + + The patient who is directly or indirectly the subject of the supporting information. + + + + + Supporting Files. + + + + + + + + + This resource provides the supporting information for a process, for example clinical or financial information related to a claim or pre-authorization. + + + + + + + A link Id for the response to reference. + + + + + The attached content. + + + + + + + The date and optionally time when the material was created. + + + + + + + + + A value set specifies a set of codes drawn from one or more code systems. + + + + + A value set specifies a set of codes drawn from one or more code systems. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The identifier that is used to identify this value set when it is referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI). + + + + + The identifier that is used to identify this version of the value set when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp. + + + + + A free text natural language name describing the value set. + + + + + This should describe "the semantic space" to be included in the value set. This can also describe the approach taken to build the value set. + + + + + If this is set to 'true', then no new versions of the content logical definition can be created. Note: Other metadata might still change. + + + + + The name of the individual or organization that published the value set. + + + + + Contacts of the publisher to assist a user in finding and communicating with the publisher. + + + + + A free text natural language description of the use of the value set - reason for definition, conditions of use, etc. The description may include a list of expected usages for the value set. + + + + + A copyright statement relating to the value set and/or its contents. These are generally legal restrictions on the use and publishing of the value set. + + + + + The status of the value set. + + + + + This valueset was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. + + + + + Whether this is intended to be used with an extensible binding or not. + + + + + The date that the value set status was last changed. + + + + + If a Stability Date is expanded by evaluating the Content Logical Definition using the current version of all referenced code system(s) and value sets as of the Stability Date. + + + + + When value set defines its own codes. + + + + + When value set includes codes from elsewhere. + + + + + A value set can also be "expanded", where the value set is turned into a simple collection of enumerated codes. This element holds the expansion, if it has been performed. + + + + + + + + + A value set specifies a set of codes drawn from one or more code systems. + + + + + + + URI to identify the code system. + + + + + The version of this code system that defines the codes. Note that the version is optional because a well maintained code system does not suffer from versioning, and therefore the version does not need to be maintained. However many code systems are not well maintained, and the version needs to be defined and tracked. + + + + + If code comparison is case sensitive when codes within this system are compared to each other. + + + + + Concepts in the code system. + + + + + + + + + A value set specifies a set of codes drawn from one or more code systems. + + + + + + + Code that identifies concept. + + + + + If this code is not for use as a real concept. + + + + + Text to Display to the user. + + + + + The formal definition of the concept. Formal definitions are not required, because of the prevalence of legacy systems without them, but they are highly recommended, as without them there is no formal meaning associated with the concept. + + + + + Additional representations for the concept - other languages, aliases, specialised purposes, used for particular purposes, etc. + + + + + Child Concepts (is-a / contains). + + + + + + + + + A value set specifies a set of codes drawn from one or more code systems. + + + + + + + The language this designation is defined for. + + + + + A code that details how this designation would be used. + + + + + The text value for this designation. + + + + + + + + + A value set specifies a set of codes drawn from one or more code systems. + + + + + + + Includes the contents of the referenced value set as a part of the contents of this value set. + + + + + Include one or more codes from a code system. + + + + + Exclude one or more codes from the value set. + + + + + + + + + A value set specifies a set of codes drawn from one or more code systems. + + + + + + + The code system from which the selected codes come from. + + + + + The version of the code system that the codes are selected from. + + + + + Specifies a concept to be included or excluded. + + + + + Select concepts by specify a matching criteria based on the properties (including relationships) defined by the system. If multiple filters are specified, they SHALL all be true. + + + + + + + + + A value set specifies a set of codes drawn from one or more code systems. + + + + + + + Specifies a code for the concept to be included or excluded. + + + + + The text to display to the user for this concept in the context of this valueset. If no display is provided, then applications using the value set use the display specified for the code by the system. + + + + + Additional representations for this concept when used in this value set - other languages, aliases, specialised purposes, used for particular purposes, etc. + + + + + + + + + A value set specifies a set of codes drawn from one or more code systems. + + + + + + + A code that identifies a property defined in the code system. + + + + + The kind of operation to perform as a part of the filter criteria. + + + + + The match value may be either a code defined by the system, or a string value which is used a regex match on the literal string of the property value. + + + + + + + + + A value set specifies a set of codes drawn from one or more code systems. + + + + + + + An identifier that uniquely identifies this expansion of the valueset. Systems may re-use the same identifier as long as the expansion and the definition remain the same, but are not required to do so. + + + + + The time at which the expansion was produced by the expanding system. + + + + + The codes that are contained in the value set expansion. + + + + + + + + + A value set specifies a set of codes drawn from one or more code systems. + + + + + + + The system in which the code for this item in the expansion is defined. + + + + + If true, this entry is included in the expansion for navigational purposes, and the user cannot select the code directly as a proper value. + + + + + The version of this code system that defined this code and/or display. This should only be used with code systems that do not enforce concept permanence. + + + + + Code - if blank, this is not a choosable code. + + + + + User display for the concept. + + + + + Codes contained in this concept. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The business identifier for the instance: invoice number, claim number, pre-determination or pre-authorization number. + + + + + The version of the specification on which this instance relies. + + + + + The version of the specification from which the original instance was created. + + + + + The date when the enclosed suite of services were performed or completed. + + + + + Insurer Identifier, typical BIN number (6 digit). + + + + + The provider which is responsible for the bill, claim pre-determination, pre-authorization. + + + + + The organization which is responsible for the bill, claim pre-determination, pre-authorization. + + + + + Complete (Bill or Claim), Proposed (Pre-Authorization), Exploratory (Pre-determination). + + + + + Immediate (STAT), best effort (NORMAL), deferred (DEFER). + + + + + In the case of a Pre-Determination/Pre-Authorization the provider may request that funds in the amount of the expected Benefit be reserved ('Patient' or 'Provider') to pay for the Benefits determined on the subsequent claim(s). 'None' explicitly indicates no funds reserving is requested. + + + + + Person who created the invoice/claim/pre-determination or pre-authorization. + + + + + Facility where the services were provided. + + + + + Prescription to support the dispensing of glasses or contact lenses. + + + + + The party to be reimbursed for the services. + + + + + The referral resource which lists the date, practitioner, reason and other supporting information. + + + + + Ordered list of patient diagnosis for which care is sought. + + + + + List of patient conditions for which care is sought. + + + + + Patient Resource. + + + + + Financial instrument by which payment information for health care. + + + + + Factors which may influence the applicability of coverage. + + + + + Name of school for over-aged dependants. + + + + + Date of an accident which these services are addressing. + + + + + Type of accident: work, auto, etc. + + + + + A list of intervention and exception codes which may influence the adjudication of the claim. + + + + + First tier of goods and services. + + + + + Code to indicate that Xrays, images, emails, documents, models or attachments are being sent in support of this submission. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + Party to be reimbursed: Subscriber, provider, other. + + + + + The provider who is to be reimbursed for the claim (the party to whom any benefit is assigned). + + + + + The organization who is to be reimbursed for the claim (the party to whom any benefit is assigned). + + + + + The person other than the subscriber who is to be reimbursed for the claim (the party to whom any benefit is assigned). + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + Sequence of diagnosis. + + + + + The diagnosis. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + A service line item. + + + + + The instance number of the Coverage which is the focus for adjudication. The Coverage against which the claim is to be adjudicated. + + + + + Reference to the program or plan identification, underwriter or payor. + + + + + The contract number of a business agreement which describes the terms and conditions. + + + + + The relationship of the patient to the subscriber. + + + + + A list of references from the Insurer to which these services pertain. + + + + + The Coverages adjudication details. + + + + + The style (standard) and version of the original material which was converted into this resource. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + A service line number. + + + + + The type of product or service. + + + + + The practitioner who is responsible for the services rendered to the patient. + + + + + Diagnosis applicable for this service or product line. + + + + + If a grouping item then 'GROUP' otherwise it is a node therefore a code to indicate the Professional Service or Product supplied. + + + + + The date when the enclosed suite of services were performed or completed. + + + + + The number of repetitions of a service or product. + + + + + If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children of the group. + + + + + A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. + + + + + An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. + + + + + The quantity times the unit price for an additional service or product or charge. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied. + + + + + List of Unique Device Identifiers associated with this line item. + + + + + Physical service site on the patient (limb, tooth, etc). + + + + + A region or surface of the site, eg. limb region or tooth surface(s). + + + + + Item typification or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen. + + + + + Second tier of goods and services. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + A service line number. + + + + + The type of product or service. + + + + + If a grouping item then 'GROUP' otherwise it is a node therefore a code to indicate the Professional Service or Product supplied. + + + + + The number of repetitions of a service or product. + + + + + If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children of the group. + + + + + A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. + + + + + An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. + + + + + The quantity times the unit price for an additional service or product or charge. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied. + + + + + List of Unique Device Identifiers associated with this line item. + + + + + Third tier of goods and services. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + A service line number. + + + + + The type of product or service. + + + + + The fee for an additional service or product or charge. + + + + + The number of repetitions of a service or product. + + + + + The fee for an additional service or product or charge. + + + + + A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. + + + + + An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. + + + + + The quantity times the unit price for an additional service or product or charge. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied. + + + + + List of Unique Device Identifiers associated with this line item. + + + + + + + + + An authorization for the supply of glasses and/or contact lenses to a patient. + + + + + An authorization for the supply of glasses and/or contact lenses to a patient. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Business identifier which may be used by other parties to reference or identify the prescription. + + + + + The date (and perhaps time) when the prescription was written. + + + + + A link to a resource representing the person to whom the Vision products will be supplied. + + + + + The healthcare professional responsible for authorizing the prescription. + + + + + A link to a resource that identifies the particular occurrence of contact between patient and health care provider. + + + + + Can be the reason or the indication for writing the prescription. + + + + + + + Deals with details of the dispense part of the supply specification. + + + + + + + + + An authorization for the supply of glasses and/or contact lenses to a patient. + + + + + + + Identifies the type of Vision correction product which is required for the patient. + + + + + The eye for which the lens applies. + + + + + Lens power measured in diopters (0.25 units). + + + + + Power adjustment for astigmatism measured in diopters (0.25 units). + + + + + Adjustment for astigmatism measured in integer degrees. + + + + + Amount of prism to compensate for eye alignment in fractional units. + + + + + The relative base, or reference lens edge, for the prism. + + + + + Power adjustment for multifocal lenses measured in diopters (0.25 units). + + + + + Contact lens power measured in diopters (0.25 units). + + + + + Back Curvature measured in millimeters. + + + + + Contact lens diameter measured in millimeters. + + + + + The recommended maximum wear period for the lens. + + + + + Special color or pattern. + + + + + Brand recommendations or restrictions. + + + + + Notes for special requirements such as coatings and lens materials. + + + + + + + + + + + top. + + + + + bottom. + + + + + inner edge. + + + + + outer edge. + + + + + + + A coded concept listing the base codes. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + right eye. + + + + + left eye. + + + + + + + A coded concept listing the eye codes. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/fhir-xhtml.xsd b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/fhir-xhtml.xsd new file mode 100644 index 00000000000..6b16b3488dd --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/fhir-xhtml.xsd @@ -0,0 +1,2516 @@ + + + + + + Generated from "XHTML Refactored (no xsd:groups)" under "XHTML" + + This schema is the patched equivalent of the original published as + [xhtml1-strict.xsd,v 1.2 2002/08/28 08:05:44]. + Fixes in this XSD are workarounds for limitations + present in some .NET APIs. + + + + + XHTML 1.0 (Second Edition) Strict in XML Schema + + This is the same as HTML 4 Strict except for + changes due to the differences between XML and SGML. + + Namespace = http://www.w3.org/1999/xhtml + + For further information, see: http://www.w3.org/TR/xhtml1 + + Copyright (c) 1998-2002 W3C (MIT, INRIA, Keio), + All Rights Reserved. + + The DTD version is identified by the PUBLIC and SYSTEM identifiers: + + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" + + $Id: xhtml1-strict.xsd,v 1.2 2002/08/28 08:05:44 mimasa Exp $ + + + + + ================ Character mnemonic entities ========================= + + XHTML entity sets are identified by the PUBLIC and SYSTEM identifiers: + + PUBLIC "-//W3C//ENTITIES Latin 1 for XHTML//EN" + SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent" + + PUBLIC "-//W3C//ENTITIES Special for XHTML//EN" + SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent" + + PUBLIC "-//W3C//ENTITIES Symbols for XHTML//EN" + SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent" + + + + + ================== Imported Names ==================================== + + + + + + media type, as per [RFC2045] + + + + + + + + comma-separated list of media types, as per [RFC2045] + + + + + + + + a character encoding, as per [RFC2045] + + + + + + + + a space separated list of character encodings, as per [RFC2045] + + + + + + + + a language code, as per [RFC3066] + + + + + + + + a single character, as per section 2.2 of [XML] + + + + + + + + + + one or more digits + + + + + + + + + + tabindex attribute specifies the position of the current element + in the tabbing order for the current document. This value must be + a number between 0 and 32767. User agents should ignore leading zeros. + + + + + + + + + + + space-separated list of link types + + + + + + + + single or comma-separated list of media descriptors + + + + + + + + + + a Uniform Resource Identifier, see [RFC2396] + + + + + + + + a space separated list of Uniform Resource Identifiers + + + + + + + + date and time information. ISO date format + + + + + + + + script expression + + + + + + + + style sheet data + + + + + + + + used for titles etc. + + + + + + + + nn for pixels or nn% for percentage length + + + + + + + + + + pixel, percentage, or relative + + + + + + + + + + integer representing length in pixels + + + + + + + these are used for image maps + + + + + + + + + + + + + + comma separated list of lengths + + + + + + + + + =================== Generic Attributes =============================== + + + + + + core attributes common to most elements + id document-wide unique id + class space separated list of classes + style associated style info + title advisory title/amplification + + + + + + + + + + + internationalization attributes + lang language code (backwards compatible) + xml:lang language code (as per XML 1.0 spec) + dir direction for weak/neutral text + + + + + + + + + + + + + + + + + attributes for common UI events + onclick a pointer button was clicked + ondblclick a pointer button was double clicked + onmousedown a pointer button was pressed down + onmouseup a pointer button was released + onmousemove a pointer was moved onto the element + onmouseout a pointer was moved away from the element + onkeypress a key was pressed and released + onkeydown a key was pressed down + onkeyup a key was released + + + + + + + + + + + + + + + + + attributes for elements that can get the focus + accesskey accessibility key character + tabindex position in tabbing order + onfocus the element got the focus + onblur the element lost the focus + + + + + + + + + + + + + + + =================== Text Elements ==================================== + + + + + + "Inline" covers inline or "text-level" elements + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ================== Block level elements ============================== + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + "Flow" mixes block and inline and is used for list items etc. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ================== Content models for exclusions ===================== + + + + + + a elements use "Inline" excluding a + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + pre uses "Inline" excluding big, small, sup or sup + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + form uses "Block" excluding form + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + button uses "Flow" but excludes a, form and form controls + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ================ Document Structure ================================== + + + + + + + + + + + + + + + ================ Document Head ======================================= + + + + + + content model is "head.misc" combined with a single + title and an optional base element in any order + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The title element is not considered part of the flow of text. + It should be displayed, for example as the page header or + window title. Exactly one title is required per document. + + + + + + + + + + + document base URI + + + + + + + + + + + generic metainformation + + + + + + + + + + + + + + + Relationship values can be used in principle: + + a) for document specific toolbars/menus when used + with the link element in document head e.g. + start, contents, previous, next, index, end, help + b) to link to a separate style sheet (rel="stylesheet") + c) to make a link to a script (rel="script") + d) by stylesheets to control how collections of + html nodes are rendered into printed documents + e) to make a link to a printable version of this document + e.g. a PostScript or PDF version (rel="alternate" media="print") + + + + + + + + + + + + + + + + + style info, which may include CDATA sections + + + + + + + + + + + + + + + script statements, which may include CDATA sections + + + + + + + + + + + + + + + + + + + + + alternate content container for non script-based rendering + + + + + + + + + + + + + =================== Document Body ==================================== + + + + + + + + + + + + + + + + + generic language/style container + + + + + + + + + + + + + =================== Paragraphs ======================================= + + + + + + + + + + + + + + =================== Headings ========================================= + + There are six levels of headings from h1 (the most important) + to h6 (the least important). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + =================== Lists ============================================ + + + + + + Unordered list + + + + + + + + + + + + + Ordered (numbered) list + + + + + + + + + + + + + list item + + + + + + + + + + + + + definition lists - dt for term, dd for its definition + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + =================== Address ========================================== + + + + + + information on author + + + + + + + + + + + + + =================== Horizontal Rule ================================== + + + + + + + + + + =================== Preformatted Text ================================ + + + + + + content is "Inline" excluding "img|object|big|small|sub|sup" + + + + + + + + + + + + + + =================== Block-like Quotes ================================ + + + + + + + + + + + + + + + =================== Inserted/Deleted Text ============================ + + ins/del are allowed in block and inline content, but its + inappropriate to include block content within an ins element + occurring in inline content. + + + + + + + + + + + + + + + + + + + + + + + + + + + ================== The Anchor Element ================================ + + + + + + content is "Inline" except that anchors shouldn't be nested + + + + + + + + + + + + + + + + + + + + + + + ===================== Inline Elements ================================ + + + + + + generic language/style container + + + + + + + + + + + + + + I18N BiDi over-ride + + + + + + + + + + + + + + + + + + + + + + + + + forced line break + + + + + + + + + + emphasis + + + + + + + + + + + + + + strong emphasis + + + + + + + + + + + + + + definitional + + + + + + + + + + + + + + program code + + + + + + + + + + + + + + sample + + + + + + + + + + + + + + something user would type + + + + + + + + + + + + + + variable + + + + + + + + + + + + + + citation + + + + + + + + + + + + + + abbreviation + + + + + + + + + + + + + + acronym + + + + + + + + + + + + + + inlined quote + + + + + + + + + + + + + + + subscript + + + + + + + + + + + + + + superscript + + + + + + + + + + + + + + fixed pitch font + + + + + + + + + + + + + + italic font + + + + + + + + + + + + + + bold font + + + + + + + + + + + + + + bigger font + + + + + + + + + + + + + + smaller font + + + + + + + + + + + + + ==================== Object ====================================== + + object is used to embed objects as part of HTML pages. + param elements should precede other content. Parameters + can also be expressed as attribute/value pairs on the + object element itself when brevity is desired. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + param is used to supply a named property value. + In XML it would seem natural to follow RDF and support an + abbreviated syntax where the param elements are replaced + by attribute value pairs on the object start tag. + + + + + + + + + + + + + + + + + + + + + =================== Images =========================================== + + To avoid accessibility problems for people who aren't + able to see the image, you should provide a text + description using the alt and longdesc attributes. + In addition, avoid the use of server-side image maps. + Note that in this DTD there is no name attribute. That + is only available in the transitional and frameset DTD. + + + + + + + + + + + + + + usemap points to a map element which may be in this document + or an external document, although the latter is not widely supported + + + + + + + + + + + + + + + ================== Client-side image maps ============================ + + These can be placed in the same document or grouped in a + separate document although this isn't yet widely supported + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ================ Forms =============================================== + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Each label must not contain more than ONE field + Label elements shouldn't be nested. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + form control + + + + + + + + + + the name attribute is required for all but submit & reset + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + option selector + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + option group + + + + + + + + + + + + + + + + + + + + + selectable choice + + + + + + + + + + + + + + + + + + + + + + + + + + multi-line text field + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The fieldset element is used to group form fields. + Only one legend element should occur in the content + and if present should only be preceded by whitespace. + + NOTE: this content model is different from the XHTML 1.0 DTD, + closer to the intended content model in HTML4 DTD + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + fieldset label + + + + + + + + + + + + + + + Content is "Flow" excluding a, form and form controls + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ======================= Tables ======================================= + + Derived from IETF HTML table standard, see [RFC1942] + + + + + + The border attribute sets the thickness of the frame around the + table. The default units are screen pixels. + + The frame attribute specifies which parts of the frame around + the table should be rendered. The values are not the same as + CALS to avoid a name clash with the valign attribute. + + + + + + + + + + + + + + + + + + The rules attribute defines which rules to draw between cells: + + If rules is absent then assume: + "none" if border is absent or border="0" otherwise "all" + + + + + + + + + + + + + + horizontal alignment attributes for cell contents + + char alignment char, e.g. char=':' + charoff offset for alignment char + + + + + + + + + + + + + + + + + + + + vertical alignment attributes for cell contents + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Use thead to duplicate headers when breaking table + across page boundaries, or for static headers when + tbody sections are rendered in scrolling panel. + + Use tfoot to duplicate footers when breaking table + across page boundaries, or for static footers when + tbody sections are rendered in scrolling panel. + + Use multiple tbody sections when rules are needed + between groups of table rows. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + colgroup groups a set of col elements. It allows you to group + several semantically related columns together. + + + + + + + + + + + + + + + + + col elements define the alignment properties for cells in + one or more columns. + + The width attribute specifies the width of the columns, e.g. + + width=64 width in screen pixels + width=0.5* relative width of 0.5 + + The span attribute causes the attributes of one + col element to apply to more than one column. + + + + + + + + + + + + + + + + + + + + + + + + + Scope is simpler than headers attribute for common tables + + + + + + + + + + + + th is for headers, td for data and for cells acting as both + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/goal.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/goal.sch new file mode 100644 index 00000000000..3bbcd42d0ea --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/goal.sch @@ -0,0 +1,43 @@ + + + + + + + Goal + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/group.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/group.sch new file mode 100644 index 00000000000..d7393cef2bc --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/group.sch @@ -0,0 +1,87 @@ + + + + + + + Group + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: Can only have members if group is "actual" + Inv-4: Can't have more members associated with the group than the value specified for "quantity" + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: Quantity values cannot have a comparator when used in a Range + Inv-2: If present, low SHALL have a lower value than high + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: Member resource types SHALL agree with group type + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/healthcareservice.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/healthcareservice.sch new file mode 100644 index 00000000000..fa0eb66ccb0 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/healthcareservice.sch @@ -0,0 +1,172 @@ + + + + + + + HealthcareService + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: A system is required if a value is provided. + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/imagingobjectselection.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/imagingobjectselection.sch new file mode 100644 index 00000000000..5892283deb1 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/imagingobjectselection.sch @@ -0,0 +1,49 @@ + + + + + + + ImagingObjectSelection + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL at least provide retrieve URL or retrieve AE Title + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/imagingstudy.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/imagingstudy.sch new file mode 100644 index 00000000000..b5d9b75daea --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/imagingstudy.sch @@ -0,0 +1,70 @@ + + + + + + + ImagingStudy + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/immunization.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/immunization.sch new file mode 100644 index 00000000000..45718bbcdd4 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/immunization.sch @@ -0,0 +1,133 @@ + + + + + + + Immunization + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/immunizationrecommendation.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/immunizationrecommendation.sch new file mode 100644 index 00000000000..07e250bcf9f --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/immunizationrecommendation.sch @@ -0,0 +1,76 @@ + + + + + + + ImmunizationRecommendation + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/institutionalclaim.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/institutionalclaim.sch new file mode 100644 index 00000000000..29373fcf41e --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/institutionalclaim.sch @@ -0,0 +1,253 @@ + + + + + + + InstitutionalClaim + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/list.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/list.sch new file mode 100644 index 00000000000..e82daa0b7b2 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/list.sch @@ -0,0 +1,77 @@ + + + + + + + List + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: The deleted flag can only be used if the mode of the list is "changes" + Inv-1: A list can only have an emptyReason if it is empty + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/location.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/location.sch new file mode 100644 index 00000000000..0f0f80922f4 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/location.sch @@ -0,0 +1,70 @@ + + + + + + + Location + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: A system is required if a value is provided. + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/media.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/media.sch new file mode 100644 index 00000000000..65e276e1406 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/media.sch @@ -0,0 +1,70 @@ + + + + + + + Media + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: Frames can only be used for a photo + Inv-2: Width can only be used for a photo or video + Inv-1: Height can only be used for a photo or video + Inv-4: Length can only be used for an audio or a video + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: It the Attachment has data, it SHALL have a contentType + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/medication.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/medication.sch new file mode 100644 index 00000000000..8b99e2a7f6b --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/medication.sch @@ -0,0 +1,79 @@ + + + + + + + Medication + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: numerator and denominator SHALL both be present, or both be absent + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/medicationadministration.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/medicationadministration.sch new file mode 100644 index 00000000000..f82544c0729 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/medicationadministration.sch @@ -0,0 +1,133 @@ + + + + + + + MedicationAdministration + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Reason not given is only permitted if wasNotGiven is true + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have at least one of dosage.quantity and dosage.rate + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: numerator and denominator SHALL both be present, or both be absent + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: numerator and denominator SHALL both be present, or both be absent + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/medicationdispense.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/medicationdispense.sch new file mode 100644 index 00000000000..ebab5cc96e5 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/medicationdispense.sch @@ -0,0 +1,179 @@ + + + + + + + MedicationDispense + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: whenHandedOver cannot be before whenPrepared + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: There can only be a repeat element if there is none or one event + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-3: At most, only one of count or end can be present + Inv-2: Either frequency or when SHALL be present, but not both + + + Inv-4: duration SHALL be a positive value + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: numerator and denominator SHALL both be present, or both be absent + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: numerator and denominator SHALL both be present, or both be absent + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/medicationprescription.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/medicationprescription.sch new file mode 100644 index 00000000000..35fa5a32137 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/medicationprescription.sch @@ -0,0 +1,173 @@ + + + + + + + MedicationPrescription + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: There can only be a repeat element if there is none or one event + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-3: At most, only one of count or end can be present + Inv-2: Either frequency or when SHALL be present, but not both + + + Inv-4: duration SHALL be a positive value + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: numerator and denominator SHALL both be present, or both be absent + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: numerator and denominator SHALL both be present, or both be absent + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/medicationstatement.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/medicationstatement.sch new file mode 100644 index 00000000000..017af48ee70 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/medicationstatement.sch @@ -0,0 +1,131 @@ + + + + + + + MedicationStatement + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: Reason not given is only permitted if wasNotGiven is true + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: There can only be a repeat element if there is none or one event + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-3: At most, only one of count or end can be present + Inv-2: Either frequency or when SHALL be present, but not both + + + Inv-4: duration SHALL be a positive value + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: numerator and denominator SHALL both be present, or both be absent + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: numerator and denominator SHALL both be present, or both be absent + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/messageheader.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/messageheader.sch new file mode 100644 index 00000000000..44a1a317851 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/messageheader.sch @@ -0,0 +1,73 @@ + + + + + + + MessageHeader + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: A system is required if a value is provided. + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/namingsystem.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/namingsystem.sch new file mode 100644 index 00000000000..cb97ca6330b --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/namingsystem.sch @@ -0,0 +1,60 @@ + + + + + + + NamingSystem + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: Can only have replacedBy if namingsystem is retired + Inv-2: Can't have more than one preferred identifier for a type + Inv-1: Root systems cannot have uuid or sid identifiers + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-2: A system is required if a value is provided. + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/nutritionorder.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/nutritionorder.sch new file mode 100644 index 00000000000..727bda80b38 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/nutritionorder.sch @@ -0,0 +1,204 @@ + + + + + + + NutritionOrder + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: Nutrition Order SHALL contain either Oral Diet , Supplement, or Enteral Formula class + + + Inv-1: There can only be a repeat element if there is none or one event + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-3: At most, only one of count or end can be present + Inv-2: Either frequency or when SHALL be present, but not both + + + Inv-4: duration SHALL be a positive value + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: Quantity values cannot have a comparator when used in a Range + Inv-2: If present, low SHALL have a lower value than high + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: numerator and denominator SHALL both be present, or both be absent + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/observation.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/observation.sch new file mode 100644 index 00000000000..e086a3b4c61 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/observation.sch @@ -0,0 +1,152 @@ + + + + + + + Observation + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: It the Attachment has data, it SHALL have a contentType + + + Inv-1: numerator and denominator SHALL both be present, or both be absent + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-4: Shall only be present if Observation.value[x] is not present + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: Must have at least a low or a high (and no comparators) or text + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: Quantity values cannot have a comparator when used in a Range + Inv-2: If present, low SHALL have a lower value than high + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/opensearch.xsd b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/opensearch.xsd similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/opensearch.xsd rename to hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/opensearch.xsd diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/opensearchscore.xsd b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/opensearchscore.xsd similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/opensearchscore.xsd rename to hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/opensearchscore.xsd diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/operationdefinition.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/operationdefinition.sch new file mode 100644 index 00000000000..2e9fbf7f774 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/operationdefinition.sch @@ -0,0 +1,55 @@ + + + + + + + OperationDefinition + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: A system is required if a value is provided. + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: Either a type must be provided, or parts + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/operationoutcome.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/operationoutcome.sch new file mode 100644 index 00000000000..9b2645d9503 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/operationoutcome.sch @@ -0,0 +1,37 @@ + + + + + + + OperationOutcome + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/oralhealthclaim.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/oralhealthclaim.sch new file mode 100644 index 00000000000..0d4edf3ab6c --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/oralhealthclaim.sch @@ -0,0 +1,283 @@ + + + + + + + OralHealthClaim + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/order.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/order.sch new file mode 100644 index 00000000000..2bf8a556b91 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/order.sch @@ -0,0 +1,89 @@ + + + + + + + Order + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: Provide a code or a schedule, but not both + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: There can only be a repeat element if there is none or one event + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-3: At most, only one of count or end can be present + Inv-2: Either frequency or when SHALL be present, but not both + + + Inv-4: duration SHALL be a positive value + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/orderresponse.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/orderresponse.sch new file mode 100644 index 00000000000..47258015e49 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/orderresponse.sch @@ -0,0 +1,58 @@ + + + + + + + OrderResponse + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/organization.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/organization.sch new file mode 100644 index 00000000000..fcbbf33ce70 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/organization.sch @@ -0,0 +1,91 @@ + + + + + + + Organization + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: The organization SHALL at least have a name or an id, and possibly more than one + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: The telecom of an organization can never be of use 'home' + + + Inv-2: A system is required if a value is provided. + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-2: An address of an organization can never be of use 'home' + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-2: A system is required if a value is provided. + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/other.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/other.sch new file mode 100644 index 00000000000..ae390d80384 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/other.sch @@ -0,0 +1,52 @@ + + + + + + + Other + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/patient.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/patient.sch new file mode 100644 index 00000000000..6abf4df417c --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/patient.sch @@ -0,0 +1,136 @@ + + + + + + + Patient + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-2: A system is required if a value is provided. + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: It the Attachment has data, it SHALL have a contentType + + + Inv-1: SHALL at least contain a contact's details or a reference to an organization + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-2: A system is required if a value is provided. + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/paymentnotice.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/paymentnotice.sch new file mode 100644 index 00000000000..bbc24196e97 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/paymentnotice.sch @@ -0,0 +1,70 @@ + + + + + + + PaymentNotice + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/paymentreconciliation.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/paymentreconciliation.sch new file mode 100644 index 00000000000..d6854ec084e --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/paymentreconciliation.sch @@ -0,0 +1,100 @@ + + + + + + + PaymentReconciliation + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/pendedrequest.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/pendedrequest.sch new file mode 100644 index 00000000000..17b43769af1 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/pendedrequest.sch @@ -0,0 +1,64 @@ + + + + + + + PendedRequest + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/person.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/person.sch new file mode 100644 index 00000000000..52ea606ae8a --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/person.sch @@ -0,0 +1,58 @@ + + + + + + + Person + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-2: A system is required if a value is provided. + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: It the Attachment has data, it SHALL have a contentType + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/pharmacyclaim.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/pharmacyclaim.sch new file mode 100644 index 00000000000..cb3459138a7 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/pharmacyclaim.sch @@ -0,0 +1,259 @@ + + + + + + + PharmacyClaim + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/practitioner.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/practitioner.sch new file mode 100644 index 00000000000..a78bc5041b8 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/practitioner.sch @@ -0,0 +1,109 @@ + + + + + + + Practitioner + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-2: A system is required if a value is provided. + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: It the Attachment has data, it SHALL have a contentType + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/procedure.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/procedure.sch new file mode 100644 index 00000000000..f290c770281 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/procedure.sch @@ -0,0 +1,100 @@ + + + + + + + Procedure + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/procedurerequest.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/procedurerequest.sch new file mode 100644 index 00000000000..c927ab7b0a8 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/procedurerequest.sch @@ -0,0 +1,101 @@ + + + + + + + ProcedureRequest + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: There can only be a repeat element if there is none or one event + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-3: At most, only one of count or end can be present + Inv-2: Either frequency or when SHALL be present, but not both + + + Inv-4: duration SHALL be a positive value + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/professionalclaim.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/professionalclaim.sch new file mode 100644 index 00000000000..018d7490e0f --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/professionalclaim.sch @@ -0,0 +1,253 @@ + + + + + + + ProfessionalClaim + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/profile.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/profile.sch new file mode 100644 index 00000000000..fe447ea702f --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/profile.sch @@ -0,0 +1,90 @@ + + + + + + + Profile + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: Parameter names must be unique within structure + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: A system is required if a value is provided. + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Must have at a name or a uri (or both) + + + Inv-1: Element paths must be unique - or not (LM) + Inv-4: If a structure is a snapshot, then each element definition must have a formal definition, cardinalities, and a isModifier flag + + + Inv-2: Min <= Max + Inv-7: Pattern may only be specified if there is one type + Inv-6: Fixed value may only be specified if there is one type + Inv-5: Either a namereference or a fixed value (but not both) is permitted + Inv-15: Constraint names must be unique. + Inv-8: Pattern and value are mutually exclusive + Inv-16: default value and meaningWhenMissing are mutually exclusive + Inv-13: Types must be unique by the combination of code and profile + Inv-14: Constraints must be unique by key + Inv-11: Binding can only be present for coded elements + + + Inv-1: If there is no discriminators, there must be a description + + + Inv-3: Max SHALL be a number or "*" + + + Inv-4: Aggregation may only be specified if one of the allowed types for the element is a resource + + + Inv-10: provide either a reference or a description (or both) + Inv-9: Example value sets are always extensible + + + Inv-12: uri SHALL start with http:// or https:// + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/provenance.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/provenance.sch new file mode 100644 index 00000000000..de144a24d7d --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/provenance.sch @@ -0,0 +1,67 @@ + + + + + + + Provenance + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/questionnaire.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/questionnaire.sch new file mode 100644 index 00000000000..6a26fc6dffb --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/questionnaire.sch @@ -0,0 +1,58 @@ + + + + + + + Questionnaire + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: The link ids for groups and questions must be unique within the questionnaire + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: Groups may either contain questions or groups but not both + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/questionnaireanswers.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/questionnaireanswers.sch new file mode 100644 index 00000000000..e330bb85bd5 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/questionnaireanswers.sch @@ -0,0 +1,73 @@ + + + + + + + QuestionnaireAnswers + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: Groups may either contain questions or groups but not both + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: It the Attachment has data, it SHALL have a contentType + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/readjudicate.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/readjudicate.sch new file mode 100644 index 00000000000..874cc620059 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/readjudicate.sch @@ -0,0 +1,64 @@ + + + + + + + Readjudicate + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/referralrequest.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/referralrequest.sch new file mode 100644 index 00000000000..97f02ec51cd --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/referralrequest.sch @@ -0,0 +1,100 @@ + + + + + + + ReferralRequest + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/relatedperson.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/relatedperson.sch new file mode 100644 index 00000000000..9fad7a3b5f1 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/relatedperson.sch @@ -0,0 +1,67 @@ + + + + + + + RelatedPerson + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-2: A system is required if a value is provided. + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: It the Attachment has data, it SHALL have a contentType + + + Inv-1: If present, start SHALL have a lower value than end + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/reversal.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/reversal.sch new file mode 100644 index 00000000000..213ebdec323 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/reversal.sch @@ -0,0 +1,88 @@ + + + + + + + Reversal + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/riskassessment.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/riskassessment.sch new file mode 100644 index 00000000000..74628fd396f --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/riskassessment.sch @@ -0,0 +1,105 @@ + + + + + + + RiskAssessment + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Must be <= 100 + + + Inv-1: low and high must be percentages, if present + + + Inv-3: Quantity values cannot have a comparator when used in a Range + Inv-2: If present, low SHALL have a lower value than high + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-3: Quantity values cannot have a comparator when used in a Range + Inv-2: If present, low SHALL have a lower value than high + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/schedule.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/schedule.sch new file mode 100644 index 00000000000..d534dc4e33a --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/schedule.sch @@ -0,0 +1,52 @@ + + + + + + + Schedule + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/searchparameter.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/searchparameter.sch new file mode 100644 index 00000000000..66f9fe0da77 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/searchparameter.sch @@ -0,0 +1,37 @@ + + + + + + + SearchParameter + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: A system is required if a value is provided. + + + Inv-1: If present, start SHALL have a lower value than end + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/securityevent.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/securityevent.sch new file mode 100644 index 00000000000..8a04d7aa2ff --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/securityevent.sch @@ -0,0 +1,98 @@ + + + + + + + SecurityEvent + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: Either a userId or a reference, but not both + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Either an identifier or a reference, but not both + Inv-1: Either a name or a query (or both) + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/slot.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/slot.sch new file mode 100644 index 00000000000..1d723157a46 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/slot.sch @@ -0,0 +1,49 @@ + + + + + + + Slot + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/specimen.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/specimen.sch new file mode 100644 index 00000000000..2b707adc0b1 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/specimen.sch @@ -0,0 +1,130 @@ + + + + + + + Specimen + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/statusrequest.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/statusrequest.sch new file mode 100644 index 00000000000..a2298e29661 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/statusrequest.sch @@ -0,0 +1,64 @@ + + + + + + + StatusRequest + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/statusresponse.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/statusresponse.sch new file mode 100644 index 00000000000..680eb870bc8 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/statusresponse.sch @@ -0,0 +1,85 @@ + + + + + + + StatusResponse + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/subscription.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/subscription.sch new file mode 100644 index 00000000000..9e264c6df21 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/subscription.sch @@ -0,0 +1,37 @@ + + + + + + + Subscription + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: A system is required if a value is provided. + + + Inv-1: If present, start SHALL have a lower value than end + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/substance.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/substance.sch new file mode 100644 index 00000000000..e0fcb03e867 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/substance.sch @@ -0,0 +1,61 @@ + + + + + + + Substance + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: numerator and denominator SHALL both be present, or both be absent + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/supply.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/supply.sch new file mode 100644 index 00000000000..6d65449d6db --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/supply.sch @@ -0,0 +1,88 @@ + + + + + + + Supply + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/supportingdocumentation.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/supportingdocumentation.sch new file mode 100644 index 00000000000..658aa750901 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/supportingdocumentation.sch @@ -0,0 +1,76 @@ + + + + + + + SupportingDocumentation + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: It the Attachment has data, it SHALL have a contentType + + + diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/tombstone.xsd b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/tombstone.xsd similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/tombstone.xsd rename to hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/tombstone.xsd diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/valueset.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/valueset.sch new file mode 100644 index 00000000000..1232ae78608 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/valueset.sch @@ -0,0 +1,66 @@ + + + + + + + ValueSet + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: A value set with only one import SHALL also have an include and/or an exclude unless the value set defines its own codes + Inv-7: A defined code system (if present) SHALL have a different identifier to the value set itself + Inv-5: Value set SHALL contain either a define, a compose, or an expansion element + + + Inv-2: A system is required if a value is provided. + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-3: Within a code system definition, all the codes SHALL be unique + Inv-8: Codes must be unique + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: A value set composition SHALL have an include or an import + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-10: Must have a system if a code is present + Inv-6: SHALL have a code or a display + Inv-9: Must have a code if not abstract + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/visionclaim.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/visionclaim.sch new file mode 100644 index 00000000000..9ca600b2501 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/visionclaim.sch @@ -0,0 +1,256 @@ + + + + + + + VisionClaim + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/visionprescription.sch b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/visionprescription.sch new file mode 100644 index 00000000000..0cb44d3cef2 --- /dev/null +++ b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/visionprescription.sch @@ -0,0 +1,67 @@ + + + + + + + VisionPrescription + + Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources + Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + Inv-2: The narrative SHALL have some non-whitespace content + Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If present, start SHALL have a lower value than end + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-2: Only one coding in a set can be chosen directly by the user + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-1: If a valueSet is provided, a system URI Is required + + + Inv-1: SHALL have a local reference if the resource is provided inline + + + Inv-3: If a code for the units is present, the system SHALL also be present + + + diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/xml.xsd b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/xml.xsd similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/xml.xsd rename to hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/xml.xsd diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/xmldsig-core-schema.xsd b/hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/xmldsig-core-schema.xsd similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/xmldsig-core-schema.xsd rename to hapi-fhir-structures-dev/src/main/resources/ca/uhn/fhir/model/dev/schema/xmldsig-core-schema.xsd diff --git a/hapi-fhir-structures-dev/src/test/java/ca/uhn/fhir/parser/JsonParserTest.java b/hapi-fhir-structures-dev/src/test/java/ca/uhn/fhir/parser/JsonParserTest.java index 0cc4d23ee6b..51a4413ca23 100644 --- a/hapi-fhir-structures-dev/src/test/java/ca/uhn/fhir/parser/JsonParserTest.java +++ b/hapi-fhir-structures-dev/src/test/java/ca/uhn/fhir/parser/JsonParserTest.java @@ -11,6 +11,7 @@ import org.junit.Test; import ca.uhn.fhir.context.FhirContext; import ca.uhn.fhir.model.api.Bundle; import ca.uhn.fhir.model.api.ExtensionDt; +import ca.uhn.fhir.model.api.IResource; import ca.uhn.fhir.model.api.ResourceMetadataKeyEnum; import ca.uhn.fhir.model.dev.resource.MedicationPrescription; import ca.uhn.fhir.model.dev.resource.Patient; @@ -174,6 +175,21 @@ public class JsonParserTest { } - + @Test + public void testParseAndEncodeBundleWithDeletedEntry() { + + Patient res = new Patient(); + res.setId(new IdDt("Patient", "111", "222")); + ResourceMetadataKeyEnum.DELETED_AT.put(res, new InstantDt("2011-01-01T12:12:22Z")); + + Bundle bundle = new Bundle(); + bundle.addResource(res, ourCtx, "http://foo/base"); + + String encoded = ourCtx.newJsonParser().encodeBundleToString(bundle); + ourLog.info(encoded); + + assertEquals("{\"resourceType\":\"Bundle\",\"id\":null,\"entry\":[{\"deleted\":{\"type\":\"Patient\",\"resourceId\":\"111\",\"versionId\":\"222\",\"instant\":\"2011-01-01T12:12:22Z\"}}]", encoded); + + } } diff --git a/hapi-fhir-structures-dev/src/test/java/ca/uhn/fhir/rest/server/ServerConformanceProviderTest.java b/hapi-fhir-structures-dev/src/test/java/ca/uhn/fhir/rest/server/ServerConformanceProviderTest.java index 973e2d44fd4..81def22581f 100644 --- a/hapi-fhir-structures-dev/src/test/java/ca/uhn/fhir/rest/server/ServerConformanceProviderTest.java +++ b/hapi-fhir-structures-dev/src/test/java/ca/uhn/fhir/rest/server/ServerConformanceProviderTest.java @@ -19,7 +19,6 @@ import ca.uhn.fhir.model.dev.resource.Conformance; import ca.uhn.fhir.model.dev.resource.Conformance.Rest; import ca.uhn.fhir.model.dev.resource.Conformance.RestResource; import ca.uhn.fhir.model.dev.resource.DiagnosticReport; -import ca.uhn.fhir.model.dev.resource.OperationDefinition; import ca.uhn.fhir.model.dev.resource.Patient; import ca.uhn.fhir.model.primitive.StringDt; import ca.uhn.fhir.rest.annotation.IncludeParam; @@ -112,6 +111,7 @@ public class ServerConformanceProviderTest { found=true; } } + assertTrue(found); Conformance conformance = sc.getServerConformance(); String conf = new FhirContext().newXmlParser().setPrettyPrint(true).encodeResourceToString(conformance); @@ -141,9 +141,13 @@ public class ServerConformanceProviderTest { RestResource res = rest.getResourceFirstRep(); assertEquals("DiagnosticReport", res.getType()); - OperationDefinition p0 = (OperationDefinition) rest.getOperationFirstRep().getDefinition().getResource(); - assertEquals("subject.identifier", p0.getParameterFirstRep().getName()); + assertEquals(DiagnosticReport.SP_SUBJECT , res.getSearchParam().get(0).getName()); + assertEquals("identifier", res.getSearchParam().get(0).getChain().get(0).getValue()); + assertEquals(DiagnosticReport.SP_NAME, res.getSearchParam().get(2).getName()); + + assertEquals(DiagnosticReport.SP_DATE, res.getSearchParam().get(1).getName()); + assertEquals(1,res.getSearchInclude().size()); assertEquals("DiagnosticReport.result", res.getSearchIncludeFirstRep().getValue()); } @@ -152,7 +156,6 @@ public class ServerConformanceProviderTest { /** * Created by dsotnikov on 2/25/2014. */ - @SuppressWarnings("unused") public static class SearchProvider { @Search(type = Patient.class) diff --git a/hapi-fhir-structures-dev/src/test/java/ca/uhn/fhir/validation/ResourceValidatorTest.java b/hapi-fhir-structures-dev/src/test/java/ca/uhn/fhir/validation/ResourceValidatorTest.java new file mode 100644 index 00000000000..c01572e5c2c --- /dev/null +++ b/hapi-fhir-structures-dev/src/test/java/ca/uhn/fhir/validation/ResourceValidatorTest.java @@ -0,0 +1,171 @@ +package ca.uhn.fhir.validation; + +import static org.hamcrest.Matchers.containsString; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertThat; +import static org.junit.Assert.assertTrue; +import static org.junit.Assert.fail; + +import java.io.IOException; +import java.text.SimpleDateFormat; + +import org.apache.commons.io.IOUtils; +import org.hamcrest.core.StringContains; +import org.junit.Test; + +import ca.uhn.fhir.context.FhirContext; +import ca.uhn.fhir.model.api.Bundle; +import ca.uhn.fhir.model.dev.resource.OperationOutcome; +import ca.uhn.fhir.model.dev.resource.Patient; +import ca.uhn.fhir.model.dev.valueset.ContactPointSystemEnum; +import ca.uhn.fhir.model.primitive.DateDt; + +public class ResourceValidatorTest { + + private static FhirContext ourCtx = new FhirContext(); + private static final org.slf4j.Logger ourLog = org.slf4j.LoggerFactory.getLogger(ResourceValidatorTest.class); + + @SuppressWarnings("deprecation") + @Test + public void testSchemaResourceValidator() throws IOException { + String res = IOUtils.toString(getClass().getClassLoader().getResourceAsStream("patient-example-dicom.json")); + Patient p = ourCtx.newJsonParser().parseResource(Patient.class, res); + + ourLog.info(ourCtx.newXmlParser().setPrettyPrint(true).encodeResourceToString(p)); + + FhirValidator val = ourCtx.newValidator(); + val.setValidateAgainstStandardSchema(true); + val.setValidateAgainstStandardSchematron(false); + + val.validate(p); + + p.getAnimal().getBreed().setText("The Breed"); + try { + val.validate(p); + fail(); + } catch (ValidationFailureException e) { + ourLog.info(ourCtx.newXmlParser().setPrettyPrint(true).encodeResourceToString(e.getOperationOutcome())); + assertEquals(1, e.getOperationOutcome().getIssue().size()); + assertThat(e.getOperationOutcome().getIssueFirstRep().getDetailsElement().getValue(), containsString("Invalid content was found starting with element 'breed'")); + } + } + + /** + * See issue #50 + */ + @Test + public void testOutOfBoundsDate() { + Patient p = new Patient(); + p.setBirthDate(new DateDt("2000-15-31")); + + String encoded = ourCtx.newXmlParser().setPrettyPrint(true).encodeResourceToString(p); + ourLog.info(encoded); + + assertThat(encoded, StringContains.containsString("2000-15-31")); + + p = ourCtx.newXmlParser().parseResource(Patient.class, encoded); + assertEquals("2000-15-31", p.getBirthDate()); + assertEquals("2001-03-31", new SimpleDateFormat("yyyy-MM-dd").format(p.getBirthDate())); + + ValidationResult result = ourCtx.newValidator().validateWithResult(p); + String resultString = ourCtx.newXmlParser().setPrettyPrint(true).encodeResourceToString(result.getOperationOutcome()); + ourLog.info(resultString); + + assertEquals(2, result.getOperationOutcome().getIssue().size()); + assertThat(resultString, StringContains.containsString("cvc-datatype-valid.1.2.3")); + } + + @SuppressWarnings("deprecation") + @Test + public void testSchemaBundleValidator() throws IOException { + String res = IOUtils.toString(getClass().getClassLoader().getResourceAsStream("bundle-example.json")); + Bundle b = ourCtx.newJsonParser().parseBundle(res); + + FhirValidator val = createFhirValidator(); + + val.validate(b); + + Patient p = (Patient) b.getEntries().get(0).getResource(); + p.getTelecomFirstRep().setValue("123-4567"); + + try { + val.validate(b); + fail(); + } catch (ValidationFailureException e) { + ourLog.info(ourCtx.newXmlParser().setPrettyPrint(true).encodeResourceToString(e.getOperationOutcome())); + assertEquals(1, e.getOperationOutcome().getIssue().size()); + assertThat(e.getOperationOutcome().getIssueFirstRep().getDetailsElement().getValue(), containsString("Inv-2: A system is required if a value is provided.")); + } + } + + @Test + public void testSchematronResourceValidator() throws IOException { + String res = IOUtils.toString(getClass().getClassLoader().getResourceAsStream("patient-example-dicom.json")); + Patient p = ourCtx.newJsonParser().parseResource(Patient.class, res); + + FhirValidator val = ourCtx.newValidator(); + val.setValidateAgainstStandardSchema(false); + val.setValidateAgainstStandardSchematron(true); + + ValidationResult validationResult = val.validateWithResult(p); + assertTrue(validationResult.isSuccessful()); + + p.getTelecomFirstRep().setValue("123-4567"); + validationResult = val.validateWithResult(p); + assertFalse(validationResult.isSuccessful()); + OperationOutcome operationOutcome = (OperationOutcome) validationResult.getOperationOutcome(); + ourLog.info(ourCtx.newXmlParser().setPrettyPrint(true).encodeResourceToString(operationOutcome)); + assertEquals(1, operationOutcome.getIssue().size()); + assertThat(operationOutcome.getIssueFirstRep().getDetails(), containsString("Inv-2: A system is required if a value is provided.")); + + p.getTelecomFirstRep().setSystem(ContactPointSystemEnum.EMAIL); + validationResult = val.validateWithResult(p); + assertTrue(validationResult.isSuccessful()); + } + + @Test + public void testSchemaBundleValidatorIsSuccessful() throws IOException { + String res = IOUtils.toString(getClass().getClassLoader().getResourceAsStream("bundle-example.json")); + Bundle b = ourCtx.newJsonParser().parseBundle(res); + + FhirValidator val = createFhirValidator(); + + ValidationResult result = val.validateWithResult(b); + OperationOutcome operationOutcome = (OperationOutcome) result.getOperationOutcome(); + ourLog.info(ourCtx.newXmlParser().setPrettyPrint(true).encodeResourceToString(operationOutcome)); + + + assertTrue(result.isSuccessful()); + assertNotNull(operationOutcome); + assertEquals(0, operationOutcome.getIssue().size()); + } + + @Test + public void testSchemaBundleValidatorFails() throws IOException { + String res = IOUtils.toString(getClass().getClassLoader().getResourceAsStream("bundle-example.json")); + Bundle b = ourCtx.newJsonParser().parseBundle(res); + + FhirValidator val = createFhirValidator(); + + ValidationResult validationResult = val.validateWithResult(b); + assertTrue(validationResult.isSuccessful()); + + Patient p = (Patient) b.getEntries().get(0).getResource(); + p.getTelecomFirstRep().setValue("123-4567"); + validationResult = val.validateWithResult(b); + assertFalse(validationResult.isSuccessful()); + OperationOutcome operationOutcome = (OperationOutcome) validationResult.getOperationOutcome(); + ourLog.info(ourCtx.newXmlParser().setPrettyPrint(true).encodeResourceToString(operationOutcome)); + assertEquals(1, operationOutcome.getIssue().size()); + assertThat(operationOutcome.getIssueFirstRep().getDetails(), containsString("Inv-2: A system is required if a value is provided.")); + } + + private FhirValidator createFhirValidator() { + FhirValidator val = ourCtx.newValidator(); + val.setValidateAgainstStandardSchema(true); + val.setValidateAgainstStandardSchematron(true); + return val; + } +} diff --git a/hapi-fhir-structures-dev/src/test/java/ca/uhn/fhir/validation/ValidationResultTest.java b/hapi-fhir-structures-dev/src/test/java/ca/uhn/fhir/validation/ValidationResultTest.java new file mode 100644 index 00000000000..b97df045b1c --- /dev/null +++ b/hapi-fhir-structures-dev/src/test/java/ca/uhn/fhir/validation/ValidationResultTest.java @@ -0,0 +1,61 @@ +package ca.uhn.fhir.validation; + +import static org.hamcrest.Matchers.containsString; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertThat; +import static org.junit.Assert.assertTrue; + +import java.util.List; +import java.util.UUID; + +import org.junit.Test; + +import ca.uhn.fhir.model.base.resource.BaseOperationOutcome.BaseIssue; +import ca.uhn.fhir.model.dev.resource.OperationOutcome; + +public class ValidationResultTest { + + @Test + public void isSuccessful_IsTrueForNullOperationOutcome() { + ValidationResult result = ValidationResult.valueOf(null); + assertTrue(result.isSuccessful()); + } + + @Test + public void isSuccessful_IsTrueForNoIssues() { + OperationOutcome operationOutcome = new OperationOutcome(); + // make sure a non-null ID doesn't cause the validation result to be a fail + operationOutcome.setId(UUID.randomUUID().toString()); + ValidationResult result = ValidationResult.valueOf(operationOutcome); + assertTrue(result.isSuccessful()); + } + + @Test + public void isSuccessful_FalseForIssues() { + OperationOutcome operationOutcome = new OperationOutcome(); + OperationOutcome.Issue issue = operationOutcome.addIssue(); + String errorMessage = "There was a validation problem"; + issue.setDetails(errorMessage); + ValidationResult result = ValidationResult.valueOf(operationOutcome); + assertFalse(result.isSuccessful()); + List issues = result.getOperationOutcome().getIssue(); + assertEquals(1, issues.size()); + assertEquals(errorMessage, issues.get(0).getDetailsElement().getValue()); + + assertThat("ValidationResult#toString should contain the issue description", result.toString(), containsString(errorMessage)); + } + + /* + Test for https://github.com/jamesagnew/hapi-fhir/issues/51 + */ + @Test + public void toString_ShouldNotCauseResultToBecomeFailure() { + OperationOutcome operationOutcome = new OperationOutcome(); + ValidationResult result = ValidationResult.valueOf(operationOutcome); + assertEquals(true, result.isSuccessful()); + // need to call toString to make sure any unwanted side effects are generated + @SuppressWarnings("UnusedDeclaration") String unused = result.toString(); + assertEquals(true, result.isSuccessful()); + } +} diff --git a/hapi-fhir-structures-dev/src/test/java/ca/uhn/fhir/validation/ValidatorInstantiatorTest.java b/hapi-fhir-structures-dev/src/test/java/ca/uhn/fhir/validation/ValidatorInstantiatorTest.java new file mode 100644 index 00000000000..f73ae04ed7c --- /dev/null +++ b/hapi-fhir-structures-dev/src/test/java/ca/uhn/fhir/validation/ValidatorInstantiatorTest.java @@ -0,0 +1,24 @@ +package ca.uhn.fhir.validation; + +import static org.junit.Assert.*; + +import org.junit.Test; + +import ca.uhn.fhir.context.FhirContext; +import ca.uhn.fhir.validation.FhirValidator; + +public class ValidatorInstantiatorTest { + + @Test + public void testValidator() { + + FhirContext ctx = new FhirContext(); + FhirValidator val = ctx.newValidator(); + + // We have a full classpath, so take advantage + assertTrue(val.isValidateAgainstStandardSchema()); + assertTrue(val.isValidateAgainstStandardSchematron()); + + } + +} diff --git a/hapi-fhir-structures-dev/src/test/resources/patient-example-dicom.json b/hapi-fhir-structures-dev/src/test/resources/patient-example-dicom.json new file mode 100644 index 00000000000..7b8bc14d2b5 --- /dev/null +++ b/hapi-fhir-structures-dev/src/test/resources/patient-example-dicom.json @@ -0,0 +1,60 @@ +{ + "resourceType": "Patient", + "id": "dicom", + "text": { + "status": "generated", + "div": "
Patient MINT_TEST, ID = MINT1234. Age = 56y, Size =\n 1.83m, Weight = 72.58kg
" + }, + "http://nema.org/fhir/extensions#0010:1010": [ + { + "valueQuantity": { + "value": 56, + "units": "Y" + } + } + ], + "http://nema.org/fhir/extensions#0010:1020": [ + { + "valueQuantity": { + "value": 1.83, + "units": "m" + } + } + ], + "http://nema.org/fhir/extensions#0010:1030": [ + { + "valueQuantity": { + "value": 72.58, + "units": "kg" + } + } + ], + "identifier": [ + { + "system": "http://nema.org/examples/patients", + "value": "MINT1234" + } + ], + "name": [ + { + "family": [ + "MINT_TEST" + ] + } + ], + "gender": "male", + "_gender": { + "http://nema.org/examples/extensions#gender": [ + { + "valueCoding": { + "system": "http://nema.org/examples/gender", + "code": "M" + } + } + ] + }, + "managingOrganization": { + "reference": "Organization/1" + }, + "active": true +} \ No newline at end of file diff --git a/hapi-fhir-structures-dstu/.settings/org.eclipse.wst.common.component b/hapi-fhir-structures-dstu/.settings/org.eclipse.wst.common.component index bb633a08b36..7ae84503a8b 100644 --- a/hapi-fhir-structures-dstu/.settings/org.eclipse.wst.common.component +++ b/hapi-fhir-structures-dstu/.settings/org.eclipse.wst.common.component @@ -3,5 +3,6 @@ + diff --git a/hapi-fhir-structures-dstu/src/main/java/ca/uhn/fhir/model/dstu/FhirDstu1.java b/hapi-fhir-structures-dstu/src/main/java/ca/uhn/fhir/model/dstu/FhirDstu1.java index ae122eb1c1b..ae46a99e9a2 100644 --- a/hapi-fhir-structures-dstu/src/main/java/ca/uhn/fhir/model/dstu/FhirDstu1.java +++ b/hapi-fhir-structures-dstu/src/main/java/ca/uhn/fhir/model/dstu/FhirDstu1.java @@ -20,7 +20,8 @@ package ca.uhn.fhir.model.dstu; * #L% */ -import static org.apache.commons.lang3.StringUtils.*; +import static org.apache.commons.lang3.StringUtils.isNotBlank; +import static org.apache.commons.lang3.StringUtils.join; import java.io.InputStream; import java.util.Collections; @@ -73,8 +74,6 @@ import ca.uhn.fhir.rest.server.RestfulServer; import ca.uhn.fhir.rest.server.provider.ServerConformanceProvider; import ca.uhn.fhir.rest.server.provider.ServerProfileProvider; -import javax.servlet.http.HttpServletRequest; - public class FhirDstu1 implements IFhirVersion { private static final org.slf4j.Logger ourLog = org.slf4j.LoggerFactory.getLogger(FhirDstu1.class); @@ -359,6 +358,11 @@ public class FhirDstu1 implements IFhirVersion { } + @Override + public String getPathToSchemaDefinitions() { + return "ca/uhn/fhir/model/dstu/schema"; + } + } diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/adversereaction.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/adversereaction.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/adversereaction.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/adversereaction.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/alert.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/alert.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/alert.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/alert.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/allergyintolerance.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/allergyintolerance.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/allergyintolerance.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/allergyintolerance.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/careplan.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/careplan.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/careplan.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/careplan.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/composition.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/composition.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/composition.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/composition.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/conceptmap.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/conceptmap.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/conceptmap.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/conceptmap.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/condition.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/condition.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/condition.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/condition.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/conformance.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/conformance.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/conformance.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/conformance.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/device.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/device.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/device.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/device.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/deviceobservationreport.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/deviceobservationreport.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/deviceobservationreport.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/deviceobservationreport.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/diagnosticorder.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/diagnosticorder.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/diagnosticorder.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/diagnosticorder.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/diagnosticreport.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/diagnosticreport.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/diagnosticreport.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/diagnosticreport.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/documentmanifest.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/documentmanifest.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/documentmanifest.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/documentmanifest.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/documentreference.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/documentreference.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/documentreference.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/documentreference.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/encounter.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/encounter.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/encounter.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/encounter.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/familyhistory.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/familyhistory.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/familyhistory.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/familyhistory.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/fhir-all.xsd b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/fhir-all.xsd similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/fhir-all.xsd rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/fhir-all.xsd diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/fhir-atom-single.xsd b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/fhir-atom-single.xsd similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/fhir-atom-single.xsd rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/fhir-atom-single.xsd diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/fhir-single.xsd b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/fhir-single.xsd similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/fhir-single.xsd rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/fhir-single.xsd diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/group.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/group.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/group.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/group.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/imagingstudy.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/imagingstudy.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/imagingstudy.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/imagingstudy.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/immunization.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/immunization.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/immunization.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/immunization.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/immunizationrecommendation.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/immunizationrecommendation.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/immunizationrecommendation.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/immunizationrecommendation.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/list.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/list.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/list.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/list.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/location.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/location.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/location.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/location.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/media.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/media.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/media.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/media.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/medication.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/medication.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/medication.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/medication.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/medicationadministration.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/medicationadministration.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/medicationadministration.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/medicationadministration.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/medicationdispense.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/medicationdispense.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/medicationdispense.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/medicationdispense.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/medicationprescription.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/medicationprescription.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/medicationprescription.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/medicationprescription.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/medicationstatement.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/medicationstatement.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/medicationstatement.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/medicationstatement.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/messageheader.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/messageheader.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/messageheader.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/messageheader.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/observation.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/observation.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/observation.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/observation.sch diff --git a/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/opensearch.xsd b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/opensearch.xsd new file mode 100644 index 00000000000..2578731a915 --- /dev/null +++ b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/opensearch.xsd @@ -0,0 +1,11 @@ + + + + + + Used by a server to inform the client of the total number of search + matches (not including including resources) + + + diff --git a/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/opensearchscore.xsd b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/opensearchscore.xsd new file mode 100644 index 00000000000..5565a595794 --- /dev/null +++ b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/opensearchscore.xsd @@ -0,0 +1,22 @@ + + + + + +Contains a string indicating a relative assessment of relevance for a particular search result with respect to the search query. + +Decimal values less than 0 should be considered equal to 0. + +Decimal values greater than 1 should be considered equal to 1. + +Unparseable or empty values can be ignored by the client. + +Restrictions: The value must contain a decimal representation of a real number between 0 and 1, inclusive. +Requirements: This element may appear zero or one time. +The score element is used to indicate a relative assessment of relevance for a particular search result with respect to the search query. + + + + + diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/operationoutcome.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/operationoutcome.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/operationoutcome.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/operationoutcome.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/order.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/order.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/order.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/order.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/orderresponse.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/orderresponse.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/orderresponse.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/orderresponse.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/organization.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/organization.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/organization.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/organization.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/other.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/other.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/other.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/other.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/patient.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/patient.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/patient.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/patient.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/practitioner.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/practitioner.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/practitioner.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/practitioner.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/procedure.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/procedure.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/procedure.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/procedure.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/profile.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/profile.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/profile.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/profile.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/provenance.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/provenance.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/provenance.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/provenance.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/query.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/query.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/query.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/query.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/questionnaire.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/questionnaire.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/questionnaire.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/questionnaire.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/relatedperson.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/relatedperson.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/relatedperson.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/relatedperson.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/securityevent.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/securityevent.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/securityevent.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/securityevent.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/specimen.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/specimen.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/specimen.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/specimen.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/substance.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/substance.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/substance.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/substance.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/supply.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/supply.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/supply.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/supply.sch diff --git a/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/tombstone.xsd b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/tombstone.xsd new file mode 100644 index 00000000000..8c144525143 --- /dev/null +++ b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/tombstone.xsd @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/valueset.sch b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/valueset.sch similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/valueset.sch rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/valueset.sch diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/xhtml1-strict.xsd b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/xhtml1-strict.xsd similarity index 100% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/schema/xhtml1-strict.xsd rename to hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/xhtml1-strict.xsd diff --git a/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/xml.xsd b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/xml.xsd new file mode 100644 index 00000000000..efe005d46d8 --- /dev/null +++ b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/xml.xsd @@ -0,0 +1,272 @@ + + + + + + +
+

About the XML namespace

+
+

+ This schema document describes the XML namespace, in a form + suitable for import by other schema documents. +

+

+ See + http://www.w3.org/XML/1998/namespace.html and + + http://www.w3.org/TR/REC-xml for information + about this namespace. +

+

+ Note that local names in this namespace are intended to be + defined only by the World Wide Web Consortium or its subgroups. + The names currently defined in this namespace are listed below. + They should not be used with conflicting semantics by any Working + Group, specification, or document instance. +

+

+ See further below in this document for more information about how to refer to this schema document from your own + XSD schema documents and about the + namespace-versioning policy governing this schema document. +

+
+
+
+
+ + + +
+

lang (as an attribute name)

+

+ denotes an attribute whose value + is a language code for the natural language of the content of + any element; its value is inherited. This name is reserved + by virtue of its definition in the XML specification.

+
+
+

Notes

+

+ Attempting to install the relevant ISO 2- and 3-letter + codes as the enumerated possible values is probably never + going to be a realistic possibility. +

+

+ See BCP 47 at + http://www.rfc-editor.org/rfc/bcp/bcp47.txt + and the IANA language subtag registry at + + http://www.iana.org/assignments/language-subtag-registry + for further information. +

+

+ The union allows for the 'un-declaration' of xml:lang with + the empty string. +

+
+
+
+ + + + + + + + + +
+ + + +
+

space (as an attribute name)

+

+ denotes an attribute whose + value is a keyword indicating what whitespace processing + discipline is intended for the content of the element; its + value is inherited. This name is reserved by virtue of its + definition in the XML specification.

+
+
+
+ + + + + + +
+ + + +
+

base (as an attribute name)

+

+ denotes an attribute whose value + provides a URI to be used as the base for interpreting any + relative URIs in the scope of the element on which it + appears; its value is inherited. This name is reserved + by virtue of its definition in the XML Base specification.

+

+ See http://www.w3.org/TR/xmlbase/ + for information about this attribute. +

+
+
+
+
+ + + +
+

id (as an attribute name)

+

+ denotes an attribute whose value + should be interpreted as if declared to be of type ID. + This name is reserved by virtue of its definition in the + xml:id specification.

+

+ See http://www.w3.org/TR/xml-id/ + for information about this attribute. +

+
+
+
+
+ + + + + + + + +
+

Father (in any context at all)

+
+

+ denotes Jon Bosak, the chair of + the original XML Working Group. This name is reserved by + the following decision of the W3C XML Plenary and + XML Coordination groups: +

+
+

+ In appreciation for his vision, leadership and + dedication the W3C XML Plenary on this 10th day of + February, 2000, reserves for Jon Bosak in perpetuity + the XML name "xml:Father". +

+
+
+
+
+
+ + +
+

+ About this schema document +

+
+

+ This schema defines attributes and an attribute group suitable + for use by schemas wishing to allow xml:base, + xml:lang, xml:space or + xml:id attributes on elements they define. +

+

+ To enable this, such a schema must import this schema for + the XML namespace, e.g. as follows: +

+
+          <schema . . .>
+           . . .
+           <import namespace="http://www.w3.org/XML/1998/namespace"
+                      schemaLocation="http://www.w3.org/2001/xml.xsd"/>
+     
+

+ or +

+
+           <import namespace="http://www.w3.org/XML/1998/namespace"
+                      schemaLocation="http://www.w3.org/2009/01/xml.xsd"/>
+     
+

+ Subsequently, qualified reference to any of the attributes or the + group defined below will have the desired effect, e.g. +

+
+          <type . . .>
+           . . .
+           <attributeGroup ref="xml:specialAttrs"/>
+     
+

+ will define a type which will schema-validate an instance element + with any of those attributes. +

+
+
+
+
+ + +
+

+ Versioning policy for this schema document +

+
+

+ In keeping with the XML Schema WG's standard versioning + policy, this schema document will persist at + + http://www.w3.org/2009/01/xml.xsd. +

+

+ At the date of issue it can also be found at + + http://www.w3.org/2001/xml.xsd. +

+

+ The schema document at that URI may however change in the future, + in order to remain compatible with the latest version of XML + Schema itself, or with the XML namespace itself. In other words, + if the XML Schema or XML namespaces change, the version of this + document at + http://www.w3.org/2001/xml.xsd + + will change accordingly; the version at + + http://www.w3.org/2009/01/xml.xsd + + will not change. +

+

+ Previous dated (and unchanging) versions of this schema + document are at: +

+ +
+
+
+
+
diff --git a/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/xmldsig-core-schema.xsd b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/xmldsig-core-schema.xsd new file mode 100644 index 00000000000..555a88bdbc9 --- /dev/null +++ b/hapi-fhir-structures-dstu/src/main/resources/ca/uhn/fhir/model/dstu/schema/xmldsig-core-schema.xsd @@ -0,0 +1,254 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/fhirversion.properties b/hapi-tinder-plugin/src/main/resources/ca/uhn/fhir/model/dstu/fhirversion.properties similarity index 96% rename from hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/fhirversion.properties rename to hapi-tinder-plugin/src/main/resources/ca/uhn/fhir/model/dstu/fhirversion.properties index 63e7571becc..f40f346b576 100644 --- a/hapi-fhir-base/src/main/resources/ca/uhn/fhir/model/dstu/fhirversion.properties +++ b/hapi-tinder-plugin/src/main/resources/ca/uhn/fhir/model/dstu/fhirversion.properties @@ -1,6 +1,5 @@ # This file contains version definitions -resource.Binary=ca.uhn.fhir.model.dstu.resource.Binary resource.AdverseReaction=ca.uhn.fhir.model.dstu.resource.AdverseReaction resource.Alert=ca.uhn.fhir.model.dstu.resource.Alert resource.AllergyIntolerance=ca.uhn.fhir.model.dstu.resource.AllergyIntolerance @@ -62,7 +61,6 @@ resource.Slot=ca.uhn.fhir.model.dstu.resource.Slot resource.Specimen=ca.uhn.fhir.model.dstu.resource.Specimen resource.Substance=ca.uhn.fhir.model.dstu.resource.Substance resource.Supply=ca.uhn.fhir.model.dstu.resource.Supply -resource.Test=ca.uhn.fhir.model.dstu.resource.Test resource.User=ca.uhn.fhir.model.dstu.resource.User resource.ValueSet=ca.uhn.fhir.model.dstu.resource.ValueSet @@ -77,7 +75,6 @@ datatype.Period=ca.uhn.fhir.model.dstu.composite.PeriodDt datatype.Quantity=ca.uhn.fhir.model.dstu.composite.QuantityDt datatype.Range=ca.uhn.fhir.model.dstu.composite.RangeDt datatype.Ratio=ca.uhn.fhir.model.dstu.composite.RatioDt -datatype.ResourceReference=ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt datatype.SampledData=ca.uhn.fhir.model.dstu.composite.SampledDataDt datatype.Schedule=ca.uhn.fhir.model.dstu.composite.ScheduleDt datatype.base64Binary=ca.uhn.fhir.model.primitive.Base64BinaryDt @@ -92,5 +89,6 @@ datatype.instant=ca.uhn.fhir.model.primitive.InstantDt datatype.integer=ca.uhn.fhir.model.primitive.IntegerDt datatype.oid=ca.uhn.fhir.model.primitive.OidDt datatype.string=ca.uhn.fhir.model.primitive.StringDt +datatype.time=ca.uhn.fhir.model.primitive.TimeDt datatype.uri=ca.uhn.fhir.model.primitive.UriDt datatype.xhtml=ca.uhn.fhir.model.primitive.XhtmlDt