SanteDB XML Schemas
When editing an asset in SanteDB which is in XML format, the use of an XML Schema can greatly assist the development process. The SanteDB community provides schemas for developers to use in their XML files at http://santedb.org/schema/v3.0
or http://santedb.org/schema/v2.2
.
Schemas
The schema location in the table below assumes a root of http://santedb.org/schema/v3.0/
for example http://santedb.org/schema/v3.0/Applet.xsd
would reference the applet manifest schema.
Applet.xsd
Audit.xsd
HDSI format Audit messages
BusinessIntelligence.xsd
Any BI asset: BiIndicatorDefinition
, BiQueryDefinition
, BiViewDefinition
, BiReportDefinition
- Business Intelligence Assets
Cdss.xsd
Clinical Decision Support rules expressed in XML - CDSS Definitions
Dataset.xsd
Any dataset file (seeding data) Dataset Files
DetectedIssue.xsd
HDSI format detected issue templates
ForeignData.xsd
Any Foreign Data Map definition file ( External Data Maps)
MatcherDefinition.xsd
Any match configuration file - Matching Engine
ModelMap.xsd
For .NET plugins where a persistence layer (physical layer) class definition must be mapped to a business layer object.
ViewModelDescription.xsd
Referencing Schemas
To reference a schema in your XML file, simply:
Declare the
http://www.w3.org/2001/XMLSchema-instance
namespace on your root elementUse the
xsi:schemaLocation
attribute to point to the intended schema
For example, if defining BI Indicator:
Last updated