generated patterns + improved package cache errors

This commit is contained in:
Grahame Grieve 2019-05-10 00:08:18 +10:00
parent 86151d5f13
commit 2d946790d7
9 changed files with 1403 additions and 563 deletions

View File

@ -1,2 +1,4 @@
"C:\Program Files (x86)\WinMerge\WinMergeU.exe" ..\build\temp\java\org.hl7.fhir.r5\src\org\hl7\fhir\r5\formats org.hl7.fhir.r5\src\main\java\org\hl7\fhir\r5\formats
"C:\Program Files (x86)\WinMerge\WinMergeU.exe" ..\build\temp\java\org.hl7.fhir.r5\src\org\hl7\fhir\r5\model org.hl7.fhir.r5\src\main\java\org\hl7\fhir\r5\model
"C:\Program Files (x86)\WinMerge\WinMergeU.exe" ..\build\temp\java\org.hl7.fhir.r5\src\org\hl7\fhir\r5\patterns org.hl7.fhir.r5\src\main\java\org\hl7\fhir\r5\patterns
"C:\Program Files (x86)\WinMerge\WinMergeU.exe" ..\build\temp\java\org.hl7.fhir.r5\src\org\hl7\fhir\r5\interfaces org.hl7.fhir.r5\src\main\java\org\hl7\fhir\r5\interfaces
"C:\Program Files (x86)\WinMerge\WinMergeU.exe" ..\build\temp\java\org.hl7.fhir.r5\src\org\hl7\fhir\r5\formats org.hl7.fhir.r5\src\main\java\org\hl7\fhir\r5\formats

View File

@ -1,5 +0,0 @@
package org.hl7.fhir.r5.model;
public interface PatternBase {
}

View File

