Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The other change that will cause v13 to v14 device compatibility issues is that we make extensive use of the async functions available in the .NET 4.5 framework. Therefore, new devices in v14 will need to be compiled against the .NET 4.0 framework.

 

v14
Connexion .Core v13v13Connexion v14
32-bit only64-bit, option to run channels within a tab in 32-bit mode
Connexion.Core AssemblyVersion version 1.0.0.0AssemblyVersion Connexion.Core version 14.0.0.0
Compiled against .NET 4.0Compiled against .NET 4.5
class Segmentclass HL7Segment
class Fieldclass HL7Field
class FieldList<T>class HL7FieldCollection<T>
n/aclass HL7Repeat
n/aclass HL7RepeatCollection<T>
n/aclass HL7Component
n/aclass HL7ComponentCollection<T>
n/aclass HL7SubcomponentCollection<T>

Iterating through nodes in the 1st repeat of the 7th field

var field= segment.Fields[7];
foreach(HL7Subcomponent sub in field.Repeat(1))
{
    // DO SOMETHING
}

Iterating through nodes in the 1st repeat of the 7th field

var field= segment.Fields[7];
var repeat = field.Repeats.FirstOrDefault();

foreach(HL7Component comp in repeat.Components)
{
    foreach(HL7Subcomponent sub in comp.Subcomponents)
    {
        // DO SOMETHING

    }
}

 

Field.RepeatCountHL7Field.Repeats.Count
.ValueIn v14, only the subcomponent has the .Value method, use .Set
if you want to set the value of an entire field, or component.
interface IMessageChannel

IMessageContext PostMessageOnChannel(object message);
has been removed

Instead use these 2 calls:
IMessageContext CreateMessageContext(object message=null);
void PostOnChannel(IMessageContext messageContext);

KeyValueMessage: Dictionary<string, string> Fields was public
now it is marked internal.
Use new methods on the KeyValueMessage for Adding and Removing
items.

MessageContext.AddAttachment
MessageContext.GetAttachment
MessageContext.RemoveAttachment
MessageContext.ListAttachments

MessageContext.Attachments.Add
MessageContext.Attachments[string name]
MessageContext.Attachments.Remove
MessageContext.Attachments.List

IMessageChannelIMessageChannelDevice
IClientChannel.OnBeforeChannelSavedIDeviceUiParams.OnBeforeChannelSaved
IClientChannel.OnAfterChannelSavedIDeviceUiParams.OnAfterChannelSaved