public DvCodedText DvCodedText(AuditChangeType changeType) { string value = changeType.ToString(); string codeString = ((int)changeType).ToString(); return DvCodedText(value, codeString, "openehr"); }
public AuditDetails AuditDetails(string committerName, AuditChangeType changeType) { DesignByContract.Check.Require(!string.IsNullOrEmpty(committerName), "Committer name must not be null or empty"); DvCodedText codedChangeType = DvCodedText(changeType); PartyIdentified committer = new PartyIdentified(committerName); // %HYYKA% //return new Common.Generic.AuditDetails(systemId, changeType, committer); // Expects system ID to be set by server return new AuditDetails(codedChangeType, committer); }