@ -1,4 +1,4 @@
package org.hl7.fhir.r5.model;
package org.hl7.fhir.r5.patterns;
/*
Copyright (c) 2011+, HL7, Inc.
@ -29,19 +29,14 @@ package org.hl7.fhir.r5.model;
*/
// Generated on Tue, May 7, 2019 08:21+1000 for FHIR v4.1.0
// Generated on Wed, May 8, 2019 10:40+1000 for FHIR v4.1.0
import org.hl7.fhir.r5.model.*;
import org.hl7.fhir.r5.model.Enumeration;
import java.util.*;
import org.hl7.fhir.utilities.Utilities;
import org.hl7.fhir.r5.model.Enumerations.*;
import ca.uhn.fhir.model.api.annotation.ResourceDef;
import ca.uhn.fhir.model.api.annotation.SearchParamDefinition;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.ChildOrder;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.api.annotation.Block;
import org.hl7.fhir.instance.model.api.*;
import org.hl7.fhir.exceptions.FHIRException;
/**
* A pattern to be followed by resources that represent a specific proposal, plan and/or order for some sort of action or service.
@ -51,247 +46,351 @@ public interface Definition extends PatternBase {
/**
* @return {@link #url} (An absolute URL that is used to identify this {{title}} when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this {{title}} is (or will be) published. The URL SHOULD include the major version of the {{title}}. For more information see [Technical and Business Versions](resource.html#versions).). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value
*/
public UriType getUrlElement();
public boolean hasUrlElement();
public UriType getUrlElement() throws FHIRException;
/**
* @return whether there is more than zero values for url
*/
public boolean hasUrl();
/**
* @return minimum allowed cardinality for url. Note that with patterns, this may be different for the underlying resource
*/
public int getUrlMin() throws FHIRException;
/**
* @return maximum allowed cardinality for url. Note that with patterns, this may be different for the underlying resource
*/
public int getUrlMax() throws FHIRException;
public boolean hasUrlElement();
/**
* @param value {@link #url} (An absolute URL that is used to identify this {{title}} when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this {{title}} is (or will be) published. The URL SHOULD include the major version of the {{title}}. For more information see [Technical and Business Versions](resource.html#versions).). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value
*/
public Definition setUrlElement(UriType value) ;
public Definition setUrlElement(UriType value) throws FHIRException;
/**
* @return An absolute URL that is used to identify this {{title}} when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this {{title}} is (or will be) published. The URL SHOULD include the major version of the {{title}}. For more information see [Technical and Business Versions](resource.html#versions).
*/
public String getUrl();
public String getUrl() throws FHIRException;
/**
* @param value An absolute URL that is used to identify this {{title}} when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this {{title}} is (or will be) published. The URL SHOULD include the major version of the {{title}}. For more information see [Technical and Business Versions](resource.html#versions).
*/
public Definition setUrl(String value);
public Definition setUrl(String value) throws FHIRException;
/**
* @return {@link #identifier} (Business identifiers assigned to this {{title}} by the performer and/or other systems. These identifiers remain constant as the resource is updated and propagates from server to server.)
*/
public Identifier getIdentifier();
public Identifier getIdentifier() throws FHIRException ;
/**
* @return whether there is more than zero values for identifier
*/
public boolean hasIdentifier();
/**
* @return minimum allowed cardinality for identifier. Note that with patterns, this may be different for the underlying resource
*/
public int getIdentifierMin();
/**
* @return maximum allowed cardinality for identifier. Note that with patterns, this may be different for the underlying resource
*/
public int getIdentifierMax();
/**
* @param value {@link #identifier} (Business identifiers assigned to this {{title}} by the performer and/or other systems. These identifiers remain constant as the resource is updated and propagates from server to server.)
*/
public Definition setIdentifier(Identifier value);
public Definition setIdentifier(Identifier value) throws FHIRException;
/**
* @return {@link #version} (The identifier that is used to identify this version of the {{title}} when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the {{title}} author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions are orderable.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
*/
public StringType getVersionElement();
public boolean hasVersionElement();
public StringType getVersionElement() throws FHIRException;
/**
* @return whether there is more than zero values for version
*/
public boolean hasVersion();
/**
* @return minimum allowed cardinality for version. Note that with patterns, this may be different for the underlying resource
*/
public int getVersionMin() throws FHIRException;
/**
* @return maximum allowed cardinality for version. Note that with patterns, this may be different for the underlying resource
*/
public int getVersionMax() throws FHIRException;
public boolean hasVersionElement();
/**
* @param value {@link #version} (The identifier that is used to identify this version of the {{title}} when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the {{title}} author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions are orderable.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
*/
public Definition setVersionElement(StringType value) ;
public Definition setVersionElement(StringType value) throws FHIRException;
/**
* @return The identifier that is used to identify this version of the {{title}} when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the {{title}} author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions are orderable.
*/
public String getVersion();
public String getVersion() throws FHIRException;
/**
* @param value The identifier that is used to identify this version of the {{title}} when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the {{title}} author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions are orderable.
*/
public Definition setVersion(String value);
public Definition setVersion(String value) throws FHIRException;
/**
* @return {@link #title} (A short, descriptive, user-friendly title for the {{title}}.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value
*/
public StringType getTitleElement();
public boolean hasTitleElement();
public StringType getTitleElement() throws FHIRException;
/**
* @return whether there is more than zero values for title
*/
public boolean hasTitle();
/**
* @return minimum allowed cardinality for title. Note that with patterns, this may be different for the underlying resource
*/
public int getTitleMin() throws FHIRException;
/**
* @return maximum allowed cardinality for title. Note that with patterns, this may be different for the underlying resource
*/
public int getTitleMax() throws FHIRException;
public boolean hasTitleElement();
/**
* @param value {@link #title} (A short, descriptive, user-friendly title for the {{title}}.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value
*/
public Definition setTitleElement(StringType value) ;
public Definition setTitleElement(StringType value) throws FHIRException;
/**
* @return A short, descriptive, user-friendly title for the {{title}}.
*/
public String getTitle();
public String getTitle() throws FHIRException;
/**
* @param value A short, descriptive, user-friendly title for the {{title}}.
*/
public Definition setTitle(String value);
public Definition setTitle(String value) throws FHIRException;
/**
* @return {@link #derivedFromCanonical} (The canonical URL pointing to another FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this definition.)
*/
public List<CanonicalType> getDerivedFromCanonical();
public List<CanonicalType> getDerivedFromCanonical() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Definition setDerivedFromCanonical(List<CanonicalType> theDerivedFromCanonical);
public Definition setDerivedFromCanonical(List<CanonicalType> theDerivedFromCanonical) throws FHIRException;
/**
* @return whether there is more than zero values for derivedFromCanonical
*/
public boolean hasDerivedFromCanonical();
/**
* @return minimum allowed cardinality for derivedFromCanonical. Note that with patterns, this may be different for the underlying resource
*/
public int getDerivedFromCanonicalMin();
/**
* @return maximum allowed cardinality for derivedFromCanonical. Note that with patterns, this may be different for the underlying resource
*/
public int getDerivedFromCanonicalMax();
/**
* @return {@link #derivedFromCanonical} (The canonical URL pointing to another FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this definition.)
*/
public CanonicalType addDerivedFromCanonicalElement();
public CanonicalType addDerivedFromCanonicalElement() throws FHIRException;
/**
* @param value {@link #derivedFromCanonical} (The canonical URL pointing to another FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this definition.)
*/
public Definition addDerivedFromCanonical(String value);
public Definition addDerivedFromCanonical(String value) throws FHIRException;
/**
* @param value {@link #derivedFromCanonical} (The canonical URL pointing to another FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this definition.)
*/
public boolean hasDerivedFromCanonical(String value) ;
public boolean hasDerivedFromCanonical(String value) throws FHIRException;
/**
* @return {@link #derivedFromUri} (The URL pointing to an externally-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this definition.)
*/
public List<UriType> getDerivedFromUri();
public List<UriType> getDerivedFromUri() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Definition setDerivedFromUri(List<UriType> theDerivedFromUri);
public Definition setDerivedFromUri(List<UriType> theDerivedFromUri) throws FHIRException;
/**
* @return whether there is more than zero values for derivedFromUri
*/
public boolean hasDerivedFromUri();
/**
* @return minimum allowed cardinality for derivedFromUri. Note that with patterns, this may be different for the underlying resource
*/
public int getDerivedFromUriMin();
/**
* @return maximum allowed cardinality for derivedFromUri. Note that with patterns, this may be different for the underlying resource
*/
public int getDerivedFromUriMax();
/**
* @return {@link #derivedFromUri} (The URL pointing to an externally-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this definition.)
*/
public UriType addDerivedFromUriElement();
public UriType addDerivedFromUriElement() throws FHIRException;
/**
* @param value {@link #derivedFromUri} (The URL pointing to an externally-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this definition.)
*/
public Definition addDerivedFromUri(String value);
public Definition addDerivedFromUri(String value) throws FHIRException;
/**
* @param value {@link #derivedFromUri} (The URL pointing to an externally-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this definition.)
*/
public boolean hasDerivedFromUri(String value) ;
public boolean hasDerivedFromUri(String value) throws FHIRException;
/**
* @return {@link #partOf} (A larger definition of which this particular definition is a component or step.)
*/
public List<CanonicalType> getPartOf();
public List<CanonicalType> getPartOf() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Definition setPartOf(List<CanonicalType> thePartOf);
public Definition setPartOf(List<CanonicalType> thePartOf) throws FHIRException;
/**
* @return whether there is more than zero values for partOf
*/
public boolean hasPartOf();
/**
* @return minimum allowed cardinality for partOf. Note that with patterns, this may be different for the underlying resource
*/
public int getPartOfMin();
/**
* @return maximum allowed cardinality for partOf. Note that with patterns, this may be different for the underlying resource
*/
public int getPartOfMax();
/**
* @return {@link #partOf} (A larger definition of which this particular definition is a component or step.)
*/
public CanonicalType addPartOfElement();
public CanonicalType addPartOfElement() throws FHIRException;
/**
* @param value {@link #partOf} (A larger definition of which this particular definition is a component or step.)
*/
public Definition addPartOf(String value);
public Definition addPartOf(String value) throws FHIRException;
/**
* @param value {@link #partOf} (A larger definition of which this particular definition is a component or step.)
*/
public boolean hasPartOf(String value) ;
public boolean hasPartOf(String value) throws FHIRException;
/**
* @return {@link #replaces} (Completed or terminated request(s) whose function is taken by this new request.)
*/
public List<CanonicalType> getReplaces();
public List<CanonicalType> getReplaces() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Definition setReplaces(List<CanonicalType> theReplaces);
public Definition setReplaces(List<CanonicalType> theReplaces) throws FHIRException;
/**
* @return whether there is more than zero values for replaces
*/
public boolean hasReplaces();
/**
* @return minimum allowed cardinality for replaces. Note that with patterns, this may be different for the underlying resource
*/
public int getReplacesMin();
/**
* @return maximum allowed cardinality for replaces. Note that with patterns, this may be different for the underlying resource
*/
public int getReplacesMax();
/**
* @return {@link #replaces} (Completed or terminated request(s) whose function is taken by this new request.)
*/
public CanonicalType addReplacesElement();
public CanonicalType addReplacesElement() throws FHIRException;
/**
* @param value {@link #replaces} (Completed or terminated request(s) whose function is taken by this new request.)
*/
public Definition addReplaces(String value);
public Definition addReplaces(String value) throws FHIRException;
/**
* @param value {@link #replaces} (Completed or terminated request(s) whose function is taken by this new request.)
*/
public boolean hasReplaces(String value) ;
public boolean hasReplaces(String value) throws FHIRException;
/**
* @return {@link #status} (The current state of the {{title}}.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
*/
public Enumeration<PublicationStatus> getStatusElement();
public boolean hasStatusElement();
public Enumeration<PublicationStatus> getStatusElement() throws FHIRException;
/**
* @return whether there is more than zero values for status
*/
public boolean hasStatus();
/**
* @return minimum allowed cardinality for status. Note that with patterns, this may be different for the underlying resource
*/
public int getStatusMin() throws FHIRException;
/**
* @return maximum allowed cardinality for status. Note that with patterns, this may be different for the underlying resource
*/
public int getStatusMax() throws FHIRException;
public boolean hasStatusElement();
/**
* @param value {@link #status} (The current state of the {{title}}.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
*/
public Definition setStatusElement(Enumeration<PublicationStatus> value) ;
public Definition setStatusElement(Enumeration<PublicationStatus> value) throws FHIRException;
/**
* @return The current state of the {{title}}.
*/
public PublicationStatus getStatus();
public PublicationStatus getStatus() throws FHIRException;
/**
* @param value The current state of the {{title}}.
*/
public Definition setStatus(PublicationStatus value);
public Definition setStatus(PublicationStatus value) throws FHIRException;
/**
* @return {@link #experimental} (A flag to indicate that this {{title}} is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.). This is the underlying object with id, value and extensions. The accessor "getExperimental" gives direct access to the value
*/
public BooleanType getExperimentalElement();
public boolean hasExperimentalElement();
public BooleanType getExperimentalElement() throws FHIRException;
/**
* @return whether there is more than zero values for experimental
*/
public boolean hasExperimental();
/**
* @return minimum allowed cardinality for experimental. Note that with patterns, this may be different for the underlying resource
*/
public int getExperimentalMin() throws FHIRException;
/**
* @return maximum allowed cardinality for experimental. Note that with patterns, this may be different for the underlying resource
*/
public int getExperimentalMax() throws FHIRException;
public boolean hasExperimentalElement();
/**
* @param value {@link #experimental} (A flag to indicate that this {{title}} is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.). This is the underlying object with id, value and extensions. The accessor "getExperimental" gives direct access to the value
*/
public Definition setExperimentalElement(BooleanType value) ;
public Definition setExperimentalElement(BooleanType value) throws FHIRException;
/**
* @return A flag to indicate that this {{title}} is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.
*/
public boolean getExperimental();
public boolean getExperimental() throws FHIRException;
/**
* @param value A flag to indicate that this {{title}} is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.
*/
public Definition setExperimental(boolean value);
public Definition setExperimental(boolean value) throws FHIRException;
/**
* @return {@link #subject} (A code or group definition that describes the intended subject of instantiations of this definition.)
*/
public Type getSubject();
public Type getSubject() throws FHIRException ;
/**
* @return {@link #subject} (A code or group definition that describes the intended subject of instantiations of this definition.)
@ -307,265 +406,388 @@ public interface Definition extends PatternBase {
public boolean hasSubjectReference();
/**
* @return whether there is more than zero values for subject
*/
public boolean hasSubject();
/**
* @return minimum allowed cardinality for subject. Note that with patterns, this may be different for the underlying resource
*/
public int getSubjectMin();
/**
* @return maximum allowed cardinality for subject. Note that with patterns, this may be different for the underlying resource
*/
public int getSubjectMax();
/**
* @param value {@link #subject} (A code or group definition that describes the intended subject of instantiations of this definition.)
*/
public Definition setSubject(Type value);
public Definition setSubject(Type value) throws FHIRException;
/**
* @return {@link #date} (For draft definitions, indicates the date of initial creation. For active definitions, represents the date of activation. For withdrawn definitions, indicates the date of withdrawal.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
*/
public DateTimeType getDateElement();
public boolean hasDateElement();
public DateTimeType getDateElement() throws FHIRException;
/**
* @return whether there is more than zero values for date
*/
public boolean hasDate();
/**
* @return minimum allowed cardinality for date. Note that with patterns, this may be different for the underlying resource
*/
public int getDateMin() throws FHIRException;
/**
* @return maximum allowed cardinality for date. Note that with patterns, this may be different for the underlying resource
*/
public int getDateMax() throws FHIRException;
public boolean hasDateElement();
/**
* @param value {@link #date} (For draft definitions, indicates the date of initial creation. For active definitions, represents the date of activation. For withdrawn definitions, indicates the date of withdrawal.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
*/
public Definition setDateElement(DateTimeType value) ;
public Definition setDateElement(DateTimeType value) throws FHIRException;
/**
* @return For draft definitions, indicates the date of initial creation. For active definitions, represents the date of activation. For withdrawn definitions, indicates the date of withdrawal.
*/
public Date getDate();
public Date getDate() throws FHIRException;
/**
* @param value For draft definitions, indicates the date of initial creation. For active definitions, represents the date of activation. For withdrawn definitions, indicates the date of withdrawal.
*/
public Definition setDate(Date value);
public Definition setDate(Date value) throws FHIRException;
/**
* @return {@link #publisher} (Helps establish the "authority/credibility" of the {{title}}. May also allow for contact.)
*/
public Reference getPublisher();
public Reference getPublisher() throws FHIRException ;
/**
* @return whether there is more than zero values for publisher
*/
public boolean hasPublisher();
/**
* @return minimum allowed cardinality for publisher. Note that with patterns, this may be different for the underlying resource
*/
public int getPublisherMin();
/**
* @return maximum allowed cardinality for publisher. Note that with patterns, this may be different for the underlying resource
*/
public int getPublisherMax();
/**
* @param value {@link #publisher} (Helps establish the "authority/credibility" of the {{title}}. May also allow for contact.)
*/
public Definition setPublisher(Reference value);
/**
* @return {@link #publisher} The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Helps establish the "authority/credibility" of the {{title}}. May also allow for contact.)
*/
public Resource getPublisherTarget();
/**
* @param value {@link #publisher} The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Helps establish the "authority/credibility" of the {{title}}. May also allow for contact.)
*/
public Definition setPublisherTarget(Resource value);
public Definition setPublisher(Reference value) throws FHIRException;
/**
* @return {@link #contact} (Contact details to assist a user in finding and communicating with the publisher.)
*/
public List<ContactDetail> getContact();
public List<ContactDetail> getContact() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Definition setContact(List<ContactDetail> theContact);
public Definition setContact(List<ContactDetail> theContact) throws FHIRException;
/**
* @return whether there is more than zero values for contact
*/
public boolean hasContact();
/**
* @return minimum allowed cardinality for contact. Note that with patterns, this may be different for the underlying resource
*/
public int getContactMin();
/**
* @return maximum allowed cardinality for contact. Note that with patterns, this may be different for the underlying resource
*/
public int getContactMax();
public ContactDetail addContact();
public ContactDetail addContact() throws FHIRException;
public Definition addContact(ContactDetail t);
public Definition addContact(ContactDetail t) throws FHIRException;
/**
* @return The first repetition of repeating field {@link #contact}, creating it if it does not already exist
*/
public ContactDetail getContactFirstRep() ;
public ContactDetail getContactFirstRep() throws FHIRException;
/**
* @return {@link #description} (A free text natural language description of the {{title}} from the consumer's perspective.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
*/
public MarkdownType getDescriptionElement();
public boolean hasDescriptionElement();
public MarkdownType getDescriptionElement() throws FHIRException;
/**
* @return whether there is more than zero values for description
*/
public boolean hasDescription();
/**
* @return minimum allowed cardinality for description. Note that with patterns, this may be different for the underlying resource
*/
public int getDescriptionMin() throws FHIRException;
/**
* @return maximum allowed cardinality for description. Note that with patterns, this may be different for the underlying resource
*/
public int getDescriptionMax() throws FHIRException;
public boolean hasDescriptionElement();
/**
* @param value {@link #description} (A free text natural language description of the {{title}} from the consumer's perspective.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
*/
public Definition setDescriptionElement(MarkdownType value) ;
public Definition setDescriptionElement(MarkdownType value) throws FHIRException;
/**
* @return A free text natural language description of the {{title}} from the consumer's perspective.
*/
public String getDescription();
public String getDescription() throws FHIRException;
/**
* @param value A free text natural language description of the {{title}} from the consumer's perspective.
*/
public Definition setDescription(String value);
public Definition setDescription(String value) throws FHIRException;
/**
* @return {@link #useContext} (The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of code system definitions.)
*/
public List<UsageContext> getUseContext();
public List<UsageContext> getUseContext() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Definition setUseContext(List<UsageContext> theUseContext);
public Definition setUseContext(List<UsageContext> theUseContext) throws FHIRException;
/**
* @return whether there is more than zero values for useContext
*/
public boolean hasUseContext();
/**
* @return minimum allowed cardinality for useContext. Note that with patterns, this may be different for the underlying resource
*/
public int getUseContextMin();
/**
* @return maximum allowed cardinality for useContext. Note that with patterns, this may be different for the underlying resource
*/
public int getUseContextMax();
public UsageContext addUseContext();
public UsageContext addUseContext() throws FHIRException;
public Definition addUseContext(UsageContext t);
public Definition addUseContext(UsageContext t) throws FHIRException;
/**
* @return The first repetition of repeating field {@link #useContext}, creating it if it does not already exist
*/
public UsageContext getUseContextFirstRep() ;
public UsageContext getUseContextFirstRep() throws FHIRException;
/**
* @return {@link #jurisdiction} (A jurisdiction in which the {{title}} is intended to be used.)
*/
public List<CodeableConcept> getJurisdiction();
public List<CodeableConcept> getJurisdiction() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Definition setJurisdiction(List<CodeableConcept> theJurisdiction);
public Definition setJurisdiction(List<CodeableConcept> theJurisdiction) throws FHIRException;
/**
* @return whether there is more than zero values for jurisdiction
*/
public boolean hasJurisdiction();
/**
* @return minimum allowed cardinality for jurisdiction. Note that with patterns, this may be different for the underlying resource
*/
public int getJurisdictionMin();
/**
* @return maximum allowed cardinality for jurisdiction. Note that with patterns, this may be different for the underlying resource
*/
public int getJurisdictionMax();
public CodeableConcept addJurisdiction();
public CodeableConcept addJurisdiction() throws FHIRException;
public Definition addJurisdiction(CodeableConcept t);
public Definition addJurisdiction(CodeableConcept t) throws FHIRException;
/**
* @return The first repetition of repeating field {@link #jurisdiction}, creating it if it does not already exist
*/
public CodeableConcept getJurisdictionFirstRep() ;
public CodeableConcept getJurisdictionFirstRep() throws FHIRException;
/**
* @return {@link #purpose} (Explains why this {{title}} is needed and why it has been designed as it has.). This is the underlying object with id, value and extensions. The accessor "getPurpose" gives direct access to the value
*/
public MarkdownType getPurposeElement();
public boolean hasPurposeElement();
public MarkdownType getPurposeElement() throws FHIRException;
/**
* @return whether there is more than zero values for purpose
*/
public boolean hasPurpose();
/**
* @return minimum allowed cardinality for purpose. Note that with patterns, this may be different for the underlying resource
*/
public int getPurposeMin() throws FHIRException;
/**
* @return maximum allowed cardinality for purpose. Note that with patterns, this may be different for the underlying resource
*/
public int getPurposeMax() throws FHIRException;
public boolean hasPurposeElement();
/**
* @param value {@link #purpose} (Explains why this {{title}} is needed and why it has been designed as it has.). This is the underlying object with id, value and extensions. The accessor "getPurpose" gives direct access to the value
*/
public Definition setPurposeElement(MarkdownType value) ;
public Definition setPurposeElement(MarkdownType value) throws FHIRException;
/**
* @return Explains why this {{title}} is needed and why it has been designed as it has.
*/
public String getPurpose();
public String getPurpose() throws FHIRException;
/**
* @param value Explains why this {{title}} is needed and why it has been designed as it has.
*/
public Definition setPurpose(String value);
public Definition setPurpose(String value) throws FHIRException;
/**
* @return {@link #copyright} (A copyright statement relating to the {{title}} and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the {{title}}.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value
*/
public MarkdownType getCopyrightElement();
public boolean hasCopyrightElement();
public MarkdownType getCopyrightElement() throws FHIRException;
/**
* @return whether there is more than zero values for copyright
*/
public boolean hasCopyright();
/**
* @return minimum allowed cardinality for copyright. Note that with patterns, this may be different for the underlying resource
*/
public int getCopyrightMin() throws FHIRException;
/**
* @return maximum allowed cardinality for copyright. Note that with patterns, this may be different for the underlying resource
*/
public int getCopyrightMax() throws FHIRException;
public boolean hasCopyrightElement();
/**
* @param value {@link #copyright} (A copyright statement relating to the {{title}} and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the {{title}}.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value
*/
public Definition setCopyrightElement(MarkdownType value) ;
public Definition setCopyrightElement(MarkdownType value) throws FHIRException;
/**
* @return A copyright statement relating to the {{title}} and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the {{title}}.
*/
public String getCopyright();
public String getCopyright() throws FHIRException;
/**
* @param value A copyright statement relating to the {{title}} and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the {{title}}.
*/
public Definition setCopyright(String value);
public Definition setCopyright(String value) throws FHIRException;
/**
* @return {@link #approvalDate} (The date on which the asset content was approved by the publisher. Approval happens once when the content is officially approved for usage.). This is the underlying object with id, value and extensions. The accessor "getApprovalDate" gives direct access to the value
*/
public DateType getApprovalDateElement();
public boolean hasApprovalDateElement();
public DateType getApprovalDateElement() throws FHIRException;
/**
* @return whether there is more than zero values for approvalDate
*/
public boolean hasApprovalDate();
/**
* @return minimum allowed cardinality for approvalDate. Note that with patterns, this may be different for the underlying resource
*/
public int getApprovalDateMin() throws FHIRException;
/**
* @return maximum allowed cardinality for approvalDate. Note that with patterns, this may be different for the underlying resource
*/
public int getApprovalDateMax() throws FHIRException;
public boolean hasApprovalDateElement();
/**
* @param value {@link #approvalDate} (The date on which the asset content was approved by the publisher. Approval happens once when the content is officially approved for usage.). This is the underlying object with id, value and extensions. The accessor "getApprovalDate" gives direct access to the value
*/
public Definition setApprovalDateElement(DateType value) ;
public Definition setApprovalDateElement(DateType value) throws FHIRException;
/**
* @return The date on which the asset content was approved by the publisher. Approval happens once when the content is officially approved for usage.
*/
public Date getApprovalDate();
public Date getApprovalDate() throws FHIRException;
/**
* @param value The date on which the asset content was approved by the publisher. Approval happens once when the content is officially approved for usage.
*/
public Definition setApprovalDate(Date value);
public Definition setApprovalDate(Date value) throws FHIRException;
/**
* @return {@link #lastReviewDate} (The date on which the asset content was last reviewed. Review happens periodically after that, but doesn't change the original approval date.). This is the underlying object with id, value and extensions. The accessor "getLastReviewDate" gives direct access to the value
*/
public DateType getLastReviewDateElement();
public boolean hasLastReviewDateElement();
public DateType getLastReviewDateElement() throws FHIRException;
/**
* @return whether there is more than zero values for lastReviewDate
*/
public boolean hasLastReviewDate();
/**
* @return minimum allowed cardinality for lastReviewDate. Note that with patterns, this may be different for the underlying resource
*/
public int getLastReviewDateMin() throws FHIRException;
/**
* @return maximum allowed cardinality for lastReviewDate. Note that with patterns, this may be different for the underlying resource
*/
public int getLastReviewDateMax() throws FHIRException;
public boolean hasLastReviewDateElement();
/**
* @param value {@link #lastReviewDate} (The date on which the asset content was last reviewed. Review happens periodically after that, but doesn't change the original approval date.). This is the underlying object with id, value and extensions. The accessor "getLastReviewDate" gives direct access to the value
*/
public Definition setLastReviewDateElement(DateType value) ;
public Definition setLastReviewDateElement(DateType value) throws FHIRException;
/**
* @return The date on which the asset content was last reviewed. Review happens periodically after that, but doesn't change the original approval date.
*/
public Date getLastReviewDate();
public Date getLastReviewDate() throws FHIRException;
/**
* @param value The date on which the asset content was last reviewed. Review happens periodically after that, but doesn't change the original approval date.
*/
public Definition setLastReviewDate(Date value);
public Definition setLastReviewDate(Date value) throws FHIRException;
/**
* @return {@link #effectivePeriod} (The period during which the {{title}} content was or is planned to be effective.)
*/
public Period getEffectivePeriod();
public Period getEffectivePeriod() throws FHIRException ;
/**
* @return whether there is more than zero values for effectivePeriod
*/
public boolean hasEffectivePeriod();
/**
* @return minimum allowed cardinality for effectivePeriod. Note that with patterns, this may be different for the underlying resource
*/
public int getEffectivePeriodMin();
/**
* @return maximum allowed cardinality for effectivePeriod. Note that with patterns, this may be different for the underlying resource
*/
public int getEffectivePeriodMax();
/**
* @param value {@link #effectivePeriod} (The period during which the {{title}} content was or is planned to be effective.)
*/
public Definition setEffectivePeriod(Period value);
public Definition setEffectivePeriod(Period value) throws FHIRException;
/**
* @return {@link #performerType} (The type of individual that is expected to act upon instances of this definition.)
*/
public CodeableConcept getPerformerType();
public CodeableConcept getPerformerType() throws FHIRException ;
/**
* @return whether there is more than zero values for performerType
*/
public boolean hasPerformerType();
/**
* @return minimum allowed cardinality for performerType. Note that with patterns, this may be different for the underlying resource
*/
public int getPerformerTypeMin();
/**
* @return maximum allowed cardinality for performerType. Note that with patterns, this may be different for the underlying resource
*/
public int getPerformerTypeMax();
/**
* @param value {@link #performerType} (The type of individual that is expected to act upon instances of this definition.)
*/
public Definition setPerformerType(CodeableConcept value);
public Definition setPerformerType(CodeableConcept value) throws FHIRException;
public String fhirType();

