コード例 #1
0
ファイル: RmFactory.cs プロジェクト: nickvane/OpenEHR
    public DvCodedText DvCodedText(AuditChangeType changeType)
    {
        string value = changeType.ToString();
            string codeString = ((int)changeType).ToString();

            return DvCodedText(value, codeString, "openehr");
    }
コード例 #2
0
ファイル: RmFactory.cs プロジェクト: nickvane/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);
    }