public VerifierParticipant2() { this.typeId = new IIImpl(); this.templateId = new IIImpl(); this.time = new IVL_TSImpl(); this.awarenessCode = new CE_R2Impl <Code>(); }
public CustodianParticipant2() { this.typeId = new IIImpl(); this.templateId = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.time = new IVL_TSImpl(); this.awarenessCode = new CE_R2Impl <Code>(); }
public Observation() { this.negationInd = new BLImpl(); this.typeId = new IIImpl(); this.templateId = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.id = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.derivationExpr = new STImpl(); this.text = new EDImpl <EncapsulatedData>(); this.effectiveTime = new IVL_TSImpl(); this.priorityCode = new CE_R2Impl <Code>(); this.repeatNumber = new IVLImpl <INT, Interval <int?> >(); this.languageCode = new CS_R2Impl <Code>(); this.value = new CD_R2Impl <Code>(); this.interpretationCode = new LISTImpl <CE_R2 <Code>, CodedTypeR2 <Code> >(typeof(CE_R2Impl <Code>)); this.methodCode = new CE_R2Impl <Code>(); this.targetSiteCode = new LISTImpl <CD_R2 <Code>, CodedTypeR2 <Code> >(typeof(CD_R2Impl <Code>)); this.specimen = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Specimen>(); this.performer = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Performer2_1>(); this.author = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Author_1>(); this.informant = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Informant12>(); this.participant = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Participant2_2>(); this.entryRelationship = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.IEntryRelationshipChoice_4>(); this.reference = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Basemodel.Reference>(); this.precondition = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Basemodel.Precondition>(); this.referenceRange = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.ReferenceRange>(); }
public Performer1() { this.typeId = new IIImpl(); this.templateId = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.functionCode = new CE_R2Impl <ParticipationFunction>(); this.time = new IVL_TSImpl(); }
public Performer2() { this.typeId = new IIImpl(); this.templateId = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.time = new IVL_TSImpl(); this.modeCode = new CE_R2Impl <Code>(); }
public Participant2_2() { this.typeCode = new CS_R2Impl <ParticipationType>(); this.typeId = new IIImpl(); this.templateId = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.time = new IVL_TSImpl(); this.awarenessCode = new CE_R2Impl <Code>(); }
public ServiceEvent() { this.typeId = new IIImpl(); this.templateId = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.id = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.code = new CE_R2Impl <Code>(); this.effectiveTime = new IVL_TSImpl(); this.performer = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Physicianreadingstudyperformer.Performer1>(); }
public Performer1() { this.typeId = new IIImpl(); this.templateId = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.time = new IVL_TSImpl(); this.modeCode = new CE_R2Impl <Code>(); this.typeCode = new CS_R2Impl <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Domainvalue.x_ServiceEventPerformer>(); this.functionCode = new CE_R2Impl <Code>(); }
public OrganizationPartOf() { this.typeId = new IIImpl(); this.templateId = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.id = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.code = new CE_R2Impl <Code>(); this.statusCode = new CS_R2Impl <Code>(); this.effectiveTime = new IVL_TSImpl(); }
public ServiceEvent() { this.typeId = new IIImpl(); this.templateId = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.id = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.code = new CE_R2Impl <Code>(); this.effectiveTime = new IVL_TSImpl(); this.performer = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Continuityofcaredocumentccd.Performer1>(); }
public ServiceEvent() { this.classCode = new CS_R2Impl <ActClassRoot>(); this.typeId = new IIImpl(); this.templateId = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.id = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.code = new CE_R2Impl <Code>(); this.effectiveTime = new IVL_TSImpl(); }
public RelatedEntity() { this.classCode = new CS_R2Impl <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Domainvalue.RoleClassMutualRelationship>(); this.typeId = new IIImpl(); this.templateId = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.code = new CE_R2Impl <Code>(); this.addr = new LISTImpl <AD, PostalAddress>(typeof(ADImpl)); this.telecom = new LISTImpl <TEL, TelecommunicationAddress>(typeof(TELImpl)); this.effectiveTime = new IVL_TSImpl(); }
public ServiceEvent() { this.classCode = new CS_R2Impl <ActClassRoot>(); this.typeId = new IIImpl(); this.templateId = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.id = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.code = new CE_R2Impl <Code>(); this.effectiveTime = new IVL_TSImpl(); this.performer = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Performer2_1>(); }
public EncompassingEncounter() { this.typeId = new IIImpl(); this.templateId = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.id = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.code = new CE_R2Impl <Code>(); this.effectiveTime = new IVL_TSImpl(); this.dischargeDispositionCode = new CE_R2Impl <Code>(); this.encounterParticipant = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Basemodel.EncounterParticipant>(); }
public EncompassingEncounter() { this.typeId = new IIImpl(); this.templateId = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.id = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.code = new CE_R2Impl <Code>(); this.effectiveTime = new IVL_TSImpl(); this.dischargeDispositionCode = new CE_R2Impl <Code>(); this.encounterParticipant = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Procedurenote.IEncounterParticipantChoice>(); this.location = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Procedurenote.Location>(); }
/// MDHT operation: returns the contained item dependent on the given choice public T getTime <T>(IVL_TS time, ItemsChoiceType3 t) where T : QTY { for (int i = 0; i < time.Items.Length; i++) { if (time.ItemsElementName[i] == t) { return((T)time.Items[i]); } } return(default(T)); }
public void TestIVL_TS() { var ivl = new IVL_TS(); ivl.Init(low: new IVXB_TS() { AsDateTime = DateTime.Now }); this.TestContext.WriteLine(ivl.Xml); this.TestContext.WriteLine(ivl.Low.Value); }
public RelatedEntityInformant12() { this.typeId = new IIImpl(); this.templateId = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.relatedEntityClassCode = new CS_R2Impl <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Domainvalue.RoleClassMutualRelationship>(); this.relatedEntityTypeId = new IIImpl(); this.relatedEntityTemplateId = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.relatedEntityCode = new CE_R2Impl <Code>(); this.relatedEntityAddr = new LISTImpl <AD, PostalAddress>(typeof(ADImpl)); this.relatedEntityTelecom = new LISTImpl <TEL, TelecommunicationAddress>(typeof(TELImpl)); this.relatedEntityEffectiveTime = new IVL_TSImpl(); }
public Organizer() { this.typeId = new IIImpl(); this.templateId = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.id = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.effectiveTime = new IVL_TSImpl(); this.specimen = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Specimen>(); this.performer = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Performer2_1>(); this.author = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Author_1>(); this.informant = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Informant12>(); this.participant = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Participant2_2>(); this.reference = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Basemodel.Reference>(); this.precondition = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Basemodel.Precondition>(); this.component = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Vitalsignsorganizer.IComponent4Choice>(); }
private static SubstanceAdministrationEvent getSubstanceAdministrationEvent(string clientImmunizationId, string administrationTime) { II statementTemplateId = new II(); statementTemplateId.root = "2.16.840.1.113883.3.795.11.9.1.1"; CD substanceAdminGeneralPurpose = new CD(); substanceAdminGeneralPurpose.code = "384810002"; substanceAdminGeneralPurpose.codeSystem = "2.16.840.1.113883.6.5"; CD substanceCode = new CD(); substanceCode.code = "08"; substanceCode.codeSystem = "2.16.840.1.113883.12.292"; II id = new II(); id.root = "2.16.840.1.113883.3.795.12.100.10"; id.extension = clientImmunizationId; SubstanceAdministrationEvent statement = new SubstanceAdministrationEvent(); statement.templateId = new II[] { statementTemplateId }; statement.id = id; statement.substanceAdministrationGeneralPurpose = substanceAdminGeneralPurpose; AdministrableSubstance substance = new AdministrableSubstance(); II substanceId = new II(); substanceId.root = System.Guid.NewGuid().ToString("D"); substance.id = substanceId; substance.substanceCode = substanceCode; statement.substance = substance; IVL_TS administrationTimeInterval = new IVL_TS(); administrationTimeInterval.high = administrationTime; administrationTimeInterval.low = administrationTime; statement.administrationTimeInterval = administrationTimeInterval; return(statement); }
public Act() { this.negationInd = new BLImpl(); this.typeId = new IIImpl(); this.templateId = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.id = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.text = new EDImpl <EncapsulatedData>(); this.effectiveTime = new IVL_TSImpl(); this.priorityCode = new CE_R2Impl <Code>(); this.languageCode = new CS_R2Impl <Code>(); this.specimen = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Specimen>(); this.performer = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Performer2_1>(); this.author = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Author_1>(); this.informant = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Informant12>(); this.participant = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Participant2_2>(); this.entryRelationship = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Coverageactivity.IEntryRelationshipChoice>(); this.reference = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Basemodel.Reference>(); this.precondition = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Basemodel.Precondition>(); }
public Organizer() { this.classCode = new CS_R2Impl <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Domainvalue.x_ActClassDocumentEntryOrganizer>(); this.moodCode = new CS_R2Impl <ActMood>(); this.typeId = new IIImpl(); this.templateId = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.id = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.code = new CD_R2Impl <Code>(); this.statusCode = new CS_R2Impl <Code>(); this.effectiveTime = new IVL_TSImpl(); this.specimen = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Basemodel.Specimen>(); this.performer = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Merged.Performer1>(); this.author = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Basemodel.Author>(); this.informant = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Merged.Informant12>(); this.participant = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Merged.Participant1>(); this.reference = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Basemodel.Reference>(); this.precondition = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Basemodel.Precondition>(); this.component = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Basemodel.Component4>(); }
public HasComponentEncounter() { this.typeId = new IIImpl(); this.templateId = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.id = new IIImpl(); this.code = new CD_R2Impl <Code>(); this.text = new EDImpl <EncapsulatedData>(); this.statusCode = new CS_R2Impl <Code>(); this.effectiveTime = new IVL_TSImpl(); this.dischargeDispositionCode = new CE_R2Impl <Code>(); this.priorityCode = new CE_R2Impl <Code>(); this.specimen = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Specimen>(); this.performer = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Performer2_1>(); this.author = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Author_1>(); this.informant = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Informant12>(); this.participant = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Participant2_2>(); this.entryRelationship = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.EntryRelationship_2>(); this.reference = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Basemodel.Reference>(); this.precondition = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Basemodel.Precondition>(); }
public Supply() { this.typeId = new IIImpl(); this.templateId = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.id = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.code = new CD_R2Impl <Code>(); this.text = new EDImpl <EncapsulatedData>(); this.statusCode = new CS_R2Impl <Code>(); this.effectiveTime = new LISTImpl <SXCM_R2 <MbDate>, MbDate>(typeof(SXCM_R2Impl <MbDate>)); this.priorityCode = new LISTImpl <CE_R2 <Code>, CodedTypeR2 <Code> >(typeof(CE_R2Impl <Code>)); this.repeatNumber = new IVLImpl <INT, Interval <int?> >(); this.independentInd = new BLImpl(); this.quantity = new PQImpl(); this.expectedUseTime = new IVL_TSImpl(); this.specimen = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Specimen>(); this.performer = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Performer2_1>(); this.informant = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Informant12>(); this.participant = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Participant2_2>(); this.reference = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Basemodel.Reference>(); this.precondition = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Basemodel.Precondition>(); }
public Encounter() { this.classCode = new CS_R2Impl <ActClass>(); this.moodCode = new CS_R2Impl <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Domainvalue.x_DocumentEncounterMood>(); this.typeId = new IIImpl(); this.templateId = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.id = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.code = new CD_R2Impl <Code>(); this.text = new EDImpl <EncapsulatedData>(); this.statusCode = new CS_R2Impl <Code>(); this.effectiveTime = new IVL_TSImpl(); this.dischargeDispositionCode = new CE_R2Impl <Code>(); this.priorityCode = new CE_R2Impl <Code>(); this.specimen = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Basemodel.Specimen>(); this.performer = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Merged.Performer1>(); this.author = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Basemodel.Author>(); this.informant = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Merged.Informant12>(); this.participant = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Merged.Participant1>(); this.entryRelationship = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Basemodel.EntryRelationship>(); this.reference = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Basemodel.Reference>(); this.precondition = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Basemodel.Precondition>(); }
internal static CdaEffectiveTime FromPocd(IVL_TS iVL_TS) { CdaEffectiveTime returnVal = new CdaEffectiveTime(); if (iVL_TS.Items != null) { for (int i = 0; i < iVL_TS.Items.Length; i++) { if (iVL_TS.ItemsElementName.Length > i) { if (iVL_TS.Items[i] is TS) { DateTime dt = GetDateTime((TS)iVL_TS.Items[i]); if (dt != DateTime.MinValue) { switch (iVL_TS.ItemsElementName[i]) { case ItemsChoiceType2.low: returnVal.Low = dt; break; case ItemsChoiceType2.high: returnVal.High = dt; break; case ItemsChoiceType2.center: returnVal.Value = dt; break; } } } } } } return(returnVal); }
public Act() { this.classCode = new CS_R2Impl <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Domainvalue.x_ActClassDocumentEntryAct>(); this.moodCode = new CS_R2Impl <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Domainvalue.x_DocumentActMood>(); this.negationInd = new BLImpl(); this.typeId = new IIImpl(); this.templateId = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.id = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.code = new CD_R2Impl <Code>(); this.text = new EDImpl <EncapsulatedData>(); this.statusCode = new CS_R2Impl <Code>(); this.effectiveTime = new IVL_TSImpl(); this.priorityCode = new CE_R2Impl <Code>(); this.languageCode = new CS_R2Impl <Code>(); this.specimen = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Specimen>(); this.performer = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Performer2_1>(); this.author = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Author_1>(); this.informant = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Informant12>(); this.participant = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Participant2_2>(); this.entryRelationship = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.EntryRelationship_2>(); this.reference = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Basemodel.Reference>(); this.precondition = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Basemodel.Precondition>(); }
public Supply() { this.moodCode = new CS_R2Impl <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Domainvalue.x_DocumentSubstanceMood>(); this.typeId = new IIImpl(); this.templateId = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.id = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.code = new CD_R2Impl <Code>(); this.text = new EDImpl <EncapsulatedData>(); this.statusCode = new CS_R2Impl <Code>(); this.effectiveTime = new LISTImpl <SXCM_R2 <MbDate>, MbDate>(typeof(SXCM_R2Impl <MbDate>)); this.priorityCode = new LISTImpl <CE_R2 <Code>, CodedTypeR2 <Code> >(typeof(CE_R2Impl <Code>)); this.repeatNumber = new IVLImpl <INT, Interval <int?> >(); this.independentInd = new BLImpl(); this.quantity = new PQImpl(); this.expectedUseTime = new IVL_TSImpl(); this.specimen = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Basemodel.Specimen>(); this.performer = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Merged.Performer1>(); this.author = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Basemodel.Author>(); this.informant = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Merged.Informant12>(); this.participant = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Merged.Participant1>(); this.entryRelationship = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Basemodel.EntryRelationship>(); this.reference = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Basemodel.Reference>(); this.precondition = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Basemodel.Precondition>(); }
public Supply() { this.moodCode = new CS_R2Impl <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Domainvalue.EvnIntMoodCode>(); this.typeId = new IIImpl(); this.templateId = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.id = new LISTImpl <II, Identifier>(typeof(IIImpl)); this.code = new CD_R2Impl <Code>(); this.text = new EDImpl <EncapsulatedData>(); this.statusCode = new CS_R2Impl <Code>(); this.effectiveTime = new IVL_TSImpl(); this.priorityCode = new LISTImpl <CE_R2 <Code>, CodedTypeR2 <Code> >(typeof(CE_R2Impl <Code>)); this.repeatNumber = new IVLImpl <INT, Interval <int?> >(); this.independentInd = new BLImpl(); this.quantity = new PQImpl(); this.expectedUseTime = new IVL_TSImpl(); this.specimen = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Specimen>(); this.performer = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Performer2_1>(); this.author = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Author_1>(); this.informant = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Informant12>(); this.participant = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Nonmedicinalsupplyactivity.IParticipant2Choice>(); this.entryRelationship = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.EntryRelationship_2>(); this.reference = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Basemodel.Reference>(); this.precondition = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Basemodel.Precondition>(); }
public GuarantorPerformerPerformer2() { this.templateId = new IIImpl(); this.time = new IVL_TSImpl(); }
private static SubstanceAdministrationEvent getSubstanceAdministrationEvent(string clientImmunizationId, string administrationTime) { II statementTemplateId = new II(); statementTemplateId.root = "2.16.840.1.113883.3.795.11.9.1.1"; CD substanceAdminGeneralPurpose = new CD(); substanceAdminGeneralPurpose.code = "384810002"; substanceAdminGeneralPurpose.codeSystem = "2.16.840.1.113883.6.5"; CD substanceCode = new CD(); substanceCode.code = "08"; substanceCode.codeSystem = "2.16.840.1.113883.12.292"; II id = new II(); id.root = "2.16.840.1.113883.3.795.12.100.10"; id.extension = clientImmunizationId; SubstanceAdministrationEvent statement = new SubstanceAdministrationEvent(); statement.templateId = new II[] { statementTemplateId }; statement.id = id; statement.substanceAdministrationGeneralPurpose = substanceAdminGeneralPurpose; AdministrableSubstance substance = new AdministrableSubstance(); II substanceId = new II(); substanceId.root = System.Guid.NewGuid().ToString("D"); substance.id = substanceId; substance.substanceCode = substanceCode; statement.substance = substance; IVL_TS administrationTimeInterval = new IVL_TS(); administrationTimeInterval.high = administrationTime; administrationTimeInterval.low = administrationTime; statement.administrationTimeInterval = administrationTimeInterval; return statement; }