本文整理汇总了C#中Entry.SetClinicalStatement方法的典型用法代码示例。如果您正苦于以下问题:C# Entry.SetClinicalStatement方法的具体用法?C# Entry.SetClinicalStatement怎么用?C# Entry.SetClinicalStatement使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Entry
的用法示例。
在下文中一共展示了Entry.SetClinicalStatement方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: AddResultsSection
private static void AddResultsSection(StructuredBody sb)
{
Section section = new Section();
section.TemplateId = new LIST<II>();
section.TemplateId.Add(new II("2.16.840.1.113883.10.20.22.2.3.1"));
section.Code = new CE<string>(
"30954-2",
"2.16.840.1.113883.6.1",
"LOINC",
null,
"RESULTS",
null);
section.Title = new ST("RESULTS");
section.Text = new ED();
section.Text = "<list listType=\"ordered\"><item><content ID=\"result1\">TSH - 6 mIU/L (abnormal, high)</content></item><item><content ID=\"result2\">Hgb a1c - 8% (abnormal, high)</content></item></list>";
section.Text.Representation = EncapsulatedDataRepresentation.XML;
section.Text.MediaType = "text/x-hl7-text+xml";
Entry e = new Entry();
e.SetClinicalStatement(MakeOrganizer());
section.Entry.Add(e);
Component3 comp3 = new Component3(ActRelationshipHasComponent.HasComponent, true);
comp3.Section = section;
sb.Component.Add(comp3);
}
示例2: AddSocialHistoryComponent
private static void AddSocialHistoryComponent(StructuredBody sb)
{
Section section = new Section();
section.TemplateId = new LIST<II>();
section.TemplateId.Add(new II("2.16.840.1.113883.10.20.22.2.17"));
section.Code = new CE<string>(
"29762-2",
"2.16.840.1.113883.6.1",
null,
null,
"SOCIAL HISTORY",
null);
section.Title = new ST("SOCIAL HISTORY");
section.Text = new ED();
section.Text = "<list listType=\"ordered\"><item><content ID=\"sochist1\">50 pack year smoking history, quit 1997</content></item><item><content ID=\"sochist2\">etoh (alcohol) daily, patient reports varies from 1 to many cocktails per day</content></item></list>";
section.Text.Representation = EncapsulatedDataRepresentation.XML;
section.Text.MediaType = "text/x-hl7-text+xml";
Entry e = new Entry();
e.SetClinicalStatement(MakeObservation("SOCIAL HISTORY"));
section.Entry.Add(e);
Component3 comp3 = new Component3(ActRelationshipHasComponent.HasComponent, true);
comp3.Section = section;
sb.Component.Add(comp3);
}
示例3: AddProcedureComponent
private static void AddProcedureComponent(StructuredBody sb)
{
Section section = new Section();
section.TemplateId = new LIST<II>();
section.TemplateId.Add(new II("2.16.840.1.113883.10.20.22.2.7.1"));
section.Code = new CE<string>(
"47519-4",
"2.16.840.1.113883.6.1",
"LOINC",
null,
"HISTORY OF PROCEDURES",
null);
section.Title = new ST("PROCEDURES");
section.Text = new ED();
section.Text = "<list listType=\"ordered\"><item><content ID=\"procedure1\">EKG (2012/10/15)</content></item><item><content ID=\"procedure2\">Cholecystectomy (2006/06/01)</content></item></list>";
section.Text.Representation = EncapsulatedDataRepresentation.XML;
section.Text.MediaType = "text/x-hl7-text+xml";
Entry e = new Entry();
e.SetClinicalStatement(MakeProcedure());
section.Entry.Add(e);
Component3 comp3 = new Component3(ActRelationshipHasComponent.HasComponent, true);
comp3.Section = section;
sb.Component.Add(comp3);
}
示例4: AddProblemListComponent
private static void AddProblemListComponent(StructuredBody sb)
{
Section section = new Section();
section.TemplateId = new LIST<II>();
section.TemplateId.Add(new II("2.16.840.1.113883.10.20.22.2.5.1"));
section.Code = new CE<string>(
"11450-4",
"2.16.840.1.113883.6.1",
"LOINC",
null,
"PROBLEM LIST",
null);
section.Title = new ST("PROBLEM LIST");
section.Text = new ED();
section.Text = "<content ID=\"problems\"/><list listType=\"ordered\"><item><content ID=\"problem1\">Hypertension</content></item><item><content ID=\"problem2\">Hyperlipidemia</content></item></list>";
section.Text.Representation = EncapsulatedDataRepresentation.XML;
section.Text.MediaType = "text/x-hl7-text+xml";
Entry e = new Entry();
e.SetClinicalStatement(MakeAct("PROBLEM LIST"));
section.Entry.Add(e);
Component3 comp3 = new Component3(ActRelationshipHasComponent.HasComponent, true);
comp3.Section = section;
sb.Component.Add(comp3);
}
示例5: AddMedicationComponent
private static void AddMedicationComponent(StructuredBody sb)
{
Section section = new Section();
section.TemplateId = new LIST<II>();
section.TemplateId.Add(new II("2.16.840.1.113883.10.20.22.2.1.1"));
section.Code = new CE<string>(
"10160-0",
"2.16.840.1.113883.6.1",
"LOINC",
null,
"HISTORY OF MEDICATION USE",
null);
section.Title = new ST("MEDICATIONS");
section.Text = new ED();
section.Text = "<list listType=\"ordered\"><item><content ID=\"medication1\">Lisinopril - 20mg by mouth once daily</content></item></list>";
section.Text.Representation = EncapsulatedDataRepresentation.XML;
section.Text.MediaType = "text/x-hl7-text+xml";
Entry e = new Entry();
e.SetClinicalStatement(MakeSubstanceAdministration("MEDICATIONS"));
section.Entry.Add(e);
Component3 comp3 = new Component3(ActRelationshipHasComponent.HasComponent, true);
comp3.Section = section;
sb.Component.Add(comp3);
}
示例6: AddImmunizationComponent
private static void AddImmunizationComponent(StructuredBody sb)
{
Section section = new Section();
section.TemplateId = new LIST<II>();
section.TemplateId.Add(new II("2.16.840.1.113883.10.20.22.2.2.1"));
section.Code = new CE<string>(
"11369-6",
"2.16.840.1.113883.6.1",
"LOINC",
null,
"History of immunizations",
null);
section.Title = new ST("IMMUNIZATIONS");
section.Text = new ED();
section.Text = "<list listType=\"ordered\"><item><content ID=\"immunization1\">Influenza, seasonal</content></item></list>";
section.Text.Representation = EncapsulatedDataRepresentation.XML;
section.Text.MediaType = "text/x-hl7-text+xml";
Entry e = new Entry();
e.SetClinicalStatement(MakeSubstanceAdministration("IMMUNIZATIONS"));
section.Entry = new List<Entry>();
section.Entry.Add(e);
Component3 comp3 = new Component3(ActRelationshipHasComponent.HasComponent, true);
comp3.Section = section;
sb.Component.Add(comp3);
}
示例7: AddAllergiesComponent
private static void AddAllergiesComponent(StructuredBody sb)
{
Section section = new Section();
section.TemplateId = new LIST<II>();
section.TemplateId.Add(new II("2.16.840.1.113883.10.20.22.2.6.1"));
section.Code = new CE<string>("48765-2", "2.16.840.1.113883.6.1");
section.Title = new ST("ALLERGIES");
section.Text = new ED();
section.Text = "<list listType=\"ordered\"><item><content ID=\"allergy1\">Allergy to Penicillin drugs</content></item><item><content ID=\"allergy2\">Allergy to Bee Pollen</content></item></list>";
section.Text.Representation = EncapsulatedDataRepresentation.XML;
section.Text.MediaType = "text/x-hl7-text+xml";
Entry e = new Entry();
e.TypeCode = new CS<x_ActRelationshipEntry>(x_ActRelationshipEntry.DRIV);
e.SetClinicalStatement(MakeAct("ALLERGIES"));
section.Entry = new List<Entry>();
section.Entry.Add(e);
Component3 comp3 = new Component3(ActRelationshipHasComponent.HasComponent, true);
comp3.Section = section;
sb.Component.Add(comp3);
}