Skip to content

Instantly share code, notes, and snippets.

Verifying my Blockstack ID is secured with the address 1N4feCLKZtnBCSvJS88S2nijCWGs4ubjoG https://explorer.blockstack.org/address/1N4feCLKZtnBCSvJS88S2nijCWGs4ubjoG
XmlStateWriter xsw = new XmlStateWriter(
XmlWriter.Create("D:\\EverestPoC.xml", new XmlWriterSettings()
{ Indent = true }));
DateTime start = DateTime.Now;
var result = fmtr.Graph(xsw, ccda);
xsw.Flush();
MARC.Everest.Formatters.XML.ITS1.Formatter fmtr = new MARC.Everest.Formatters.XML.ITS1.Formatter();
@brajpanda
brajpanda / gist:c5c002381b83e8bb0f8c
Created May 6, 2014 09:42
Everest Static Header Nodes
//CONF 16791
ccda.RealmCode = new SET<CS<BindingRealm>>(new CS<BindingRealm>(BindingRealm.UnitedStatesOfAmerica));
//CONF 5252
ccda.TemplateId = new LIST<II>();
ccda.TemplateId.Add(new II(
"2.16.840.1.113883.10.20.22.1.1"));
//The next templateId, code and title will differ depending on what type of document is being sent.
//Confirms to the document specific requirements
ccda.TemplateId.Add(new II("2.16.840.1.113883.10.20.22.1.2"));
//CONF 5363
@brajpanda
brajpanda / gist:b5e778915043bc252299
Created May 6, 2014 09:41
Everest New ClinicalDocument
ClinicalDocument ccda = new ClinicalDocument();
using MARC.Everest.Attributes;
using MARC.Everest.DataTypes;
using MARC.Everest.DataTypes.Interfaces;
using MARC.Everest.Formatters.XML.Datatypes.R1;
using MARC.Everest.RMIM.UV.CDAr2.POCD_MT000040UV;
using MARC.Everest.RMIM.UV.CDAr2.Vocabulary;
using MARC.Everest.Xml;
@brajpanda
brajpanda / jqueryDatePicker_clickMonthYearMethod
Last active January 3, 2016 13:29
jqueryDatePicker_clickMonthYearMethod
_clickMonthYear: function(id) {
var target = $(id);
var inst = this._getInst(target[0]);
if (inst.input && inst._selectingMonthYear) {
setTimeout(function() {
inst.input.focus();
}, 0);
}
inst._selectingMonthYear = !inst._selectingMonthYear;
},
@brajpanda
brajpanda / jqueryDatePickerSelect
Last active January 3, 2016 13:28
jqueryDatePickerSelect
<select class="ui-datepicker-year"
onclick="DP_jQuery_1378903097959.datepicker._clickMonthYear('#dp1378903097961');"
onchange="DP_jQuery_1378903097959.datepicker._selectMonthYear('#dp1378903097961', this, 'Y');
">