View File

@ -1,4 +1,4 @@
package org.hl7.fhir.r5.model;
package org.hl7.fhir.r5.patterns;
/*
Copyright (c) 2011+, HL7, Inc.
@ -29,18 +29,13 @@ package org.hl7.fhir.r5.model;
*/
// Generated on Tue, May 7, 2019 08:29+1000 for FHIR v4.1.0
// Generated on Wed, May 8, 2019 10:40+1000 for FHIR v4.1.0
import org.hl7.fhir.r5.model.*;
import org.hl7.fhir.r5.model.Enumeration;
import java.util.*;
import org.hl7.fhir.utilities.Utilities;
import ca.uhn.fhir.model.api.annotation.ResourceDef;
import ca.uhn.fhir.model.api.annotation.SearchParamDefinition;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.ChildOrder;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.api.annotation.Block;
import org.hl7.fhir.instance.model.api.*;
import org.hl7.fhir.exceptions.FHIRException;
/**
* A pattern to be followed by resources that represent the performance of some activity, possibly in accordance with a request or service definition.
@ -235,278 +230,383 @@ public interface Event extends PatternBase {
}
}
@Block()
public interface EventPerformerComponent extends PatternBase {
/**
* @return {@link #function} (Distinguishes the type of involvement of the performer in the {{title}}. [Consider adding examples].)
*/
public CodeableConcept getFunction();
public CodeableConcept getFunction() throws FHIRException ;
/**
* @return whether there is more than zero values for function
*/
public boolean hasFunction();
/**
* @return minimum allowed cardinality for function. Note that with patterns, this may be different for the underlying resource
*/
public int getFunctionMin();
/**
* @return maximum allowed cardinality for function. Note that with patterns, this may be different for the underlying resource
*/
public int getFunctionMax();
/**
* @param value {@link #function} (Distinguishes the type of involvement of the performer in the {{title}}. [Consider adding examples].)
*/
public EventPerformerComponent setFunction(CodeableConcept value);
public EventPerformerComponent setFunction(CodeableConcept value) throws FHIRException;
/**
* @return {@link #actor} (Indicates who or what performed the {{title}}.)
*/
public Reference getActor();
public Reference getActor() throws FHIRException ;
/**
* @return whether there is more than zero values for actor
*/
public boolean hasActor();
/**
* @return minimum allowed cardinality for actor. Note that with patterns, this may be different for the underlying resource
*/
public int getActorMin();
/**
* @return maximum allowed cardinality for actor. Note that with patterns, this may be different for the underlying resource
*/
public int getActorMax();
/**
* @param value {@link #actor} (Indicates who or what performed the {{title}}.)
*/
public EventPerformerComponent setActor(Reference value);
/**
* @return {@link #actor} The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Indicates who or what performed the {{title}}.)
*/
public Resource getActorTarget();
/**
* @param value {@link #actor} The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Indicates who or what performed the {{title}}.)
*/
public EventPerformerComponent setActorTarget(Resource value);
public EventPerformerComponent setActor(Reference value) throws FHIRException;
}
/**
* @return {@link #identifier} (Business identifiers assigned to this {{title}} by the performer and/or other systems. These identifiers remain constant as the resource is updated and propagates from server to server.)
*/
public List<Identifier> getIdentifier();
public List<Identifier> getIdentifier() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Event setIdentifier(List<Identifier> theIdentifier);
public Event setIdentifier(List<Identifier> theIdentifier) throws FHIRException;
/**
* @return whether there is more than zero values for identifier
*/
public boolean hasIdentifier();
/**
* @return minimum allowed cardinality for identifier. Note that with patterns, this may be different for the underlying resource
*/
public int getIdentifierMin();
/**
* @return maximum allowed cardinality for identifier. Note that with patterns, this may be different for the underlying resource
*/
public int getIdentifierMax();
public Identifier addIdentifier();
public Identifier addIdentifier() throws FHIRException;
public Event addIdentifier(Identifier t);
public Event addIdentifier(Identifier t) throws FHIRException;
/**
* @return The first repetition of repeating field {@link #identifier}, creating it if it does not already exist
*/
public Identifier getIdentifierFirstRep() ;
public Identifier getIdentifierFirstRep() throws FHIRException;
/**
* @return {@link #instantiatesCanonical} (The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this {{title}}.)
*/
public List<CanonicalType> getInstantiatesCanonical();
public List<CanonicalType> getInstantiatesCanonical() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Event setInstantiatesCanonical(List<CanonicalType> theInstantiatesCanonical);
public Event setInstantiatesCanonical(List<CanonicalType> theInstantiatesCanonical) throws FHIRException;
/**
* @return whether there is more than zero values for instantiatesCanonical
*/
public boolean hasInstantiatesCanonical();
/**
* @return minimum allowed cardinality for instantiatesCanonical. Note that with patterns, this may be different for the underlying resource
*/
public int getInstantiatesCanonicalMin();
/**
* @return maximum allowed cardinality for instantiatesCanonical. Note that with patterns, this may be different for the underlying resource
*/
public int getInstantiatesCanonicalMax();
/**
* @return {@link #instantiatesCanonical} (The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this {{title}}.)
*/
public CanonicalType addInstantiatesCanonicalElement();
public CanonicalType addInstantiatesCanonicalElement() throws FHIRException;
/**
* @param value {@link #instantiatesCanonical} (The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this {{title}}.)
*/
public Event addInstantiatesCanonical(String value);
public Event addInstantiatesCanonical(String value) throws FHIRException;
/**
* @param value {@link #instantiatesCanonical} (The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this {{title}}.)
*/
public boolean hasInstantiatesCanonical(String value) ;
public boolean hasInstantiatesCanonical(String value) throws FHIRException;
/**
* @return {@link #instantiatesUri} (The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this {{title}}.)
*/
public List<UriType> getInstantiatesUri();
public List<UriType> getInstantiatesUri() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Event setInstantiatesUri(List<UriType> theInstantiatesUri);
public Event setInstantiatesUri(List<UriType> theInstantiatesUri) throws FHIRException;
/**
* @return whether there is more than zero values for instantiatesUri
*/
public boolean hasInstantiatesUri();
/**
* @return minimum allowed cardinality for instantiatesUri. Note that with patterns, this may be different for the underlying resource
*/
public int getInstantiatesUriMin();
/**
* @return maximum allowed cardinality for instantiatesUri. Note that with patterns, this may be different for the underlying resource
*/
public int getInstantiatesUriMax();
/**
* @return {@link #instantiatesUri} (The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this {{title}}.)
*/
public UriType addInstantiatesUriElement();
public UriType addInstantiatesUriElement() throws FHIRException;
/**
* @param value {@link #instantiatesUri} (The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this {{title}}.)
*/
public Event addInstantiatesUri(String value);
public Event addInstantiatesUri(String value) throws FHIRException;
/**
* @param value {@link #instantiatesUri} (The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this {{title}}.)
*/
public boolean hasInstantiatesUri(String value) ;
public boolean hasInstantiatesUri(String value) throws FHIRException;
/**
* @return {@link #basedOn} (A plan, proposal or order that is fulfilled in whole or in part by this {{title}}.)
*/
public List<Reference> getBasedOn();
public List<Reference> getBasedOn() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Event setBasedOn(List<Reference> theBasedOn);
public Event setBasedOn(List<Reference> theBasedOn) throws FHIRException;
/**
* @return whether there is more than zero values for basedOn
*/
public boolean hasBasedOn();
/**
* @return minimum allowed cardinality for basedOn. Note that with patterns, this may be different for the underlying resource
*/
public int getBasedOnMin();
/**
* @return maximum allowed cardinality for basedOn. Note that with patterns, this may be different for the underlying resource
*/
public int getBasedOnMax();
public Reference addBasedOn();
public Reference addBasedOn() throws FHIRException;
public Event addBasedOn(Reference t);
public Event addBasedOn(Reference t) throws FHIRException;
/**
* @return The first repetition of repeating field {@link #basedOn}, creating it if it does not already exist
*/
public Reference getBasedOnFirstRep() ;
public Reference getBasedOnFirstRep() throws FHIRException;
/**
* @return {@link #partOf} (A larger event of which this particular {{title}} is a component or step.)
*/
public List<Reference> getPartOf();
public List<Reference> getPartOf() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Event setPartOf(List<Reference> thePartOf);
public Event setPartOf(List<Reference> thePartOf) throws FHIRException;
/**
* @return whether there is more than zero values for partOf
*/
public boolean hasPartOf();
/**
* @return minimum allowed cardinality for partOf. Note that with patterns, this may be different for the underlying resource
*/
public int getPartOfMin();
/**
* @return maximum allowed cardinality for partOf. Note that with patterns, this may be different for the underlying resource
*/
public int getPartOfMax();
public Reference addPartOf();
public Reference addPartOf() throws FHIRException;
public Event addPartOf(Reference t);
public Event addPartOf(Reference t) throws FHIRException;
/**
* @return The first repetition of repeating field {@link #partOf}, creating it if it does not already exist
*/
public Reference getPartOfFirstRep() ;
public Reference getPartOfFirstRep() throws FHIRException;
/**
* @return {@link #researchStudy} (Indicates that this {{title}} is relevant to the specified research study(ies).)
*/
public List<Reference> getResearchStudy();
public List<Reference> getResearchStudy() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Event setResearchStudy(List<Reference> theResearchStudy);
public Event setResearchStudy(List<Reference> theResearchStudy) throws FHIRException;
/**
* @return whether there is more than zero values for researchStudy
*/
public boolean hasResearchStudy();
/**
* @return minimum allowed cardinality for researchStudy. Note that with patterns, this may be different for the underlying resource
*/
public int getResearchStudyMin();
/**
* @return maximum allowed cardinality for researchStudy. Note that with patterns, this may be different for the underlying resource
*/
public int getResearchStudyMax();
public Reference addResearchStudy();
public Reference addResearchStudy() throws FHIRException;
public Event addResearchStudy(Reference t);
public Event addResearchStudy(Reference t) throws FHIRException;
/**
* @return The first repetition of repeating field {@link #researchStudy}, creating it if it does not already exist
*/
public Reference getResearchStudyFirstRep() ;
public Reference getResearchStudyFirstRep() throws FHIRException;
/**
* @return {@link #status} (The current state of the {{title}}.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
*/
public Enumeration<EventStatus> getStatusElement();
public boolean hasStatusElement();
public Enumeration<EventStatus> getStatusElement() throws FHIRException;
/**
* @return whether there is more than zero values for status
*/
public boolean hasStatus();
/**
* @return minimum allowed cardinality for status. Note that with patterns, this may be different for the underlying resource
*/
public int getStatusMin() throws FHIRException;
/**
* @return maximum allowed cardinality for status. Note that with patterns, this may be different for the underlying resource
*/
public int getStatusMax() throws FHIRException;
public boolean hasStatusElement();
/**
* @param value {@link #status} (The current state of the {{title}}.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
*/
public Event setStatusElement(Enumeration<EventStatus> value) ;
public Event setStatusElement(Enumeration<EventStatus> value) throws FHIRException;
/**
* @return The current state of the {{title}}.
*/
public EventStatus getStatus();
public EventStatus getStatus() throws FHIRException;
/**
* @param value The current state of the {{title}}.
*/
public Event setStatus(EventStatus value);
public Event setStatus(EventStatus value) throws FHIRException;
/**
* @return {@link #statusReason} (Captures the reason for the current state of the {{title}}.)
*/
public CodeableConcept getStatusReason();
public CodeableConcept getStatusReason() throws FHIRException ;
/**
* @return whether there is more than zero values for statusReason
*/
public boolean hasStatusReason();
/**
* @return minimum allowed cardinality for statusReason. Note that with patterns, this may be different for the underlying resource
*/
public int getStatusReasonMin();
/**
* @return maximum allowed cardinality for statusReason. Note that with patterns, this may be different for the underlying resource
*/
public int getStatusReasonMax();
/**
* @param value {@link #statusReason} (Captures the reason for the current state of the {{title}}.)
*/
public Event setStatusReason(CodeableConcept value);
public Event setStatusReason(CodeableConcept value) throws FHIRException;
/**
* @return {@link #code} (A code that identifies the specific service or action that was or is being performed.)
*/
public CodeableConcept getCode();
public CodeableConcept getCode() throws FHIRException ;
/**
* @return whether there is more than zero values for code
*/
public boolean hasCode();
/**
* @return minimum allowed cardinality for code. Note that with patterns, this may be different for the underlying resource
*/
public int getCodeMin();
/**
* @return maximum allowed cardinality for code. Note that with patterns, this may be different for the underlying resource
*/
public int getCodeMax();
/**
* @param value {@link #code} (A code that identifies the specific service or action that was or is being performed.)
*/
public Event setCode(CodeableConcept value);
public Event setCode(CodeableConcept value) throws FHIRException;
/**
* @return {@link #subject} (The individual or set of individuals the action is being or was performed on.)
*/
public Reference getSubject();
public Reference getSubject() throws FHIRException ;
/**
* @return whether there is more than zero values for subject
*/
public boolean hasSubject();
/**
* @return minimum allowed cardinality for subject. Note that with patterns, this may be different for the underlying resource
*/
public int getSubjectMin();
/**
* @return maximum allowed cardinality for subject. Note that with patterns, this may be different for the underlying resource
*/
public int getSubjectMax();
/**
* @param value {@link #subject} (The individual or set of individuals the action is being or was performed on.)
*/
public Event setSubject(Reference value);
/**
* @return {@link #subject} The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The individual or set of individuals the action is being or was performed on.)
*/
public Resource getSubjectTarget();
/**
* @param value {@link #subject} The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The individual or set of individuals the action is being or was performed on.)
*/
public Event setSubjectTarget(Resource value);
public Event setSubject(Reference value) throws FHIRException;
/**
* @return {@link #encounter} (The Encounter during which this {{title}} was created or to which the creation of this record is tightly associated.)
*/
public Reference getEncounter();
public Reference getEncounter() throws FHIRException ;
/**
* @return whether there is more than zero values for encounter
*/
public boolean hasEncounter();
/**
* @return minimum allowed cardinality for encounter. Note that with patterns, this may be different for the underlying resource
*/
public int getEncounterMin();
/**
* @return maximum allowed cardinality for encounter. Note that with patterns, this may be different for the underlying resource
*/
public int getEncounterMax();
/**
* @param value {@link #encounter} (The Encounter during which this {{title}} was created or to which the creation of this record is tightly associated.)
*/
public Event setEncounter(Reference value);
/**
* @return {@link #encounter} The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The Encounter during which this {{title}} was created or to which the creation of this record is tightly associated.)
*/
public Encounter getEncounterTarget();
/**
* @param value {@link #encounter} The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The Encounter during which this {{title}} was created or to which the creation of this record is tightly associated.)
*/
public Event setEncounterTarget(Encounter value);
public Event setEncounter(Reference value) throws FHIRException;
/**
* @return {@link #occurrence} (The date, period or timing when the {{title}} did occur or is occurring.)
*/
public Type getOccurrence();
public Type getOccurrence() throws FHIRException ;
/**
* @return {@link #occurrence} (The date, period or timing when the {{title}} did occur or is occurring.)
@ -529,41 +629,61 @@ public interface Event extends PatternBase {
public boolean hasOccurrenceTiming();
/**
* @return whether there is more than zero values for occurrence
*/
public boolean hasOccurrence();
/**
* @return minimum allowed cardinality for occurrence. Note that with patterns, this may be different for the underlying resource
*/
public int getOccurrenceMin();
/**
* @return maximum allowed cardinality for occurrence. Note that with patterns, this may be different for the underlying resource
*/
public int getOccurrenceMax();
/**
* @param value {@link #occurrence} (The date, period or timing when the {{title}} did occur or is occurring.)
*/
public Event setOccurrence(Type value);
public Event setOccurrence(Type value) throws FHIRException;
/**
* @return {@link #recorded} (The date the occurrence of the {{title}} was first captured in the record - potentially significantly after the occurrence of the event.). This is the underlying object with id, value and extensions. The accessor "getRecorded" gives direct access to the value
*/
public DateTimeType getRecordedElement();
public boolean hasRecordedElement();
public DateTimeType getRecordedElement() throws FHIRException;
/**
* @return whether there is more than zero values for recorded
*/
public boolean hasRecorded();
/**
* @return minimum allowed cardinality for recorded. Note that with patterns, this may be different for the underlying resource
*/
public int getRecordedMin() throws FHIRException;
/**
* @return maximum allowed cardinality for recorded. Note that with patterns, this may be different for the underlying resource
*/
public int getRecordedMax() throws FHIRException;
public boolean hasRecordedElement();
/**
* @param value {@link #recorded} (The date the occurrence of the {{title}} was first captured in the record - potentially significantly after the occurrence of the event.). This is the underlying object with id, value and extensions. The accessor "getRecorded" gives direct access to the value
*/
public Event setRecordedElement(DateTimeType value) ;
public Event setRecordedElement(DateTimeType value) throws FHIRException;
/**
* @return The date the occurrence of the {{title}} was first captured in the record - potentially significantly after the occurrence of the event.
*/
public Date getRecorded();
public Date getRecorded() throws FHIRException;
/**
* @param value The date the occurrence of the {{title}} was first captured in the record - potentially significantly after the occurrence of the event.
*/
public Event setRecorded(Date value);
public Event setRecorded(Date value) throws FHIRException;
/**
* @return {@link #reported} (Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.)
*/
public Type getReported();
public Type getReported() throws FHIRException ;
/**
* @return {@link #reported} (Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.)
@ -579,118 +699,172 @@ public interface Event extends PatternBase {
public boolean hasReportedReference();
/**
* @return whether there is more than zero values for reported
*/
public boolean hasReported();
/**
* @return minimum allowed cardinality for reported. Note that with patterns, this may be different for the underlying resource
*/
public int getReportedMin();
/**
* @return maximum allowed cardinality for reported. Note that with patterns, this may be different for the underlying resource
*/
public int getReportedMax();
/**
* @param value {@link #reported} (Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.)
*/
public Event setReported(Type value);
public Event setReported(Type value) throws FHIRException;
/**
* @return {@link #performer} (Indicates who or what performed the {{title}} and how they were involved.)
*/
public List<EventPerformerComponent> getPerformer();
public List<EventPerformerComponent> getPerformer() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Event setPerformer(List<EventPerformerComponent> thePerformer);
public Event setPerformer(List<EventPerformerComponent> thePerformer) throws FHIRException;
/**
* @return whether there is more than zero values for performer
*/
public boolean hasPerformer();
/**
* @return minimum allowed cardinality for performer. Note that with patterns, this may be different for the underlying resource
*/
public int getPerformerMin();
/**
* @return maximum allowed cardinality for performer. Note that with patterns, this may be different for the underlying resource
*/
public int getPerformerMax();
public EventPerformerComponent addPerformer();
public EventPerformerComponent addPerformer() throws FHIRException;
public Event addPerformer(EventPerformerComponent t);
public Event addPerformer(EventPerformerComponent t) throws FHIRException;
/**
* @return The first repetition of repeating field {@link #performer}, creating it if it does not already exist
*/
public EventPerformerComponent getPerformerFirstRep() ;
public EventPerformerComponent getPerformerFirstRep() throws FHIRException;
/**
* @return {@link #location} (The principal physical location where the {{title}} was performed.)
*/
public Reference getLocation();
public Reference getLocation() throws FHIRException ;
/**
* @return whether there is more than zero values for location
*/
public boolean hasLocation();
/**
* @return minimum allowed cardinality for location. Note that with patterns, this may be different for the underlying resource
*/
public int getLocationMin();
/**
* @return maximum allowed cardinality for location. Note that with patterns, this may be different for the underlying resource
*/
public int getLocationMax();
/**
* @param value {@link #location} (The principal physical location where the {{title}} was performed.)
*/
public Event setLocation(Reference value);
/**
* @return {@link #location} The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The principal physical location where the {{title}} was performed.)
*/
public Location getLocationTarget();
/**
* @param value {@link #location} The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The principal physical location where the {{title}} was performed.)
*/
public Event setLocationTarget(Location value);
public Event setLocation(Reference value) throws FHIRException;
/**
* @return {@link #reasonCode} (Describes why the {{title}} occurred in coded or textual form.)
*/
public List<CodeableConcept> getReasonCode();
public List<CodeableConcept> getReasonCode() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Event setReasonCode(List<CodeableConcept> theReasonCode);
public Event setReasonCode(List<CodeableConcept> theReasonCode) throws FHIRException;
/**
* @return whether there is more than zero values for reasonCode
*/
public boolean hasReasonCode();
/**
* @return minimum allowed cardinality for reasonCode. Note that with patterns, this may be different for the underlying resource
*/
public int getReasonCodeMin();
/**
* @return maximum allowed cardinality for reasonCode. Note that with patterns, this may be different for the underlying resource
*/
public int getReasonCodeMax();
public CodeableConcept addReasonCode();
public CodeableConcept addReasonCode() throws FHIRException;
public Event addReasonCode(CodeableConcept t);
public Event addReasonCode(CodeableConcept t) throws FHIRException;
/**
* @return The first repetition of repeating field {@link #reasonCode}, creating it if it does not already exist
*/
public CodeableConcept getReasonCodeFirstRep() ;
public CodeableConcept getReasonCodeFirstRep() throws FHIRException;
/**
* @return {@link #reasonReference} (Indicates another resource whose existence justifies this {{title}}.)
*/
public List<Reference> getReasonReference();
public List<Reference> getReasonReference() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Event setReasonReference(List<Reference> theReasonReference);
public Event setReasonReference(List<Reference> theReasonReference) throws FHIRException;
/**
* @return whether there is more than zero values for reasonReference
*/
public boolean hasReasonReference();
/**
* @return minimum allowed cardinality for reasonReference. Note that with patterns, this may be different for the underlying resource
*/
public int getReasonReferenceMin();
/**
* @return maximum allowed cardinality for reasonReference. Note that with patterns, this may be different for the underlying resource
*/
public int getReasonReferenceMax();
public Reference addReasonReference();
public Reference addReasonReference() throws FHIRException;
public Event addReasonReference(Reference t);
public Event addReasonReference(Reference t) throws FHIRException;
/**
* @return The first repetition of repeating field {@link #reasonReference}, creating it if it does not already exist
*/
public Reference getReasonReferenceFirstRep() ;
public Reference getReasonReferenceFirstRep() throws FHIRException;
/**
* @return {@link #note} (Comments made about the {{title}} by the performer, subject or other participants.)
*/
public List<Annotation> getNote();
public List<Annotation> getNote() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Event setNote(List<Annotation> theNote);
public Event setNote(List<Annotation> theNote) throws FHIRException;
/**
* @return whether there is more than zero values for note
*/
public boolean hasNote();
/**
* @return minimum allowed cardinality for note. Note that with patterns, this may be different for the underlying resource
*/
public int getNoteMin();
/**
* @return maximum allowed cardinality for note. Note that with patterns, this may be different for the underlying resource
*/
public int getNoteMax();
public Annotation addNote();
public Annotation addNote() throws FHIRException;
public Event addNote(Annotation t);
public Event addNote(Annotation t) throws FHIRException;
/**
* @return The first repetition of repeating field {@link #note}, creating it if it does not already exist
*/
public Annotation getNoteFirstRep() ;
public Annotation getNoteFirstRep() throws FHIRException;
public String fhirType();

