Exemple #1
0
 public Authenticator()
 {
     this.typeId        = new IIImpl();
     this.templateId    = new LISTImpl <II, Identifier>(typeof(IIImpl));
     this.time          = new TS_R2Impl();
     this.signatureCode = new CS_R2Impl <Code>();
 }
Exemple #2
0
 public Author()
 {
     this.typeId       = new IIImpl();
     this.templateId   = new LISTImpl <II, Identifier>(typeof(IIImpl));
     this.functionCode = new CE_R2Impl <Code>();
     this.time         = new TS_R2Impl();
 }
Exemple #3
0
        public virtual void TestParseNullNode()
        {
            XmlNode node = CreateNode("<something nullFlavor=\"NI\" />");
            TS_R2   ts   = (TS_R2) new TsR2ElementParser().Parse(CreateContext(), node, this.xmlResult);

            Assert.IsNull(ts.Value, "null returned");
            Assert.AreEqual(Ca.Infoway.Messagebuilder.Domainvalue.Nullflavor.NullFlavor.NO_INFORMATION, ts.NullFlavor, "null flavor");
            Assert.IsTrue(this.xmlResult.GetHl7Errors().IsEmpty());
        }
Exemple #4
0
 public PlayingEntity()
 {
     this.classCode  = new CS_R2Impl <EntityClassRoot>();
     this.typeId     = new IIImpl();
     this.templateId = new LISTImpl <II, Identifier>(typeof(IIImpl));
     this.code       = new CE_R2Impl <Code>();
     this.quantity   = new LISTImpl <PQ, PhysicalQuantity>(typeof(PQImpl));
     this.name       = new LISTImpl <PN, PersonName>(typeof(PNImpl));
     this.birthTime  = new TS_R2Impl();
     this.desc       = new EDImpl <EncapsulatedData>();
 }
Exemple #5
0
 public SubjectPerson()
 {
     this.typeId     = new IIImpl();
     this.templateId = new LISTImpl <II, Identifier>(typeof(IIImpl));
     this.id         = new LISTImpl <II, Identifier>(typeof(IIImpl));
     this.name       = new PNImpl();
     this.administrativeGenderCode = new CE_R2Impl <Code>();
     this.birthTime    = new TS_R2Impl();
     this.deceasedInd  = new BLImpl();
     this.deceasedTime = new TS_R2Impl();
 }
Exemple #6
0
 public Patient()
 {
     this.typeId     = new IIImpl();
     this.templateId = new LISTImpl <II, Identifier>(typeof(IIImpl));
     this.id         = new IIImpl();
     this.name       = new PNImpl();
     this.administrativeGenderCode = new CV_R2Impl <AdministrativeGender>();
     this.birthTime             = new TS_R2Impl();
     this.ethnicGroupCode       = new CE_R2Impl <Code>();
     this.guardian              = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Basemodel.Guardian>();
     this.languageCommunication = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Merged.LanguageCommunication>();
 }
Exemple #7
0
 public CoveredPartyParticipantParticipantRole()
 {
     this.id   = new LISTImpl <II, Identifier>(typeof(IIImpl));
     this.code = new CE_R2Impl <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Domainvalue.CoverageRoleType>();
     this.addr = new ADImpl();
     this.playingEntityClassCode  = new CS_R2Impl <EntityClassRoot>();
     this.playingEntityTypeId     = new IIImpl();
     this.playingEntityTemplateId = new LISTImpl <II, Identifier>(typeof(IIImpl));
     this.playingEntityCode       = new CE_R2Impl <Code>();
     this.playingEntityQuantity   = new LISTImpl <PQ, PhysicalQuantity>(typeof(PQImpl));
     this.playingEntityName       = new PNImpl();
     this.playingEntityBirthTime  = new TS_R2Impl();
     this.playingEntityDesc       = new EDImpl <EncapsulatedData>();
 }
Exemple #8
0
 public CAABTranscribedReports()
 {
     this.typeId               = new IIImpl();
     this.templateId           = new LISTImpl <II, Identifier>(typeof(IIImpl));
     this.id                   = new IIImpl();
     this.code                 = new CV_R2Impl <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Domainvalue.AlbertaTranscribedReportType>();
     this.title                = new STImpl();
     this.effectiveTime        = new TS_R2Impl();
     this.confidentialityCode  = new CV_R2Impl <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Domainvalue.ConfidentialityCode>();
     this.setId                = new IIImpl();
     this.versionNumber        = new INTImpl();
     this.copyTime             = new TS_R2Impl();
     this.author               = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Caabtranscribedreports.Author>();
     this.informationRecipient = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Caabtranscribedreports.InformationRecipient>();
 }
