Examples of AuthoritytoLastingPowerofAttorney


Examples of uk.nhs.interoperability.payloads.templates.AuthoritytoLastingPowerofAttorney

    // Patient awareness of prognosis
    PrognosisAwareness prognosis = createPrognosisAwareness();
    template.addCodedSections(new CodedSections(prognosis));
   
    // Authority to Lasting Power of Attorney
    AuthoritytoLastingPowerofAttorney lpa = createLPA();
    template.addCodedSections(new CodedSections(lpa));
   
    // ==== Now create the text sections ====
    template.setMainDocumentSectionID("71F8271A-349B-11E2-980A-A5D46088709B");
    template.addTextSections(new TextSections(createTextSection1()));
View Full Code Here

Examples of uk.nhs.interoperability.payloads.templates.AuthoritytoLastingPowerofAttorney

   
    return template;
  }

  public static AuthoritytoLastingPowerofAttorney createLPA() {
    AuthoritytoLastingPowerofAttorney template = new AuthoritytoLastingPowerofAttorney();
    template.setID("26919440-2A88-11E2-A205-1ECA6088709B");
    template.setEffectiveTime(new DateValue("201209111400+0000"));
    template.setAuthoritytoLPA(new CodedValue(AuthoritytoLPASnCT._816381000000105, "#a7"));
   
    PatientRelationshipParticipantRole person = new PatientRelationshipParticipantRole();
    person.setPersonRole(JobRoleName._NR2010);
    person.setAddress(new Address().setNullFlavour(NullFlavour.NI.code));
    person.addTelephoneNumber(new Telecom("tel:07871715735"));
    person.setPersonName(new PersonName()
                  .setTitle("Mr")
                  .setGivenName("Alan")
                  .setFamilyName("Smith"));
    template.setLPADetails(person);
    return template;
  }
View Full Code Here

Examples of uk.nhs.interoperability.payloads.templates.AuthoritytoLastingPowerofAttorney

        getPrognosisAwarenessFields(fields, aware, parseExceptions);
      }
     
      // Authority to Lasting Power of Attorney
      if (className.equals("AuthoritytoLastingPowerofAttorney")) {
        AuthoritytoLastingPowerofAttorney lpa = (AuthoritytoLastingPowerofAttorney)codedSection;
        getLPAFields(fields, lpa, parseExceptions);
      }
    }
   
    // Loop through text sections, extracting values
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.