Examples of PrognosisAwareness


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

        getDNACPRFields(fields, dnacpr, parseExceptions);
      }
     
      // Main informal carer awareness of prognosis
      if (className.equals("PrognosisAwareness")) {
        PrognosisAwareness aware = (PrognosisAwareness)codedSection;
        getPrognosisAwarenessFields(fields, aware, parseExceptions);
      }
     
      // Authority to Lasting Power of Attorney
      if (className.equals("AuthoritytoLastingPowerofAttorney")) {
View Full Code Here

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

    // DNACPR Decision
    DNACPRDecisionbySeniorResponsibleClinician dnacpr = createDNACPR();
    template.addCodedSections(new CodedSections(dnacpr));
   
    // 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));
View Full Code Here

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

     template.addRelatedPerson(new RelatedPersonDetails().setParticipant(rp6));
    return template;
  }
 
  public static PrognosisAwareness createPrognosisAwareness() {
    PrognosisAwareness template = new PrognosisAwareness();
   
    template.setID("369FBB7A-2A86-11E2-B118-84C76088709B");
    template.setEffectiveTime(new DateValue("201209111400+0000"));
    template.setPrognosisAwareness(new CodedValue(PrognosisAwarenessSnCT._751941000000100, "#a6"));
    // Main informal carer
    PatientRelationshipParticipantRole carer = new PatientRelationshipParticipantRole();
    carer.setPersonRole(JobRoleName._NR1980);
    carer.setAddress(new Address().setNullFlavour(NullFlavour.NI.code));
    // Note: The DMS specifies that if the person's ID is not known, an "NA" null flavour should
    // be used. In the example XML however, a null flavour of "NI" is used, which is why we need
    // to explicitly set that here.
    carer.addID(new PersonID().setNullFlavour(NullFlavour.NI.code));
    carer.addTelephoneNumber(new Telecom("tel:014722823451"));
    carer.addTelephoneNumber(new Telecom("tel:07831191333"));
    carer.setPersonName(new PersonName()
                  .setTitle("Mrs")
                  .setGivenName("Emily")
                  .setFamilyName("Smith"));
    template.setMainInformalCarer(carer);
    return template;
  }
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.