View File

@ -1,4 +1,4 @@
package org.hl7.fhir.r5.model;
package org.hl7.fhir.r5.patterns;
/*
Copyright (c) 2011+, HL7, Inc.
@ -29,18 +29,13 @@ package org.hl7.fhir.r5.model;
*/
// Generated on Tue, May 7, 2019 08:21+1000 for FHIR v4.1.0
// Generated on Wed, May 8, 2019 10:40+1000 for FHIR v4.1.0
import org.hl7.fhir.r5.model.*;
import org.hl7.fhir.r5.model.Enumeration;
import java.util.*;
import org.hl7.fhir.utilities.Utilities;
import ca.uhn.fhir.model.api.annotation.ResourceDef;
import ca.uhn.fhir.model.api.annotation.SearchParamDefinition;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.ChildOrder;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.api.annotation.Block;
import org.hl7.fhir.instance.model.api.*;
import org.hl7.fhir.exceptions.FHIRException;
/**
* Who What When Where Why - Common pattern for all resources that deals with attribution.
@ -606,109 +601,161 @@ public interface Fivews extends PatternBase {
/**
* @return {@link #identifier} (Business Identifier.)
*/
public List<Identifier> getIdentifier();
public List<Identifier> getIdentifier() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Fivews setIdentifier(List<Identifier> theIdentifier);
public Fivews setIdentifier(List<Identifier> theIdentifier) throws FHIRException;
/**
* @return whether there is more than zero values for identifier
*/
public boolean hasIdentifier();
/**
* @return minimum allowed cardinality for identifier. Note that with patterns, this may be different for the underlying resource
*/
public int getIdentifierMin();
/**
* @return maximum allowed cardinality for identifier. Note that with patterns, this may be different for the underlying resource
*/
public int getIdentifierMax();
public Identifier addIdentifier();
public Identifier addIdentifier() throws FHIRException;
public Fivews addIdentifier(Identifier t);
public Fivews addIdentifier(Identifier t) throws FHIRException;
/**
* @return The first repetition of repeating field {@link #identifier}, creating it if it does not already exist
*/
public Identifier getIdentifierFirstRep() ;
public Identifier getIdentifierFirstRep() throws FHIRException;
/**
* @return {@link #version} (Identifier for this version.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
*/
public StringType getVersionElement();
public boolean hasVersionElement();
public StringType getVersionElement() throws FHIRException;
/**
* @return whether there is more than zero values for version
*/
public boolean hasVersion();
/**
* @return minimum allowed cardinality for version. Note that with patterns, this may be different for the underlying resource
*/
public int getVersionMin() throws FHIRException;
/**
* @return maximum allowed cardinality for version. Note that with patterns, this may be different for the underlying resource
*/
public int getVersionMax() throws FHIRException;
public boolean hasVersionElement();
/**
* @param value {@link #version} (Identifier for this version.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
*/
public Fivews setVersionElement(StringType value) ;
public Fivews setVersionElement(StringType value) throws FHIRException;
/**
* @return Identifier for this version.
*/
public String getVersion();
public String getVersion() throws FHIRException;
/**
* @param value Identifier for this version.
*/
public Fivews setVersion(String value);
public Fivews setVersion(String value) throws FHIRException;
/**
* @return {@link #status} (Status Field.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
*/
public Enumeration<CanonicalStatus> getStatusElement();
public boolean hasStatusElement();
public Enumeration<CanonicalStatus> getStatusElement() throws FHIRException;
/**
* @return whether there is more than zero values for status
*/
public boolean hasStatus();
/**
* @return minimum allowed cardinality for status. Note that with patterns, this may be different for the underlying resource
*/
public int getStatusMin() throws FHIRException;
/**
* @return maximum allowed cardinality for status. Note that with patterns, this may be different for the underlying resource
*/
public int getStatusMax() throws FHIRException;
public boolean hasStatusElement();
/**
* @param value {@link #status} (Status Field.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
*/
public Fivews setStatusElement(Enumeration<CanonicalStatus> value) ;
public Fivews setStatusElement(Enumeration<CanonicalStatus> value) throws FHIRException;
/**
* @return Status Field.
*/
public CanonicalStatus getStatus();
public CanonicalStatus getStatus() throws FHIRException;
/**
* @param value Status Field.
*/
public Fivews setStatus(CanonicalStatus value);
public Fivews setStatus(CanonicalStatus value) throws FHIRException;
/**
* @return {@link #class_} (Classifier Field.)
*/
public List<CodeableConcept> getClass_();
public List<CodeableConcept> getClass_() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Fivews setClass_(List<CodeableConcept> theClass_);
public Fivews setClass_(List<CodeableConcept> theClass_) throws FHIRException;
/**
* @return whether there is more than zero values for class_
*/
public boolean hasClass_();
/**
* @return minimum allowed cardinality for class_. Note that with patterns, this may be different for the underlying resource
*/
public int getClass_Min();
/**
* @return maximum allowed cardinality for class_. Note that with patterns, this may be different for the underlying resource
*/
public int getClass_Max();
public CodeableConcept addClass_();
public CodeableConcept addClass_() throws FHIRException;
public Fivews addClass_(CodeableConcept t);
public Fivews addClass_(CodeableConcept t) throws FHIRException;
/**
* @return The first repetition of repeating field {@link #class_}, creating it if it does not already exist
*/
public CodeableConcept getClass_FirstRep() ;
public CodeableConcept getClass_FirstRep() throws FHIRException;
/**
* @return {@link #grade} (A field that indicates the potential impact of the content of the resource.)
*/
public CodeableConcept getGrade();
public CodeableConcept getGrade() throws FHIRException ;
/**
* @return whether there is more than zero values for grade
*/
public boolean hasGrade();
/**
* @return minimum allowed cardinality for grade. Note that with patterns, this may be different for the underlying resource
*/
public int getGradeMin();
/**
* @return maximum allowed cardinality for grade. Note that with patterns, this may be different for the underlying resource
*/
public int getGradeMax();
/**
* @param value {@link #grade} (A field that indicates the potential impact of the content of the resource.)
*/
public Fivews setGrade(CodeableConcept value);
public Fivews setGrade(CodeableConcept value) throws FHIRException;
/**
* @return {@link #what} (what this resource is about.)
*/
public Type getWhat();
public Type getWhat() throws FHIRException ;
/**
* @return {@link #what} (what this resource is about.)
@ -724,105 +771,147 @@ public interface Fivews extends PatternBase {
public boolean hasWhatReference();
/**
* @return whether there is more than zero values for what
*/
public boolean hasWhat();
/**
* @return minimum allowed cardinality for what. Note that with patterns, this may be different for the underlying resource
*/
public int getWhatMin();
/**
* @return maximum allowed cardinality for what. Note that with patterns, this may be different for the underlying resource
*/
public int getWhatMax();
/**
* @param value {@link #what} (what this resource is about.)
*/
public Fivews setWhat(Type value);
public Fivews setWhat(Type value) throws FHIRException;
/**
* @return {@link #subject} (Who this resource is about.)
*/
public List<Reference> getSubject();
public List<Reference> getSubject() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Fivews setSubject(List<Reference> theSubject);
public Fivews setSubject(List<Reference> theSubject) throws FHIRException;
/**
* @return whether there is more than zero values for subject
*/
public boolean hasSubject();
/**
* @return minimum allowed cardinality for subject. Note that with patterns, this may be different for the underlying resource
*/
public int getSubjectMin();
/**
* @return maximum allowed cardinality for subject. Note that with patterns, this may be different for the underlying resource
*/
public int getSubjectMax();
public Reference addSubject();
public Reference addSubject() throws FHIRException;
public Fivews addSubject(Reference t);
public Fivews addSubject(Reference t) throws FHIRException;
/**
* @return The first repetition of repeating field {@link #subject}, creating it if it does not already exist
*/
public Reference getSubjectFirstRep() ;
public Reference getSubjectFirstRep() throws FHIRException;
/**
* @return {@link #context} (a resource that gives context for the work described in this resource (usually Encounter or EpisodeOfCare).)
*/
public Reference getContext();
public Reference getContext() throws FHIRException ;
/**
* @return whether there is more than zero values for context
*/
public boolean hasContext();
/**
* @return minimum allowed cardinality for context. Note that with patterns, this may be different for the underlying resource
*/
public int getContextMin();
/**
* @return maximum allowed cardinality for context. Note that with patterns, this may be different for the underlying resource
*/
public int getContextMax();
/**
* @param value {@link #context} (a resource that gives context for the work described in this resource (usually Encounter or EpisodeOfCare).)
*/
public Fivews setContext(Reference value);
/**
* @return {@link #context} The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (a resource that gives context for the work described in this resource (usually Encounter or EpisodeOfCare).)
*/
public Resource getContextTarget();
/**
* @param value {@link #context} The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (a resource that gives context for the work described in this resource (usually Encounter or EpisodeOfCare).)
*/
public Fivews setContextTarget(Resource value);
public Fivews setContext(Reference value) throws FHIRException;
/**
* @return {@link #init} (when the work described in this resource was started (or will be).). This is the underlying object with id, value and extensions. The accessor "getInit" gives direct access to the value
*/
public DateTimeType getInitElement();
public boolean hasInitElement();
public DateTimeType getInitElement() throws FHIRException;
/**
* @return whether there is more than zero values for init
*/
public boolean hasInit();
/**
* @return minimum allowed cardinality for init. Note that with patterns, this may be different for the underlying resource
*/
public int getInitMin() throws FHIRException;
/**
* @return maximum allowed cardinality for init. Note that with patterns, this may be different for the underlying resource
*/
public int getInitMax() throws FHIRException;
public boolean hasInitElement();
/**
* @param value {@link #init} (when the work described in this resource was started (or will be).). This is the underlying object with id, value and extensions. The accessor "getInit" gives direct access to the value
*/
public Fivews setInitElement(DateTimeType value) ;
public Fivews setInitElement(DateTimeType value) throws FHIRException;
/**
* @return when the work described in this resource was started (or will be).
*/
public Date getInit();
public Date getInit() throws FHIRException;
/**
* @param value when the work described in this resource was started (or will be).
*/
public Fivews setInit(Date value);
public Fivews setInit(Date value) throws FHIRException;
/**
* @return {@link #planned} (when this resource is planned to occur.)
*/
public List<Timing> getPlanned();
public List<Timing> getPlanned() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Fivews setPlanned(List<Timing> thePlanned);
public Fivews setPlanned(List<Timing> thePlanned) throws FHIRException;
/**
* @return whether there is more than zero values for planned
*/
public boolean hasPlanned();
/**
* @return minimum allowed cardinality for planned. Note that with patterns, this may be different for the underlying resource
*/
public int getPlannedMin();
/**
* @return maximum allowed cardinality for planned. Note that with patterns, this may be different for the underlying resource
*/
public int getPlannedMax();
public Timing addPlanned();
public Timing addPlanned() throws FHIRException;
public Fivews addPlanned(Timing t);
public Fivews addPlanned(Timing t) throws FHIRException;
/**
* @return The first repetition of repeating field {@link #planned}, creating it if it does not already exist
*/
public Timing getPlannedFirstRep() ;
public Timing getPlannedFirstRep() throws FHIRException;
/**
* @return {@link #done} (when the work described in this resource was completed (or will be).)
*/
public Type getDone();
public Type getDone() throws FHIRException ;
/**
* @return {@link #done} (when the work described in this resource was completed (or will be).)
@ -838,204 +927,312 @@ public interface Fivews extends PatternBase {
public boolean hasDonePeriod();
/**
* @return whether there is more than zero values for done
*/
public boolean hasDone();
/**
* @return minimum allowed cardinality for done. Note that with patterns, this may be different for the underlying resource
*/
public int getDoneMin();
/**
* @return maximum allowed cardinality for done. Note that with patterns, this may be different for the underlying resource
*/
public int getDoneMax();
/**
* @param value {@link #done} (when the work described in this resource was completed (or will be).)
*/
public Fivews setDone(Type value);
public Fivews setDone(Type value) throws FHIRException;
/**
* @return {@link #recorded} (when this resource itself was created.). This is the underlying object with id, value and extensions. The accessor "getRecorded" gives direct access to the value
*/
public InstantType getRecordedElement();
public boolean hasRecordedElement();
public InstantType getRecordedElement() throws FHIRException;
/**
* @return whether there is more than zero values for recorded
*/
public boolean hasRecorded();
/**
* @return minimum allowed cardinality for recorded. Note that with patterns, this may be different for the underlying resource
*/
public int getRecordedMin() throws FHIRException;
/**
* @return maximum allowed cardinality for recorded. Note that with patterns, this may be different for the underlying resource
*/
public int getRecordedMax() throws FHIRException;
public boolean hasRecordedElement();
/**
* @param value {@link #recorded} (when this resource itself was created.). This is the underlying object with id, value and extensions. The accessor "getRecorded" gives direct access to the value
*/
public Fivews setRecordedElement(InstantType value) ;
public Fivews setRecordedElement(InstantType value) throws FHIRException;
/**
* @return when this resource itself was created.
*/
public Date getRecorded();
public Date getRecorded() throws FHIRException;
/**
* @param value when this resource itself was created.
*/
public Fivews setRecorded(Date value);
public Fivews setRecorded(Date value) throws FHIRException;
/**
* @return {@link #author} (who authored the content of the resource.)
*/
public List<Reference> getAuthor();
public List<Reference> getAuthor() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Fivews setAuthor(List<Reference> theAuthor);
public Fivews setAuthor(List<Reference> theAuthor) throws FHIRException;
/**
* @return whether there is more than zero values for author
*/
public boolean hasAuthor();
/**
* @return minimum allowed cardinality for author. Note that with patterns, this may be different for the underlying resource
*/
public int getAuthorMin();
/**
* @return maximum allowed cardinality for author. Note that with patterns, this may be different for the underlying resource
*/
public int getAuthorMax();
public Reference addAuthor();
public Reference addAuthor() throws FHIRException;
public Fivews addAuthor(Reference t);
public Fivews addAuthor(Reference t) throws FHIRException;
/**
* @return The first repetition of repeating field {@link #author}, creating it if it does not already exist
*/
public Reference getAuthorFirstRep() ;
public Reference getAuthorFirstRep() throws FHIRException;
/**
* @return {@link #source} (Who provided the information in this resource.)
*/
public List<Reference> getSource();
public List<Reference> getSource() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Fivews setSource(List<Reference> theSource);
public Fivews setSource(List<Reference> theSource) throws FHIRException;
/**
* @return whether there is more than zero values for source
*/
public boolean hasSource();
/**
* @return minimum allowed cardinality for source. Note that with patterns, this may be different for the underlying resource
*/
public int getSourceMin();
/**
* @return maximum allowed cardinality for source. Note that with patterns, this may be different for the underlying resource
*/
public int getSourceMax();
public Reference addSource();
public Reference addSource() throws FHIRException;
public Fivews addSource(Reference t);
public Fivews addSource(Reference t) throws FHIRException;
/**
* @return The first repetition of repeating field {@link #source}, creating it if it does not already exist
*/
public Reference getSourceFirstRep() ;
public Reference getSourceFirstRep() throws FHIRException;
/**
* @return {@link #actor} (who did the work described the resource (or will do).)
*/
public List<Reference> getActor();
public List<Reference> getActor() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Fivews setActor(List<Reference> theActor);
public Fivews setActor(List<Reference> theActor) throws FHIRException;
/**
* @return whether there is more than zero values for actor
*/
public boolean hasActor();
/**
* @return minimum allowed cardinality for actor. Note that with patterns, this may be different for the underlying resource
*/
public int getActorMin();
/**
* @return maximum allowed cardinality for actor. Note that with patterns, this may be different for the underlying resource
*/
public int getActorMax();
public Reference addActor();
public Reference addActor() throws FHIRException;
public Fivews addActor(Reference t);
public Fivews addActor(Reference t) throws FHIRException;
/**
* @return The first repetition of repeating field {@link #actor}, creating it if it does not already exist
*/
public Reference getActorFirstRep() ;
public Reference getActorFirstRep() throws FHIRException;
/**
* @return {@link #cause} (who prompted the work described in the resource.)
*/
public List<Reference> getCause();
public List<Reference> getCause() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Fivews setCause(List<Reference> theCause);
public Fivews setCause(List<Reference> theCause) throws FHIRException;
/**
* @return whether there is more than zero values for cause
*/
public boolean hasCause();
/**
* @return minimum allowed cardinality for cause. Note that with patterns, this may be different for the underlying resource
*/
public int getCauseMin();
/**
* @return maximum allowed cardinality for cause. Note that with patterns, this may be different for the underlying resource
*/
public int getCauseMax();
public Reference addCause();
public Reference addCause() throws FHIRException;
public Fivews addCause(Reference t);
public Fivews addCause(Reference t) throws FHIRException;
/**
* @return The first repetition of repeating field {@link #cause}, creating it if it does not already exist
*/
public Reference getCauseFirstRep() ;
public Reference getCauseFirstRep() throws FHIRException;
/**
* @return {@link #witness} (who attests to the content of the resource (individual or org).)
*/
public List<Reference> getWitness();
public List<Reference> getWitness() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Fivews setWitness(List<Reference> theWitness);
public Fivews setWitness(List<Reference> theWitness) throws FHIRException;
/**
* @return whether there is more than zero values for witness
*/
public boolean hasWitness();
/**
* @return minimum allowed cardinality for witness. Note that with patterns, this may be different for the underlying resource
*/
public int getWitnessMin();
/**
* @return maximum allowed cardinality for witness. Note that with patterns, this may be different for the underlying resource
*/
public int getWitnessMax();
public Reference addWitness();
public Reference addWitness() throws FHIRException;
public Fivews addWitness(Reference t);
public Fivews addWitness(Reference t) throws FHIRException;
/**
* @return The first repetition of repeating field {@link #witness}, creating it if it does not already exist
*/
public Reference getWitnessFirstRep() ;
public Reference getWitnessFirstRep() throws FHIRException;
/**
* @return {@link #who} (An actor involved in the work described by this resource.)
*/
public List<Reference> getWho();
public List<Reference> getWho() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Fivews setWho(List<Reference> theWho);
public Fivews setWho(List<Reference> theWho) throws FHIRException;
/**
* @return whether there is more than zero values for who
*/
public boolean hasWho();
/**
* @return minimum allowed cardinality for who. Note that with patterns, this may be different for the underlying resource
*/
public int getWhoMin();
/**
* @return maximum allowed cardinality for who. Note that with patterns, this may be different for the underlying resource
*/
public int getWhoMax();
public Reference addWho();
public Reference addWho() throws FHIRException;
public Fivews addWho(Reference t);
public Fivews addWho(Reference t) throws FHIRException;
/**
* @return The first repetition of repeating field {@link #who}, creating it if it does not already exist
*/
public Reference getWhoFirstRep() ;
public Reference getWhoFirstRep() throws FHIRException;
/**
* @return {@link #where} (The location of the work described.)
*/
public List<Type> getWhere();
public List<Type> getWhere() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Fivews setWhere(List<Type> theWhere);
public Fivews setWhere(List<Type> theWhere) throws FHIRException;
/**
* @return whether there is more than zero values for where
*/
public boolean hasWhere();
/**
* @return minimum allowed cardinality for where. Note that with patterns, this may be different for the underlying resource
*/
public int getWhereMin();
/**
* @return maximum allowed cardinality for where. Note that with patterns, this may be different for the underlying resource
*/
public int getWhereMax();
public Type addWhere();
public Type addWhere() throws FHIRException;
public Fivews addWhere(Type t);
public Fivews addWhere(Type t) throws FHIRException;
/**
* @return The first repetition of repeating field {@link #where}, creating it if it does not already exist
*/
public Type getWhereFirstRep() ;
public Type getWhereFirstRep() throws FHIRException;
/**
* @return {@link #why} (Why this work was done.)
*/
public List<Type> getWhy();
public List<Type> getWhy() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Fivews setWhy(List<Type> theWhy);
public Fivews setWhy(List<Type> theWhy) throws FHIRException;
/**
* @return whether there is more than zero values for why
*/
public boolean hasWhy();
/**
* @return minimum allowed cardinality for why. Note that with patterns, this may be different for the underlying resource
*/
public int getWhyMin();
/**
* @return maximum allowed cardinality for why. Note that with patterns, this may be different for the underlying resource
*/
public int getWhyMax();
public Type addWhy();
public Type addWhy() throws FHIRException;
public Fivews addWhy(Type t);
public Fivews addWhy(Type t) throws FHIRException;
/**
* @return The first repetition of repeating field {@link #why}, creating it if it does not already exist
*/
public Type getWhyFirstRep() ;
public Type getWhyFirstRep() throws FHIRException;
public String fhirType();

