public KmehrTransaction(KmehrTransactionTypes transactionType) { Id = new KmehrId(Constants.KmehrIdentifiers.IDKMEHR, "1.0", "1"); Cd = new KmehrId(Constants.KmehrSenderQualifications.CDTRANSACTION, "1.9", _mappingEnumToTransactionStr[transactionType]); IsComplete = false; IsValidated = false; }
public KmehrHeader() { Standard = new KmehrId(Constants.KmehrSenderQualifications.CDSTANDARD, "1.18", "20160601"); Ids = new List <KmehrId> { new KmehrId(Constants.KmehrIdentifiers.IDKMEHR, "1.0", "19006951001.20090110090000000"), new KmehrId(Constants.KmehrIdentifiers.LOCAL, "1.0", "6b7e77b8-b987-4f87-9b86-403af535e9c9", "EHEALTH") }; var now = DateTime.UtcNow; Date = now.ToString("yyyy-MM-dd"); Time = now.ToString("HH:mm:ss"); }
public KmehrPatient(string id) { Id = new KmehrId(Constants.KmehrIdentifiers.IDPATIENT, "1.0", id); }
public KmehrCountry(string country) { Cd = new KmehrId(Constants.KmehrSenderQualifications.CDFEDCOUNTRY, "1.2", country); }
public KmehrAddress(KmehrAddressTypes type) { Cd = new KmehrId(Constants.KmehrSenderQualifications.CDADDRESS, "1.1", _mapping[type]); }
public KmehrSex(KmehrSexTypes type) { Id = new KmehrId(Constants.KmehrSenderQualifications.CDSEX, "1.1", _mappingEnumToSexStr[type]); }
public KmehrHcParty(string hcPartyType, string id) : this(hcPartyType) { Id = new KmehrId(Constants.KmehrIdentifiers.IDHCPARTY, "1.0", id); }
public KmehrHcParty(string hcPartyType) { Cd = new KmehrId(Constants.KmehrSenderQualifications.CDHCPARTY, "1.9", hcPartyType); }
public KmehrFolder() { Id = new KmehrId(Constants.KmehrIdentifiers.IDKMEHR, "1.0", "1"); }