Ejemplo n.º 1
0
 /// <summary>
 /// Ctor for all elements
 /// </summary>
 public PLClinicalDocument(II id, CE <string> code, ST title, TS effectiveTime, CE <x_BasicConfidentialityKind> confidentialityCode, CS <string> languageCode, II setId, INT versionNumber, TS copyTime, RecordTarget recordTarget, Author author, DataEnterer dataEnterer, Informant12 informant, Custodian custodian, InformationRecipient informationRecipient, LegalAuthenticator legalAuthenticator, Authenticator authenticator, Participant1 participant, InFulfillmentOf inFulfillmentOf, DocumentationOf documentationOf, RelatedDocument relatedDocument, Authorization authorization, Component1 componentOf, Component2 component)
     : base(id, code, title, effectiveTime, confidentialityCode, languageCode, setId, versionNumber, copyTime, recordTarget, author, dataEnterer, informant, custodian, informationRecipient, legalAuthenticator, authenticator, participant, inFulfillmentOf, documentationOf, relatedDocument, authorization, componentOf, component)
 {
     this.PertinentInformation = new List <PertinentInformation>();
 }
Ejemplo n.º 2
0
        private static void MakeInformationRecipientNode(ClinicalDocument ccda)
        {
            IntendedRecipient ir = new IntendedRecipient();

            //NPI 23456
            ir.Id = new SET<II>(new II(
                "2.16.840.1.113883.4.6",
                "23456"));

            ir.InformationRecipient = new Person(new SET<PN>(
                new PN(
                    new List<ENXP>{
                    new ENXP("Bernard",EntityNamePartType.Given),
                    new ENXP("Crane",EntityNamePartType.Family),
                    new ENXP("MD",EntityNamePartType.Suffix)})));

            ON on = new ON();
            on.Part.Add(new ENXP("Springfield Geriatric Associates"));

            Organization org = new Organization(
                null,
                new SET<ON>(on),
                new SET<TEL>(new TEL("tel:+1(571)555-0165", TelecommunicationAddressUse.WorkPlace)),
                new SET<AD>(new AD(
                    new ADXP[]{
                            new ADXP("202 County Line Rd", AddressPartType.StreetAddressLine),
                            new ADXP("Springfield", AddressPartType.City),
                            new ADXP("VA", AddressPartType.State),
                            new ADXP("22150", AddressPartType.PostalCode),
                            new ADXP("US", AddressPartType.Country)})),
                new CE<string>("207QG0300X",
                    "2.16.840.1.113883.6.101",
                    "NUCC",
                    null,
                    "Geriatric Medicine",
                    null),
                null);

            ir.ReceivedOrganization = org;

            InformationRecipient infor = new InformationRecipient();
            infor.IntendedRecipient = ir;

            ccda.InformationRecipient = new List<InformationRecipient>();
            ccda.InformationRecipient.Add(infor);
        }