View File

@ -0,0 +1,14 @@
package org.hl7.fhir.r5.patterns;
import java.util.List;
import org.hl7.fhir.r5.model.Extension;
public interface PatternBase {
public String getId();
public PatternBase setId(String value);
public List<Extension> getExtension();
}

View File

@ -1,4 +1,4 @@
package org.hl7.fhir.r5.model;
package org.hl7.fhir.r5.patterns;
/*
Copyright (c) 2011+, HL7, Inc.
@ -29,18 +29,13 @@ package org.hl7.fhir.r5.model;
*/
// Generated on Tue, May 7, 2019 08:21+1000 for FHIR v4.1.0
// Generated on Wed, May 8, 2019 10:40+1000 for FHIR v4.1.0
import org.hl7.fhir.r5.model.*;
import org.hl7.fhir.r5.model.Enumeration;
import java.util.*;
import org.hl7.fhir.utilities.Utilities;
import ca.uhn.fhir.model.api.annotation.ResourceDef;
import ca.uhn.fhir.model.api.annotation.SearchParamDefinition;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.ChildOrder;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.api.annotation.Block;
import org.hl7.fhir.instance.model.api.*;
import org.hl7.fhir.exceptions.FHIRException;
/**
* A pattern to be followed by resources that represent a specific proposal, plan and/or order for some sort of action or service.
@ -550,300 +545,425 @@ public interface Request extends PatternBase {
/**
* @return {@link #identifier} (Business identifiers assigned to this {{title}} by the author and/or other systems. These identifiers remain constant as the resource is updated and propagates from server to server.)
*/
public List<Identifier> getIdentifier();
public List<Identifier> getIdentifier() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Request setIdentifier(List<Identifier> theIdentifier);
public Request setIdentifier(List<Identifier> theIdentifier) throws FHIRException;
/**
* @return whether there is more than zero values for identifier
*/
public boolean hasIdentifier();
/**
* @return minimum allowed cardinality for identifier. Note that with patterns, this may be different for the underlying resource
*/
public int getIdentifierMin();
/**
* @return maximum allowed cardinality for identifier. Note that with patterns, this may be different for the underlying resource
*/
public int getIdentifierMax();
public Identifier addIdentifier();
public Identifier addIdentifier() throws FHIRException;
public Request addIdentifier(Identifier t);
public Request addIdentifier(Identifier t) throws FHIRException;
/**
* @return The first repetition of repeating field {@link #identifier}, creating it if it does not already exist
*/
public Identifier getIdentifierFirstRep() ;
public Identifier getIdentifierFirstRep() throws FHIRException;
/**
* @return {@link #instantiatesCanonical} (The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this {{title}}.)
*/
public List<CanonicalType> getInstantiatesCanonical();
public List<CanonicalType> getInstantiatesCanonical() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Request setInstantiatesCanonical(List<CanonicalType> theInstantiatesCanonical);
public Request setInstantiatesCanonical(List<CanonicalType> theInstantiatesCanonical) throws FHIRException;
/**
* @return whether there is more than zero values for instantiatesCanonical
*/
public boolean hasInstantiatesCanonical();
/**
* @return minimum allowed cardinality for instantiatesCanonical. Note that with patterns, this may be different for the underlying resource
*/
public int getInstantiatesCanonicalMin();
/**
* @return maximum allowed cardinality for instantiatesCanonical. Note that with patterns, this may be different for the underlying resource
*/
public int getInstantiatesCanonicalMax();
/**
* @return {@link #instantiatesCanonical} (The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this {{title}}.)
*/
public CanonicalType addInstantiatesCanonicalElement();
public CanonicalType addInstantiatesCanonicalElement() throws FHIRException;
/**
* @param value {@link #instantiatesCanonical} (The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this {{title}}.)
*/
public Request addInstantiatesCanonical(String value);
public Request addInstantiatesCanonical(String value) throws FHIRException;
/**
* @param value {@link #instantiatesCanonical} (The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this {{title}}.)
*/
public boolean hasInstantiatesCanonical(String value) ;
public boolean hasInstantiatesCanonical(String value) throws FHIRException;
/**
* @return {@link #instantiatesUri} (The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this {{title}}.)
*/
public List<UriType> getInstantiatesUri();
public List<UriType> getInstantiatesUri() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Request setInstantiatesUri(List<UriType> theInstantiatesUri);
public Request setInstantiatesUri(List<UriType> theInstantiatesUri) throws FHIRException;
/**
* @return whether there is more than zero values for instantiatesUri
*/
public boolean hasInstantiatesUri();
/**
* @return minimum allowed cardinality for instantiatesUri. Note that with patterns, this may be different for the underlying resource
*/
public int getInstantiatesUriMin();
/**
* @return maximum allowed cardinality for instantiatesUri. Note that with patterns, this may be different for the underlying resource
*/
public int getInstantiatesUriMax();
/**
* @return {@link #instantiatesUri} (The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this {{title}}.)
*/
public UriType addInstantiatesUriElement();
public UriType addInstantiatesUriElement() throws FHIRException;
/**
* @param value {@link #instantiatesUri} (The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this {{title}}.)
*/
public Request addInstantiatesUri(String value);
public Request addInstantiatesUri(String value) throws FHIRException;
/**
* @param value {@link #instantiatesUri} (The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this {{title}}.)
*/
public boolean hasInstantiatesUri(String value) ;
public boolean hasInstantiatesUri(String value) throws FHIRException;
/**
* @return {@link #basedOn} (A plan, proposal or order that is fulfilled in whole or in part by this {{title}}.)
*/
public List<Reference> getBasedOn();
public List<Reference> getBasedOn() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Request setBasedOn(List<Reference> theBasedOn);
public Request setBasedOn(List<Reference> theBasedOn) throws FHIRException;
/**
* @return whether there is more than zero values for basedOn
*/
public boolean hasBasedOn();
/**
* @return minimum allowed cardinality for basedOn. Note that with patterns, this may be different for the underlying resource
*/
public int getBasedOnMin();
/**
* @return maximum allowed cardinality for basedOn. Note that with patterns, this may be different for the underlying resource
*/
public int getBasedOnMax();
public Reference addBasedOn();
public Reference addBasedOn() throws FHIRException;
public Request addBasedOn(Reference t);
public Request addBasedOn(Reference t) throws FHIRException;
/**
* @return The first repetition of repeating field {@link #basedOn}, creating it if it does not already exist
*/
public Reference getBasedOnFirstRep() ;
public Reference getBasedOnFirstRep() throws FHIRException;
/**
* @return {@link #replaces} (Completed or terminated request(s) whose function is taken by this new {{title}}.)
*/
public List<Reference> getReplaces();
public List<Reference> getReplaces() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Request setReplaces(List<Reference> theReplaces);
public Request setReplaces(List<Reference> theReplaces) throws FHIRException;
/**
* @return whether there is more than zero values for replaces
*/
public boolean hasReplaces();
/**
* @return minimum allowed cardinality for replaces. Note that with patterns, this may be different for the underlying resource
*/
public int getReplacesMin();
/**
* @return maximum allowed cardinality for replaces. Note that with patterns, this may be different for the underlying resource
*/
public int getReplacesMax();
public Reference addReplaces();
public Reference addReplaces() throws FHIRException;
public Request addReplaces(Reference t);
public Request addReplaces(Reference t) throws FHIRException;
/**
* @return The first repetition of repeating field {@link #replaces}, creating it if it does not already exist
*/
public Reference getReplacesFirstRep() ;
public Reference getReplacesFirstRep() throws FHIRException;
/**
* @return {@link #groupIdentifier} (A shared identifier common to all requests that were authorized more or less simultaneously by a single author, representing the identifier of the requisition, prescription or similar form.)
*/
public Identifier getGroupIdentifier();
public Identifier getGroupIdentifier() throws FHIRException ;
/**
* @return whether there is more than zero values for groupIdentifier
*/
public boolean hasGroupIdentifier();
/**
* @return minimum allowed cardinality for groupIdentifier. Note that with patterns, this may be different for the underlying resource
*/
public int getGroupIdentifierMin();
/**
* @return maximum allowed cardinality for groupIdentifier. Note that with patterns, this may be different for the underlying resource
*/
public int getGroupIdentifierMax();
/**
* @param value {@link #groupIdentifier} (A shared identifier common to all requests that were authorized more or less simultaneously by a single author, representing the identifier of the requisition, prescription or similar form.)
*/
public Request setGroupIdentifier(Identifier value);
public Request setGroupIdentifier(Identifier value) throws FHIRException;
/**
* @return {@link #status} (The current state of the {{title}}.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
*/
public Enumeration<RequestStatus> getStatusElement();
public boolean hasStatusElement();
public Enumeration<RequestStatus> getStatusElement() throws FHIRException;
/**
* @return whether there is more than zero values for status
*/
public boolean hasStatus();
/**
* @return minimum allowed cardinality for status. Note that with patterns, this may be different for the underlying resource
*/
public int getStatusMin() throws FHIRException;
/**
* @return maximum allowed cardinality for status. Note that with patterns, this may be different for the underlying resource
*/
public int getStatusMax() throws FHIRException;
public boolean hasStatusElement();
/**
* @param value {@link #status} (The current state of the {{title}}.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
*/
public Request setStatusElement(Enumeration<RequestStatus> value) ;
public Request setStatusElement(Enumeration<RequestStatus> value) throws FHIRException;
/**
* @return The current state of the {{title}}.
*/
public RequestStatus getStatus();
public RequestStatus getStatus() throws FHIRException;
/**
* @param value The current state of the {{title}}.
*/
public Request setStatus(RequestStatus value);
public Request setStatus(RequestStatus value) throws FHIRException;
/**
* @return {@link #statusReason} (Captures the reason for the current state of the {{title}}.)
*/
public CodeableConcept getStatusReason();
public CodeableConcept getStatusReason() throws FHIRException ;
/**
* @return whether there is more than zero values for statusReason
*/
public boolean hasStatusReason();
/**
* @return minimum allowed cardinality for statusReason. Note that with patterns, this may be different for the underlying resource
*/
public int getStatusReasonMin();
/**
* @return maximum allowed cardinality for statusReason. Note that with patterns, this may be different for the underlying resource
*/
public int getStatusReasonMax();
/**
* @param value {@link #statusReason} (Captures the reason for the current state of the {{title}}.)
*/
public Request setStatusReason(CodeableConcept value);
public Request setStatusReason(CodeableConcept value) throws FHIRException;
/**
* @return {@link #intent} (Indicates the level of authority/intentionality associated with the {{title}} and where the request fits into the workflow chain.). This is the underlying object with id, value and extensions. The accessor "getIntent" gives direct access to the value
*/
public Enumeration<RequestIntent> getIntentElement();
public boolean hasIntentElement();
public Enumeration<RequestIntent> getIntentElement() throws FHIRException;
/**
* @return whether there is more than zero values for intent
*/
public boolean hasIntent();
/**
* @return minimum allowed cardinality for intent. Note that with patterns, this may be different for the underlying resource
*/
public int getIntentMin() throws FHIRException;
/**
* @return maximum allowed cardinality for intent. Note that with patterns, this may be different for the underlying resource
*/
public int getIntentMax() throws FHIRException;
public boolean hasIntentElement();
/**
* @param value {@link #intent} (Indicates the level of authority/intentionality associated with the {{title}} and where the request fits into the workflow chain.). This is the underlying object with id, value and extensions. The accessor "getIntent" gives direct access to the value
*/
public Request setIntentElement(Enumeration<RequestIntent> value) ;
public Request setIntentElement(Enumeration<RequestIntent> value) throws FHIRException;
/**
* @return Indicates the level of authority/intentionality associated with the {{title}} and where the request fits into the workflow chain.
*/
public RequestIntent getIntent();
public RequestIntent getIntent() throws FHIRException;
/**
* @param value Indicates the level of authority/intentionality associated with the {{title}} and where the request fits into the workflow chain.
*/
public Request setIntent(RequestIntent value);
public Request setIntent(RequestIntent value) throws FHIRException;
/**
* @return {@link #priority} (Indicates how quickly the {{title}} should be addressed with respect to other requests.). This is the underlying object with id, value and extensions. The accessor "getPriority" gives direct access to the value
*/
public Enumeration<RequestPriority> getPriorityElement();
public boolean hasPriorityElement();
public Enumeration<RequestPriority> getPriorityElement() throws FHIRException;
/**
* @return whether there is more than zero values for priority
*/
public boolean hasPriority();
/**
* @return minimum allowed cardinality for priority. Note that with patterns, this may be different for the underlying resource
*/
public int getPriorityMin() throws FHIRException;
/**
* @return maximum allowed cardinality for priority. Note that with patterns, this may be different for the underlying resource
*/
public int getPriorityMax() throws FHIRException;
public boolean hasPriorityElement();
/**
* @param value {@link #priority} (Indicates how quickly the {{title}} should be addressed with respect to other requests.). This is the underlying object with id, value and extensions. The accessor "getPriority" gives direct access to the value
*/
public Request setPriorityElement(Enumeration<RequestPriority> value) ;
public Request setPriorityElement(Enumeration<RequestPriority> value) throws FHIRException;
/**
* @return Indicates how quickly the {{title}} should be addressed with respect to other requests.
*/
public RequestPriority getPriority();
public RequestPriority getPriority() throws FHIRException;
/**
* @param value Indicates how quickly the {{title}} should be addressed with respect to other requests.
*/
public Request setPriority(RequestPriority value);
public Request setPriority(RequestPriority value) throws FHIRException;
/**
* @return {@link #doNotPerform} (If true indicates that the {{title}} is asking for the specified action to *not* occur.). This is the underlying object with id, value and extensions. The accessor "getDoNotPerform" gives direct access to the value
*/
public BooleanType getDoNotPerformElement();
public boolean hasDoNotPerformElement();
public BooleanType getDoNotPerformElement() throws FHIRException;
/**
* @return whether there is more than zero values for doNotPerform
*/
public boolean hasDoNotPerform();
/**
* @return minimum allowed cardinality for doNotPerform. Note that with patterns, this may be different for the underlying resource
*/
public int getDoNotPerformMin() throws FHIRException;
/**
* @return maximum allowed cardinality for doNotPerform. Note that with patterns, this may be different for the underlying resource
*/
public int getDoNotPerformMax() throws FHIRException;
public boolean hasDoNotPerformElement();
/**
* @param value {@link #doNotPerform} (If true indicates that the {{title}} is asking for the specified action to *not* occur.). This is the underlying object with id, value and extensions. The accessor "getDoNotPerform" gives direct access to the value
*/
public Request setDoNotPerformElement(BooleanType value) ;
public Request setDoNotPerformElement(BooleanType value) throws FHIRException;
/**
* @return If true indicates that the {{title}} is asking for the specified action to *not* occur.
*/
public boolean getDoNotPerform();
public boolean getDoNotPerform() throws FHIRException;
/**
* @param value If true indicates that the {{title}} is asking for the specified action to *not* occur.
*/
public Request setDoNotPerform(boolean value);
public Request setDoNotPerform(boolean value) throws FHIRException;
/**
* @return {@link #code} (A code that identifies the specific service or action being asked to be done (or not done).)
*/
public CodeableConcept getCode();
public CodeableConcept getCode() throws FHIRException ;
/**
* @return whether there is more than zero values for code
*/
public boolean hasCode();
/**
* @return minimum allowed cardinality for code. Note that with patterns, this may be different for the underlying resource
*/
public int getCodeMin();
/**
* @return maximum allowed cardinality for code. Note that with patterns, this may be different for the underlying resource
*/
public int getCodeMax();
/**
* @param value {@link #code} (A code that identifies the specific service or action being asked to be done (or not done).)
*/
public Request setCode(CodeableConcept value);
public Request setCode(CodeableConcept value) throws FHIRException;
/**
* @return {@link #subject} (The individual or set of individuals the action is to be performed/not performed on or for.)
*/
public Reference getSubject();
public Reference getSubject() throws FHIRException ;
/**
* @return whether there is more than zero values for subject
*/
public boolean hasSubject();
/**
* @return minimum allowed cardinality for subject. Note that with patterns, this may be different for the underlying resource
*/
public int getSubjectMin();
/**
* @return maximum allowed cardinality for subject. Note that with patterns, this may be different for the underlying resource
*/
public int getSubjectMax();
/**
* @param value {@link #subject} (The individual or set of individuals the action is to be performed/not performed on or for.)
*/
public Request setSubject(Reference value);
/**
* @return {@link #subject} The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The individual or set of individuals the action is to be performed/not performed on or for.)
*/
public Resource getSubjectTarget();
/**
* @param value {@link #subject} The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The individual or set of individuals the action is to be performed/not performed on or for.)
*/
public Request setSubjectTarget(Resource value);
public Request setSubject(Reference value) throws FHIRException;
/**
* @return {@link #encounter} (The Encounter during which this {{title}} was created or to which the creation of this record is tightly associated.)
*/
public Reference getEncounter();
public Reference getEncounter() throws FHIRException ;
/**
* @return whether there is more than zero values for encounter
*/
public boolean hasEncounter();
/**
* @return minimum allowed cardinality for encounter. Note that with patterns, this may be different for the underlying resource
*/
public int getEncounterMin();
/**
* @return maximum allowed cardinality for encounter. Note that with patterns, this may be different for the underlying resource
*/
public int getEncounterMax();
/**
* @param value {@link #encounter} (The Encounter during which this {{title}} was created or to which the creation of this record is tightly associated.)
*/
public Request setEncounter(Reference value);
/**
* @return {@link #encounter} The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The Encounter during which this {{title}} was created or to which the creation of this record is tightly associated.)
*/
public Encounter getEncounterTarget();
/**
* @param value {@link #encounter} The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The Encounter during which this {{title}} was created or to which the creation of this record is tightly associated.)
*/
public Request setEncounterTarget(Encounter value);
public Request setEncounter(Reference value) throws FHIRException;
/**
* @return {@link #occurrence} (The date or time(s) at which the activity or service is desired to occur or not occur.)
*/
public Type getOccurrence();
public Type getOccurrence() throws FHIRException ;
/**
* @return {@link #occurrence} (The date or time(s) at which the activity or service is desired to occur or not occur.)
@ -866,63 +986,83 @@ public interface Request extends PatternBase {
public boolean hasOccurrenceTiming();
/**
* @return whether there is more than zero values for occurrence
*/
public boolean hasOccurrence();
/**
* @return minimum allowed cardinality for occurrence. Note that with patterns, this may be different for the underlying resource
*/
public int getOccurrenceMin();
/**
* @return maximum allowed cardinality for occurrence. Note that with patterns, this may be different for the underlying resource
*/
public int getOccurrenceMax();
/**
* @param value {@link #occurrence} (The date or time(s) at which the activity or service is desired to occur or not occur.)
*/
public Request setOccurrence(Type value);
public Request setOccurrence(Type value) throws FHIRException;
/**
* @return {@link #authoredOn} (For draft {{title}}s, indicates the date of initial creation. For requests with other statuses, indicates the date of activation.). This is the underlying object with id, value and extensions. The accessor "getAuthoredOn" gives direct access to the value
*/
public DateTimeType getAuthoredOnElement();
public boolean hasAuthoredOnElement();
public DateTimeType getAuthoredOnElement() throws FHIRException;
/**
* @return whether there is more than zero values for authoredOn
*/
public boolean hasAuthoredOn();
/**
* @return minimum allowed cardinality for authoredOn. Note that with patterns, this may be different for the underlying resource
*/
public int getAuthoredOnMin() throws FHIRException;
/**
* @return maximum allowed cardinality for authoredOn. Note that with patterns, this may be different for the underlying resource
*/
public int getAuthoredOnMax() throws FHIRException;
public boolean hasAuthoredOnElement();
/**
* @param value {@link #authoredOn} (For draft {{title}}s, indicates the date of initial creation. For requests with other statuses, indicates the date of activation.). This is the underlying object with id, value and extensions. The accessor "getAuthoredOn" gives direct access to the value
*/
public Request setAuthoredOnElement(DateTimeType value) ;
public Request setAuthoredOnElement(DateTimeType value) throws FHIRException;
/**
* @return For draft {{title}}s, indicates the date of initial creation. For requests with other statuses, indicates the date of activation.
*/
public Date getAuthoredOn();
public Date getAuthoredOn() throws FHIRException;
/**
* @param value For draft {{title}}s, indicates the date of initial creation. For requests with other statuses, indicates the date of activation.
*/
public Request setAuthoredOn(Date value);
public Request setAuthoredOn(Date value) throws FHIRException;
/**
* @return {@link #requester} (Who initiated the {{request}} and has responsibility for its activation.)
*/
public Reference getRequester();
public Reference getRequester() throws FHIRException ;
/**
* @return whether there is more than zero values for requester
*/
public boolean hasRequester();
/**
* @return minimum allowed cardinality for requester. Note that with patterns, this may be different for the underlying resource
*/
public int getRequesterMin();
/**
* @return maximum allowed cardinality for requester. Note that with patterns, this may be different for the underlying resource
*/
public int getRequesterMax();
/**
* @param value {@link #requester} (Who initiated the {{request}} and has responsibility for its activation.)
*/
public Request setRequester(Reference value);
/**
* @return {@link #requester} The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Who initiated the {{request}} and has responsibility for its activation.)
*/
public Resource getRequesterTarget();
/**
* @param value {@link #requester} The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Who initiated the {{request}} and has responsibility for its activation.)
*/
public Request setRequesterTarget(Resource value);
public Request setRequester(Reference value) throws FHIRException;
/**
* @return {@link #reported} (Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.)
*/
public Type getReported();
public Type getReported() throws FHIRException ;
/**
* @return {@link #reported} (Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.)
@ -938,172 +1078,258 @@ public interface Request extends PatternBase {
public boolean hasReportedReference();
/**
* @return whether there is more than zero values for reported
*/
public boolean hasReported();
/**
* @return minimum allowed cardinality for reported. Note that with patterns, this may be different for the underlying resource
*/
public int getReportedMin();
/**
* @return maximum allowed cardinality for reported. Note that with patterns, this may be different for the underlying resource
*/
public int getReportedMax();
/**
* @param value {@link #reported} (Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.)
*/
public Request setReported(Type value);
public Request setReported(Type value) throws FHIRException;
/**
* @return {@link #performerType} (The type of individual that is desired to act upon/ not act upon the {{request}}.)
*/
public CodeableConcept getPerformerType();
public CodeableConcept getPerformerType() throws FHIRException ;
/**
* @return whether there is more than zero values for performerType
*/
public boolean hasPerformerType();
/**
* @return minimum allowed cardinality for performerType. Note that with patterns, this may be different for the underlying resource
*/
public int getPerformerTypeMin();
/**
* @return maximum allowed cardinality for performerType. Note that with patterns, this may be different for the underlying resource
*/
public int getPerformerTypeMax();
/**
* @param value {@link #performerType} (The type of individual that is desired to act upon/ not act upon the {{request}}.)
*/
public Request setPerformerType(CodeableConcept value);
public Request setPerformerType(CodeableConcept value) throws FHIRException;
/**
* @return {@link #performer} (Indicates who or what is being asked to perform (or not perform) the {{request}}.)
*/
public Reference getPerformer();
public Reference getPerformer() throws FHIRException ;
/**
* @return whether there is more than zero values for performer
*/
public boolean hasPerformer();
/**
* @return minimum allowed cardinality for performer. Note that with patterns, this may be different for the underlying resource
*/
public int getPerformerMin();
/**
* @return maximum allowed cardinality for performer. Note that with patterns, this may be different for the underlying resource
*/
public int getPerformerMax();
/**
* @param value {@link #performer} (Indicates who or what is being asked to perform (or not perform) the {{request}}.)
*/
public Request setPerformer(Reference value);
/**
* @return {@link #performer} The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Indicates who or what is being asked to perform (or not perform) the {{request}}.)
*/
public Resource getPerformerTarget();
/**
* @param value {@link #performer} The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Indicates who or what is being asked to perform (or not perform) the {{request}}.)
*/
public Request setPerformerTarget(Resource value);
public Request setPerformer(Reference value) throws FHIRException;
/**
* @return {@link #reasonCode} (Describes why the request is being made in coded or textual form.)
*/
public List<CodeableConcept> getReasonCode();
public List<CodeableConcept> getReasonCode() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Request setReasonCode(List<CodeableConcept> theReasonCode);
public Request setReasonCode(List<CodeableConcept> theReasonCode) throws FHIRException;
/**
* @return whether there is more than zero values for reasonCode
*/
public boolean hasReasonCode();
/**
* @return minimum allowed cardinality for reasonCode. Note that with patterns, this may be different for the underlying resource
*/
public int getReasonCodeMin();
/**
* @return maximum allowed cardinality for reasonCode. Note that with patterns, this may be different for the underlying resource
*/
public int getReasonCodeMax();
public CodeableConcept addReasonCode();
public CodeableConcept addReasonCode() throws FHIRException;
public Request addReasonCode(CodeableConcept t);
public Request addReasonCode(CodeableConcept t) throws FHIRException;
/**
* @return The first repetition of repeating field {@link #reasonCode}, creating it if it does not already exist
*/
public CodeableConcept getReasonCodeFirstRep() ;
public CodeableConcept getReasonCodeFirstRep() throws FHIRException;
/**
* @return {@link #reasonReference} (Indicates another resource whose existence justifies this request.)
*/
public List<Reference> getReasonReference();
public List<Reference> getReasonReference() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Request setReasonReference(List<Reference> theReasonReference);
public Request setReasonReference(List<Reference> theReasonReference) throws FHIRException;
/**
* @return whether there is more than zero values for reasonReference
*/
public boolean hasReasonReference();
/**
* @return minimum allowed cardinality for reasonReference. Note that with patterns, this may be different for the underlying resource
*/
public int getReasonReferenceMin();
/**
* @return maximum allowed cardinality for reasonReference. Note that with patterns, this may be different for the underlying resource
*/
public int getReasonReferenceMax();
public Reference addReasonReference();
public Reference addReasonReference() throws FHIRException;
public Request addReasonReference(Reference t);
public Request addReasonReference(Reference t) throws FHIRException;
/**
* @return The first repetition of repeating field {@link #reasonReference}, creating it if it does not already exist
*/
public Reference getReasonReferenceFirstRep() ;
public Reference getReasonReferenceFirstRep() throws FHIRException;
/**
* @return {@link #insurance} (Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be relevant in delivering the requested service.)
*/
public List<Reference> getInsurance();
public List<Reference> getInsurance() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Request setInsurance(List<Reference> theInsurance);
public Request setInsurance(List<Reference> theInsurance) throws FHIRException;
/**
* @return whether there is more than zero values for insurance
*/
public boolean hasInsurance();
/**
* @return minimum allowed cardinality for insurance. Note that with patterns, this may be different for the underlying resource
*/
public int getInsuranceMin();
/**
* @return maximum allowed cardinality for insurance. Note that with patterns, this may be different for the underlying resource
*/
public int getInsuranceMax();
public Reference addInsurance();
public Reference addInsurance() throws FHIRException;
public Request addInsurance(Reference t);
public Request addInsurance(Reference t) throws FHIRException;
/**
* @return The first repetition of repeating field {@link #insurance}, creating it if it does not already exist
*/
public Reference getInsuranceFirstRep() ;
public Reference getInsuranceFirstRep() throws FHIRException;
/**
* @return {@link #supportingInfo} (Information that may be needed by/relevant to the performer in their execution of this {{title}}.)
*/
public List<Reference> getSupportingInfo();
public List<Reference> getSupportingInfo() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Request setSupportingInfo(List<Reference> theSupportingInfo);
public Request setSupportingInfo(List<Reference> theSupportingInfo) throws FHIRException;
/**
* @return whether there is more than zero values for supportingInfo
*/
public boolean hasSupportingInfo();
/**
* @return minimum allowed cardinality for supportingInfo. Note that with patterns, this may be different for the underlying resource
*/
public int getSupportingInfoMin();
/**
* @return maximum allowed cardinality for supportingInfo. Note that with patterns, this may be different for the underlying resource
*/
public int getSupportingInfoMax();
public Reference addSupportingInfo();
public Reference addSupportingInfo() throws FHIRException;
public Request addSupportingInfo(Reference t);
public Request addSupportingInfo(Reference t) throws FHIRException;
/**
* @return The first repetition of repeating field {@link #supportingInfo}, creating it if it does not already exist
*/
public Reference getSupportingInfoFirstRep() ;
public Reference getSupportingInfoFirstRep() throws FHIRException;
/**
* @return {@link #note} (Comments made about the {{title}} by the requester, performer, subject or other participants.)
*/
public List<Annotation> getNote();
public List<Annotation> getNote() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Request setNote(List<Annotation> theNote);
public Request setNote(List<Annotation> theNote) throws FHIRException;
/**
* @return whether there is more than zero values for note
*/
public boolean hasNote();
/**
* @return minimum allowed cardinality for note. Note that with patterns, this may be different for the underlying resource
*/
public int getNoteMin();
/**
* @return maximum allowed cardinality for note. Note that with patterns, this may be different for the underlying resource
*/
public int getNoteMax();
public Annotation addNote();
public Annotation addNote() throws FHIRException;
public Request addNote(Annotation t);
public Request addNote(Annotation t) throws FHIRException;
/**
* @return The first repetition of repeating field {@link #note}, creating it if it does not already exist
*/
public Annotation getNoteFirstRep() ;
public Annotation getNoteFirstRep() throws FHIRException;
/**
* @return {@link #relevantHistory} (Links to Provenance records for past versions of this resource or fulfilling request or event resources that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the resource.)
*/
public List<Reference> getRelevantHistory();
public List<Reference> getRelevantHistory() throws FHIRException;
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Request setRelevantHistory(List<Reference> theRelevantHistory);
public Request setRelevantHistory(List<Reference> theRelevantHistory) throws FHIRException;
/**
* @return whether there is more than zero values for relevantHistory
*/
public boolean hasRelevantHistory();
/**
* @return minimum allowed cardinality for relevantHistory. Note that with patterns, this may be different for the underlying resource
*/
public int getRelevantHistoryMin();
/**
* @return maximum allowed cardinality for relevantHistory. Note that with patterns, this may be different for the underlying resource
*/
public int getRelevantHistoryMax();
public Reference addRelevantHistory();
public Reference addRelevantHistory() throws FHIRException;
public Request addRelevantHistory(Reference t);
public Request addRelevantHistory(Reference t) throws FHIRException;
/**
* @return The first repetition of repeating field {@link #relevantHistory}, creating it if it does not already exist
*/
public Reference getRelevantHistoryFirstRep() ;
public Reference getRelevantHistoryFirstRep() throws FHIRException;
public String fhirType();

