Examples of PatientID


Examples of uk.nhs.interoperability.payloads.commontypes.PatientID

    return template;
  }
 
  public static PatientUniversal createPatient() {
    PatientUniversal template = new PatientUniversal();
    template.addPatientID(new PatientID()
                  .setPatientID("K12345")
                  .setAssigningOrganisation("V396A:Medway PCT")
                  .setPatientIDType(PatientIDType.LocalID.code));
    template.addPatientID(new PatientID()
                  .setPatientID("993254128")
                  .setPatientIDType(PatientIDType.UnverifiedNHSNumber.code));   
    template.addAddress(new Address()
                  .addAddressLine("Appleton House")
                  .addAddressLine("Lanchester Road")
View Full Code Here

Examples of uk.nhs.interoperability.payloads.commontypes.PatientID

    document.addRecipient(recipient);
   
    // ********** PATIENT *********************************************
    Patient patient = new Patient();
    patient.setPatientAddress(new Address("111 St. Elsewhere's Street, Leeds, LS13 7TF"));
    patient.setPatientNhsNumber(new PatientID(PatientIDType.VerifiedNHSNumber.code, "1111111111"));
    patient.setPatientDOB(new DateValue("20010101"));
    patient.addPatientName(new PersonName("John Smith"));
    document.setPatient(patient);
    return document;
  }
View Full Code Here

Examples of uk.nhs.interoperability.payloads.commontypes.PatientID

 
  public static PatientUniversal createFull() {
    PatientUniversal template = new PatientUniversal();
   
    // PatientRole:
    template.addPatientID(new PatientID()
                  .setPatientID("K12345")
                  .setAssigningOrganisation("V396A:Medway PCT")
                  .setPatientIDType(PatientIDType.LocalID.code));

    template.addPatientID(new PatientID()
                  .setPatientID("993254128")
                  .setPatientIDType(PatientIDType.UnverifiedNHSNumber.code));   
   
    template.addAddress(new Address()
                  .addAddressLine("17, County Court")
View Full Code Here

Examples of uk.nhs.interoperability.payloads.commontypes.PatientID

    return template;
  }
 
  public static PatientUniversal createMinimal() {
    PatientUniversal minimal = new PatientUniversal();
    minimal.addPatientID(new PatientID()
                .setPatientID("K12345")
                .setAssigningOrganisation("V396A:Medway PCT")
                .setPatientIDType(PatientIDType.LocalID.code));
    minimal.addPatientID(new PatientID()
                .setPatientID("993254128")
                .setPatientIDType(PatientIDType.UnverifiedNHSNumber.code));
    minimal.addPatientName(new PersonName().setNullFlavour(NullFlavour.Unknown.code));
    minimal.setSexNullFlavour(NullFlavour.Unknown.code);
    minimal.setBirthTimeNullFlavour(NullFlavour.Unknown.code);
View Full Code Here

Examples of uk.nhs.interoperability.payloads.commontypes.PatientID

    return template;
  }
 
  public static PatientUniversal createPatient() {
    PatientUniversal template = new PatientUniversal();
    template.addPatientID(new PatientID()
                  .setPatientID("K12345")
                  .setAssigningOrganisation("V396A:Medway PCT")
                  .setPatientIDType(PatientIDType.LocalID.code));
    template.addPatientID(new PatientID()
                  .setPatientID("993254128")
                  .setPatientIDType(PatientIDType.UnverifiedNHSNumber.code));   
    template.addAddress(new Address()
                  .addAddressLine("17, County Court")
                  .addAddressLine("Woodtown")
View Full Code Here

Examples of uk.nhs.interoperability.payloads.fhir.commontypes.PatientID

 
  public static Patient createFull() {
    Patient resource = new Patient();
   
    // PatientRole:
    resource.addPatientID(new PatientID()
                  .setPatientID("993254128")
                  .setPatientIDType(PatientIDType.UnverifiedNHSNumber.code));   
   
    resource.addAddress(new Address()
                  .addAddressLine("17, County Court")
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.