/** * Gets the first repetition for <b>discriminator</b> (), * creating it if it does not already exist. * * <p> * <b>Definition:</b> * Designates which child elements are used to discriminate between the slices when processing an instance. If one or more discriminators are provided, the value of the child elements in the instance data SHALL completely distinguish which slice the element in the resource matches based on the allowed values for those elements in each of the slices * </p> */ public StringDt getDiscriminatorFirstRep() { if (getDiscriminator().isEmpty()) { return addDiscriminator(); } return getDiscriminator().get(0); } /**
/** * Gets the first repetition for <b>discriminator</b> (), * creating it if it does not already exist. * * <p> * <b>Definition:</b> * Designates which child elements are used to discriminate between the slices when processing an instance. If one or more discriminators are provided, the value of the child elements in the instance data SHALL completely distinguish which slice the element in the resource matches based on the allowed values for those elements in each of the slices * </p> */ public StringDt getDiscriminatorFirstRep() { if (getDiscriminator().isEmpty()) { return addDiscriminator(); } return getDiscriminator().get(0); } /**