コード例 #1
0
 public VerifierParticipant2()
 {
     this.typeId        = new IIImpl();
     this.templateId    = new IIImpl();
     this.time          = new IVL_TSImpl();
     this.awarenessCode = new CE_R2Impl <Code>();
 }
コード例 #2
0
 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>();
 }
コード例 #3
0
 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>();
 }
コード例 #4
0
 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();
 }
コード例 #5
0
 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>();
 }
コード例 #6
0
 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>();
 }
コード例 #7
0
 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>();
 }
コード例 #8
0
 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>();
 }
コード例 #9
0
 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();
 }
コード例 #10
0
 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>();
 }
コード例 #11
0
 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();
 }
コード例 #12
0
 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();
 }
コード例 #13
0
 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>();
 }
コード例 #14
0
 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>();
 }
コード例 #15
0
 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>();
 }
コード例 #16
0
ファイル: FacadeBase.cs プロジェクト: swmuir/khie
 /// 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));
 }
コード例 #17
0
ファイル: Tests.cs プロジェクト: rahulmeshram/cdasdk
        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);
        }
コード例 #18
0
 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();
 }
コード例 #19
0
 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>();
 }
コード例 #20
0
        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);
        }
コード例 #21
0
 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>();
 }
コード例 #22
0
 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>();
 }
コード例 #23
0
 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>();
 }
コード例 #24
0
 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>();
 }
コード例 #25
0
 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>();
 }
コード例 #26
0
        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);
        }
コード例 #27
0
 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>();
 }
コード例 #28
0
 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>();
 }
コード例 #29
0
 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>();
 }
コード例 #30
0
 public GuarantorPerformerPerformer2()
 {
     this.templateId = new IIImpl();
     this.time       = new IVL_TSImpl();
 }
コード例 #31
0
        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;
        }