/** * Sets the value for <b>birthDate</b> () * * <p> * <b>Definition:</b> * The date of birth for the individual * </p> */ public Patient setBirthDateWithDayPrecision( Date theDate) { myBirthDate = new DateDt(theDate); return this; }
/** * Sets the value for <b>birthDate</b> () * * <p> * <b>Definition:</b> * The date of birth for the individual * </p> */ public Patient setBirthDate( Date theDate, TemporalPrecisionEnum thePrecision) { myBirthDate = new DateDt(theDate, thePrecision); return this; }
/** * Sets the value for <b>birthDate</b> () * * <p> * <b>Definition:</b> * The date of birth for the practitioner * </p> */ public Practitioner setBirthDate( Date theDate, TemporalPrecisionEnum thePrecision) { myBirthDate = new DateDt(theDate, thePrecision); return this; }
/** * Sets the value for <b>lockedDate</b> () * * <p> * <b>Definition:</b> * If a locked date is defined, then the Content Logical Definition must be evaluated using the current version of all referenced code system(s) and value set instances as of the locked date * </p> */ public ValueSet setLockedDateWithDayPrecision( Date theDate) { myLockedDate = new DateDt(theDate); return this; }
/** * Sets the value for <b>birthDate</b> () * * <p> * <b>Definition:</b> * The date of birth for the practitioner * </p> */ public Practitioner setBirthDateWithDayPrecision( Date theDate) { myBirthDate = new DateDt(theDate); return this; }
/** * Sets the value for <b>lockedDate</b> () * * <p> * <b>Definition:</b> * If a locked date is defined, then the Content Logical Definition must be evaluated using the current version of all referenced code system(s) and value set instances as of the locked date * </p> */ public ValueSet setLockedDate( Date theDate, TemporalPrecisionEnum thePrecision) { myLockedDate = new DateDt(theDate, thePrecision); return this; }
/** * Gets the value(s) for <b>lockedDate</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * If a locked date is defined, then the Content Logical Definition must be evaluated using the current version of all referenced code system(s) and value set instances as of the locked date * </p> */ public DateDt getLockedDateElement() { if (myLockedDate == null) { myLockedDate = new DateDt(); } return myLockedDate; }
/** * Gets the value(s) for <b>birthDate</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * The date of birth for the individual * </p> */ public DateDt getBirthDateElement() { if (myBirthDate == null) { myBirthDate = new DateDt(); } return myBirthDate; }
/** * Gets the value(s) for <b>birthDate</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * The date of birth for the practitioner * </p> */ public DateDt getBirthDateElement() { if (myBirthDate == null) { myBirthDate = new DateDt(); } return myBirthDate; }
/** * Sets the value for <b>created</b> () * * <p> * <b>Definition:</b> * Identifies when the resource was first created * </p> */ public Basic setCreatedWithDayPrecision( Date theDate) { myCreated = new DateDt(theDate); return this; }
/** * Sets the value for <b>created</b> () * * <p> * <b>Definition:</b> * Identifies when the resource was first created * </p> */ public Basic setCreated( Date theDate, TemporalPrecisionEnum thePrecision) { myCreated = new DateDt(theDate, thePrecision); return this; }
/** * Sets the value for <b>birthDate</b> () * * <p> * <b>Definition:</b> * * </p> */ public RelatedPerson setBirthDateWithDayPrecision( Date theDate) { myBirthDate = new DateDt(theDate); return this; }
/** * Sets the value for <b>paymentDate</b> () * * <p> * <b>Definition:</b> * Estimated payment data * </p> */ public ClaimResponse setPaymentDate( Date theDate, TemporalPrecisionEnum thePrecision) { myPaymentDate = new DateDt(theDate, thePrecision); return this; }
/** * Sets the value for <b>extractionDate</b> () * * <p> * <b>Definition:</b> * The date of the extraction either known from records or patient reported estimate. * </p> */ public MissingTeeth setExtractionDate( Date theDate, TemporalPrecisionEnum thePrecision) { myExtractionDate = new DateDt(theDate, thePrecision); return this; }
/** * Sets the value for <b>lockedDate</b> (when.init) * * <p> * <b>Definition:</b> * If a locked date is defined, then the Content Logical Definition must be evaluated using the current version of all referenced code system(s) and value set instances as of the locked date * </p> */ public ValueSet setLockedDateWithDayPrecision( Date theDate) { myLockedDate = new DateDt(theDate); return this; }
/** * Sets the value for <b>date</b> (Date) * * <p> * <b>Definition:</b> * Date when result of the microarray is updated * </p> */ public Microarray setDate( Date theDate, TemporalPrecisionEnum thePrecision) { myDate = new DateDt(theDate, thePrecision); return this; }
/** * Sets the value for <b>expirationDate</b> (Vaccine expiration date) * * <p> * <b>Definition:</b> * Date vaccine batch expires * </p> */ public Immunization setExpirationDateWithDayPrecision( Date theDate) { myExpirationDate = new DateDt(theDate); return this; }
/** * Sets the value for <b>dateAsserted</b> (When first detected/suspected/entered) * * <p> * <b>Definition:</b> * Estimated or actual date the condition/problem/diagnosis was first detected/suspected * </p> */ public Condition setDateAsserted( Date theDate, TemporalPrecisionEnum thePrecision) { myDateAsserted = new DateDt(theDate, thePrecision); return this; }
@SuppressWarnings("unused") private static void operationHttpGet() { // START SNIPPET: operationHttpGet // Create a client to talk to the HeathIntersections server FhirContext ctx = FhirContext.forDstu2(); IGenericClient client = ctx.newRestfulGenericClient("http://fhir-dev.healthintersections.com.au/open"); client.registerInterceptor(new LoggingInterceptor(true)); // Create the input parameters to pass to the server Parameters inParams = new Parameters(); inParams.addParameter().setName("start").setValue(new DateDt("2001-01-01")); inParams.addParameter().setName("end").setValue(new DateDt("2015-03-01")); // Invoke $everything on "Patient/1" Parameters outParams = client .operation() .onInstance(new IdDt("Patient", "1")) .named("$everything") .withParameters(inParams) .useHttpGet() // Use HTTP GET instead of POST .execute(); // END SNIPPET: operationHttpGet }