Package uk.nhs.interoperability.payloads

Examples of uk.nhs.interoperability.payloads.DateValue


 
  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")
                  .setAssigningOrganisation("TAN01:NORTH EAST LINCOLNSHIRE CARE TRUST")
                  .setType(PersonIDType.LocalPersonID.code));
View Full Code Here


    template.addName(new PersonName()
                .setGivenName("Mark")
                .setFamilyName("Smith"));
   
    template.setGender(Sex._Male);
    template.setDateOfBirth(new DateValue("20120728"));
   
    // Guardian
    Guardian guardian = new Guardian();
   
    guardian.addId(new PatientIDWithTraceStatuses()
View Full Code Here

 
  public static PrognosisAwareness createFull() {
    PrognosisAwareness template = new PrognosisAwareness();
   
    template.setID("369FBB7A-2A86-11E2-B118-84C76088709B");
    template.setEffectiveTime(new DateValue("201209111400+0000"));
    template.setPrognosisAwareness(PrognosisAwarenessSnCT._751941000000100);
    // Main informal carer
    PatientRelationshipParticipantRole carer = new PatientRelationshipParticipantRole();
    carer.setPersonRole(JobRoleName._NR1980);
    carer.setAddress(new Address().setNullFlavour(NullFlavour.NI.code));
View Full Code Here

    EncompassingEncounter template = new EncompassingEncounter();
   
    template.setId("3D3B95B5-24AA-42ED-9F77-BE7ECEB78C3E");
    template.setCode(new CodedValue("11429006", "Consultation", "2.16.840.1.113883.2.1.3.2.4.15"));
    template.setEffectiveTime(
        new DateRange(new DateValue("201105191945+01"),
                new DateValue("201105192015+01")));
   
    // Responsible Party
    PersonWithOrganizationUniversal responsible = new PersonWithOrganizationUniversal();
    responsible.addPersonId(new PersonID().setNullFlavour(NullFlavour.NI.code));
    responsible.setJobRoleName(JobRoleName._MedicalDirector);
View Full Code Here

    TextSection template = new TextSection();
    template.setSectionId("E27F4264-C005-4BC3-BFA1-57C3E64B30B7");
    template.setTitle("Document Section 1");
    template.setText("<content>Some text associated with Document Section 1</content>");
   
    template.setTimeAuthored(new DateValue("200708012055+01"));
    template.setAuthor(createAuthorMaryFlemming());
   
    return template;
  }
View Full Code Here

public class EndOfLifeCareDocumentCreationCDGRSHelper {

  public static ClinicalDocument createDocument(EndOfLifeCareISBFields isbFields) throws MissingMandatoryFieldException {
    ClinicalDocument template = new ClinicalDocument();
    MissingMandatoryFieldException missingFields = new MissingMandatoryFieldException();
    DateValue currentDateTime = new DateValue(new Date(), DatePrecision.Minutes);
   
    // ==== We will assume some things and set them accordingly ====
    template.setDocumentId(CDAUUID.generateUUIDString());
    template.setDocumentTitle("End of Life Care Coordination Summary");
    template.setConfidentialityCode(x_BasicConfidentialityKind._N);
View Full Code Here

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

    template.setId("A1265DB0-89B1-11E3-AFED-19F46188709C");
    template.setEffectiveTime(new DateValue("201410111500+0000"));
    template.setGestationalAgeInDays("12");
    template.setHipsExamination(HipsExaminationResult._Noabnormalitieswithriskfactors);
    template.setUltraSoundDecision(HipsUltraSoundOutcomeDecision._Arrangeforfollowup4weekslaterwithin8weeks);
    template.setExpertManagementPlan(HipsExpertManagementPlanType._Watchfulwaiting);
    template.setHeartExamination(HeartExaminationResult._Noabnormalitieswithriskfactors);
View Full Code Here

            .setCity("Grimsby")
            .setPostcode("DN3 1UJ"));
    template.addTelephoneNumber(new Telecom("tel:01472354321"));
    template.addName(new PersonName("Mr", "Mark", "Smith"));
    template.setSex(Sex._Male);
    template.setBirthTime(new DateValue("19490101"));
   
    return template;
  }
View Full Code Here

 
  public static AuthoritytoLastingPowerofAttorney createFull() {
    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));
View Full Code Here

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

    template.setId("A1265DB0-89B1-11E3-AFED-19F46188709B");
    template.setEffectiveTime(new DateValue("201209111400+0000"));
    template.setGestationalAgeInWeeks("40");
    template.setBirthOrder("01");
    template.setNoOfFoetusInConfinement("1");
    template.setBirthWeightInGrams("2887");
   
View Full Code Here

TOP

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

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.