Package uk.nhs.interoperability.payloads

Examples of uk.nhs.interoperability.payloads.CodedValue


    AuthoritytoLastingPowerofAttorney template = new AuthoritytoLastingPowerofAttorney();
    template.setID(CDAUUID.generateUUIDString());
    // Date granted
    template.setEffectiveTime(isbFields.getLPADate());
    // LPA Authority
    template.setAuthoritytoLPA(new CodedValue(isbFields.getLPAAuthority(), "#lpaauthority"));
   
    // LPA Person details
    PatientRelationshipParticipantRole person = new PatientRelationshipParticipantRole();
    person.setPersonRole(JobRoleName._NR2010);
    person.setAddress(new Address().setNullFlavour(NullFlavour.NI.code));
View Full Code Here


    template.setOriginalAuthor(originalAuthor);
   
    template.setLastAmendedTimeAuthored(new DateValue("201209111415+0000"));
    template.setLastAmendedAuthor(originalAuthor);

    template.setEoLToolSnCT(new CodedValue(EoLToolSnCT._818221000000103, "#a1"));
    template.setEOLToolStage("first stage");
    template.setPlannedReviewDate(new DateValue("20121011"));
   
    EOLPatientRelationships relationships = new EOLPatientRelationships();
    relationships.setRelationships(PatientRelationshipsTest.createFull());
View Full Code Here

  public static DNACPRDecisionbySeniorResponsibleClinician createFull() {
    DNACPRDecisionbySeniorResponsibleClinician template = new DNACPRDecisionbySeniorResponsibleClinician();

    template.setID("F3F709E0-298B-11E2-ACBD-87EE6088709B");
    template.setEffectiveTime(new DateValue("201209111400+0000"));
    template.setDNACPRPreference(new CodedValue(DNACPRprefSnCT._450476008, "#a5"));

    template.setSeniorResponsibleClinicianTimeAuthored(new DateValue("201209111400+0000"));
    AuthorPersonUniversal originalAuthor = new AuthorPersonUniversal();
    originalAuthor.addId(new PersonID()
                  .setID("112")
View Full Code Here

 
  public static AuthorDeviceUniversal createFull() {
    AuthorDeviceUniversal template = new AuthorDeviceUniversal();
   
     template.addDeviceId(new DeviceID().setID("123456"));
    template.setManufacturerModelName(new CodedValue("OMRON-M2", "BASIC BP DEVICE"));
    template.setSoftwareName(new CodedValue("B003CYK6FA", "OMRON M2 BP MONITOR"));
    template.setOrgId(new OrgID()
                .setID("SITE1234")
                .setType(OrgIDType.ODSOrgID.code));
    template.setOrgName("MEDWAY HEATH CENTRE");
   
View Full Code Here

  }
 
  public static AuthorDeviceUniversal createMinimal() {
    AuthorDeviceUniversal minimal = new AuthorDeviceUniversal();
       
     minimal.setManufacturerModelName(new CodedValue("OMRON-M2", "BASIC BP DEVICE"));
     minimal.setSoftwareName(new CodedValue("B003CYK6FA", "OMRON M2 BP MONITOR"));
     minimal.setOrgId(new OrgID()
                .setID("SITE1234")
                .setType(OrgIDType.ODSOrgID.code));
     minimal.setOrgName("MEDWAY HEATH CENTRE");
   
View Full Code Here

      template.setLastAmendedAuthor(lastAmendingAuthor);
    }
   
    // EOL Tool used
    if (isbFields.getEolcTool() != null) {
      template.setEoLToolSnCT(new CodedValue(isbFields.getEolcTool(), "#eolcTool"));
    }
   
    // EOLC Tool Pathway Stage
    if (isbFields.getEolcPathwayStageNONISB() != null) {
      template.setEOLToolStage(isbFields.getEolcPathwayStageNONISB());
View Full Code Here

    // Date when made aware of prognosis
    template.setEffectiveTime(isbFields.getPrognosisAwarenessRecordedDate());
   
    // Awareness of prognosis
    template.setPrognosisAwareness(new CodedValue(isbFields.getMainInformalCarerAwareOfPrognosis(), "#prognosisawareness"));
   
    // Main informal carer (name, tel)
     if (isbFields.getMainInformalCarerName() != null) {
       PatientRelationshipParticipantRole mic = new PatientRelationshipParticipantRole();
       mic.setPersonRole(JobRoleName._NR1980);
View Full Code Here

    }
   
    // Time recorded
    template.setEffectiveTime(isbFields.getADRTRecordedDate());
    // Preference
    template.setADRTPreference(new CodedValue(isbFields.getADRT(), "#adrt"));
    // Document location
    template.setADRTDocumentLocation(isbFields.getADRTDocumentLocation());
    // Discussed with clinician
    if (isbFields.isADRTDiscussedWithClinicianNONISB()) {
      template.setADRTDiscussed(new CodedValue(ADRTDiscussedSnCT._820621000000107, "#adrtDiscussed"));
    }
    return template;
  }
View Full Code Here

    AnticipatoryMedicineBoxIssueProcedure template = new AnticipatoryMedicineBoxIssueProcedure();
    template.setID(CDAUUID.generateUUIDString());
    // There is only one code in this vocab, so if the below is omitted, that code will still be used - however
    // we need to set it explicitly if we also want the code to include a cross-reference to a text section, which we do..
    template.setAnticipatoryMedicineBoxIssueCode(
          new CodedValue(EoLAnticipatoryMedicineBoxIssueSnCT._376201000000102, "#ambox"));
    // Date issued
    template.setTimeIssued(isbFields.getAnticipatoryMedicinesDateIssued());
    // Location
    template.setLocationOfBox(isbFields.getAnticipatoryMedicinesLocation());
    return template;
View Full Code Here

    template.setID(CDAUUID.generateUUIDString());
    // DNACPR Decision date
    template.setEffectiveTime(isbFields.getDNACPRDate());
    // DNACPR Preference
    template.setDNACPRPreference(new CodedValue(isbFields.getDNACPR(), "#dnacprdecision"));
    // DNACPR Decision Originally Recorded Date
    template.setSeniorResponsibleClinicianTimeAuthored(isbFields.getDNACPRCreatedDate());
    // Document Location
    template.setDNACPRDocsLocation(isbFields.getDNACPRLocation());
    // Review date
View Full Code Here

TOP

Related Classes of uk.nhs.interoperability.payloads.CodedValue

Copyright © 2018 www.massapicom. 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.