/** * Gets the value(s) for <b>whenPrepared</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * The time the dispense event occurred. * </p> */ public PeriodDt getWhenPrepared() { if (myWhenPrepared == null) { myWhenPrepared = new PeriodDt(); } return myWhenPrepared; }
/** * Gets the value(s) for <b>planningHorizon</b> (when.planned). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * * </p> */ public PeriodDt getPlanningHorizon() { if (myPlanningHorizon == null) { myPlanningHorizon = new PeriodDt(); } return myPlanningHorizon; }
/** * Gets the value(s) for <b>period</b> (when.done). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * The period of time that this relationship is considered to be valid. If there are no dates defined, then the interval is unknown. * </p> */ public PeriodDt getPeriod() { if (myPeriod == null) { myPeriod = new PeriodDt(); } return myPeriod; }
/** * Gets the value(s) for <b>period</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * Period during which the qualification is valid * </p> */ public PeriodDt getPeriod() { if (myPeriod == null) { myPeriod = new PeriodDt(); } return myPeriod; }
/** * Gets the value(s) for <b>whenUsed</b> (when.done). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * The time period over which the device was used. * </p> */ public PeriodDt getWhenUsed() { if (myWhenUsed == null) { myWhenUsed = new PeriodDt(); } return myWhenUsed; }
/** * Gets the value(s) for <b>fulfillmentTime</b> (when.planned). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * The period of time within which the services identified in the referral/transfer of care is specified or required to occur * </p> */ public PeriodDt getFulfillmentTime() { if (myFulfillmentTime == null) { myFulfillmentTime = new PeriodDt(); } return myFulfillmentTime; }
/** * Gets the value(s) for <b>period</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * Time period during which identifier is/was valid for use * </p> */ public PeriodDt getPeriod() { if (myPeriod == null) { myPeriod = new PeriodDt(); } return myPeriod; }
/** * Gets the value(s) for <b>period</b> (context). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * The period of time from the activation of the flag to inactivation of the flag. If the flag is active, the end of the period should be unspecified. * </p> */ public PeriodDt getPeriod() { if (myPeriod == null) { myPeriod = new PeriodDt(); } return myPeriod; }
/** * Gets the value(s) for <b>period</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * Identifies the period of time over which this identifier is considered appropriate to refer to the naming system. Outside of this window, the identifier might be non-deterministic * </p> */ public PeriodDt getPeriod() { if (myPeriod == null) { myPeriod = new PeriodDt(); } return myPeriod; }
/** * Gets the value(s) for <b>period</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * Time period when address was/is in use * </p> */ public PeriodDt getPeriod() { if (myPeriod == null) { myPeriod = new PeriodDt(); } return myPeriod; }
/** * Gets the value(s) for <b>period</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * The period during which this contact person or organization is valid to be contacted relating to this patient * </p> */ public PeriodDt getPeriod() { if (myPeriod == null) { myPeriod = new PeriodDt(); } return myPeriod; }
/** * Gets the value(s) for <b>period</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * The period of time for which payments have been gathered into this bulk payment for settlement. * </p> */ public PeriodDt getPeriod() { if (myPeriod == null) { myPeriod = new PeriodDt(); } return myPeriod; }
/** * Gets the value(s) for <b>period</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * Time period when the contact point was/is in use * </p> */ public PeriodDt getPeriod() { if (myPeriod == null) { myPeriod = new PeriodDt(); } return myPeriod; }
/** * Gets the value(s) for <b>period</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * The period that the member was in the group, if known * </p> */ public PeriodDt getPeriod() { if (myPeriod == null) { myPeriod = new PeriodDt(); } return myPeriod; }
/** * Gets the value(s) for <b>period</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * The period of time this practitioner is performing some role within the episode of care * </p> */ public PeriodDt getPeriod() { if (myPeriod == null) { myPeriod = new PeriodDt(); } return myPeriod; }
/** * Gets the value(s) for <b>during</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * Service is not available (seasonally or for a public holiday) from this date * </p> */ public PeriodDt getDuring() { if (myDuring == null) { myDuring = new PeriodDt(); } return myDuring; }
/** * Gets the value(s) for <b>validityPeriod</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * This indicates the validity period of a prescription (stale dating the Prescription) * </p> */ public PeriodDt getValidityPeriod() { if (myValidityPeriod == null) { myValidityPeriod = new PeriodDt(); } return myValidityPeriod; }
/** * Gets the value(s) for <b>period</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * * </p> */ public PeriodDt getPeriod() { if (myPeriod == null) { myPeriod = new PeriodDt(); } return myPeriod; }
/** * Gets the value(s) for <b>period</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * Indicates when the plan did (or is intended to) come into effect and end. * </p> */ public PeriodDt getPeriod() { if (myPeriod == null) { myPeriod = new PeriodDt(); } return myPeriod; }
public static Encounter create(Patient patient, Date date, Location location, String sc) { Encounter encounter = new Encounter(); ResourceReferenceDt pat = new ResourceReferenceDt(patient); encounter.setPatient(pat); PeriodDt period = new PeriodDt(); period.setStart(new DateTimeDt(date)); encounter.setPeriod(period); ResourceReferenceDt loc = new ResourceReferenceDt(location); Encounter.Location encloc = encounter.addLocation(); encloc.setPeriod(period); encloc.setLocation(loc); CodeableConceptDt type = encounter.addType(); CodeableConceptDt cat = getServiceCategory(sc); type.setText(cat.getText()); type.setCoding(cat.getCoding()); return encounter; }