Previous Versions

1.2.15Stable - Jul 08 20141.2.14Stable - May 28 20141.3.0 (CTP-MAY-2014)Experimental - May 27 20141.2Stable - Jun 05 20131.0.4EOL - May 30 20131.0EOL - Feb 20 2012CTP-JAN-2010End Of Life - Jan 15 2010CTP-NOV-2009End Of Life - Oct 29 2009
1.0.4
Released: Thu 05 30 2013 Status: EOL
Posted By: justin.fyfe1

Release Notes

This update to Everest 1.0 includes functionality for generating xsi:type attributes on RMIM structures. This is particularly useful when inheriting custom classes from the core RMIM class items. This functionality is used as follows:

Extending an existing RMIM class to add your attributes:

 /// <summary>  
/// My Component Extension
/// </summary>
[Structure(Name = "Component", Model = "POCD_MT000040JF", StructureType = StructureAttribute.StructureAttributeType.MessageType)]
public class MyComponent1 : MARC.Everest.RMIM.UV.CDAr2.POCD_MT000040UV.Component1 {
/// <summary>
/// My Property
/// </summary>
[Property(Name = "property", Conformance = PropertyAttribute.AttributeConformanceType.Optional, SortKey = 1, PropertyType = PropertyAttribute.AttributeAttributeType.Traversable)]
public ST MyProperty { get; set; }
}

Then assign your class to the instance:

  ClinicalDocument doc = new ClinicalDocument();  
doc.ComponentOf = new MyComponent1() {
MyProperty = "Test!",
RealmCode = SET<CS<BindingRealm>>.CreateSET(BindingRealm.Canada)
};

The formatted results should contain the new xsi:type

    <componentof xsi:type="POCD_MT000040JF.Component">
<realmcode code="CA" />
<property language="en-US">Test!</property>
</componentof>