View File

@ -246,18 +246,18 @@ public class PackageCacheManager {
public void recordMap(String url, String id) throws IOException {
if (!(new File(Utilities.path(cacheFolder, "packages.ini")).exists()))
throw new Error("what?");
throw new Error("File "+Utilities.path(cacheFolder, "packages.ini")+" not found #1");
IniFile ini = new IniFile(Utilities.path(cacheFolder, "packages.ini"));
ini.setStringProperty("urls", id, url, null);
if (!CACHE_VERSION.equals(ini.getStringProperty("cache", "version"))) {
throw new Error("what?");
throw new Error("File "+Utilities.path(cacheFolder, "packages.ini")+" cache version mismatch: expected '"+CACHE_VERSION+"', found '"+ini.getStringProperty("cache", "version")+"'");
}
if (!(new File(Utilities.path(cacheFolder, "packages.ini")).exists()))
throw new Error("what?");
throw new Error("File "+Utilities.path(cacheFolder, "packages.ini")+" not found #2");
ini.save();
if (!(new File(Utilities.path(cacheFolder, "packages.ini")).exists()))
throw new Error("what?");
throw new Error("File "+Utilities.path(cacheFolder, "packages.ini")+" not found #3");
}
public String getPackageUrl(String id) throws IOException {

View File

@ -0,0 +1,10 @@
<Parameters xmlns="http://hl7.org/fhir">
<parameter> <!-- 1 -->
<name value="paramPeriod"/>
<valuePeriod>
<start value="2019-04-25T16:47:00Z"/>
<end value="2019-04-25"/>
</valuePeriod>
</parameter>
</Parameters>