using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Nehta.VendorLibrary.PCEHR;

namespace PCEHR.Sample
{
    public static class PcehrHeaderHelper
    {
        public static CommonPcehrHeader CreateHeader()
        {
            // Create the PCEHR header
            var pcehrHeader = new CommonPcehrHeader();

            pcehrHeader.IhiNumber = "IHI";

            pcehrHeader.UserId = "user ID";
            pcehrHeader.UserIdType = CommonPcehrHeaderUserIDType.HPII;
            pcehrHeader.UserName = "user name";

            pcehrHeader.OrganisationName = "organisation name";
            pcehrHeader.OrganisationId = "organisation HPIO";

            pcehrHeader.ClientSystemType = CommonPcehrHeaderClientSystemType.CIS;

            pcehrHeader.ProductPlatform = "platform";
            pcehrHeader.ProductName = "product name";
            pcehrHeader.ProductVersion = "product version";
            pcehrHeader.ProductVendor = "product vendor";

            return pcehrHeader;
        }
    }
}