Exemple #9
0
 public Patient()
 {
     this.typeId     = new IIImpl();
     this.templateId = new LISTImpl <II, Identifier>(typeof(IIImpl));
     this.id         = new IIImpl();
     this.name       = new LISTImpl <PN, PersonName>(typeof(PNImpl));
     this.administrativeGenderCode = new CE_R2Impl <AdministrativeGender>();
     this.birthTime                = new TS_R2Impl();
     this.maritalStatusCode        = new CE_R2Impl <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Domainvalue.MaritalStatus>();
     this.religiousAffiliationCode = new CE_R2Impl <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Domainvalue.ReligiousAffiliation>();
     this.raceCode              = new CE_R2Impl <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Domainvalue.Race>();
     this.ethnicGroupCode       = new CE_R2Impl <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Domainvalue.EthnicityGroup>();
     this.guardian              = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Guardian>();
     this.languageCommunication = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.LanguageCommunication>();
 }
Exemple #10
0
 public RelatedSubject()
 {
     this.typeId            = new IIImpl();
     this.templateId        = new LISTImpl <II, Identifier>(typeof(IIImpl));
     this.code              = new CE_R2Impl <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Domainvalue.FamilyMember>();
     this.addr              = new LISTImpl <AD, PostalAddress>(typeof(ADImpl));
     this.telecom           = new LISTImpl <TEL, TelecommunicationAddress>(typeof(TELImpl));
     this.subjectTypeId     = new IIImpl();
     this.subjectTemplateId = new LISTImpl <II, Identifier>(typeof(IIImpl));
     this.subjectId         = new LISTImpl <II, Identifier>(typeof(IIImpl));
     this.subjectName       = new LISTImpl <PN, PersonName>(typeof(PNImpl));
     this.subjectAdministrativeGenderCode = new CE_R2Impl <AdministrativeGender>();
     this.subjectBirthTime    = new TS_R2Impl();
     this.subjectDeceasedInd  = new BLImpl();
     this.subjectDeceasedTime = new TS_R2Impl();
 }
Exemple #11
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.code              = new CD_R2Impl <Code>();
     this.text              = new EDImpl <EncapsulatedData>();
     this.statusCode        = new CS_R2Impl <Code>();
     this.effectiveTime     = new TS_R2Impl();
     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>();
 }
Exemple #12
0
 public UnstructuredDocument()
 {
     this.typeId               = new IIImpl();
     this.templateId           = new LISTImpl <II, Identifier>(typeof(IIImpl));
     this.id                   = new IIImpl();
     this.code                 = new CE_R2Impl <Code>();
     this.title                = new STImpl();
     this.effectiveTime        = new TS_R2Impl();
     this.confidentialityCode  = new CE_R2Impl <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Domainvalue.BasicConfidentialityKind>();
     this.languageCode         = new CS_R2Impl <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Domainvalue.Language>();
     this.setId                = new IIImpl();
     this.versionNumber        = new INTImpl();
     this.copyTime             = new TS_R2Impl();
     this.informant            = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.IInformant12Choice>();
     this.informationRecipient = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.InformationRecipient>();
     this.authenticator        = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.Authenticator>();
     this.participant          = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.IParticipant1Choice>();
     this.inFulfillmentOf      = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.InFulfillmentOf>();
     this.documentationOf      = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.DocumentationOf>();
     this.relatedDocument      = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Basemodel.RelatedDocument>();
     this.authorization        = new List <Ca.Infoway.Messagebuilder.Model.Ccda_r1_1.Merged.IAuthorizationChoice>();
 }
Exemple #13
0
 public BaseModel()
 {
     this.typeId               = new IIImpl();
     this.templateId           = new LISTImpl <II, Identifier>(typeof(IIImpl));
     this.id                   = new IIImpl();
     this.code                 = new CE_R2Impl <Code>();
     this.title                = new STImpl();
     this.effectiveTime        = new TS_R2Impl();
     this.confidentialityCode  = new CE_R2Impl <Code>();
     this.languageCode         = new CS_R2Impl <Code>();
     this.setId                = new IIImpl();
     this.versionNumber        = new INTImpl();
     this.copyTime             = new TS_R2Impl();
     this.recordTarget         = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Basemodel.RecordTarget>();
     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.informationRecipient = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Basemodel.InformationRecipient>();
     this.authenticator        = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Basemodel.Authenticator>();
     this.participant          = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Merged.Participant1>();
     this.inFulfillmentOf      = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Merged.InFulfillmentOf>();
     this.documentationOf      = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Basemodel.DocumentationOf>();
     this.relatedDocument      = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Merged.RelatedDocument>();
     this.authorization        = new List <Ca.Infoway.Messagebuilder.Model.Cda_ab_shr.Merged.Authorization>();
 }
Exemple #14
0
 public DataEnterer()
 {
     this.typeId     = new IIImpl();
     this.templateId = new LISTImpl <II, Identifier>(typeof(IIImpl));
     this.time       = new TS_R2Impl();
 }
Exemple #15
0
 public Observation()
 {
     this.templateId = new LISTImpl <II, Identifier>(typeof(IIImpl));
     this.value      = new TS_R2Impl();
 }
Exemple #16
0
 public LegalAuthenticator()
 {
     this.typeId     = new IIImpl();
     this.templateId = new LISTImpl <II, Identifier>(typeof(IIImpl));
     this.time       = new TS_R2Impl();
 }