Examples of CodedValue


Examples of uk.nhs.interoperability.payloads.CodedValue

    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"));
   
    template.addPatientRelationships(new EOLPatientRelationships(createRelatedPersons()));
View Full Code Here

Examples of uk.nhs.interoperability.payloads.CodedValue

  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
View Full Code Here

Examples of uk.nhs.interoperability.payloads.CodedValue

  public static AdvanceDecisionToRefuseTreatment createADRT() {
    AdvanceDecisionToRefuseTreatment template = new AdvanceDecisionToRefuseTreatment();
    template.setID("C7E93500-28F8-11E2-B6B7-30966188709B");
    template.setEffectiveTime(new DateValue("201209111400+0000"));
    template.setADRTPreference(new CodedValue(EoLADRTprefSnCT._816301000000100, "#a2"));
    template.setADRTDocumentLocation("The signed copy of the documentation is available in patient bedside cabinet.");
    template.setADRTDiscussed(new CodedValue(ADRTDiscussedSnCT._820621000000107, "#a3"))
    return template;
  }
View Full Code Here

Examples of uk.nhs.interoperability.payloads.CodedValue

    AnticipatoryMedicineBoxIssueProcedure template = new AnticipatoryMedicineBoxIssueProcedure();
    template.setID("227413CC-28FA-11E2-ADB5-72976188709B");
    // 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, as in this test
    template.setAnticipatoryMedicineBoxIssueCode(
          new CodedValue(EoLAnticipatoryMedicineBoxIssueSnCT._376201000000102, "#a4"));
    template.setTimeIssued(new DateValue("201209111400+0000"));
    template.setLocationOfBox("Bedside Table Drawer");
    return template;
  }
View Full Code Here

Examples of uk.nhs.interoperability.payloads.CodedValue

  public static DNACPRDecisionbySeniorResponsibleClinician createDNACPR() {
    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"));
    template.setSeniorResponsibleClinicianAuthor(createAuthorJohnManning());
    template.setDNACPRDocsLocation("The signed copy is placed at the GP surgery in locker number 12345. The scanned copy is scanned and uploaded to GP system on 11/09/2012.");
   
View Full Code Here

Examples of uk.nhs.interoperability.payloads.CodedValue

  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"));
View Full Code Here

Examples of uk.nhs.interoperability.payloads.CodedValue

          try {
            super.init("example/", "Example-Serialise", "Example: Serialise Test", "This is a test of serialising some test objects, and compares the output to an expected XML file.");   
            Example example = new Example();
               
                example.setAttribute("AttributeValue");
                example.setCodedValue(new CodedValue(HumanLanguage._en));
                example.addID(new PatientID()
                                 .setPatientIDType(PatientIDType.UnverifiedNHSNumber.code)
                                 .setPatientID("1234567890"));
                example.addListItem("Item1");
                example.addListItem("Item2");
View Full Code Here

Examples of uk.nhs.interoperability.payloads.CodedValue

    participant.setParticipantSDSRoleID("222211100496");
    participant.setParticipantTelephone("01145589403");
    participant.setParticipantType(ParticipationType._Consultant);
    fields.addParticipant(participant);
    // Documentation Of
    fields.setEventCode(new CodedValue("73761001","colonoscopy","2.16.840.1.113883.2.1.3.2.4.15"));
    fields.setEventType(HL7ActType.Procedure);
    fields.setEventEffectiveFromTime(new DateValue("201105192000+01"));
    fields.setEventEffectiveToTime(new DateValue("201105192045+01"));
    fields.setEventPerformerName(new PersonName("Mr","Adam","Adamson"));
    fields.setEventODSCode("V396A");
    fields.setEventOrganisatioName("Medway PCT");
    // Consent
    fields.setConsent(DocumentConsentSnCT._Consentgivenforelectronicrecordsharing);
    // Encounter
    fields.setEncounterFromTime(new DateValue("201105192000+01"));
    fields.setEncounterToTime(new DateValue("201105192045+01"));
    fields.setEncounterType(new CodedValue("11429006", "Consultation", "2.16.840.1.113883.2.1.3.2.4.15"));
    fields.setEncounterLocationType(new CodedValue("313161000000107", "Example Care Setting", "2.16.840.1.113883.2.1.3.2.4.15"));
    fields.setEncounterLocationName("Springer Street Surgery");
    fields.setEncounterLocationAddress(new Address()
                          .addAddressLine("Springer Street")
                          .addAddressLine("Medway")
                          .setPostcode("ME5 5TY")
View Full Code Here

Examples of uk.nhs.interoperability.payloads.CodedValue

     template.addId(new PersonID()
             .setType(PersonIDType.LocalPersonID.code)
             .setID("101")
             .setAssigningOrganisation("5L399:Medway NHS Foundation Trust"));   
     // In the sample XML the SDSJobRoleName vocab is used (which is an empty vocab). We will use it's OID here:
     template.setJobRoleName(new CodedValue("OOH02","Nurse Practitioner","2.16.840.1.113883.2.1.3.2.4.17.196"));
     template.setName(new PersonName()
            .setGivenName("Mary")
            .setFamilyName("Jones"));
    template.setOrganisationId(new OrgID()
                  .setID("5L399")
View Full Code Here

Examples of uk.nhs.interoperability.payloads.CodedValue

  public static ServiceEvent createServiceEvent() {
    ServiceEvent template = new ServiceEvent();
   
    template.setId("8371D2F1-123F-4A14-A1AC-C6C8023103CF");
    template.setClassCode(HL7ActType.Procedure.code);
    template.setEventCode(new CodedValue("73761001","colonoscopy","2.16.840.1.113883.2.1.3.2.4.15"));
    template.setEffectiveTime(
              new DateRange(new DateValue("201105192000+01"),
                      new DateValue("201105192045+01")));
   
    // Performer
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.