Sub resource blocks issue fixed
This commit is contained in:
parent
c8f02d5896
commit
352db3cc75
|
@ -5,6 +5,7 @@ import java.util.Map;
|
|||
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.parser.XmlParser;
|
||||
|
||||
public class FhirContext {
|
||||
|
||||
|
@ -35,4 +36,8 @@ public class FhirContext {
|
|||
return (RuntimeResourceDefinition) myClassToElementDefinition.get(theResource.getClass());
|
||||
}
|
||||
|
||||
public XmlParser newXmlParser() {
|
||||
return new XmlParser(this);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ public class RuntimeChildResourceBlockDefinition extends BaseRuntimeDeclaredChil
|
|||
|
||||
@Override
|
||||
public RuntimeResourceBlockDefinition getChildByName(String theName) {
|
||||
if (!getElementName().equals(theName)) {
|
||||
if (getElementName().equals(theName)) {
|
||||
return myElementDef;
|
||||
}else {
|
||||
return null;
|
||||
|
|
|
@ -12,7 +12,8 @@ import java.lang.annotation.Target;
|
|||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target(value= {ElementType.CONSTRUCTOR})
|
||||
public @interface SimpleSetter {
|
||||
// nothing for now
|
||||
|
||||
String suffix() default "";
|
||||
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
|
|
|
@ -59,19 +59,24 @@ public class AddressDt extends BaseCompositeDatatype {
|
|||
private PeriodDt myPeriod;
|
||||
|
||||
/**
|
||||
* Gets the value(s) for use (home | work | temp | old - purpose of this address)
|
||||
* Gets the value(s) for <b>use</b> (home | work | temp | old - purpose of this address).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The purpose of this address
|
||||
* </p>
|
||||
*/
|
||||
public CodeDt getUse() {
|
||||
public CodeDt getUse() {
|
||||
if (myUse == null) {
|
||||
myUse = new CodeDt();
|
||||
}
|
||||
return myUse;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for use (home | work | temp | old - purpose of this address)
|
||||
* Sets the value(s) for <b>use</b> (home | work | temp | old - purpose of this address)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -82,20 +87,26 @@ public class AddressDt extends BaseCompositeDatatype {
|
|||
myUse = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for text (Text representation of the address)
|
||||
* Gets the value(s) for <b>text</b> (Text representation of the address).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A full text representation of the address
|
||||
* </p>
|
||||
*/
|
||||
public StringDt getText() {
|
||||
public StringDt getText() {
|
||||
if (myText == null) {
|
||||
myText = new StringDt();
|
||||
}
|
||||
return myText;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for text (Text representation of the address)
|
||||
* Sets the value(s) for <b>text</b> (Text representation of the address)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -107,7 +118,21 @@ public class AddressDt extends BaseCompositeDatatype {
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for line (Street name, number, direction & P.O. Box etc )
|
||||
* Sets the value(s) for <b>text</b> (Text representation of the address)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A full text representation of the address
|
||||
* </p>
|
||||
*/
|
||||
public void setText( String theString) {
|
||||
myText = new StringDt(theString);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>line</b> (Street name, number, direction & P.O. Box etc ).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -115,12 +140,15 @@ public class AddressDt extends BaseCompositeDatatype {
|
|||
P.O. Box number, delivery hints, and similar address information
|
||||
* </p>
|
||||
*/
|
||||
public List<StringDt> getLine() {
|
||||
public List<StringDt> getLine() {
|
||||
if (myLine == null) {
|
||||
myLine = new ArrayList<StringDt>();
|
||||
}
|
||||
return myLine;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for line (Street name, number, direction & P.O. Box etc )
|
||||
* Sets the value(s) for <b>line</b> (Street name, number, direction & P.O. Box etc )
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -133,19 +161,40 @@ P.O. Box number, delivery hints, and similar address information
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for city (Name of city, town etc.)
|
||||
* Sets the value(s) for <b>line</b> (Street name, number, direction & P.O. Box etc )
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* This component contains the house number, apartment number, street name, street direction,
|
||||
P.O. Box number, delivery hints, and similar address information
|
||||
* </p>
|
||||
*/
|
||||
public void addLine( String theString) {
|
||||
if (myLine == null) {
|
||||
myLine = new ArrayList<StringDt>();
|
||||
}
|
||||
myLine.add(new StringDt(theString));
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>city</b> (Name of city, town etc.).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The name of the city, town, village or other community or delivery center.
|
||||
* </p>
|
||||
*/
|
||||
public StringDt getCity() {
|
||||
public StringDt getCity() {
|
||||
if (myCity == null) {
|
||||
myCity = new StringDt();
|
||||
}
|
||||
return myCity;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for city (Name of city, town etc.)
|
||||
* Sets the value(s) for <b>city</b> (Name of city, town etc.)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -157,19 +206,36 @@ P.O. Box number, delivery hints, and similar address information
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for state (Sub-unit of country (abreviations ok))
|
||||
* Sets the value(s) for <b>city</b> (Name of city, town etc.)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The name of the city, town, village or other community or delivery center.
|
||||
* </p>
|
||||
*/
|
||||
public void setCity( String theString) {
|
||||
myCity = new StringDt(theString);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>state</b> (Sub-unit of country (abreviations ok)).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (i.e. US 2 letter state codes).
|
||||
* </p>
|
||||
*/
|
||||
public StringDt getState() {
|
||||
public StringDt getState() {
|
||||
if (myState == null) {
|
||||
myState = new StringDt();
|
||||
}
|
||||
return myState;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for state (Sub-unit of country (abreviations ok))
|
||||
* Sets the value(s) for <b>state</b> (Sub-unit of country (abreviations ok))
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -181,19 +247,36 @@ P.O. Box number, delivery hints, and similar address information
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for zip (Postal code for area)
|
||||
* Sets the value(s) for <b>state</b> (Sub-unit of country (abreviations ok))
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (i.e. US 2 letter state codes).
|
||||
* </p>
|
||||
*/
|
||||
public void setState( String theString) {
|
||||
myState = new StringDt(theString);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>zip</b> (Postal code for area).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A postal code designating a region defined by the postal service.
|
||||
* </p>
|
||||
*/
|
||||
public StringDt getZip() {
|
||||
public StringDt getZip() {
|
||||
if (myZip == null) {
|
||||
myZip = new StringDt();
|
||||
}
|
||||
return myZip;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for zip (Postal code for area)
|
||||
* Sets the value(s) for <b>zip</b> (Postal code for area)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -205,19 +288,36 @@ P.O. Box number, delivery hints, and similar address information
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for country (Country (can be ISO 3166 3 letter code))
|
||||
* Sets the value(s) for <b>zip</b> (Postal code for area)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A postal code designating a region defined by the postal service.
|
||||
* </p>
|
||||
*/
|
||||
public void setZip( String theString) {
|
||||
myZip = new StringDt(theString);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>country</b> (Country (can be ISO 3166 3 letter code)).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Country - a nation as commonly understood or generally accepted
|
||||
* </p>
|
||||
*/
|
||||
public StringDt getCountry() {
|
||||
public StringDt getCountry() {
|
||||
if (myCountry == null) {
|
||||
myCountry = new StringDt();
|
||||
}
|
||||
return myCountry;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for country (Country (can be ISO 3166 3 letter code))
|
||||
* Sets the value(s) for <b>country</b> (Country (can be ISO 3166 3 letter code))
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -229,19 +329,36 @@ P.O. Box number, delivery hints, and similar address information
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for period (Time period when address was/is in use)
|
||||
* Sets the value(s) for <b>country</b> (Country (can be ISO 3166 3 letter code))
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Country - a nation as commonly understood or generally accepted
|
||||
* </p>
|
||||
*/
|
||||
public void setCountry( String theString) {
|
||||
myCountry = new StringDt(theString);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>period</b> (Time period when address was/is in use).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Time period when address was/is in use
|
||||
* </p>
|
||||
*/
|
||||
public PeriodDt getPeriod() {
|
||||
public PeriodDt getPeriod() {
|
||||
if (myPeriod == null) {
|
||||
myPeriod = new PeriodDt();
|
||||
}
|
||||
return myPeriod;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for period (Time period when address was/is in use)
|
||||
* Sets the value(s) for <b>period</b> (Time period when address was/is in use)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -252,6 +369,7 @@ P.O. Box number, delivery hints, and similar address information
|
|||
myPeriod = theValue;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -47,19 +47,24 @@ public class ContactDt extends BaseCompositeDatatype {
|
|||
private PeriodDt myPeriod;
|
||||
|
||||
/**
|
||||
* Gets the value(s) for system (phone | fax | email | url)
|
||||
* Gets the value(s) for <b>system</b> (phone | fax | email | url).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Telecommunications form for contact - what communications system is required to make use of the contact
|
||||
* </p>
|
||||
*/
|
||||
public CodeDt getSystem() {
|
||||
public CodeDt getSystem() {
|
||||
if (mySystem == null) {
|
||||
mySystem = new CodeDt();
|
||||
}
|
||||
return mySystem;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for system (phone | fax | email | url)
|
||||
* Sets the value(s) for <b>system</b> (phone | fax | email | url)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -70,20 +75,26 @@ public class ContactDt extends BaseCompositeDatatype {
|
|||
mySystem = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for value (The actual contact details)
|
||||
* Gets the value(s) for <b>value</b> (The actual contact details).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The actual contact details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).
|
||||
* </p>
|
||||
*/
|
||||
public StringDt getValue() {
|
||||
public StringDt getValue() {
|
||||
if (myValue == null) {
|
||||
myValue = new StringDt();
|
||||
}
|
||||
return myValue;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for value (The actual contact details)
|
||||
* Sets the value(s) for <b>value</b> (The actual contact details)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -95,19 +106,36 @@ public class ContactDt extends BaseCompositeDatatype {
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for use (home | work | temp | old | mobile - purpose of this address)
|
||||
* Sets the value(s) for <b>value</b> (The actual contact details)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The actual contact details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).
|
||||
* </p>
|
||||
*/
|
||||
public void setValue( String theString) {
|
||||
myValue = new StringDt(theString);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>use</b> (home | work | temp | old | mobile - purpose of this address).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Identifies the purpose for the address
|
||||
* </p>
|
||||
*/
|
||||
public CodeDt getUse() {
|
||||
public CodeDt getUse() {
|
||||
if (myUse == null) {
|
||||
myUse = new CodeDt();
|
||||
}
|
||||
return myUse;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for use (home | work | temp | old | mobile - purpose of this address)
|
||||
* Sets the value(s) for <b>use</b> (home | work | temp | old | mobile - purpose of this address)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -118,20 +146,26 @@ public class ContactDt extends BaseCompositeDatatype {
|
|||
myUse = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for period (Time period when the contact was/is in use)
|
||||
* Gets the value(s) for <b>period</b> (Time period when the contact was/is in use).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Time period when the contact was/is in use
|
||||
* </p>
|
||||
*/
|
||||
public PeriodDt getPeriod() {
|
||||
public PeriodDt getPeriod() {
|
||||
if (myPeriod == null) {
|
||||
myPeriod = new PeriodDt();
|
||||
}
|
||||
return myPeriod;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for period (Time period when the contact was/is in use)
|
||||
* Sets the value(s) for <b>period</b> (Time period when the contact was/is in use)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -142,6 +176,7 @@ public class ContactDt extends BaseCompositeDatatype {
|
|||
myPeriod = theValue;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -56,19 +56,24 @@ public class HumanNameDt extends BaseCompositeDatatype {
|
|||
private PeriodDt myPeriod;
|
||||
|
||||
/**
|
||||
* Gets the value(s) for use (usual | official | temp | nickname | anonymous | old | maiden)
|
||||
* Gets the value(s) for <b>use</b> (usual | official | temp | nickname | anonymous | old | maiden).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Identifies the purpose for this name
|
||||
* </p>
|
||||
*/
|
||||
public CodeDt getUse() {
|
||||
public CodeDt getUse() {
|
||||
if (myUse == null) {
|
||||
myUse = new CodeDt();
|
||||
}
|
||||
return myUse;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for use (usual | official | temp | nickname | anonymous | old | maiden)
|
||||
* Sets the value(s) for <b>use</b> (usual | official | temp | nickname | anonymous | old | maiden)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -79,20 +84,26 @@ public class HumanNameDt extends BaseCompositeDatatype {
|
|||
myUse = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for text (Text representation of the full name)
|
||||
* Gets the value(s) for <b>text</b> (Text representation of the full name).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A full text representation of the name
|
||||
* </p>
|
||||
*/
|
||||
public StringDt getText() {
|
||||
public StringDt getText() {
|
||||
if (myText == null) {
|
||||
myText = new StringDt();
|
||||
}
|
||||
return myText;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for text (Text representation of the full name)
|
||||
* Sets the value(s) for <b>text</b> (Text representation of the full name)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -104,19 +115,36 @@ public class HumanNameDt extends BaseCompositeDatatype {
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for family (Family name (often called 'Surname'))
|
||||
* Sets the value(s) for <b>text</b> (Text representation of the full name)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A full text representation of the name
|
||||
* </p>
|
||||
*/
|
||||
public void setText( String theString) {
|
||||
myText = new StringDt(theString);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>family</b> (Family name (often called 'Surname')).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father.
|
||||
* </p>
|
||||
*/
|
||||
public List<StringDt> getFamily() {
|
||||
public List<StringDt> getFamily() {
|
||||
if (myFamily == null) {
|
||||
myFamily = new ArrayList<StringDt>();
|
||||
}
|
||||
return myFamily;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for family (Family name (often called 'Surname'))
|
||||
* Sets the value(s) for <b>family</b> (Family name (often called 'Surname'))
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -128,19 +156,39 @@ public class HumanNameDt extends BaseCompositeDatatype {
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for given (Given names (not always 'first'). Includes middle names)
|
||||
* Sets the value(s) for <b>family</b> (Family name (often called 'Surname'))
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father.
|
||||
* </p>
|
||||
*/
|
||||
public void addFamily( String theString) {
|
||||
if (myFamily == null) {
|
||||
myFamily = new ArrayList<StringDt>();
|
||||
}
|
||||
myFamily.add(new StringDt(theString));
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>given</b> (Given names (not always 'first'). Includes middle names).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Given name
|
||||
* </p>
|
||||
*/
|
||||
public List<StringDt> getGiven() {
|
||||
public List<StringDt> getGiven() {
|
||||
if (myGiven == null) {
|
||||
myGiven = new ArrayList<StringDt>();
|
||||
}
|
||||
return myGiven;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for given (Given names (not always 'first'). Includes middle names)
|
||||
* Sets the value(s) for <b>given</b> (Given names (not always 'first'). Includes middle names)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -152,19 +200,39 @@ public class HumanNameDt extends BaseCompositeDatatype {
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for prefix (Parts that come before the name)
|
||||
* Sets the value(s) for <b>given</b> (Given names (not always 'first'). Includes middle names)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Given name
|
||||
* </p>
|
||||
*/
|
||||
public void addGiven( String theString) {
|
||||
if (myGiven == null) {
|
||||
myGiven = new ArrayList<StringDt>();
|
||||
}
|
||||
myGiven.add(new StringDt(theString));
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>prefix</b> (Parts that come before the name).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name
|
||||
* </p>
|
||||
*/
|
||||
public List<StringDt> getPrefix() {
|
||||
public List<StringDt> getPrefix() {
|
||||
if (myPrefix == null) {
|
||||
myPrefix = new ArrayList<StringDt>();
|
||||
}
|
||||
return myPrefix;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for prefix (Parts that come before the name)
|
||||
* Sets the value(s) for <b>prefix</b> (Parts that come before the name)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -176,19 +244,39 @@ public class HumanNameDt extends BaseCompositeDatatype {
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for suffix (Parts that come after the name)
|
||||
* Sets the value(s) for <b>prefix</b> (Parts that come before the name)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name
|
||||
* </p>
|
||||
*/
|
||||
public void addPrefix( String theString) {
|
||||
if (myPrefix == null) {
|
||||
myPrefix = new ArrayList<StringDt>();
|
||||
}
|
||||
myPrefix.add(new StringDt(theString));
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>suffix</b> (Parts that come after the name).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name
|
||||
* </p>
|
||||
*/
|
||||
public List<StringDt> getSuffix() {
|
||||
public List<StringDt> getSuffix() {
|
||||
if (mySuffix == null) {
|
||||
mySuffix = new ArrayList<StringDt>();
|
||||
}
|
||||
return mySuffix;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for suffix (Parts that come after the name)
|
||||
* Sets the value(s) for <b>suffix</b> (Parts that come after the name)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -200,19 +288,39 @@ public class HumanNameDt extends BaseCompositeDatatype {
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for period (Time period when name was/is in use)
|
||||
* Sets the value(s) for <b>suffix</b> (Parts that come after the name)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name
|
||||
* </p>
|
||||
*/
|
||||
public void addSuffix( String theString) {
|
||||
if (mySuffix == null) {
|
||||
mySuffix = new ArrayList<StringDt>();
|
||||
}
|
||||
mySuffix.add(new StringDt(theString));
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>period</b> (Time period when name was/is in use).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Indicates the period of time when this name was valid for the named person.
|
||||
* </p>
|
||||
*/
|
||||
public PeriodDt getPeriod() {
|
||||
public PeriodDt getPeriod() {
|
||||
if (myPeriod == null) {
|
||||
myPeriod = new PeriodDt();
|
||||
}
|
||||
return myPeriod;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for period (Time period when name was/is in use)
|
||||
* Sets the value(s) for <b>period</b> (Time period when name was/is in use)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -223,6 +331,7 @@ public class HumanNameDt extends BaseCompositeDatatype {
|
|||
myPeriod = theValue;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -41,19 +41,24 @@ public class NarrativeDt extends BaseCompositeDatatype {
|
|||
private XhtmlDt myDiv;
|
||||
|
||||
/**
|
||||
* Gets the value(s) for status (generated | extensions | additional)
|
||||
* Gets the value(s) for <b>status</b> (generated | extensions | additional).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data
|
||||
* </p>
|
||||
*/
|
||||
public CodeDt getStatus() {
|
||||
public CodeDt getStatus() {
|
||||
if (myStatus == null) {
|
||||
myStatus = new CodeDt();
|
||||
}
|
||||
return myStatus;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for status (generated | extensions | additional)
|
||||
* Sets the value(s) for <b>status</b> (generated | extensions | additional)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -64,20 +69,26 @@ public class NarrativeDt extends BaseCompositeDatatype {
|
|||
myStatus = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for div (Limited xhtml content)
|
||||
* Gets the value(s) for <b>div</b> (Limited xhtml content).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The actual narrative content, a stripped down version of XHTML
|
||||
* </p>
|
||||
*/
|
||||
public XhtmlDt getDiv() {
|
||||
public XhtmlDt getDiv() {
|
||||
if (myDiv == null) {
|
||||
myDiv = new XhtmlDt();
|
||||
}
|
||||
return myDiv;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for div (Limited xhtml content)
|
||||
* Sets the value(s) for <b>div</b> (Limited xhtml content)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -88,6 +99,7 @@ public class NarrativeDt extends BaseCompositeDatatype {
|
|||
myDiv = theValue;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -50,19 +50,24 @@ public class QuantityDt extends BaseCompositeDatatype {
|
|||
private CodeDt myCode;
|
||||
|
||||
/**
|
||||
* Gets the value(s) for value (Numerical value (with implicit precision))
|
||||
* Gets the value(s) for <b>value</b> (Numerical value (with implicit precision)).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The value of the measured amount. The value includes an implicit precision in the presentation of the value
|
||||
* </p>
|
||||
*/
|
||||
public DecimalDt getValue() {
|
||||
public DecimalDt getValue() {
|
||||
if (myValue == null) {
|
||||
myValue = new DecimalDt();
|
||||
}
|
||||
return myValue;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for value (Numerical value (with implicit precision))
|
||||
* Sets the value(s) for <b>value</b> (Numerical value (with implicit precision))
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -73,20 +78,26 @@ public class QuantityDt extends BaseCompositeDatatype {
|
|||
myValue = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for comparator (< | <= | >= | > - how to understand the value)
|
||||
* Gets the value(s) for <b>comparator</b> (< | <= | >= | > - how to understand the value).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues. E.g. if the comparator is "<" , then the real value is < stated value
|
||||
* </p>
|
||||
*/
|
||||
public CodeDt getComparator() {
|
||||
public CodeDt getComparator() {
|
||||
if (myComparator == null) {
|
||||
myComparator = new CodeDt();
|
||||
}
|
||||
return myComparator;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for comparator (< | <= | >= | > - how to understand the value)
|
||||
* Sets the value(s) for <b>comparator</b> (< | <= | >= | > - how to understand the value)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -97,20 +108,26 @@ public class QuantityDt extends BaseCompositeDatatype {
|
|||
myComparator = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for units (Unit representation)
|
||||
* Gets the value(s) for <b>units</b> (Unit representation).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A human-readable form of the units
|
||||
* </p>
|
||||
*/
|
||||
public StringDt getUnits() {
|
||||
public StringDt getUnits() {
|
||||
if (myUnits == null) {
|
||||
myUnits = new StringDt();
|
||||
}
|
||||
return myUnits;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for units (Unit representation)
|
||||
* Sets the value(s) for <b>units</b> (Unit representation)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -122,19 +139,36 @@ public class QuantityDt extends BaseCompositeDatatype {
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for system (System that defines coded unit form)
|
||||
* Sets the value(s) for <b>units</b> (Unit representation)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A human-readable form of the units
|
||||
* </p>
|
||||
*/
|
||||
public void setUnits( String theString) {
|
||||
myUnits = new StringDt(theString);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>system</b> (System that defines coded unit form).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The identification of the system that provides the coded form of the unit
|
||||
* </p>
|
||||
*/
|
||||
public UriDt getSystem() {
|
||||
public UriDt getSystem() {
|
||||
if (mySystem == null) {
|
||||
mySystem = new UriDt();
|
||||
}
|
||||
return mySystem;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for system (System that defines coded unit form)
|
||||
* Sets the value(s) for <b>system</b> (System that defines coded unit form)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -145,20 +179,26 @@ public class QuantityDt extends BaseCompositeDatatype {
|
|||
mySystem = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for code (Coded form of the unit)
|
||||
* Gets the value(s) for <b>code</b> (Coded form of the unit).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A computer processable form of the units in some unit representation system
|
||||
* </p>
|
||||
*/
|
||||
public CodeDt getCode() {
|
||||
public CodeDt getCode() {
|
||||
if (myCode == null) {
|
||||
myCode = new CodeDt();
|
||||
}
|
||||
return myCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for code (Coded form of the unit)
|
||||
* Sets the value(s) for <b>code</b> (Coded form of the unit)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -169,6 +209,7 @@ public class QuantityDt extends BaseCompositeDatatype {
|
|||
myCode = theValue;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -84,19 +84,24 @@ public class Device implements IResource {
|
|||
private UriDt myUrl;
|
||||
|
||||
/**
|
||||
* Gets the value(s) for identifier (Instance id from manufacturer, owner and others)
|
||||
* Gets the value(s) for <b>identifier</b> (Instance id from manufacturer, owner and others).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Identifiers assigned to this device by various organizations. The most likely organizations to assign identifiers are the manufacturer and the owner, though regulatory agencies may also assign an identifier. The identifiers identify the particular device, not the kind of device
|
||||
* </p>
|
||||
*/
|
||||
public List<IdentifierDt> getIdentifier() {
|
||||
public List<IdentifierDt> getIdentifier() {
|
||||
if (myIdentifier == null) {
|
||||
myIdentifier = new ArrayList<IdentifierDt>();
|
||||
}
|
||||
return myIdentifier;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for identifier (Instance id from manufacturer, owner and others)
|
||||
* Sets the value(s) for <b>identifier</b> (Instance id from manufacturer, owner and others)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -107,20 +112,26 @@ public class Device implements IResource {
|
|||
myIdentifier = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for type (What kind of device this is)
|
||||
* Gets the value(s) for <b>type</b> (What kind of device this is).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A kind of this device
|
||||
* </p>
|
||||
*/
|
||||
public CodeableConceptDt getType() {
|
||||
public CodeableConceptDt getType() {
|
||||
if (myType == null) {
|
||||
myType = new CodeableConceptDt();
|
||||
}
|
||||
return myType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for type (What kind of device this is)
|
||||
* Sets the value(s) for <b>type</b> (What kind of device this is)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -131,20 +142,26 @@ public class Device implements IResource {
|
|||
myType = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for manufacturer (Name of device manufacturer)
|
||||
* Gets the value(s) for <b>manufacturer</b> (Name of device manufacturer).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A name of the manufacturer
|
||||
* </p>
|
||||
*/
|
||||
public StringDt getManufacturer() {
|
||||
public StringDt getManufacturer() {
|
||||
if (myManufacturer == null) {
|
||||
myManufacturer = new StringDt();
|
||||
}
|
||||
return myManufacturer;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for manufacturer (Name of device manufacturer)
|
||||
* Sets the value(s) for <b>manufacturer</b> (Name of device manufacturer)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -156,19 +173,36 @@ public class Device implements IResource {
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for model (Model id assigned by the manufacturer)
|
||||
* Sets the value(s) for <b>manufacturer</b> (Name of device manufacturer)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A name of the manufacturer
|
||||
* </p>
|
||||
*/
|
||||
public void setManufacturer( String theString) {
|
||||
myManufacturer = new StringDt(theString);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>model</b> (Model id assigned by the manufacturer).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The "model" - an identifier assigned by the manufacturer to identify the product by its type. This number is shared by the all devices sold as the same type
|
||||
* </p>
|
||||
*/
|
||||
public StringDt getModel() {
|
||||
public StringDt getModel() {
|
||||
if (myModel == null) {
|
||||
myModel = new StringDt();
|
||||
}
|
||||
return myModel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for model (Model id assigned by the manufacturer)
|
||||
* Sets the value(s) for <b>model</b> (Model id assigned by the manufacturer)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -180,19 +214,36 @@ public class Device implements IResource {
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for version (Version number (i.e. software))
|
||||
* Sets the value(s) for <b>model</b> (Model id assigned by the manufacturer)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The "model" - an identifier assigned by the manufacturer to identify the product by its type. This number is shared by the all devices sold as the same type
|
||||
* </p>
|
||||
*/
|
||||
public void setModel( String theString) {
|
||||
myModel = new StringDt(theString);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>version</b> (Version number (i.e. software)).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The version of the device, if the device has multiple releases under the same model, or if the device is software or carries firmware
|
||||
* </p>
|
||||
*/
|
||||
public StringDt getVersion() {
|
||||
public StringDt getVersion() {
|
||||
if (myVersion == null) {
|
||||
myVersion = new StringDt();
|
||||
}
|
||||
return myVersion;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for version (Version number (i.e. software))
|
||||
* Sets the value(s) for <b>version</b> (Version number (i.e. software))
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -204,19 +255,36 @@ public class Device implements IResource {
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for expiry (Date of expiry of this device (if applicable))
|
||||
* Sets the value(s) for <b>version</b> (Version number (i.e. software))
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The version of the device, if the device has multiple releases under the same model, or if the device is software or carries firmware
|
||||
* </p>
|
||||
*/
|
||||
public void setVersion( String theString) {
|
||||
myVersion = new StringDt(theString);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>expiry</b> (Date of expiry of this device (if applicable)).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Date of expiry of this device (if applicable)
|
||||
* </p>
|
||||
*/
|
||||
public DateDt getExpiry() {
|
||||
public DateDt getExpiry() {
|
||||
if (myExpiry == null) {
|
||||
myExpiry = new DateDt();
|
||||
}
|
||||
return myExpiry;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for expiry (Date of expiry of this device (if applicable))
|
||||
* Sets the value(s) for <b>expiry</b> (Date of expiry of this device (if applicable))
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -227,20 +295,26 @@ public class Device implements IResource {
|
|||
myExpiry = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for udi (FDA Mandated Unique Device Identifier)
|
||||
* Gets the value(s) for <b>udi</b> (FDA Mandated Unique Device Identifier).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* FDA Mandated Unique Device Identifier. Use the human readable information (the content that the user sees, which is sometimes different to the exact syntax represented in the barcode) - see http://www.fda.gov/MedicalDevices/DeviceRegulationandGuidance/UniqueDeviceIdentification/default.htm
|
||||
* </p>
|
||||
*/
|
||||
public StringDt getUdi() {
|
||||
public StringDt getUdi() {
|
||||
if (myUdi == null) {
|
||||
myUdi = new StringDt();
|
||||
}
|
||||
return myUdi;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for udi (FDA Mandated Unique Device Identifier)
|
||||
* Sets the value(s) for <b>udi</b> (FDA Mandated Unique Device Identifier)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -252,19 +326,36 @@ public class Device implements IResource {
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for lotNumber (Lot number of manufacture)
|
||||
* Sets the value(s) for <b>udi</b> (FDA Mandated Unique Device Identifier)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* FDA Mandated Unique Device Identifier. Use the human readable information (the content that the user sees, which is sometimes different to the exact syntax represented in the barcode) - see http://www.fda.gov/MedicalDevices/DeviceRegulationandGuidance/UniqueDeviceIdentification/default.htm
|
||||
* </p>
|
||||
*/
|
||||
public void setUdi( String theString) {
|
||||
myUdi = new StringDt(theString);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>lotNumber</b> (Lot number of manufacture).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Lot number assigned by the manufacturer
|
||||
* </p>
|
||||
*/
|
||||
public StringDt getLotNumber() {
|
||||
public StringDt getLotNumber() {
|
||||
if (myLotNumber == null) {
|
||||
myLotNumber = new StringDt();
|
||||
}
|
||||
return myLotNumber;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for lotNumber (Lot number of manufacture)
|
||||
* Sets the value(s) for <b>lotNumber</b> (Lot number of manufacture)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -276,19 +367,36 @@ public class Device implements IResource {
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for owner (Organization responsible for device)
|
||||
* Sets the value(s) for <b>lotNumber</b> (Lot number of manufacture)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Lot number assigned by the manufacturer
|
||||
* </p>
|
||||
*/
|
||||
public void setLotNumber( String theString) {
|
||||
myLotNumber = new StringDt(theString);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>owner</b> (Organization responsible for device).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* An organization that is responsible for the provision and ongoing maintenance of the device
|
||||
* </p>
|
||||
*/
|
||||
public ResourceReference getOwner() {
|
||||
public ResourceReference getOwner() {
|
||||
if (myOwner == null) {
|
||||
myOwner = new ResourceReference();
|
||||
}
|
||||
return myOwner;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for owner (Organization responsible for device)
|
||||
* Sets the value(s) for <b>owner</b> (Organization responsible for device)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -299,20 +407,26 @@ public class Device implements IResource {
|
|||
myOwner = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for location (Where the resource is found)
|
||||
* Gets the value(s) for <b>location</b> (Where the resource is found).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The resource may be found in a literal location (i.e. GPS coordinates), a logical place (i.e. "in/with the patient"), or a coded location
|
||||
* </p>
|
||||
*/
|
||||
public ResourceReference getLocation() {
|
||||
public ResourceReference getLocation() {
|
||||
if (myLocation == null) {
|
||||
myLocation = new ResourceReference();
|
||||
}
|
||||
return myLocation;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for location (Where the resource is found)
|
||||
* Sets the value(s) for <b>location</b> (Where the resource is found)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -323,20 +437,26 @@ public class Device implements IResource {
|
|||
myLocation = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for patient (If the resource is affixed to a person)
|
||||
* Gets the value(s) for <b>patient</b> (If the resource is affixed to a person).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Patient information, if the resource is affixed to a person
|
||||
* </p>
|
||||
*/
|
||||
public ResourceReference getPatient() {
|
||||
public ResourceReference getPatient() {
|
||||
if (myPatient == null) {
|
||||
myPatient = new ResourceReference();
|
||||
}
|
||||
return myPatient;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for patient (If the resource is affixed to a person)
|
||||
* Sets the value(s) for <b>patient</b> (If the resource is affixed to a person)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -347,20 +467,26 @@ public class Device implements IResource {
|
|||
myPatient = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for contact (Details for human/organization for support)
|
||||
* Gets the value(s) for <b>contact</b> (Details for human/organization for support).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Contact details for an organization or a particular human that is responsible for the device
|
||||
* </p>
|
||||
*/
|
||||
public List<ContactDt> getContact() {
|
||||
public List<ContactDt> getContact() {
|
||||
if (myContact == null) {
|
||||
myContact = new ArrayList<ContactDt>();
|
||||
}
|
||||
return myContact;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for contact (Details for human/organization for support)
|
||||
* Sets the value(s) for <b>contact</b> (Details for human/organization for support)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -371,20 +497,26 @@ public class Device implements IResource {
|
|||
myContact = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for url (Network address to contact device)
|
||||
* Gets the value(s) for <b>url</b> (Network address to contact device).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A network address on which the device may be contacted directly
|
||||
* </p>
|
||||
*/
|
||||
public UriDt getUrl() {
|
||||
public UriDt getUrl() {
|
||||
if (myUrl == null) {
|
||||
myUrl = new UriDt();
|
||||
}
|
||||
return myUrl;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for url (Network address to contact device)
|
||||
* Sets the value(s) for <b>url</b> (Network address to contact device)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -395,6 +527,7 @@ public class Device implements IResource {
|
|||
myUrl = theValue;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -54,30 +54,37 @@ public class Group implements IResource {
|
|||
private IntegerDt myQuantity;
|
||||
|
||||
@Child(name="characteristic", order=6, min=0, max=Child.MAX_UNLIMITED)
|
||||
private List<IDatatype> myCharacteristic;
|
||||
private List<Characteristic> myCharacteristic;
|
||||
|
||||
@Child(name="member", order=7, min=0, max=Child.MAX_UNLIMITED)
|
||||
@ChildResource(types= {
|
||||
Patient.class,
|
||||
Practitioner.class,
|
||||
Device.class,
|
||||
Medication.class,
|
||||
Substance.class,
|
||||
})
|
||||
private List<ResourceReference> myMember;
|
||||
|
||||
/**
|
||||
* Gets the value(s) for identifier (Unique id)
|
||||
* Gets the value(s) for <b>identifier</b> (Unique id).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A unique business identifier for this group
|
||||
* </p>
|
||||
*/
|
||||
public IdentifierDt getIdentifier() {
|
||||
public IdentifierDt getIdentifier() {
|
||||
if (myIdentifier == null) {
|
||||
myIdentifier = new IdentifierDt();
|
||||
}
|
||||
return myIdentifier;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for identifier (Unique id)
|
||||
* Sets the value(s) for <b>identifier</b> (Unique id)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -88,20 +95,26 @@ public class Group implements IResource {
|
|||
myIdentifier = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for type (person | animal | practitioner | device | medication | substance)
|
||||
* Gets the value(s) for <b>type</b> (person | animal | practitioner | device | medication | substance).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Identifies the broad classification of the kind of resources the group includes
|
||||
* </p>
|
||||
*/
|
||||
public CodeDt getType() {
|
||||
public CodeDt getType() {
|
||||
if (myType == null) {
|
||||
myType = new CodeDt();
|
||||
}
|
||||
return myType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for type (person | animal | practitioner | device | medication | substance)
|
||||
* Sets the value(s) for <b>type</b> (person | animal | practitioner | device | medication | substance)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -112,20 +125,26 @@ public class Group implements IResource {
|
|||
myType = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for actual (Descriptive or actual)
|
||||
* Gets the value(s) for <b>actual</b> (Descriptive or actual).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* If true, indicates that the resource refers to a specific group of real individuals. If false, the group defines a set of intended individuals
|
||||
* </p>
|
||||
*/
|
||||
public BooleanDt getActual() {
|
||||
public BooleanDt getActual() {
|
||||
if (myActual == null) {
|
||||
myActual = new BooleanDt();
|
||||
}
|
||||
return myActual;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for actual (Descriptive or actual)
|
||||
* Sets the value(s) for <b>actual</b> (Descriptive or actual)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -136,20 +155,26 @@ public class Group implements IResource {
|
|||
myActual = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for code (Kind of Group members)
|
||||
* Gets the value(s) for <b>code</b> (Kind of Group members).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Provides a specific type of resource the group includes. E.g. "cow", "syringe", etc.
|
||||
* </p>
|
||||
*/
|
||||
public CodeableConceptDt getCode() {
|
||||
public CodeableConceptDt getCode() {
|
||||
if (myCode == null) {
|
||||
myCode = new CodeableConceptDt();
|
||||
}
|
||||
return myCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for code (Kind of Group members)
|
||||
* Sets the value(s) for <b>code</b> (Kind of Group members)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -160,20 +185,26 @@ public class Group implements IResource {
|
|||
myCode = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for name (Label for Group)
|
||||
* Gets the value(s) for <b>name</b> (Label for Group).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A label assigned to the group for human identification and communication
|
||||
* </p>
|
||||
*/
|
||||
public StringDt getName() {
|
||||
public StringDt getName() {
|
||||
if (myName == null) {
|
||||
myName = new StringDt();
|
||||
}
|
||||
return myName;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for name (Label for Group)
|
||||
* Sets the value(s) for <b>name</b> (Label for Group)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -185,19 +216,36 @@ public class Group implements IResource {
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for quantity (Number of members)
|
||||
* Sets the value(s) for <b>name</b> (Label for Group)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A label assigned to the group for human identification and communication
|
||||
* </p>
|
||||
*/
|
||||
public void setName( String theString) {
|
||||
myName = new StringDt(theString);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>quantity</b> (Number of members).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A count of the number of resource instances that are part of the group
|
||||
* </p>
|
||||
*/
|
||||
public IntegerDt getQuantity() {
|
||||
public IntegerDt getQuantity() {
|
||||
if (myQuantity == null) {
|
||||
myQuantity = new IntegerDt();
|
||||
}
|
||||
return myQuantity;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for quantity (Number of members)
|
||||
* Sets the value(s) for <b>quantity</b> (Number of members)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -208,44 +256,53 @@ public class Group implements IResource {
|
|||
myQuantity = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for characteristic (Trait of group members)
|
||||
* Gets the value(s) for <b>characteristic</b> (Trait of group members).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Identifies the traits shared by members of the group
|
||||
* </p>
|
||||
*/
|
||||
public List<IDatatype> getCharacteristic() {
|
||||
public List<Characteristic> getCharacteristic() {
|
||||
if (myCharacteristic == null) {
|
||||
myCharacteristic = new ArrayList<Characteristic>();
|
||||
}
|
||||
return myCharacteristic;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for characteristic (Trait of group members)
|
||||
* Sets the value(s) for <b>characteristic</b> (Trait of group members)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Identifies the traits shared by members of the group
|
||||
* </p>
|
||||
*/
|
||||
public void setCharacteristic(List<IDatatype> theValue) {
|
||||
public void setCharacteristic(List<Characteristic> theValue) {
|
||||
myCharacteristic = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for member (Who is in group)
|
||||
* Gets the value(s) for <b>member</b> (Who is in group).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Identifies the resource instances that are members of the group.
|
||||
* </p>
|
||||
*/
|
||||
public List<ResourceReference> getMember() {
|
||||
public List<ResourceReference> getMember() {
|
||||
return myMember;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for member (Who is in group)
|
||||
* Sets the value(s) for <b>member</b> (Who is in group)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -256,6 +313,7 @@ public class Group implements IResource {
|
|||
myMember = theValue;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Block class for child element: <b>Group.characteristic</b> (Trait of group members)
|
||||
|
@ -286,30 +344,37 @@ public class Group implements IResource {
|
|||
private IntegerDt myQuantity;
|
||||
|
||||
@Child(name="characteristic", order=6, min=0, max=Child.MAX_UNLIMITED)
|
||||
private List<IDatatype> myCharacteristic;
|
||||
private List<Characteristic> myCharacteristic;
|
||||
|
||||
@Child(name="member", order=7, min=0, max=Child.MAX_UNLIMITED)
|
||||
@ChildResource(types= {
|
||||
Patient.class,
|
||||
Practitioner.class,
|
||||
Device.class,
|
||||
Medication.class,
|
||||
Substance.class,
|
||||
})
|
||||
private List<ResourceReference> myMember;
|
||||
|
||||
/**
|
||||
* Gets the value(s) for identifier (Unique id)
|
||||
* Gets the value(s) for <b>identifier</b> (Unique id).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A unique business identifier for this group
|
||||
* </p>
|
||||
*/
|
||||
public IdentifierDt getIdentifier() {
|
||||
public IdentifierDt getIdentifier() {
|
||||
if (myIdentifier == null) {
|
||||
myIdentifier = new IdentifierDt();
|
||||
}
|
||||
return myIdentifier;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for identifier (Unique id)
|
||||
* Sets the value(s) for <b>identifier</b> (Unique id)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -320,20 +385,26 @@ public class Group implements IResource {
|
|||
myIdentifier = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for type (person | animal | practitioner | device | medication | substance)
|
||||
* Gets the value(s) for <b>type</b> (person | animal | practitioner | device | medication | substance).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Identifies the broad classification of the kind of resources the group includes
|
||||
* </p>
|
||||
*/
|
||||
public CodeDt getType() {
|
||||
public CodeDt getType() {
|
||||
if (myType == null) {
|
||||
myType = new CodeDt();
|
||||
}
|
||||
return myType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for type (person | animal | practitioner | device | medication | substance)
|
||||
* Sets the value(s) for <b>type</b> (person | animal | practitioner | device | medication | substance)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -344,20 +415,26 @@ public class Group implements IResource {
|
|||
myType = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for actual (Descriptive or actual)
|
||||
* Gets the value(s) for <b>actual</b> (Descriptive or actual).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* If true, indicates that the resource refers to a specific group of real individuals. If false, the group defines a set of intended individuals
|
||||
* </p>
|
||||
*/
|
||||
public BooleanDt getActual() {
|
||||
public BooleanDt getActual() {
|
||||
if (myActual == null) {
|
||||
myActual = new BooleanDt();
|
||||
}
|
||||
return myActual;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for actual (Descriptive or actual)
|
||||
* Sets the value(s) for <b>actual</b> (Descriptive or actual)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -368,20 +445,26 @@ public class Group implements IResource {
|
|||
myActual = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for code (Kind of Group members)
|
||||
* Gets the value(s) for <b>code</b> (Kind of Group members).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Provides a specific type of resource the group includes. E.g. "cow", "syringe", etc.
|
||||
* </p>
|
||||
*/
|
||||
public CodeableConceptDt getCode() {
|
||||
public CodeableConceptDt getCode() {
|
||||
if (myCode == null) {
|
||||
myCode = new CodeableConceptDt();
|
||||
}
|
||||
return myCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for code (Kind of Group members)
|
||||
* Sets the value(s) for <b>code</b> (Kind of Group members)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -392,20 +475,26 @@ public class Group implements IResource {
|
|||
myCode = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for name (Label for Group)
|
||||
* Gets the value(s) for <b>name</b> (Label for Group).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A label assigned to the group for human identification and communication
|
||||
* </p>
|
||||
*/
|
||||
public StringDt getName() {
|
||||
public StringDt getName() {
|
||||
if (myName == null) {
|
||||
myName = new StringDt();
|
||||
}
|
||||
return myName;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for name (Label for Group)
|
||||
* Sets the value(s) for <b>name</b> (Label for Group)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -417,19 +506,36 @@ public class Group implements IResource {
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for quantity (Number of members)
|
||||
* Sets the value(s) for <b>name</b> (Label for Group)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A label assigned to the group for human identification and communication
|
||||
* </p>
|
||||
*/
|
||||
public void setName( String theString) {
|
||||
myName = new StringDt(theString);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>quantity</b> (Number of members).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A count of the number of resource instances that are part of the group
|
||||
* </p>
|
||||
*/
|
||||
public IntegerDt getQuantity() {
|
||||
public IntegerDt getQuantity() {
|
||||
if (myQuantity == null) {
|
||||
myQuantity = new IntegerDt();
|
||||
}
|
||||
return myQuantity;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for quantity (Number of members)
|
||||
* Sets the value(s) for <b>quantity</b> (Number of members)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -440,44 +546,53 @@ public class Group implements IResource {
|
|||
myQuantity = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for characteristic (Trait of group members)
|
||||
* Gets the value(s) for <b>characteristic</b> (Trait of group members).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Identifies the traits shared by members of the group
|
||||
* </p>
|
||||
*/
|
||||
public List<IDatatype> getCharacteristic() {
|
||||
public List<Characteristic> getCharacteristic() {
|
||||
if (myCharacteristic == null) {
|
||||
myCharacteristic = new ArrayList<Characteristic>();
|
||||
}
|
||||
return myCharacteristic;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for characteristic (Trait of group members)
|
||||
* Sets the value(s) for <b>characteristic</b> (Trait of group members)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Identifies the traits shared by members of the group
|
||||
* </p>
|
||||
*/
|
||||
public void setCharacteristic(List<IDatatype> theValue) {
|
||||
public void setCharacteristic(List<Characteristic> theValue) {
|
||||
myCharacteristic = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for member (Who is in group)
|
||||
* Gets the value(s) for <b>member</b> (Who is in group).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Identifies the resource instances that are members of the group.
|
||||
* </p>
|
||||
*/
|
||||
public List<ResourceReference> getMember() {
|
||||
public List<ResourceReference> getMember() {
|
||||
return myMember;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for member (Who is in group)
|
||||
* Sets the value(s) for <b>member</b> (Who is in group)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -488,6 +603,7 @@ public class Group implements IResource {
|
|||
myMember = theValue;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ public class Location implements IResource {
|
|||
private CodeableConceptDt myPhysicalType;
|
||||
|
||||
@Child(name="position", order=7, min=0, max=1)
|
||||
private IDatatype myPosition;
|
||||
private Position myPosition;
|
||||
|
||||
@Child(name="managingOrganization", order=8, min=0, max=1)
|
||||
@ChildResource(types= {
|
||||
|
@ -78,19 +78,24 @@ public class Location implements IResource {
|
|||
private CodeDt myMode;
|
||||
|
||||
/**
|
||||
* Gets the value(s) for identifier (Unique code or number identifying the location to its users)
|
||||
* Gets the value(s) for <b>identifier</b> (Unique code or number identifying the location to its users).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Unique code or number identifying the location to its users
|
||||
* </p>
|
||||
*/
|
||||
public IdentifierDt getIdentifier() {
|
||||
public IdentifierDt getIdentifier() {
|
||||
if (myIdentifier == null) {
|
||||
myIdentifier = new IdentifierDt();
|
||||
}
|
||||
return myIdentifier;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for identifier (Unique code or number identifying the location to its users)
|
||||
* Sets the value(s) for <b>identifier</b> (Unique code or number identifying the location to its users)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -101,20 +106,26 @@ public class Location implements IResource {
|
|||
myIdentifier = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for name (Name of the location as used by humans)
|
||||
* Gets the value(s) for <b>name</b> (Name of the location as used by humans).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Name of the location as used by humans. Does not need to be unique.
|
||||
* </p>
|
||||
*/
|
||||
public StringDt getName() {
|
||||
public StringDt getName() {
|
||||
if (myName == null) {
|
||||
myName = new StringDt();
|
||||
}
|
||||
return myName;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for name (Name of the location as used by humans)
|
||||
* Sets the value(s) for <b>name</b> (Name of the location as used by humans)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -126,19 +137,36 @@ public class Location implements IResource {
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for description (Description of the Location, which helps in finding or referencing the place)
|
||||
* Sets the value(s) for <b>name</b> (Name of the location as used by humans)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Name of the location as used by humans. Does not need to be unique.
|
||||
* </p>
|
||||
*/
|
||||
public void setName( String theString) {
|
||||
myName = new StringDt(theString);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>description</b> (Description of the Location, which helps in finding or referencing the place).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Description of the Location, which helps in finding or referencing the place
|
||||
* </p>
|
||||
*/
|
||||
public StringDt getDescription() {
|
||||
public StringDt getDescription() {
|
||||
if (myDescription == null) {
|
||||
myDescription = new StringDt();
|
||||
}
|
||||
return myDescription;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for description (Description of the Location, which helps in finding or referencing the place)
|
||||
* Sets the value(s) for <b>description</b> (Description of the Location, which helps in finding or referencing the place)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -150,19 +178,36 @@ public class Location implements IResource {
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for type (Indicates the type of function performed at the location)
|
||||
* Sets the value(s) for <b>description</b> (Description of the Location, which helps in finding or referencing the place)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Description of the Location, which helps in finding or referencing the place
|
||||
* </p>
|
||||
*/
|
||||
public void setDescription( String theString) {
|
||||
myDescription = new StringDt(theString);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>type</b> (Indicates the type of function performed at the location).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Indicates the type of function performed at the location
|
||||
* </p>
|
||||
*/
|
||||
public CodeableConceptDt getType() {
|
||||
public CodeableConceptDt getType() {
|
||||
if (myType == null) {
|
||||
myType = new CodeableConceptDt();
|
||||
}
|
||||
return myType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for type (Indicates the type of function performed at the location)
|
||||
* Sets the value(s) for <b>type</b> (Indicates the type of function performed at the location)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -173,20 +218,26 @@ public class Location implements IResource {
|
|||
myType = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for telecom (Contact details of the location)
|
||||
* Gets the value(s) for <b>telecom</b> (Contact details of the location).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The contact details of communication devices available at the location. This can include phone numbers, fax numbers, mobile numbers, email addresses and web sites
|
||||
* </p>
|
||||
*/
|
||||
public List<ContactDt> getTelecom() {
|
||||
public List<ContactDt> getTelecom() {
|
||||
if (myTelecom == null) {
|
||||
myTelecom = new ArrayList<ContactDt>();
|
||||
}
|
||||
return myTelecom;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for telecom (Contact details of the location)
|
||||
* Sets the value(s) for <b>telecom</b> (Contact details of the location)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -197,44 +248,56 @@ public class Location implements IResource {
|
|||
myTelecom = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for address (Physical location)
|
||||
* Gets the value(s) for <b>address</b> (Physical location).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* ${child.definition}
|
||||
*
|
||||
* </p>
|
||||
*/
|
||||
public AddressDt getAddress() {
|
||||
public AddressDt getAddress() {
|
||||
if (myAddress == null) {
|
||||
myAddress = new AddressDt();
|
||||
}
|
||||
return myAddress;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for address (Physical location)
|
||||
* Sets the value(s) for <b>address</b> (Physical location)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* ${child.definition}
|
||||
*
|
||||
* </p>
|
||||
*/
|
||||
public void setAddress(AddressDt theValue) {
|
||||
myAddress = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for physicalType (Physical form of the location)
|
||||
* Gets the value(s) for <b>physicalType</b> (Physical form of the location).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Physical form of the location, e.g. building, room, vehicle, road
|
||||
* </p>
|
||||
*/
|
||||
public CodeableConceptDt getPhysicalType() {
|
||||
public CodeableConceptDt getPhysicalType() {
|
||||
if (myPhysicalType == null) {
|
||||
myPhysicalType = new CodeableConceptDt();
|
||||
}
|
||||
return myPhysicalType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for physicalType (Physical form of the location)
|
||||
* Sets the value(s) for <b>physicalType</b> (Physical form of the location)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -245,116 +308,146 @@ public class Location implements IResource {
|
|||
myPhysicalType = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for position (The absolute geographic location )
|
||||
* Gets the value(s) for <b>position</b> (The absolute geographic location ).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The absolute geographic location of the Location, expressed in a KML compatible manner (see notes below for KML)
|
||||
* </p>
|
||||
*/
|
||||
public IDatatype getPosition() {
|
||||
public Position getPosition() {
|
||||
if (myPosition == null) {
|
||||
myPosition = new Position();
|
||||
}
|
||||
return myPosition;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for position (The absolute geographic location )
|
||||
* Sets the value(s) for <b>position</b> (The absolute geographic location )
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The absolute geographic location of the Location, expressed in a KML compatible manner (see notes below for KML)
|
||||
* </p>
|
||||
*/
|
||||
public void setPosition(IDatatype theValue) {
|
||||
public void setPosition(Position theValue) {
|
||||
myPosition = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for managingOrganization (The organization that is responsible for the provisioning and upkeep of the location)
|
||||
* Gets the value(s) for <b>managingOrganization</b> (The organization that is responsible for the provisioning and upkeep of the location).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* ${child.definition}
|
||||
*
|
||||
* </p>
|
||||
*/
|
||||
public ResourceReference getManagingOrganization() {
|
||||
public ResourceReference getManagingOrganization() {
|
||||
if (myManagingOrganization == null) {
|
||||
myManagingOrganization = new ResourceReference();
|
||||
}
|
||||
return myManagingOrganization;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for managingOrganization (The organization that is responsible for the provisioning and upkeep of the location)
|
||||
* Sets the value(s) for <b>managingOrganization</b> (The organization that is responsible for the provisioning and upkeep of the location)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* ${child.definition}
|
||||
*
|
||||
* </p>
|
||||
*/
|
||||
public void setManagingOrganization(ResourceReference theValue) {
|
||||
myManagingOrganization = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for status (active | suspended | inactive)
|
||||
* Gets the value(s) for <b>status</b> (active | suspended | inactive).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* ${child.definition}
|
||||
*
|
||||
* </p>
|
||||
*/
|
||||
public CodeDt getStatus() {
|
||||
public CodeDt getStatus() {
|
||||
if (myStatus == null) {
|
||||
myStatus = new CodeDt();
|
||||
}
|
||||
return myStatus;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for status (active | suspended | inactive)
|
||||
* Sets the value(s) for <b>status</b> (active | suspended | inactive)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* ${child.definition}
|
||||
*
|
||||
* </p>
|
||||
*/
|
||||
public void setStatus(CodeDt theValue) {
|
||||
myStatus = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for partOf (Another Location which this Location is physically part of)
|
||||
* Gets the value(s) for <b>partOf</b> (Another Location which this Location is physically part of).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* ${child.definition}
|
||||
*
|
||||
* </p>
|
||||
*/
|
||||
public ResourceReference getPartOf() {
|
||||
public ResourceReference getPartOf() {
|
||||
if (myPartOf == null) {
|
||||
myPartOf = new ResourceReference();
|
||||
}
|
||||
return myPartOf;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for partOf (Another Location which this Location is physically part of)
|
||||
* Sets the value(s) for <b>partOf</b> (Another Location which this Location is physically part of)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* ${child.definition}
|
||||
*
|
||||
* </p>
|
||||
*/
|
||||
public void setPartOf(ResourceReference theValue) {
|
||||
myPartOf = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for mode (instance | kind)
|
||||
* Gets the value(s) for <b>mode</b> (instance | kind).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Indicates whether a resource instance represents a specific location or a class of locations
|
||||
* </p>
|
||||
*/
|
||||
public CodeDt getMode() {
|
||||
public CodeDt getMode() {
|
||||
if (myMode == null) {
|
||||
myMode = new CodeDt();
|
||||
}
|
||||
return myMode;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for mode (instance | kind)
|
||||
* Sets the value(s) for <b>mode</b> (instance | kind)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -365,6 +458,7 @@ public class Location implements IResource {
|
|||
myMode = theValue;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Block class for child element: <b>Location.position</b> (The absolute geographic location )
|
||||
|
@ -398,7 +492,7 @@ public class Location implements IResource {
|
|||
private CodeableConceptDt myPhysicalType;
|
||||
|
||||
@Child(name="position", order=7, min=0, max=1)
|
||||
private IDatatype myPosition;
|
||||
private Position myPosition;
|
||||
|
||||
@Child(name="managingOrganization", order=8, min=0, max=1)
|
||||
@ChildResource(types= {
|
||||
|
@ -419,19 +513,24 @@ public class Location implements IResource {
|
|||
private CodeDt myMode;
|
||||
|
||||
/**
|
||||
* Gets the value(s) for identifier (Unique code or number identifying the location to its users)
|
||||
* Gets the value(s) for <b>identifier</b> (Unique code or number identifying the location to its users).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Unique code or number identifying the location to its users
|
||||
* </p>
|
||||
*/
|
||||
public IdentifierDt getIdentifier() {
|
||||
public IdentifierDt getIdentifier() {
|
||||
if (myIdentifier == null) {
|
||||
myIdentifier = new IdentifierDt();
|
||||
}
|
||||
return myIdentifier;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for identifier (Unique code or number identifying the location to its users)
|
||||
* Sets the value(s) for <b>identifier</b> (Unique code or number identifying the location to its users)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -442,20 +541,26 @@ public class Location implements IResource {
|
|||
myIdentifier = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for name (Name of the location as used by humans)
|
||||
* Gets the value(s) for <b>name</b> (Name of the location as used by humans).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Name of the location as used by humans. Does not need to be unique.
|
||||
* </p>
|
||||
*/
|
||||
public StringDt getName() {
|
||||
public StringDt getName() {
|
||||
if (myName == null) {
|
||||
myName = new StringDt();
|
||||
}
|
||||
return myName;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for name (Name of the location as used by humans)
|
||||
* Sets the value(s) for <b>name</b> (Name of the location as used by humans)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -467,19 +572,36 @@ public class Location implements IResource {
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for description (Description of the Location, which helps in finding or referencing the place)
|
||||
* Sets the value(s) for <b>name</b> (Name of the location as used by humans)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Name of the location as used by humans. Does not need to be unique.
|
||||
* </p>
|
||||
*/
|
||||
public void setName( String theString) {
|
||||
myName = new StringDt(theString);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>description</b> (Description of the Location, which helps in finding or referencing the place).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Description of the Location, which helps in finding or referencing the place
|
||||
* </p>
|
||||
*/
|
||||
public StringDt getDescription() {
|
||||
public StringDt getDescription() {
|
||||
if (myDescription == null) {
|
||||
myDescription = new StringDt();
|
||||
}
|
||||
return myDescription;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for description (Description of the Location, which helps in finding or referencing the place)
|
||||
* Sets the value(s) for <b>description</b> (Description of the Location, which helps in finding or referencing the place)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -491,19 +613,36 @@ public class Location implements IResource {
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for type (Indicates the type of function performed at the location)
|
||||
* Sets the value(s) for <b>description</b> (Description of the Location, which helps in finding or referencing the place)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Description of the Location, which helps in finding or referencing the place
|
||||
* </p>
|
||||
*/
|
||||
public void setDescription( String theString) {
|
||||
myDescription = new StringDt(theString);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>type</b> (Indicates the type of function performed at the location).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Indicates the type of function performed at the location
|
||||
* </p>
|
||||
*/
|
||||
public CodeableConceptDt getType() {
|
||||
public CodeableConceptDt getType() {
|
||||
if (myType == null) {
|
||||
myType = new CodeableConceptDt();
|
||||
}
|
||||
return myType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for type (Indicates the type of function performed at the location)
|
||||
* Sets the value(s) for <b>type</b> (Indicates the type of function performed at the location)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -514,20 +653,26 @@ public class Location implements IResource {
|
|||
myType = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for telecom (Contact details of the location)
|
||||
* Gets the value(s) for <b>telecom</b> (Contact details of the location).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The contact details of communication devices available at the location. This can include phone numbers, fax numbers, mobile numbers, email addresses and web sites
|
||||
* </p>
|
||||
*/
|
||||
public List<ContactDt> getTelecom() {
|
||||
public List<ContactDt> getTelecom() {
|
||||
if (myTelecom == null) {
|
||||
myTelecom = new ArrayList<ContactDt>();
|
||||
}
|
||||
return myTelecom;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for telecom (Contact details of the location)
|
||||
* Sets the value(s) for <b>telecom</b> (Contact details of the location)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -538,44 +683,56 @@ public class Location implements IResource {
|
|||
myTelecom = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for address (Physical location)
|
||||
* Gets the value(s) for <b>address</b> (Physical location).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* ${child.definition}
|
||||
*
|
||||
* </p>
|
||||
*/
|
||||
public AddressDt getAddress() {
|
||||
public AddressDt getAddress() {
|
||||
if (myAddress == null) {
|
||||
myAddress = new AddressDt();
|
||||
}
|
||||
return myAddress;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for address (Physical location)
|
||||
* Sets the value(s) for <b>address</b> (Physical location)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* ${child.definition}
|
||||
*
|
||||
* </p>
|
||||
*/
|
||||
public void setAddress(AddressDt theValue) {
|
||||
myAddress = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for physicalType (Physical form of the location)
|
||||
* Gets the value(s) for <b>physicalType</b> (Physical form of the location).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Physical form of the location, e.g. building, room, vehicle, road
|
||||
* </p>
|
||||
*/
|
||||
public CodeableConceptDt getPhysicalType() {
|
||||
public CodeableConceptDt getPhysicalType() {
|
||||
if (myPhysicalType == null) {
|
||||
myPhysicalType = new CodeableConceptDt();
|
||||
}
|
||||
return myPhysicalType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for physicalType (Physical form of the location)
|
||||
* Sets the value(s) for <b>physicalType</b> (Physical form of the location)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -586,116 +743,146 @@ public class Location implements IResource {
|
|||
myPhysicalType = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for position (The absolute geographic location )
|
||||
* Gets the value(s) for <b>position</b> (The absolute geographic location ).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The absolute geographic location of the Location, expressed in a KML compatible manner (see notes below for KML)
|
||||
* </p>
|
||||
*/
|
||||
public IDatatype getPosition() {
|
||||
public Position getPosition() {
|
||||
if (myPosition == null) {
|
||||
myPosition = new Position();
|
||||
}
|
||||
return myPosition;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for position (The absolute geographic location )
|
||||
* Sets the value(s) for <b>position</b> (The absolute geographic location )
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The absolute geographic location of the Location, expressed in a KML compatible manner (see notes below for KML)
|
||||
* </p>
|
||||
*/
|
||||
public void setPosition(IDatatype theValue) {
|
||||
public void setPosition(Position theValue) {
|
||||
myPosition = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for managingOrganization (The organization that is responsible for the provisioning and upkeep of the location)
|
||||
* Gets the value(s) for <b>managingOrganization</b> (The organization that is responsible for the provisioning and upkeep of the location).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* ${child.definition}
|
||||
*
|
||||
* </p>
|
||||
*/
|
||||
public ResourceReference getManagingOrganization() {
|
||||
public ResourceReference getManagingOrganization() {
|
||||
if (myManagingOrganization == null) {
|
||||
myManagingOrganization = new ResourceReference();
|
||||
}
|
||||
return myManagingOrganization;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for managingOrganization (The organization that is responsible for the provisioning and upkeep of the location)
|
||||
* Sets the value(s) for <b>managingOrganization</b> (The organization that is responsible for the provisioning and upkeep of the location)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* ${child.definition}
|
||||
*
|
||||
* </p>
|
||||
*/
|
||||
public void setManagingOrganization(ResourceReference theValue) {
|
||||
myManagingOrganization = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for status (active | suspended | inactive)
|
||||
* Gets the value(s) for <b>status</b> (active | suspended | inactive).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* ${child.definition}
|
||||
*
|
||||
* </p>
|
||||
*/
|
||||
public CodeDt getStatus() {
|
||||
public CodeDt getStatus() {
|
||||
if (myStatus == null) {
|
||||
myStatus = new CodeDt();
|
||||
}
|
||||
return myStatus;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for status (active | suspended | inactive)
|
||||
* Sets the value(s) for <b>status</b> (active | suspended | inactive)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* ${child.definition}
|
||||
*
|
||||
* </p>
|
||||
*/
|
||||
public void setStatus(CodeDt theValue) {
|
||||
myStatus = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for partOf (Another Location which this Location is physically part of)
|
||||
* Gets the value(s) for <b>partOf</b> (Another Location which this Location is physically part of).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* ${child.definition}
|
||||
*
|
||||
* </p>
|
||||
*/
|
||||
public ResourceReference getPartOf() {
|
||||
public ResourceReference getPartOf() {
|
||||
if (myPartOf == null) {
|
||||
myPartOf = new ResourceReference();
|
||||
}
|
||||
return myPartOf;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for partOf (Another Location which this Location is physically part of)
|
||||
* Sets the value(s) for <b>partOf</b> (Another Location which this Location is physically part of)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* ${child.definition}
|
||||
*
|
||||
* </p>
|
||||
*/
|
||||
public void setPartOf(ResourceReference theValue) {
|
||||
myPartOf = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for mode (instance | kind)
|
||||
* Gets the value(s) for <b>mode</b> (instance | kind).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Indicates whether a resource instance represents a specific location or a class of locations
|
||||
* </p>
|
||||
*/
|
||||
public CodeDt getMode() {
|
||||
public CodeDt getMode() {
|
||||
if (myMode == null) {
|
||||
myMode = new CodeDt();
|
||||
}
|
||||
return myMode;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for mode (instance | kind)
|
||||
* Sets the value(s) for <b>mode</b> (instance | kind)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -706,6 +893,7 @@ public class Location implements IResource {
|
|||
myMode = theValue;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,543 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
package ca.uhn.fhir.model.dstu.resource;
|
||||
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
import ca.uhn.fhir.model.primitive.*;
|
||||
import ca.uhn.fhir.model.dstu.composite.*;
|
||||
|
||||
/**
|
||||
* HAPI/FHIR <b>Medication</b> Resource
|
||||
* (Definition of a Medication)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Primarily used for identification and definition of Medication, but also covers ingredients and packaging
|
||||
* </p>
|
||||
*
|
||||
* <p>
|
||||
* <b>Requirements:</b>
|
||||
*
|
||||
* </p>
|
||||
*/
|
||||
@ResourceDef(name="Medication")
|
||||
public class Medication implements IResource {
|
||||
|
||||
@Child(name="name", type=StringDt.class, order=0, min=0, max=1)
|
||||
private StringDt myName;
|
||||
|
||||
@Child(name="code", type=CodeableConceptDt.class, order=1, min=0, max=1)
|
||||
private CodeableConceptDt myCode;
|
||||
|
||||
@Child(name="isBrand", type=BooleanDt.class, order=2, min=0, max=1)
|
||||
private BooleanDt myIsBrand;
|
||||
|
||||
@Child(name="manufacturer", order=3, min=0, max=1)
|
||||
@ChildResource(types= {
|
||||
Organization.class,
|
||||
})
|
||||
private ResourceReference myManufacturer;
|
||||
|
||||
@Child(name="kind", type=CodeDt.class, order=4, min=0, max=1)
|
||||
private CodeDt myKind;
|
||||
|
||||
@Child(name="product", order=5, min=0, max=1)
|
||||
private Product myProduct;
|
||||
|
||||
@Child(name="package", type=CodeDt.class, order=6, min=0, max=1)
|
||||
private CodeDt myPackage;
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>name</b> (Common / Commercial name).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The common/commercial name of the medication absent information such as strength, form, etc. E.g. Acetaminophen, Tylenol 3, etc. The fully coordinated name is communicated as the display of Medication.code
|
||||
* </p>
|
||||
*/
|
||||
public StringDt getName() {
|
||||
if (myName == null) {
|
||||
myName = new StringDt();
|
||||
}
|
||||
return myName;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for <b>name</b> (Common / Commercial name)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The common/commercial name of the medication absent information such as strength, form, etc. E.g. Acetaminophen, Tylenol 3, etc. The fully coordinated name is communicated as the display of Medication.code
|
||||
* </p>
|
||||
*/
|
||||
public void setName(StringDt theValue) {
|
||||
myName = theValue;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for <b>name</b> (Common / Commercial name)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The common/commercial name of the medication absent information such as strength, form, etc. E.g. Acetaminophen, Tylenol 3, etc. The fully coordinated name is communicated as the display of Medication.code
|
||||
* </p>
|
||||
*/
|
||||
public void setName( String theString) {
|
||||
myName = new StringDt(theString);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>code</b> (Codes that identify this medication).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A code (or set of codes) that identify this medication. Usage note: This could be a standard drug code such as a drug regulator code, RxNorm code, SNOMED CT code, etc. It could also be a local formulary code, optionally with translations to the standard drug codes
|
||||
* </p>
|
||||
*/
|
||||
public CodeableConceptDt getCode() {
|
||||
if (myCode == null) {
|
||||
myCode = new CodeableConceptDt();
|
||||
}
|
||||
return myCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for <b>code</b> (Codes that identify this medication)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A code (or set of codes) that identify this medication. Usage note: This could be a standard drug code such as a drug regulator code, RxNorm code, SNOMED CT code, etc. It could also be a local formulary code, optionally with translations to the standard drug codes
|
||||
* </p>
|
||||
*/
|
||||
public void setCode(CodeableConceptDt theValue) {
|
||||
myCode = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>isBrand</b> (True if a brand).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Set to true if the item is attributable to a specific manufacturer (even if we don't know who that is)
|
||||
* </p>
|
||||
*/
|
||||
public BooleanDt getIsBrand() {
|
||||
if (myIsBrand == null) {
|
||||
myIsBrand = new BooleanDt();
|
||||
}
|
||||
return myIsBrand;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for <b>isBrand</b> (True if a brand)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Set to true if the item is attributable to a specific manufacturer (even if we don't know who that is)
|
||||
* </p>
|
||||
*/
|
||||
public void setIsBrand(BooleanDt theValue) {
|
||||
myIsBrand = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>manufacturer</b> (Manufacturer of the item).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Describes the details of the manufacturer
|
||||
* </p>
|
||||
*/
|
||||
public ResourceReference getManufacturer() {
|
||||
if (myManufacturer == null) {
|
||||
myManufacturer = new ResourceReference();
|
||||
}
|
||||
return myManufacturer;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for <b>manufacturer</b> (Manufacturer of the item)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Describes the details of the manufacturer
|
||||
* </p>
|
||||
*/
|
||||
public void setManufacturer(ResourceReference theValue) {
|
||||
myManufacturer = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>kind</b> (product | package).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Medications are either a single administrable product or a package that contains one or more products.
|
||||
* </p>
|
||||
*/
|
||||
public CodeDt getKind() {
|
||||
if (myKind == null) {
|
||||
myKind = new CodeDt();
|
||||
}
|
||||
return myKind;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for <b>kind</b> (product | package)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Medications are either a single administrable product or a package that contains one or more products.
|
||||
* </p>
|
||||
*/
|
||||
public void setKind(CodeDt theValue) {
|
||||
myKind = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>product</b> (Administrable medication details).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Information that only applies to products (not packages)
|
||||
* </p>
|
||||
*/
|
||||
public Product getProduct() {
|
||||
if (myProduct == null) {
|
||||
myProduct = new Product();
|
||||
}
|
||||
return myProduct;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for <b>product</b> (Administrable medication details)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Information that only applies to products (not packages)
|
||||
* </p>
|
||||
*/
|
||||
public void setProduct(Product theValue) {
|
||||
myProduct = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>package</b> (Details about packaged medications).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Information that only applies to packages (not products)
|
||||
* </p>
|
||||
*/
|
||||
public CodeDt getPackage() {
|
||||
if (myPackage == null) {
|
||||
myPackage = new CodeDt();
|
||||
}
|
||||
return myPackage;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for <b>package</b> (Details about packaged medications)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Information that only applies to packages (not products)
|
||||
* </p>
|
||||
*/
|
||||
public void setPackage(CodeDt theValue) {
|
||||
myPackage = theValue;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Block class for child element: <b>Medication.product</b> (Administrable medication details)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Information that only applies to products (not packages)
|
||||
* </p>
|
||||
*/
|
||||
@Block(name="Medication.product")
|
||||
public static class Product implements IResourceBlock {
|
||||
@Child(name="name", type=StringDt.class, order=0, min=0, max=1)
|
||||
private StringDt myName;
|
||||
|
||||
@Child(name="code", type=CodeableConceptDt.class, order=1, min=0, max=1)
|
||||
private CodeableConceptDt myCode;
|
||||
|
||||
@Child(name="isBrand", type=BooleanDt.class, order=2, min=0, max=1)
|
||||
private BooleanDt myIsBrand;
|
||||
|
||||
@Child(name="manufacturer", order=3, min=0, max=1)
|
||||
@ChildResource(types= {
|
||||
Organization.class,
|
||||
})
|
||||
private ResourceReference myManufacturer;
|
||||
|
||||
@Child(name="kind", type=CodeDt.class, order=4, min=0, max=1)
|
||||
private CodeDt myKind;
|
||||
|
||||
@Child(name="product", order=5, min=0, max=1)
|
||||
private Product myProduct;
|
||||
|
||||
@Child(name="package", type=CodeDt.class, order=6, min=0, max=1)
|
||||
private CodeDt myPackage;
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>name</b> (Common / Commercial name).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The common/commercial name of the medication absent information such as strength, form, etc. E.g. Acetaminophen, Tylenol 3, etc. The fully coordinated name is communicated as the display of Medication.code
|
||||
* </p>
|
||||
*/
|
||||
public StringDt getName() {
|
||||
if (myName == null) {
|
||||
myName = new StringDt();
|
||||
}
|
||||
return myName;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for <b>name</b> (Common / Commercial name)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The common/commercial name of the medication absent information such as strength, form, etc. E.g. Acetaminophen, Tylenol 3, etc. The fully coordinated name is communicated as the display of Medication.code
|
||||
* </p>
|
||||
*/
|
||||
public void setName(StringDt theValue) {
|
||||
myName = theValue;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for <b>name</b> (Common / Commercial name)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The common/commercial name of the medication absent information such as strength, form, etc. E.g. Acetaminophen, Tylenol 3, etc. The fully coordinated name is communicated as the display of Medication.code
|
||||
* </p>
|
||||
*/
|
||||
public void setName( String theString) {
|
||||
myName = new StringDt(theString);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>code</b> (Codes that identify this medication).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A code (or set of codes) that identify this medication. Usage note: This could be a standard drug code such as a drug regulator code, RxNorm code, SNOMED CT code, etc. It could also be a local formulary code, optionally with translations to the standard drug codes
|
||||
* </p>
|
||||
*/
|
||||
public CodeableConceptDt getCode() {
|
||||
if (myCode == null) {
|
||||
myCode = new CodeableConceptDt();
|
||||
}
|
||||
return myCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for <b>code</b> (Codes that identify this medication)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A code (or set of codes) that identify this medication. Usage note: This could be a standard drug code such as a drug regulator code, RxNorm code, SNOMED CT code, etc. It could also be a local formulary code, optionally with translations to the standard drug codes
|
||||
* </p>
|
||||
*/
|
||||
public void setCode(CodeableConceptDt theValue) {
|
||||
myCode = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>isBrand</b> (True if a brand).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Set to true if the item is attributable to a specific manufacturer (even if we don't know who that is)
|
||||
* </p>
|
||||
*/
|
||||
public BooleanDt getIsBrand() {
|
||||
if (myIsBrand == null) {
|
||||
myIsBrand = new BooleanDt();
|
||||
}
|
||||
return myIsBrand;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for <b>isBrand</b> (True if a brand)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Set to true if the item is attributable to a specific manufacturer (even if we don't know who that is)
|
||||
* </p>
|
||||
*/
|
||||
public void setIsBrand(BooleanDt theValue) {
|
||||
myIsBrand = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>manufacturer</b> (Manufacturer of the item).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Describes the details of the manufacturer
|
||||
* </p>
|
||||
*/
|
||||
public ResourceReference getManufacturer() {
|
||||
if (myManufacturer == null) {
|
||||
myManufacturer = new ResourceReference();
|
||||
}
|
||||
return myManufacturer;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for <b>manufacturer</b> (Manufacturer of the item)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Describes the details of the manufacturer
|
||||
* </p>
|
||||
*/
|
||||
public void setManufacturer(ResourceReference theValue) {
|
||||
myManufacturer = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>kind</b> (product | package).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Medications are either a single administrable product or a package that contains one or more products.
|
||||
* </p>
|
||||
*/
|
||||
public CodeDt getKind() {
|
||||
if (myKind == null) {
|
||||
myKind = new CodeDt();
|
||||
}
|
||||
return myKind;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for <b>kind</b> (product | package)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Medications are either a single administrable product or a package that contains one or more products.
|
||||
* </p>
|
||||
*/
|
||||
public void setKind(CodeDt theValue) {
|
||||
myKind = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>product</b> (Administrable medication details).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Information that only applies to products (not packages)
|
||||
* </p>
|
||||
*/
|
||||
public Product getProduct() {
|
||||
if (myProduct == null) {
|
||||
myProduct = new Product();
|
||||
}
|
||||
return myProduct;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for <b>product</b> (Administrable medication details)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Information that only applies to products (not packages)
|
||||
* </p>
|
||||
*/
|
||||
public void setProduct(Product theValue) {
|
||||
myProduct = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>package</b> (Details about packaged medications).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Information that only applies to packages (not products)
|
||||
* </p>
|
||||
*/
|
||||
public CodeDt getPackage() {
|
||||
if (myPackage == null) {
|
||||
myPackage = new CodeDt();
|
||||
}
|
||||
return myPackage;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for <b>package</b> (Details about packaged medications)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Information that only applies to packages (not products)
|
||||
* </p>
|
||||
*/
|
||||
public void setPackage(CodeDt theValue) {
|
||||
myPackage = theValue;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -57,7 +57,7 @@ public class Organization implements IResource {
|
|||
private ResourceReference myPartOf;
|
||||
|
||||
@Child(name="contact", order=6, min=0, max=Child.MAX_UNLIMITED)
|
||||
private List<IDatatype> myContact;
|
||||
private List<Contact> myContact;
|
||||
|
||||
@Child(name="location", order=7, min=0, max=Child.MAX_UNLIMITED)
|
||||
@ChildResource(types= {
|
||||
|
@ -69,19 +69,24 @@ public class Organization implements IResource {
|
|||
private BooleanDt myActive;
|
||||
|
||||
/**
|
||||
* Gets the value(s) for identifier (Identifies this organization across multiple systems)
|
||||
* Gets the value(s) for <b>identifier</b> (Identifies this organization across multiple systems).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Identifier for the organization that is used to identify the organization across multiple disparate systems
|
||||
* </p>
|
||||
*/
|
||||
public List<IdentifierDt> getIdentifier() {
|
||||
public List<IdentifierDt> getIdentifier() {
|
||||
if (myIdentifier == null) {
|
||||
myIdentifier = new ArrayList<IdentifierDt>();
|
||||
}
|
||||
return myIdentifier;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for identifier (Identifies this organization across multiple systems)
|
||||
* Sets the value(s) for <b>identifier</b> (Identifies this organization across multiple systems)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -92,20 +97,26 @@ public class Organization implements IResource {
|
|||
myIdentifier = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for name (Name used for the organization)
|
||||
* Gets the value(s) for <b>name</b> (Name used for the organization).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A name associated with the organization
|
||||
* </p>
|
||||
*/
|
||||
public StringDt getName() {
|
||||
public StringDt getName() {
|
||||
if (myName == null) {
|
||||
myName = new StringDt();
|
||||
}
|
||||
return myName;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for name (Name used for the organization)
|
||||
* Sets the value(s) for <b>name</b> (Name used for the organization)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -117,19 +128,36 @@ public class Organization implements IResource {
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for type (Kind of organization)
|
||||
* Sets the value(s) for <b>name</b> (Name used for the organization)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A name associated with the organization
|
||||
* </p>
|
||||
*/
|
||||
public void setName( String theString) {
|
||||
myName = new StringDt(theString);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>type</b> (Kind of organization).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The kind of organization that this is
|
||||
* </p>
|
||||
*/
|
||||
public CodeableConceptDt getType() {
|
||||
public CodeableConceptDt getType() {
|
||||
if (myType == null) {
|
||||
myType = new CodeableConceptDt();
|
||||
}
|
||||
return myType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for type (Kind of organization)
|
||||
* Sets the value(s) for <b>type</b> (Kind of organization)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -140,20 +168,26 @@ public class Organization implements IResource {
|
|||
myType = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for telecom (A contact detail for the organization)
|
||||
* Gets the value(s) for <b>telecom</b> (A contact detail for the organization).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A contact detail for the organization
|
||||
* </p>
|
||||
*/
|
||||
public List<ContactDt> getTelecom() {
|
||||
public List<ContactDt> getTelecom() {
|
||||
if (myTelecom == null) {
|
||||
myTelecom = new ArrayList<ContactDt>();
|
||||
}
|
||||
return myTelecom;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for telecom (A contact detail for the organization)
|
||||
* Sets the value(s) for <b>telecom</b> (A contact detail for the organization)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -164,20 +198,26 @@ public class Organization implements IResource {
|
|||
myTelecom = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for address (An address for the organization)
|
||||
* Gets the value(s) for <b>address</b> (An address for the organization).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* An address for the organization
|
||||
* </p>
|
||||
*/
|
||||
public List<AddressDt> getAddress() {
|
||||
public List<AddressDt> getAddress() {
|
||||
if (myAddress == null) {
|
||||
myAddress = new ArrayList<AddressDt>();
|
||||
}
|
||||
return myAddress;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for address (An address for the organization)
|
||||
* Sets the value(s) for <b>address</b> (An address for the organization)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -188,20 +228,26 @@ public class Organization implements IResource {
|
|||
myAddress = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for partOf (The organization of which this organization forms a part)
|
||||
* Gets the value(s) for <b>partOf</b> (The organization of which this organization forms a part).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The organization of which this organization forms a part
|
||||
* </p>
|
||||
*/
|
||||
public ResourceReference getPartOf() {
|
||||
public ResourceReference getPartOf() {
|
||||
if (myPartOf == null) {
|
||||
myPartOf = new ResourceReference();
|
||||
}
|
||||
return myPartOf;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for partOf (The organization of which this organization forms a part)
|
||||
* Sets the value(s) for <b>partOf</b> (The organization of which this organization forms a part)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -212,44 +258,56 @@ public class Organization implements IResource {
|
|||
myPartOf = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for contact (Contact for the organization for a certain purpose)
|
||||
* Gets the value(s) for <b>contact</b> (Contact for the organization for a certain purpose).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* ${child.definition}
|
||||
*
|
||||
* </p>
|
||||
*/
|
||||
public List<IDatatype> getContact() {
|
||||
public List<Contact> getContact() {
|
||||
if (myContact == null) {
|
||||
myContact = new ArrayList<Contact>();
|
||||
}
|
||||
return myContact;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for contact (Contact for the organization for a certain purpose)
|
||||
* Sets the value(s) for <b>contact</b> (Contact for the organization for a certain purpose)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* ${child.definition}
|
||||
*
|
||||
* </p>
|
||||
*/
|
||||
public void setContact(List<IDatatype> theValue) {
|
||||
public void setContact(List<Contact> theValue) {
|
||||
myContact = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for location (Location(s) the organization uses to provide services)
|
||||
* Gets the value(s) for <b>location</b> (Location(s) the organization uses to provide services).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Location(s) the organization uses to provide services
|
||||
* </p>
|
||||
*/
|
||||
public List<ResourceReference> getLocation() {
|
||||
public List<ResourceReference> getLocation() {
|
||||
if (myLocation == null) {
|
||||
myLocation = new ArrayList<ResourceReference>();
|
||||
}
|
||||
return myLocation;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for location (Location(s) the organization uses to provide services)
|
||||
* Sets the value(s) for <b>location</b> (Location(s) the organization uses to provide services)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -260,20 +318,26 @@ public class Organization implements IResource {
|
|||
myLocation = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for active (Whether the organization's record is still in active use)
|
||||
* Gets the value(s) for <b>active</b> (Whether the organization's record is still in active use).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Whether the organization's record is still in active use
|
||||
* </p>
|
||||
*/
|
||||
public BooleanDt getActive() {
|
||||
public BooleanDt getActive() {
|
||||
if (myActive == null) {
|
||||
myActive = new BooleanDt();
|
||||
}
|
||||
return myActive;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for active (Whether the organization's record is still in active use)
|
||||
* Sets the value(s) for <b>active</b> (Whether the organization's record is still in active use)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -284,13 +348,14 @@ public class Organization implements IResource {
|
|||
myActive = theValue;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Block class for child element: <b>Organization.contact</b> (Contact for the organization for a certain purpose)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* ${child.definition}
|
||||
*
|
||||
* </p>
|
||||
*/
|
||||
@Block(name="Organization.contact")
|
||||
|
@ -317,7 +382,7 @@ public class Organization implements IResource {
|
|||
private ResourceReference myPartOf;
|
||||
|
||||
@Child(name="contact", order=6, min=0, max=Child.MAX_UNLIMITED)
|
||||
private List<IDatatype> myContact;
|
||||
private List<Contact> myContact;
|
||||
|
||||
@Child(name="location", order=7, min=0, max=Child.MAX_UNLIMITED)
|
||||
@ChildResource(types= {
|
||||
|
@ -329,19 +394,24 @@ public class Organization implements IResource {
|
|||
private BooleanDt myActive;
|
||||
|
||||
/**
|
||||
* Gets the value(s) for identifier (Identifies this organization across multiple systems)
|
||||
* Gets the value(s) for <b>identifier</b> (Identifies this organization across multiple systems).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Identifier for the organization that is used to identify the organization across multiple disparate systems
|
||||
* </p>
|
||||
*/
|
||||
public List<IdentifierDt> getIdentifier() {
|
||||
public List<IdentifierDt> getIdentifier() {
|
||||
if (myIdentifier == null) {
|
||||
myIdentifier = new ArrayList<IdentifierDt>();
|
||||
}
|
||||
return myIdentifier;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for identifier (Identifies this organization across multiple systems)
|
||||
* Sets the value(s) for <b>identifier</b> (Identifies this organization across multiple systems)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -352,20 +422,26 @@ public class Organization implements IResource {
|
|||
myIdentifier = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for name (Name used for the organization)
|
||||
* Gets the value(s) for <b>name</b> (Name used for the organization).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A name associated with the organization
|
||||
* </p>
|
||||
*/
|
||||
public StringDt getName() {
|
||||
public StringDt getName() {
|
||||
if (myName == null) {
|
||||
myName = new StringDt();
|
||||
}
|
||||
return myName;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for name (Name used for the organization)
|
||||
* Sets the value(s) for <b>name</b> (Name used for the organization)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -377,19 +453,36 @@ public class Organization implements IResource {
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for type (Kind of organization)
|
||||
* Sets the value(s) for <b>name</b> (Name used for the organization)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A name associated with the organization
|
||||
* </p>
|
||||
*/
|
||||
public void setName( String theString) {
|
||||
myName = new StringDt(theString);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>type</b> (Kind of organization).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The kind of organization that this is
|
||||
* </p>
|
||||
*/
|
||||
public CodeableConceptDt getType() {
|
||||
public CodeableConceptDt getType() {
|
||||
if (myType == null) {
|
||||
myType = new CodeableConceptDt();
|
||||
}
|
||||
return myType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for type (Kind of organization)
|
||||
* Sets the value(s) for <b>type</b> (Kind of organization)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -400,20 +493,26 @@ public class Organization implements IResource {
|
|||
myType = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for telecom (A contact detail for the organization)
|
||||
* Gets the value(s) for <b>telecom</b> (A contact detail for the organization).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A contact detail for the organization
|
||||
* </p>
|
||||
*/
|
||||
public List<ContactDt> getTelecom() {
|
||||
public List<ContactDt> getTelecom() {
|
||||
if (myTelecom == null) {
|
||||
myTelecom = new ArrayList<ContactDt>();
|
||||
}
|
||||
return myTelecom;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for telecom (A contact detail for the organization)
|
||||
* Sets the value(s) for <b>telecom</b> (A contact detail for the organization)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -424,20 +523,26 @@ public class Organization implements IResource {
|
|||
myTelecom = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for address (An address for the organization)
|
||||
* Gets the value(s) for <b>address</b> (An address for the organization).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* An address for the organization
|
||||
* </p>
|
||||
*/
|
||||
public List<AddressDt> getAddress() {
|
||||
public List<AddressDt> getAddress() {
|
||||
if (myAddress == null) {
|
||||
myAddress = new ArrayList<AddressDt>();
|
||||
}
|
||||
return myAddress;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for address (An address for the organization)
|
||||
* Sets the value(s) for <b>address</b> (An address for the organization)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -448,20 +553,26 @@ public class Organization implements IResource {
|
|||
myAddress = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for partOf (The organization of which this organization forms a part)
|
||||
* Gets the value(s) for <b>partOf</b> (The organization of which this organization forms a part).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The organization of which this organization forms a part
|
||||
* </p>
|
||||
*/
|
||||
public ResourceReference getPartOf() {
|
||||
public ResourceReference getPartOf() {
|
||||
if (myPartOf == null) {
|
||||
myPartOf = new ResourceReference();
|
||||
}
|
||||
return myPartOf;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for partOf (The organization of which this organization forms a part)
|
||||
* Sets the value(s) for <b>partOf</b> (The organization of which this organization forms a part)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -472,44 +583,56 @@ public class Organization implements IResource {
|
|||
myPartOf = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for contact (Contact for the organization for a certain purpose)
|
||||
* Gets the value(s) for <b>contact</b> (Contact for the organization for a certain purpose).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* ${child.definition}
|
||||
*
|
||||
* </p>
|
||||
*/
|
||||
public List<IDatatype> getContact() {
|
||||
public List<Contact> getContact() {
|
||||
if (myContact == null) {
|
||||
myContact = new ArrayList<Contact>();
|
||||
}
|
||||
return myContact;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for contact (Contact for the organization for a certain purpose)
|
||||
* Sets the value(s) for <b>contact</b> (Contact for the organization for a certain purpose)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* ${child.definition}
|
||||
*
|
||||
* </p>
|
||||
*/
|
||||
public void setContact(List<IDatatype> theValue) {
|
||||
public void setContact(List<Contact> theValue) {
|
||||
myContact = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for location (Location(s) the organization uses to provide services)
|
||||
* Gets the value(s) for <b>location</b> (Location(s) the organization uses to provide services).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Location(s) the organization uses to provide services
|
||||
* </p>
|
||||
*/
|
||||
public List<ResourceReference> getLocation() {
|
||||
public List<ResourceReference> getLocation() {
|
||||
if (myLocation == null) {
|
||||
myLocation = new ArrayList<ResourceReference>();
|
||||
}
|
||||
return myLocation;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for location (Location(s) the organization uses to provide services)
|
||||
* Sets the value(s) for <b>location</b> (Location(s) the organization uses to provide services)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -520,20 +643,26 @@ public class Organization implements IResource {
|
|||
myLocation = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for active (Whether the organization's record is still in active use)
|
||||
* Gets the value(s) for <b>active</b> (Whether the organization's record is still in active use).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Whether the organization's record is still in active use
|
||||
* </p>
|
||||
*/
|
||||
public BooleanDt getActive() {
|
||||
public BooleanDt getActive() {
|
||||
if (myActive == null) {
|
||||
myActive = new BooleanDt();
|
||||
}
|
||||
return myActive;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for active (Whether the organization's record is still in active use)
|
||||
* Sets the value(s) for <b>active</b> (Whether the organization's record is still in active use)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -544,6 +673,7 @@ public class Organization implements IResource {
|
|||
myActive = theValue;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -78,25 +78,30 @@ public class Practitioner implements IResource {
|
|||
private List<ResourceReference> myLocation;
|
||||
|
||||
@Child(name="qualification", order=12, min=0, max=Child.MAX_UNLIMITED)
|
||||
private List<IDatatype> myQualification;
|
||||
private List<Qualification> myQualification;
|
||||
|
||||
@Child(name="communication", type=CodeableConceptDt.class, order=13, min=0, max=Child.MAX_UNLIMITED)
|
||||
private List<CodeableConceptDt> myCommunication;
|
||||
|
||||
/**
|
||||
* Gets the value(s) for identifier (A identifier for the person as this agent)
|
||||
* Gets the value(s) for <b>identifier</b> (A identifier for the person as this agent).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* An identifier that applies to this person in this role
|
||||
* </p>
|
||||
*/
|
||||
public List<IdentifierDt> getIdentifier() {
|
||||
public List<IdentifierDt> getIdentifier() {
|
||||
if (myIdentifier == null) {
|
||||
myIdentifier = new ArrayList<IdentifierDt>();
|
||||
}
|
||||
return myIdentifier;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for identifier (A identifier for the person as this agent)
|
||||
* Sets the value(s) for <b>identifier</b> (A identifier for the person as this agent)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -107,20 +112,26 @@ public class Practitioner implements IResource {
|
|||
myIdentifier = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for name (A name associated with the person)
|
||||
* Gets the value(s) for <b>name</b> (A name associated with the person).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A name associated with the person
|
||||
* </p>
|
||||
*/
|
||||
public HumanNameDt getName() {
|
||||
public HumanNameDt getName() {
|
||||
if (myName == null) {
|
||||
myName = new HumanNameDt();
|
||||
}
|
||||
return myName;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for name (A name associated with the person)
|
||||
* Sets the value(s) for <b>name</b> (A name associated with the person)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -131,20 +142,26 @@ public class Practitioner implements IResource {
|
|||
myName = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for telecom (A contact detail for the practitioner)
|
||||
* Gets the value(s) for <b>telecom</b> (A contact detail for the practitioner).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A contact detail for the practitioner, e.g. a telephone number or an email address.
|
||||
* </p>
|
||||
*/
|
||||
public List<ContactDt> getTelecom() {
|
||||
public List<ContactDt> getTelecom() {
|
||||
if (myTelecom == null) {
|
||||
myTelecom = new ArrayList<ContactDt>();
|
||||
}
|
||||
return myTelecom;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for telecom (A contact detail for the practitioner)
|
||||
* Sets the value(s) for <b>telecom</b> (A contact detail for the practitioner)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -155,20 +172,26 @@ public class Practitioner implements IResource {
|
|||
myTelecom = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for address (Where practitioner can be found/visited)
|
||||
* Gets the value(s) for <b>address</b> (Where practitioner can be found/visited).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The postal address where the practitioner can be found or visited or to which mail can be delivered
|
||||
* </p>
|
||||
*/
|
||||
public AddressDt getAddress() {
|
||||
public AddressDt getAddress() {
|
||||
if (myAddress == null) {
|
||||
myAddress = new AddressDt();
|
||||
}
|
||||
return myAddress;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for address (Where practitioner can be found/visited)
|
||||
* Sets the value(s) for <b>address</b> (Where practitioner can be found/visited)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -179,20 +202,26 @@ public class Practitioner implements IResource {
|
|||
myAddress = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for gender (Gender for administrative purposes)
|
||||
* Gets the value(s) for <b>gender</b> (Gender for administrative purposes).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.
|
||||
* </p>
|
||||
*/
|
||||
public CodeableConceptDt getGender() {
|
||||
public CodeableConceptDt getGender() {
|
||||
if (myGender == null) {
|
||||
myGender = new CodeableConceptDt();
|
||||
}
|
||||
return myGender;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for gender (Gender for administrative purposes)
|
||||
* Sets the value(s) for <b>gender</b> (Gender for administrative purposes)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -203,20 +232,26 @@ public class Practitioner implements IResource {
|
|||
myGender = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for birthDate (The date and time of birth for the practitioner)
|
||||
* Gets the value(s) for <b>birthDate</b> (The date and time of birth for the practitioner).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The date and time of birth for the practitioner
|
||||
* </p>
|
||||
*/
|
||||
public DateTimeDt getBirthDate() {
|
||||
public DateTimeDt getBirthDate() {
|
||||
if (myBirthDate == null) {
|
||||
myBirthDate = new DateTimeDt();
|
||||
}
|
||||
return myBirthDate;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for birthDate (The date and time of birth for the practitioner)
|
||||
* Sets the value(s) for <b>birthDate</b> (The date and time of birth for the practitioner)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -228,19 +263,36 @@ public class Practitioner implements IResource {
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for photo (Image of the person)
|
||||
* Sets the value(s) for <b>birthDate</b> (The date and time of birth for the practitioner)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The date and time of birth for the practitioner
|
||||
* </p>
|
||||
*/
|
||||
public void setBirthDateWithSecondsPrecision( Date theDate) {
|
||||
myBirthDate = new DateTimeDt(theDate);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>photo</b> (Image of the person).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Image of the person
|
||||
* </p>
|
||||
*/
|
||||
public List<AttachmentDt> getPhoto() {
|
||||
public List<AttachmentDt> getPhoto() {
|
||||
if (myPhoto == null) {
|
||||
myPhoto = new ArrayList<AttachmentDt>();
|
||||
}
|
||||
return myPhoto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for photo (Image of the person)
|
||||
* Sets the value(s) for <b>photo</b> (Image of the person)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -251,20 +303,26 @@ public class Practitioner implements IResource {
|
|||
myPhoto = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for organization (The represented organization)
|
||||
* Gets the value(s) for <b>organization</b> (The represented organization).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The organization that the practitioner represents
|
||||
* </p>
|
||||
*/
|
||||
public ResourceReference getOrganization() {
|
||||
public ResourceReference getOrganization() {
|
||||
if (myOrganization == null) {
|
||||
myOrganization = new ResourceReference();
|
||||
}
|
||||
return myOrganization;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for organization (The represented organization)
|
||||
* Sets the value(s) for <b>organization</b> (The represented organization)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -275,20 +333,26 @@ public class Practitioner implements IResource {
|
|||
myOrganization = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for role (Roles which this practitioner may perform)
|
||||
* Gets the value(s) for <b>role</b> (Roles which this practitioner may perform).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Roles which this practitioner is authorized to perform for the organization
|
||||
* </p>
|
||||
*/
|
||||
public List<CodeableConceptDt> getRole() {
|
||||
public List<CodeableConceptDt> getRole() {
|
||||
if (myRole == null) {
|
||||
myRole = new ArrayList<CodeableConceptDt>();
|
||||
}
|
||||
return myRole;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for role (Roles which this practitioner may perform)
|
||||
* Sets the value(s) for <b>role</b> (Roles which this practitioner may perform)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -299,20 +363,26 @@ public class Practitioner implements IResource {
|
|||
myRole = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for specialty (Specific specialty of the practitioner)
|
||||
* Gets the value(s) for <b>specialty</b> (Specific specialty of the practitioner).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Specific specialty of the practitioner
|
||||
* </p>
|
||||
*/
|
||||
public List<CodeableConceptDt> getSpecialty() {
|
||||
public List<CodeableConceptDt> getSpecialty() {
|
||||
if (mySpecialty == null) {
|
||||
mySpecialty = new ArrayList<CodeableConceptDt>();
|
||||
}
|
||||
return mySpecialty;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for specialty (Specific specialty of the practitioner)
|
||||
* Sets the value(s) for <b>specialty</b> (Specific specialty of the practitioner)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -323,20 +393,26 @@ public class Practitioner implements IResource {
|
|||
mySpecialty = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for period (The period during which the practitioner is authorized to perform in these role(s))
|
||||
* Gets the value(s) for <b>period</b> (The period during which the practitioner is authorized to perform in these role(s)).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The period during which the person is authorized to act as a practitioner in these role(s) for the organization
|
||||
* </p>
|
||||
*/
|
||||
public PeriodDt getPeriod() {
|
||||
public PeriodDt getPeriod() {
|
||||
if (myPeriod == null) {
|
||||
myPeriod = new PeriodDt();
|
||||
}
|
||||
return myPeriod;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for period (The period during which the practitioner is authorized to perform in these role(s))
|
||||
* Sets the value(s) for <b>period</b> (The period during which the practitioner is authorized to perform in these role(s))
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -347,20 +423,26 @@ public class Practitioner implements IResource {
|
|||
myPeriod = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for location (The location(s) at which this practitioner provides care)
|
||||
* Gets the value(s) for <b>location</b> (The location(s) at which this practitioner provides care).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The location(s) at which this practitioner provides care
|
||||
* </p>
|
||||
*/
|
||||
public List<ResourceReference> getLocation() {
|
||||
public List<ResourceReference> getLocation() {
|
||||
if (myLocation == null) {
|
||||
myLocation = new ArrayList<ResourceReference>();
|
||||
}
|
||||
return myLocation;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for location (The location(s) at which this practitioner provides care)
|
||||
* Sets the value(s) for <b>location</b> (The location(s) at which this practitioner provides care)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -371,44 +453,56 @@ public class Practitioner implements IResource {
|
|||
myLocation = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for qualification (Qualifications obtained by training and certification)
|
||||
* Gets the value(s) for <b>qualification</b> (Qualifications obtained by training and certification).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* ${child.definition}
|
||||
*
|
||||
* </p>
|
||||
*/
|
||||
public List<IDatatype> getQualification() {
|
||||
public List<Qualification> getQualification() {
|
||||
if (myQualification == null) {
|
||||
myQualification = new ArrayList<Qualification>();
|
||||
}
|
||||
return myQualification;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for qualification (Qualifications obtained by training and certification)
|
||||
* Sets the value(s) for <b>qualification</b> (Qualifications obtained by training and certification)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* ${child.definition}
|
||||
*
|
||||
* </p>
|
||||
*/
|
||||
public void setQualification(List<IDatatype> theValue) {
|
||||
public void setQualification(List<Qualification> theValue) {
|
||||
myQualification = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for communication (A language the practitioner is able to use in patient communication)
|
||||
* Gets the value(s) for <b>communication</b> (A language the practitioner is able to use in patient communication).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A language the practitioner is able to use in patient communication
|
||||
* </p>
|
||||
*/
|
||||
public List<CodeableConceptDt> getCommunication() {
|
||||
public List<CodeableConceptDt> getCommunication() {
|
||||
if (myCommunication == null) {
|
||||
myCommunication = new ArrayList<CodeableConceptDt>();
|
||||
}
|
||||
return myCommunication;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for communication (A language the practitioner is able to use in patient communication)
|
||||
* Sets the value(s) for <b>communication</b> (A language the practitioner is able to use in patient communication)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -419,13 +513,14 @@ public class Practitioner implements IResource {
|
|||
myCommunication = theValue;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Block class for child element: <b>Practitioner.qualification</b> (Qualifications obtained by training and certification)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* ${child.definition}
|
||||
*
|
||||
* </p>
|
||||
*/
|
||||
@Block(name="Practitioner.qualification")
|
||||
|
@ -473,25 +568,30 @@ public class Practitioner implements IResource {
|
|||
private List<ResourceReference> myLocation;
|
||||
|
||||
@Child(name="qualification", order=12, min=0, max=Child.MAX_UNLIMITED)
|
||||
private List<IDatatype> myQualification;
|
||||
private List<Qualification> myQualification;
|
||||
|
||||
@Child(name="communication", type=CodeableConceptDt.class, order=13, min=0, max=Child.MAX_UNLIMITED)
|
||||
private List<CodeableConceptDt> myCommunication;
|
||||
|
||||
/**
|
||||
* Gets the value(s) for identifier (A identifier for the person as this agent)
|
||||
* Gets the value(s) for <b>identifier</b> (A identifier for the person as this agent).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* An identifier that applies to this person in this role
|
||||
* </p>
|
||||
*/
|
||||
public List<IdentifierDt> getIdentifier() {
|
||||
public List<IdentifierDt> getIdentifier() {
|
||||
if (myIdentifier == null) {
|
||||
myIdentifier = new ArrayList<IdentifierDt>();
|
||||
}
|
||||
return myIdentifier;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for identifier (A identifier for the person as this agent)
|
||||
* Sets the value(s) for <b>identifier</b> (A identifier for the person as this agent)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -502,20 +602,26 @@ public class Practitioner implements IResource {
|
|||
myIdentifier = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for name (A name associated with the person)
|
||||
* Gets the value(s) for <b>name</b> (A name associated with the person).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A name associated with the person
|
||||
* </p>
|
||||
*/
|
||||
public HumanNameDt getName() {
|
||||
public HumanNameDt getName() {
|
||||
if (myName == null) {
|
||||
myName = new HumanNameDt();
|
||||
}
|
||||
return myName;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for name (A name associated with the person)
|
||||
* Sets the value(s) for <b>name</b> (A name associated with the person)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -526,20 +632,26 @@ public class Practitioner implements IResource {
|
|||
myName = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for telecom (A contact detail for the practitioner)
|
||||
* Gets the value(s) for <b>telecom</b> (A contact detail for the practitioner).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A contact detail for the practitioner, e.g. a telephone number or an email address.
|
||||
* </p>
|
||||
*/
|
||||
public List<ContactDt> getTelecom() {
|
||||
public List<ContactDt> getTelecom() {
|
||||
if (myTelecom == null) {
|
||||
myTelecom = new ArrayList<ContactDt>();
|
||||
}
|
||||
return myTelecom;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for telecom (A contact detail for the practitioner)
|
||||
* Sets the value(s) for <b>telecom</b> (A contact detail for the practitioner)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -550,20 +662,26 @@ public class Practitioner implements IResource {
|
|||
myTelecom = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for address (Where practitioner can be found/visited)
|
||||
* Gets the value(s) for <b>address</b> (Where practitioner can be found/visited).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The postal address where the practitioner can be found or visited or to which mail can be delivered
|
||||
* </p>
|
||||
*/
|
||||
public AddressDt getAddress() {
|
||||
public AddressDt getAddress() {
|
||||
if (myAddress == null) {
|
||||
myAddress = new AddressDt();
|
||||
}
|
||||
return myAddress;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for address (Where practitioner can be found/visited)
|
||||
* Sets the value(s) for <b>address</b> (Where practitioner can be found/visited)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -574,20 +692,26 @@ public class Practitioner implements IResource {
|
|||
myAddress = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for gender (Gender for administrative purposes)
|
||||
* Gets the value(s) for <b>gender</b> (Gender for administrative purposes).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.
|
||||
* </p>
|
||||
*/
|
||||
public CodeableConceptDt getGender() {
|
||||
public CodeableConceptDt getGender() {
|
||||
if (myGender == null) {
|
||||
myGender = new CodeableConceptDt();
|
||||
}
|
||||
return myGender;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for gender (Gender for administrative purposes)
|
||||
* Sets the value(s) for <b>gender</b> (Gender for administrative purposes)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -598,20 +722,26 @@ public class Practitioner implements IResource {
|
|||
myGender = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for birthDate (The date and time of birth for the practitioner)
|
||||
* Gets the value(s) for <b>birthDate</b> (The date and time of birth for the practitioner).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The date and time of birth for the practitioner
|
||||
* </p>
|
||||
*/
|
||||
public DateTimeDt getBirthDate() {
|
||||
public DateTimeDt getBirthDate() {
|
||||
if (myBirthDate == null) {
|
||||
myBirthDate = new DateTimeDt();
|
||||
}
|
||||
return myBirthDate;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for birthDate (The date and time of birth for the practitioner)
|
||||
* Sets the value(s) for <b>birthDate</b> (The date and time of birth for the practitioner)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -623,19 +753,36 @@ public class Practitioner implements IResource {
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for photo (Image of the person)
|
||||
* Sets the value(s) for <b>birthDate</b> (The date and time of birth for the practitioner)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The date and time of birth for the practitioner
|
||||
* </p>
|
||||
*/
|
||||
public void setBirthDateWithSecondsPrecision( Date theDate) {
|
||||
myBirthDate = new DateTimeDt(theDate);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>photo</b> (Image of the person).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Image of the person
|
||||
* </p>
|
||||
*/
|
||||
public List<AttachmentDt> getPhoto() {
|
||||
public List<AttachmentDt> getPhoto() {
|
||||
if (myPhoto == null) {
|
||||
myPhoto = new ArrayList<AttachmentDt>();
|
||||
}
|
||||
return myPhoto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for photo (Image of the person)
|
||||
* Sets the value(s) for <b>photo</b> (Image of the person)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -646,20 +793,26 @@ public class Practitioner implements IResource {
|
|||
myPhoto = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for organization (The represented organization)
|
||||
* Gets the value(s) for <b>organization</b> (The represented organization).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The organization that the practitioner represents
|
||||
* </p>
|
||||
*/
|
||||
public ResourceReference getOrganization() {
|
||||
public ResourceReference getOrganization() {
|
||||
if (myOrganization == null) {
|
||||
myOrganization = new ResourceReference();
|
||||
}
|
||||
return myOrganization;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for organization (The represented organization)
|
||||
* Sets the value(s) for <b>organization</b> (The represented organization)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -670,20 +823,26 @@ public class Practitioner implements IResource {
|
|||
myOrganization = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for role (Roles which this practitioner may perform)
|
||||
* Gets the value(s) for <b>role</b> (Roles which this practitioner may perform).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Roles which this practitioner is authorized to perform for the organization
|
||||
* </p>
|
||||
*/
|
||||
public List<CodeableConceptDt> getRole() {
|
||||
public List<CodeableConceptDt> getRole() {
|
||||
if (myRole == null) {
|
||||
myRole = new ArrayList<CodeableConceptDt>();
|
||||
}
|
||||
return myRole;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for role (Roles which this practitioner may perform)
|
||||
* Sets the value(s) for <b>role</b> (Roles which this practitioner may perform)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -694,20 +853,26 @@ public class Practitioner implements IResource {
|
|||
myRole = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for specialty (Specific specialty of the practitioner)
|
||||
* Gets the value(s) for <b>specialty</b> (Specific specialty of the practitioner).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Specific specialty of the practitioner
|
||||
* </p>
|
||||
*/
|
||||
public List<CodeableConceptDt> getSpecialty() {
|
||||
public List<CodeableConceptDt> getSpecialty() {
|
||||
if (mySpecialty == null) {
|
||||
mySpecialty = new ArrayList<CodeableConceptDt>();
|
||||
}
|
||||
return mySpecialty;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for specialty (Specific specialty of the practitioner)
|
||||
* Sets the value(s) for <b>specialty</b> (Specific specialty of the practitioner)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -718,20 +883,26 @@ public class Practitioner implements IResource {
|
|||
mySpecialty = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for period (The period during which the practitioner is authorized to perform in these role(s))
|
||||
* Gets the value(s) for <b>period</b> (The period during which the practitioner is authorized to perform in these role(s)).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The period during which the person is authorized to act as a practitioner in these role(s) for the organization
|
||||
* </p>
|
||||
*/
|
||||
public PeriodDt getPeriod() {
|
||||
public PeriodDt getPeriod() {
|
||||
if (myPeriod == null) {
|
||||
myPeriod = new PeriodDt();
|
||||
}
|
||||
return myPeriod;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for period (The period during which the practitioner is authorized to perform in these role(s))
|
||||
* Sets the value(s) for <b>period</b> (The period during which the practitioner is authorized to perform in these role(s))
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -742,20 +913,26 @@ public class Practitioner implements IResource {
|
|||
myPeriod = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for location (The location(s) at which this practitioner provides care)
|
||||
* Gets the value(s) for <b>location</b> (The location(s) at which this practitioner provides care).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* The location(s) at which this practitioner provides care
|
||||
* </p>
|
||||
*/
|
||||
public List<ResourceReference> getLocation() {
|
||||
public List<ResourceReference> getLocation() {
|
||||
if (myLocation == null) {
|
||||
myLocation = new ArrayList<ResourceReference>();
|
||||
}
|
||||
return myLocation;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for location (The location(s) at which this practitioner provides care)
|
||||
* Sets the value(s) for <b>location</b> (The location(s) at which this practitioner provides care)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -766,44 +943,56 @@ public class Practitioner implements IResource {
|
|||
myLocation = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for qualification (Qualifications obtained by training and certification)
|
||||
* Gets the value(s) for <b>qualification</b> (Qualifications obtained by training and certification).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* ${child.definition}
|
||||
*
|
||||
* </p>
|
||||
*/
|
||||
public List<IDatatype> getQualification() {
|
||||
public List<Qualification> getQualification() {
|
||||
if (myQualification == null) {
|
||||
myQualification = new ArrayList<Qualification>();
|
||||
}
|
||||
return myQualification;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for qualification (Qualifications obtained by training and certification)
|
||||
* Sets the value(s) for <b>qualification</b> (Qualifications obtained by training and certification)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* ${child.definition}
|
||||
*
|
||||
* </p>
|
||||
*/
|
||||
public void setQualification(List<IDatatype> theValue) {
|
||||
public void setQualification(List<Qualification> theValue) {
|
||||
myQualification = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for communication (A language the practitioner is able to use in patient communication)
|
||||
* Gets the value(s) for <b>communication</b> (A language the practitioner is able to use in patient communication).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A language the practitioner is able to use in patient communication
|
||||
* </p>
|
||||
*/
|
||||
public List<CodeableConceptDt> getCommunication() {
|
||||
public List<CodeableConceptDt> getCommunication() {
|
||||
if (myCommunication == null) {
|
||||
myCommunication = new ArrayList<CodeableConceptDt>();
|
||||
}
|
||||
return myCommunication;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for communication (A language the practitioner is able to use in patient communication)
|
||||
* Sets the value(s) for <b>communication</b> (A language the practitioner is able to use in patient communication)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
|
@ -814,6 +1003,7 @@ public class Practitioner implements IResource {
|
|||
myCommunication = theValue;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,494 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
package ca.uhn.fhir.model.dstu.resource;
|
||||
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
import ca.uhn.fhir.model.primitive.*;
|
||||
import ca.uhn.fhir.model.dstu.composite.*;
|
||||
|
||||
/**
|
||||
* HAPI/FHIR <b>Substance</b> Resource
|
||||
* (A homogeneous material with a definite composition )
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
*
|
||||
* </p>
|
||||
*
|
||||
* <p>
|
||||
* <b>Requirements:</b>
|
||||
*
|
||||
* </p>
|
||||
*/
|
||||
@ResourceDef(name="Substance")
|
||||
public class Substance implements IResource {
|
||||
|
||||
@Child(name="type", type=CodeableConceptDt.class, order=0, min=1, max=1)
|
||||
private CodeableConceptDt myType;
|
||||
|
||||
@Child(name="description", type=StringDt.class, order=1, min=0, max=1)
|
||||
private StringDt myDescription;
|
||||
|
||||
@Child(name="instance", order=2, min=0, max=1)
|
||||
private Instance myInstance;
|
||||
|
||||
@Child(name="ingredient", order=3, min=0, max=Child.MAX_UNLIMITED)
|
||||
private List<Ingredient> myIngredient;
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>type</b> (What kind of substance this is).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A code (or set of codes) that identify this substance
|
||||
* </p>
|
||||
*/
|
||||
public CodeableConceptDt getType() {
|
||||
if (myType == null) {
|
||||
myType = new CodeableConceptDt();
|
||||
}
|
||||
return myType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for <b>type</b> (What kind of substance this is)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A code (or set of codes) that identify this substance
|
||||
* </p>
|
||||
*/
|
||||
public void setType(CodeableConceptDt theValue) {
|
||||
myType = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>description</b> (Textual description of the substance, comments).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A description of the substance - its appearance, handling requirements, and other usage notes
|
||||
* </p>
|
||||
*/
|
||||
public StringDt getDescription() {
|
||||
if (myDescription == null) {
|
||||
myDescription = new StringDt();
|
||||
}
|
||||
return myDescription;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for <b>description</b> (Textual description of the substance, comments)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A description of the substance - its appearance, handling requirements, and other usage notes
|
||||
* </p>
|
||||
*/
|
||||
public void setDescription(StringDt theValue) {
|
||||
myDescription = theValue;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for <b>description</b> (Textual description of the substance, comments)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A description of the substance - its appearance, handling requirements, and other usage notes
|
||||
* </p>
|
||||
*/
|
||||
public void setDescription( String theString) {
|
||||
myDescription = new StringDt(theString);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>instance</b> (If this describes a specific package/container of the substance).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Substance may be used to describe a kind of substance, or a specific package/container of the substance: an instance
|
||||
* </p>
|
||||
*/
|
||||
public Instance getInstance() {
|
||||
if (myInstance == null) {
|
||||
myInstance = new Instance();
|
||||
}
|
||||
return myInstance;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for <b>instance</b> (If this describes a specific package/container of the substance)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Substance may be used to describe a kind of substance, or a specific package/container of the substance: an instance
|
||||
* </p>
|
||||
*/
|
||||
public void setInstance(Instance theValue) {
|
||||
myInstance = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>ingredient</b> (Composition information about the substance).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A substance can be composed of other substances
|
||||
* </p>
|
||||
*/
|
||||
public List<Ingredient> getIngredient() {
|
||||
if (myIngredient == null) {
|
||||
myIngredient = new ArrayList<Ingredient>();
|
||||
}
|
||||
return myIngredient;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for <b>ingredient</b> (Composition information about the substance)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A substance can be composed of other substances
|
||||
* </p>
|
||||
*/
|
||||
public void setIngredient(List<Ingredient> theValue) {
|
||||
myIngredient = theValue;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Block class for child element: <b>Substance.instance</b> (If this describes a specific package/container of the substance)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Substance may be used to describe a kind of substance, or a specific package/container of the substance: an instance
|
||||
* </p>
|
||||
*/
|
||||
@Block(name="Substance.instance")
|
||||
public static class Instance implements IResourceBlock {
|
||||
@Child(name="type", type=CodeableConceptDt.class, order=0, min=1, max=1)
|
||||
private CodeableConceptDt myType;
|
||||
|
||||
@Child(name="description", type=StringDt.class, order=1, min=0, max=1)
|
||||
private StringDt myDescription;
|
||||
|
||||
@Child(name="instance", order=2, min=0, max=1)
|
||||
private Instance myInstance;
|
||||
|
||||
@Child(name="ingredient", order=3, min=0, max=Child.MAX_UNLIMITED)
|
||||
private List<Ingredient> myIngredient;
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>type</b> (What kind of substance this is).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A code (or set of codes) that identify this substance
|
||||
* </p>
|
||||
*/
|
||||
public CodeableConceptDt getType() {
|
||||
if (myType == null) {
|
||||
myType = new CodeableConceptDt();
|
||||
}
|
||||
return myType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for <b>type</b> (What kind of substance this is)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A code (or set of codes) that identify this substance
|
||||
* </p>
|
||||
*/
|
||||
public void setType(CodeableConceptDt theValue) {
|
||||
myType = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>description</b> (Textual description of the substance, comments).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A description of the substance - its appearance, handling requirements, and other usage notes
|
||||
* </p>
|
||||
*/
|
||||
public StringDt getDescription() {
|
||||
if (myDescription == null) {
|
||||
myDescription = new StringDt();
|
||||
}
|
||||
return myDescription;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for <b>description</b> (Textual description of the substance, comments)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A description of the substance - its appearance, handling requirements, and other usage notes
|
||||
* </p>
|
||||
*/
|
||||
public void setDescription(StringDt theValue) {
|
||||
myDescription = theValue;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for <b>description</b> (Textual description of the substance, comments)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A description of the substance - its appearance, handling requirements, and other usage notes
|
||||
* </p>
|
||||
*/
|
||||
public void setDescription( String theString) {
|
||||
myDescription = new StringDt(theString);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>instance</b> (If this describes a specific package/container of the substance).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Substance may be used to describe a kind of substance, or a specific package/container of the substance: an instance
|
||||
* </p>
|
||||
*/
|
||||
public Instance getInstance() {
|
||||
if (myInstance == null) {
|
||||
myInstance = new Instance();
|
||||
}
|
||||
return myInstance;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for <b>instance</b> (If this describes a specific package/container of the substance)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Substance may be used to describe a kind of substance, or a specific package/container of the substance: an instance
|
||||
* </p>
|
||||
*/
|
||||
public void setInstance(Instance theValue) {
|
||||
myInstance = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>ingredient</b> (Composition information about the substance).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A substance can be composed of other substances
|
||||
* </p>
|
||||
*/
|
||||
public List<Ingredient> getIngredient() {
|
||||
if (myIngredient == null) {
|
||||
myIngredient = new ArrayList<Ingredient>();
|
||||
}
|
||||
return myIngredient;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for <b>ingredient</b> (Composition information about the substance)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A substance can be composed of other substances
|
||||
* </p>
|
||||
*/
|
||||
public void setIngredient(List<Ingredient> theValue) {
|
||||
myIngredient = theValue;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Block class for child element: <b>Substance.ingredient</b> (Composition information about the substance)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A substance can be composed of other substances
|
||||
* </p>
|
||||
*/
|
||||
@Block(name="Substance.ingredient")
|
||||
public static class Ingredient implements IResourceBlock {
|
||||
@Child(name="type", type=CodeableConceptDt.class, order=0, min=1, max=1)
|
||||
private CodeableConceptDt myType;
|
||||
|
||||
@Child(name="description", type=StringDt.class, order=1, min=0, max=1)
|
||||
private StringDt myDescription;
|
||||
|
||||
@Child(name="instance", order=2, min=0, max=1)
|
||||
private Instance myInstance;
|
||||
|
||||
@Child(name="ingredient", order=3, min=0, max=Child.MAX_UNLIMITED)
|
||||
private List<Ingredient> myIngredient;
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>type</b> (What kind of substance this is).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A code (or set of codes) that identify this substance
|
||||
* </p>
|
||||
*/
|
||||
public CodeableConceptDt getType() {
|
||||
if (myType == null) {
|
||||
myType = new CodeableConceptDt();
|
||||
}
|
||||
return myType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for <b>type</b> (What kind of substance this is)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A code (or set of codes) that identify this substance
|
||||
* </p>
|
||||
*/
|
||||
public void setType(CodeableConceptDt theValue) {
|
||||
myType = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>description</b> (Textual description of the substance, comments).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A description of the substance - its appearance, handling requirements, and other usage notes
|
||||
* </p>
|
||||
*/
|
||||
public StringDt getDescription() {
|
||||
if (myDescription == null) {
|
||||
myDescription = new StringDt();
|
||||
}
|
||||
return myDescription;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for <b>description</b> (Textual description of the substance, comments)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A description of the substance - its appearance, handling requirements, and other usage notes
|
||||
* </p>
|
||||
*/
|
||||
public void setDescription(StringDt theValue) {
|
||||
myDescription = theValue;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for <b>description</b> (Textual description of the substance, comments)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A description of the substance - its appearance, handling requirements, and other usage notes
|
||||
* </p>
|
||||
*/
|
||||
public void setDescription( String theString) {
|
||||
myDescription = new StringDt(theString);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>instance</b> (If this describes a specific package/container of the substance).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Substance may be used to describe a kind of substance, or a specific package/container of the substance: an instance
|
||||
* </p>
|
||||
*/
|
||||
public Instance getInstance() {
|
||||
if (myInstance == null) {
|
||||
myInstance = new Instance();
|
||||
}
|
||||
return myInstance;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for <b>instance</b> (If this describes a specific package/container of the substance)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* Substance may be used to describe a kind of substance, or a specific package/container of the substance: an instance
|
||||
* </p>
|
||||
*/
|
||||
public void setInstance(Instance theValue) {
|
||||
myInstance = theValue;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>ingredient</b> (Composition information about the substance).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A substance can be composed of other substances
|
||||
* </p>
|
||||
*/
|
||||
public List<Ingredient> getIngredient() {
|
||||
if (myIngredient == null) {
|
||||
myIngredient = new ArrayList<Ingredient>();
|
||||
}
|
||||
return myIngredient;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value(s) for <b>ingredient</b> (Composition information about the substance)
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* A substance can be composed of other substances
|
||||
* </p>
|
||||
*/
|
||||
public void setIngredient(List<Ingredient> theValue) {
|
||||
myIngredient = theValue;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -10,6 +10,20 @@ public class Base64BinaryDt extends BasePrimitiveDatatype<byte[]> {
|
|||
|
||||
private byte[] myValue;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
public Base64BinaryDt() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
public Base64BinaryDt(byte[] theValue) {
|
||||
myValue=theValue;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setValueAsString(String theValue) {
|
||||
if (theValue == null) {
|
||||
|
|
|
@ -4,7 +4,7 @@ import ca.uhn.fhir.model.api.BasePrimitiveDatatype;
|
|||
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
|
||||
import ca.uhn.fhir.parser.DataFormatException;
|
||||
|
||||
@DatatypeDef(name="boolean")
|
||||
@DatatypeDef(name = "boolean")
|
||||
public class BooleanDt extends BasePrimitiveDatatype<Boolean> {
|
||||
|
||||
private Boolean myValue;
|
||||
|
@ -13,16 +13,23 @@ public class BooleanDt extends BasePrimitiveDatatype<Boolean> {
|
|||
public void setValueAsString(String theValue) throws DataFormatException {
|
||||
if ("true".equals(theValue)) {
|
||||
myValue = Boolean.TRUE;
|
||||
}else if ("false".equals(theValue)) {
|
||||
myValue=Boolean.FALSE;
|
||||
}else {
|
||||
} else if ("false".equals(theValue)) {
|
||||
myValue = Boolean.FALSE;
|
||||
} else {
|
||||
throw new DataFormatException("Invalid boolean string: '" + theValue + "'");
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getValueAsString() {
|
||||
return null;
|
||||
if (myValue == null) {
|
||||
return null;
|
||||
} else if (Boolean.TRUE.equals(myValue)) {
|
||||
return "true";
|
||||
} else {
|
||||
return "false";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -35,4 +42,7 @@ public class BooleanDt extends BasePrimitiveDatatype<Boolean> {
|
|||
return myValue;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -1,11 +1,30 @@
|
|||
package ca.uhn.fhir.model.primitive;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
|
||||
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
|
||||
import ca.uhn.fhir.model.api.annotation.SimpleSetter;
|
||||
|
||||
@DatatypeDef(name = "dateTime")
|
||||
public class DateTimeDt extends BaseDateTimeDt {
|
||||
|
||||
/**
|
||||
* Create a new DateTimeDt
|
||||
*/
|
||||
public DateTimeDt() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a new DateTimeDt
|
||||
*/
|
||||
@SimpleSetter(suffix="WithSecondsPrecision")
|
||||
public DateTimeDt(@SimpleSetter.Parameter(name="theDate") Date theDate) {
|
||||
setValue(theDate);
|
||||
setPrecision(TemporalPrecisionEnum.SECOND);
|
||||
}
|
||||
|
||||
@Override
|
||||
boolean isPrecisionAllowed(TemporalPrecisionEnum thePrecision) {
|
||||
switch (thePrecision) {
|
||||
|
|
|
@ -0,0 +1,87 @@
|
|||
package ca.uhn.fhir.model.primitive;
|
||||
|
||||
import ca.uhn.fhir.model.api.BasePrimitiveDatatype;
|
||||
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
|
||||
import ca.uhn.fhir.model.api.annotation.SimpleSetter;
|
||||
import ca.uhn.fhir.parser.DataFormatException;
|
||||
|
||||
@DatatypeDef(name = "id")
|
||||
public class IdDt extends BasePrimitiveDatatype<String> {
|
||||
|
||||
private String myValue;
|
||||
|
||||
/**
|
||||
* Create a new ID.
|
||||
*
|
||||
* <p>
|
||||
* <b>Description</b>:
|
||||
* A whole number in the range 0 to 2^64-1 (optionally represented in hex), a uuid, an oid, or any other combination of lowercase letters, numerals, "-" and ".", with a length limit of 36 characters.
|
||||
* </p>
|
||||
* <p>
|
||||
* regex: [a-z0-9\-\.]{1,36}
|
||||
* </p>
|
||||
*/
|
||||
public IdDt() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a new ID
|
||||
*
|
||||
* <p>
|
||||
* <b>Description</b>:
|
||||
* A whole number in the range 0 to 2^64-1 (optionally represented in hex), a uuid, an oid, or any other combination of lowercase letters, numerals, "-" and ".", with a length limit of 36 characters.
|
||||
* </p>
|
||||
* <p>
|
||||
* regex: [a-z0-9\-\.]{1,36}
|
||||
* </p>
|
||||
*/
|
||||
@SimpleSetter
|
||||
public IdDt(@SimpleSetter.Parameter(name="theId") String theValue) {
|
||||
myValue=theValue;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getValue() {
|
||||
return myValue;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getValueAsString() {
|
||||
return myValue;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the value
|
||||
*
|
||||
* <p>
|
||||
* <b>Description</b>:
|
||||
* A whole number in the range 0 to 2^64-1 (optionally represented in hex), a uuid, an oid, or any other combination of lowercase letters, numerals, "-" and ".", with a length limit of 36 characters.
|
||||
* </p>
|
||||
* <p>
|
||||
* regex: [a-z0-9\-\.]{1,36}
|
||||
* </p>
|
||||
*/
|
||||
@Override
|
||||
public void setValue(String theValue) throws DataFormatException {
|
||||
myValue = theValue;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the value
|
||||
*
|
||||
* <p>
|
||||
* <b>Description</b>:
|
||||
* A whole number in the range 0 to 2^64-1 (optionally represented in hex), a uuid, an oid, or any other combination of lowercase letters, numerals, "-" and ".", with a length limit of 36 characters.
|
||||
* </p>
|
||||
* <p>
|
||||
* regex: [a-z0-9\-\.]{1,36}
|
||||
* </p>
|
||||
*/
|
||||
@Override
|
||||
public void setValueAsString(String theValue) throws DataFormatException {
|
||||
myValue = theValue;
|
||||
}
|
||||
|
||||
|
||||
}
|
|
@ -2,6 +2,7 @@ package ca.uhn.fhir.model.primitive;
|
|||
|
||||
import ca.uhn.fhir.model.api.BasePrimitiveDatatype;
|
||||
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
|
||||
import ca.uhn.fhir.model.api.annotation.SimpleSetter;
|
||||
import ca.uhn.fhir.parser.DataFormatException;
|
||||
|
||||
@DatatypeDef(name = "string")
|
||||
|
@ -9,6 +10,21 @@ public class StringDt extends BasePrimitiveDatatype<String> {
|
|||
|
||||
private String myValue;
|
||||
|
||||
/**
|
||||
* Create a new String
|
||||
*/
|
||||
public StringDt() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a new String
|
||||
*/
|
||||
@SimpleSetter
|
||||
public StringDt(@SimpleSetter.Parameter(name="theString") String theValue) {
|
||||
myValue=theValue;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getValue() {
|
||||
return myValue;
|
||||
|
@ -28,5 +44,6 @@ public class StringDt extends BasePrimitiveDatatype<String> {
|
|||
public void setValueAsString(String theValue) throws DataFormatException {
|
||||
myValue = theValue;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package ca.uhn.fhir.parser;
|
||||
|
||||
public class DataFormatException extends Exception {
|
||||
public class DataFormatException extends RuntimeException {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
|
|
@ -259,7 +259,10 @@ class ParserState {
|
|||
public void enteringNewElement(StartElement theElement, String theChildName) throws DataFormatException {
|
||||
BaseRuntimeChildDefinition child = myDefinition.getChildByNameOrThrowDataFormatException(theChildName);
|
||||
BaseRuntimeElementDefinition<?> target = child.getChildByName(theChildName);
|
||||
|
||||
if (target == null) {
|
||||
throw new DataFormatException("Found unexpected element '" + theChildName + "' in parent element '" + myDefinition.getName() + "'. Valid names are: " + child.getValidChildNames());
|
||||
}
|
||||
|
||||
switch (target.getChildType()) {
|
||||
case COMPOSITE_DATATYPE: {
|
||||
BaseRuntimeElementCompositeDefinition<?> compositeTarget = (BaseRuntimeElementCompositeDefinition<?>) target;
|
||||
|
|
|
@ -0,0 +1,30 @@
|
|||
<Profile xmlns="http://hl7.org/fhir" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://hl7.org/fhir ./fhir-single.xsd">
|
||||
|
||||
<identifier value="urn:uhn:fhir:profile:cgta" />
|
||||
<version value="0.1" />
|
||||
<name value="SAIL Object Profile" />
|
||||
<status value="draft" />
|
||||
|
||||
<structure>
|
||||
<type value="Patient" />
|
||||
<<<<<<< HEAD
|
||||
<element>
|
||||
<path value="Patient.identifier"/>
|
||||
=======
|
||||
<name value="CGTAPatient" />
|
||||
<element>
|
||||
<path value="Patient.identifier"/>
|
||||
<!--
|
||||
<slicing>
|
||||
<discriminator value="" />
|
||||
<ordered value="true"/>
|
||||
<rules value="open"/>
|
||||
</slicing>
|
||||
-->
|
||||
>>>>>>> dd400c683bf153fb56145f206b826d08aa32f324
|
||||
</element>
|
||||
</structure>
|
||||
|
||||
|
||||
</Profile>
|
|
@ -29,6 +29,7 @@ import ca.uhn.fhir.starter.model.Child;
|
|||
import ca.uhn.fhir.starter.model.Extension;
|
||||
import ca.uhn.fhir.starter.model.Resource;
|
||||
import ca.uhn.fhir.starter.model.ResourceBlock;
|
||||
import ca.uhn.fhir.starter.model.ResourceBlockCopy;
|
||||
import ca.uhn.fhir.starter.model.SimpleSetter.Parameter;
|
||||
import ca.uhn.fhir.starter.util.XMLUtils;
|
||||
|
||||
|
@ -87,24 +88,21 @@ public abstract class BaseParser {
|
|||
Child elem;
|
||||
if (StringUtils.isBlank(type) || type.startsWith("=")) {
|
||||
elem = new ResourceBlock();
|
||||
} else if (type.startsWith("@")) {
|
||||
type = type.substring(type.lastIndexOf('.')+1);
|
||||
elem=new ResourceBlockCopy();
|
||||
} else {
|
||||
elem = new Child();
|
||||
}
|
||||
|
||||
parseBasicElements(nextRow, elem);
|
||||
|
||||
for (int childIdx = 0; childIdx < elem.getType().size(); childIdx++) {
|
||||
String nextType = elem.getType().get(childIdx);
|
||||
nextType = nextType.substring(0, 1).toUpperCase() + nextType.substring(1);
|
||||
elem.getType().set(childIdx, nextType);
|
||||
}
|
||||
|
||||
elements.put(elem.getName(), elem);
|
||||
BaseElement parent = elements.get(elem.getElementParentName());
|
||||
if (parent == null) {
|
||||
throw new Exception("Can't find element " + elem.getElementParentName() + " - Valid values are: " + elements.keySet());
|
||||
}
|
||||
parent.getChildren().add(elem);
|
||||
parent.addChild(elem);
|
||||
|
||||
/*
|
||||
* Find simple setters
|
||||
|
@ -139,6 +137,7 @@ public abstract class BaseParser {
|
|||
|
||||
ca.uhn.fhir.starter.model.SimpleSetter ss = new ca.uhn.fhir.starter.model.SimpleSetter();
|
||||
ss.setDatatype(childDt.getSimpleName());
|
||||
ss.setSuffix(simpleSetter.suffix());
|
||||
theElem.getSimpleSetters().add(ss);
|
||||
|
||||
Annotation[][] paramAnn = nextConstructor.getParameterAnnotations();
|
||||
|
|
|
@ -65,70 +65,81 @@ public class ResourceParser extends BaseParser {
|
|||
// p.parse();
|
||||
|
||||
|
||||
// p.setDirectory("src/test/resources/res");
|
||||
// p.setResourceName("medication");
|
||||
// p.setOutputFile("../hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/resource/Medication.java");
|
||||
// p.parse();
|
||||
//
|
||||
// p.setDirectory("src/test/resources/res");
|
||||
// p.setResourceName("substance");
|
||||
// p.setOutputFile("../hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/resource/Substance.java");
|
||||
// p.parse();
|
||||
|
||||
|
||||
p.setDirectory("src/test/resources/res");
|
||||
p.setResourceName("valueset");
|
||||
p.setOutputFile("../hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/resource/ValueSet.java");
|
||||
p.parse();
|
||||
|
||||
p = new ResourceParser();
|
||||
p.setDirectory("src/test/resources/res");
|
||||
p.setResourceName("observation");
|
||||
p.setOutputFile("../hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/resource/Observation.java");
|
||||
p.parse();
|
||||
|
||||
p.setResourceName("profile");
|
||||
p.setOutputFile("../hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/resource/Profile.java");
|
||||
p.parse();
|
||||
|
||||
p.setResourceName("device");
|
||||
p.setOutputFile("../hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/resource/Device.java");
|
||||
p.parse();
|
||||
|
||||
p.setResourceName("group");
|
||||
p.setOutputFile("../hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/resource/Group.java");
|
||||
p.parse();
|
||||
|
||||
p.setResourceName("location");
|
||||
p.setOutputFile("../hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/resource/Location.java");
|
||||
p.parse();
|
||||
|
||||
p.setResourceName("organization");
|
||||
p.setOutputFile("../hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/resource/Organization.java");
|
||||
p.parse();
|
||||
|
||||
p.setResourceName("patient");
|
||||
p.setOutputFile("../hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/resource/Patient.java");
|
||||
p.parse();
|
||||
|
||||
p.setResourceName("specimen");
|
||||
p.setOutputFile("../hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/resource/Specimen.java");
|
||||
p.parse();
|
||||
|
||||
p.setResourceName("practitioner");
|
||||
p.setOutputFile("../hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/resource/Practitioner.java");
|
||||
p.parse();
|
||||
|
||||
DatatypeParser d = new DatatypeParser();
|
||||
d.setDirectory("src/test/resources/dt");
|
||||
d.setDatatypeName("humanname");
|
||||
d.setOutputFile("../hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/composite/HumanNameDt.java");
|
||||
d.parse();
|
||||
|
||||
d.setDatatypeName("contact");
|
||||
d.setOutputFile("../hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/composite/ContactDt.java");
|
||||
d.parse();
|
||||
|
||||
d.setDatatypeName("address");
|
||||
d.setOutputFile("../hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/composite/AddressDt.java");
|
||||
d.parse();
|
||||
|
||||
d.setDatatypeName("narrative");
|
||||
d.setOutputFile("../hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/composite/NarrativeDt.java");
|
||||
d.parse();
|
||||
|
||||
d.setDatatypeName("quantity");
|
||||
d.setOutputFile("../hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/composite/QuantityDt.java");
|
||||
d.parse();
|
||||
// p = new ResourceParser();
|
||||
// p.setDirectory("src/test/resources/res");
|
||||
// p.setResourceName("observation");
|
||||
// p.setOutputFile("../hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/resource/Observation.java");
|
||||
// p.parse();
|
||||
//
|
||||
// p.setResourceName("profile");
|
||||
// p.setOutputFile("../hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/resource/Profile.java");
|
||||
// p.parse();
|
||||
//
|
||||
// p.setResourceName("device");
|
||||
// p.setOutputFile("../hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/resource/Device.java");
|
||||
// p.parse();
|
||||
//
|
||||
// p.setResourceName("group");
|
||||
// p.setOutputFile("../hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/resource/Group.java");
|
||||
// p.parse();
|
||||
//
|
||||
// p.setResourceName("location");
|
||||
// p.setOutputFile("../hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/resource/Location.java");
|
||||
// p.parse();
|
||||
//
|
||||
// p.setResourceName("organization");
|
||||
// p.setOutputFile("../hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/resource/Organization.java");
|
||||
// p.parse();
|
||||
//
|
||||
// p.setResourceName("patient");
|
||||
// p.setOutputFile("../hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/resource/Patient.java");
|
||||
// p.parse();
|
||||
//
|
||||
// p.setResourceName("specimen");
|
||||
// p.setOutputFile("../hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/resource/Specimen.java");
|
||||
// p.parse();
|
||||
//
|
||||
// p.setResourceName("practitioner");
|
||||
// p.setOutputFile("../hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/resource/Practitioner.java");
|
||||
// p.parse();
|
||||
//
|
||||
// DatatypeParser d = new DatatypeParser();
|
||||
// d.setDirectory("src/test/resources/dt");
|
||||
// d.setDatatypeName("humanname");
|
||||
// d.setOutputFile("../hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/composite/HumanNameDt.java");
|
||||
// d.parse();
|
||||
//
|
||||
// d.setDatatypeName("contact");
|
||||
// d.setOutputFile("../hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/composite/ContactDt.java");
|
||||
// d.parse();
|
||||
//
|
||||
// d.setDatatypeName("address");
|
||||
// d.setOutputFile("../hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/composite/AddressDt.java");
|
||||
// d.parse();
|
||||
//
|
||||
// d.setDatatypeName("narrative");
|
||||
// d.setOutputFile("../hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/composite/NarrativeDt.java");
|
||||
// d.parse();
|
||||
//
|
||||
// d.setDatatypeName("quantity");
|
||||
// d.setOutputFile("../hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/composite/QuantityDt.java");
|
||||
// d.parse();
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,46 @@
|
|||
package ca.uhn.fhir.starter;
|
||||
|
||||
import java.io.FileNotFoundException;
|
||||
import java.io.FileReader;
|
||||
import java.io.IOException;
|
||||
|
||||
import org.apache.commons.io.IOUtils;
|
||||
|
||||
import ca.uhn.fhir.context.FhirContext;
|
||||
import ca.uhn.fhir.model.dstu.resource.ValueSet;
|
||||
|
||||
public class ValueSetParser {
|
||||
|
||||
private String myDirectory;
|
||||
private String myValueSetName;
|
||||
private String myOutputDirectory;
|
||||
|
||||
public static void main(String[] args) throws FileNotFoundException, IOException {
|
||||
|
||||
ValueSetParser p = new ValueSetParser();
|
||||
p.setDirectory("src/test/resources/vs/");
|
||||
p.setValueSetName("administrative-gender");
|
||||
p.setOutputDirectory("../hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/valueset/");
|
||||
p.parse();
|
||||
|
||||
}
|
||||
|
||||
private void parse() throws FileNotFoundException, IOException {
|
||||
String string = IOUtils.toString(new FileReader(myDirectory + "valueset-" + myValueSetName + ".xml"));
|
||||
ValueSet res = (ValueSet) new FhirContext(ValueSet.class).newXmlParser().parseResource(string);
|
||||
}
|
||||
|
||||
private void setOutputDirectory(String theString) {
|
||||
myOutputDirectory=theString;
|
||||
}
|
||||
|
||||
private void setValueSetName(String theString) {
|
||||
myValueSetName = theString;
|
||||
}
|
||||
|
||||
public void setDirectory(String theString) {
|
||||
myDirectory = theString;
|
||||
}
|
||||
|
||||
|
||||
}
|
|
@ -21,9 +21,7 @@ public abstract class BaseElement {
|
|||
private String myRequirement;
|
||||
private boolean myResourceRef = false;
|
||||
private String myShortName;
|
||||
|
||||
private List<String> myType;
|
||||
|
||||
private String myV2Mapping;
|
||||
|
||||
public String getBinding() {
|
||||
|
@ -45,6 +43,8 @@ public abstract class BaseElement {
|
|||
return myChildren;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public String getComments() {
|
||||
return myComments;
|
||||
}
|
||||
|
@ -80,7 +80,7 @@ public abstract class BaseElement {
|
|||
}
|
||||
|
||||
public String getShortName() {
|
||||
return myShortName;
|
||||
return defaultString(myShortName);
|
||||
}
|
||||
|
||||
public List<String> getType() {
|
||||
|
@ -95,7 +95,7 @@ public abstract class BaseElement {
|
|||
}
|
||||
|
||||
public boolean isHasMultipleTypes() {
|
||||
return myType.size() > 1;
|
||||
return getType().size() > 1;
|
||||
}
|
||||
|
||||
public boolean isResourceRef() {
|
||||
|
@ -144,18 +144,25 @@ public abstract class BaseElement {
|
|||
|
||||
public void setTypeFromString(String theType) {
|
||||
if (theType == null) {
|
||||
myType=null;
|
||||
myType = null;
|
||||
return;
|
||||
}
|
||||
String typeString = theType;
|
||||
if (typeString.toLowerCase().startsWith("resource(")) {
|
||||
typeString = typeString.substring("Resource(".length(), typeString.length() - 1);
|
||||
myResourceRef = true;
|
||||
}else if (typeString.startsWith("@")) {
|
||||
typeString = typeString.substring(typeString.lastIndexOf('.')+1);
|
||||
}
|
||||
|
||||
if (StringUtils.isNotBlank(typeString)) {
|
||||
String[] types = typeString.replace("=", "").split("\\|");
|
||||
for (String string : types) {
|
||||
getType().add(string.trim());
|
||||
for (String nextType : types) {
|
||||
nextType = nextType.trim();
|
||||
nextType = nextType.substring(0, 1).toUpperCase() + nextType.substring(1);
|
||||
if (isNotBlank(nextType)) {
|
||||
getType().add(nextType);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -165,4 +172,11 @@ public abstract class BaseElement {
|
|||
myV2Mapping = theV2Mapping;
|
||||
}
|
||||
|
||||
public void addChild(Child theElem) {
|
||||
if(myChildren==null) {
|
||||
myChildren=new ArrayList<BaseElement>();
|
||||
}
|
||||
myChildren.add(theElem);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -43,7 +43,7 @@ public class Child extends BaseElement {
|
|||
String retVal;
|
||||
if (this.isResourceRef()) {
|
||||
retVal = (ResourceReference.class.getSimpleName());
|
||||
} else if (this.getType().size() == 1) {
|
||||
} else if (this.getType().size() == 1 || this instanceof ResourceBlock) {
|
||||
retVal = getSingleType();
|
||||
} else {
|
||||
if (this instanceof Extension && ((Extension) this).getChildExtensions().size() > 0) {
|
||||
|
@ -67,7 +67,7 @@ public class Child extends BaseElement {
|
|||
public List<String> getReferenceTypesForMultiple() {
|
||||
ArrayList<String> retVal = new ArrayList<String>();
|
||||
for (String next : getType()) {
|
||||
retVal.add(next + "Dt");
|
||||
retVal.add(next + getTypeSuffix());
|
||||
}
|
||||
return retVal;
|
||||
}
|
||||
|
@ -96,9 +96,13 @@ public class Child extends BaseElement {
|
|||
if (this instanceof ResourceBlock) {
|
||||
retVal = (elemName);
|
||||
} else {
|
||||
retVal = (elemName + "Dt");
|
||||
retVal = (elemName + getTypeSuffix());
|
||||
}
|
||||
return retVal;
|
||||
}
|
||||
|
||||
public String getTypeSuffix() {
|
||||
return "Dt";
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,13 +1,32 @@
|
|||
package ca.uhn.fhir.starter.model;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
||||
public class ResourceBlock extends Child {
|
||||
|
||||
@Override
|
||||
public List<BaseElement> getChildren() {
|
||||
return super.getChildren();
|
||||
}
|
||||
|
||||
public String getClassName() {
|
||||
return getElementName().substring(0,1).toUpperCase() + getElementName().substring(1);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getSingleType() {
|
||||
return getClassName();
|
||||
}
|
||||
|
||||
public boolean isBlock() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getTypeSuffix() {
|
||||
return "";
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
package ca.uhn.fhir.starter.model;
|
||||
|
||||
public class ResourceBlockCopy extends Child {
|
||||
|
||||
@Override
|
||||
public String getTypeSuffix() {
|
||||
return "";
|
||||
}
|
||||
|
||||
}
|
|
@ -5,19 +5,28 @@ import java.util.List;
|
|||
|
||||
public class SimpleSetter {
|
||||
|
||||
private List<Parameter> myParameters = new ArrayList<Parameter>();
|
||||
private String myDatatype;
|
||||
private List<Parameter> myParameters = new ArrayList<Parameter>();
|
||||
private String mySuffix;
|
||||
|
||||
public String getDatatype() {
|
||||
return myDatatype;
|
||||
}
|
||||
|
||||
public List<Parameter> getParameters() {
|
||||
return myParameters;
|
||||
}
|
||||
|
||||
public String getSuffix() {
|
||||
return mySuffix;
|
||||
}
|
||||
|
||||
public void setDatatype(String theDatatype) {
|
||||
myDatatype = theDatatype;
|
||||
}
|
||||
|
||||
public List<Parameter> getParameters() {
|
||||
return myParameters;
|
||||
public void setSuffix(String theSuffix) {
|
||||
mySuffix=theSuffix;
|
||||
}
|
||||
|
||||
public static class Parameter {
|
||||
|
|
|
@ -28,23 +28,7 @@ public class ${className} implements IResource {
|
|||
#childExtensionFields( $childExtensionTypes )
|
||||
#childVars( $children )
|
||||
#childAccessors( $children )
|
||||
|
||||
#foreach ( $child in $resourceBlockChildren )
|
||||
/**
|
||||
* Block class for child element: <b>${child.name}</b> (${child.shortName})
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* ${child.definition}
|
||||
* </p>
|
||||
*/
|
||||
@Block(name="${child.name}")
|
||||
public static class ${child.className} implements IResourceBlock {
|
||||
#childVars( $child.children )
|
||||
#childAccessors( $child.children )
|
||||
}
|
||||
|
||||
#end
|
||||
#childResourceBlocks($resourceBlockChildren)
|
||||
|
||||
#childExtensionTypes( $childExtensionTypes )
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
##################################################################
|
||||
|
||||
#macro ( childVars $childElements )
|
||||
#foreach ( $child in $children )
|
||||
#foreach ( $child in $childElements )
|
||||
#if ($child.resourceRef)
|
||||
@Child(name="${child.elementNameSimplified}", order=${foreach.index}, min=${child.cardMin}, max=${child.cardMaxForChildAnnotation})
|
||||
@ChildResource(types= {
|
||||
|
@ -33,18 +33,19 @@
|
|||
##################################################################
|
||||
|
||||
#macro ( childAccessors $childElements )
|
||||
#foreach ( $child in $children )
|
||||
#foreach ( $child in $childElements )
|
||||
/**
|
||||
* Gets the value(s) for <b>${child.elementName}</b>, creating it if it does
|
||||
* not exist (${child.shortName}). Will not return <code>null</code>.
|
||||
* Gets the value(s) for <b>${child.elementName}</b> (${child.shortName}).
|
||||
* creating it if it does
|
||||
* not exist. Will not return <code>null</code>.
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* ${child.definition}
|
||||
* </p>
|
||||
*/
|
||||
public ${child.referenceType} get${child.methodName}() {
|
||||
#if ( $!child.hasMultipleTypes )
|
||||
public ${child.referenceType} get${child.methodName}() {
|
||||
#if ( ${child.hasMultipleTypes} == false )
|
||||
if (${child.variableName} == null) {
|
||||
${child.variableName} = new ${child.referenceTypeForConstructor}();
|
||||
}
|
||||
|
@ -73,11 +74,20 @@
|
|||
* ${child.definition}
|
||||
* </p>
|
||||
*/
|
||||
public void set${child.methodName}(#{foreach}($param in $ss.parameters) ${param.datatype} ${param.parameter}#{if}( $foreach.hasNext ), #{end}#{end}) {
|
||||
${child.variableName} = new ${ss.datatype}(#{foreach}($param in $ss.parameters) ${param.parameter}#{if}( $foreach.hasNext ), #{end}#{end});
|
||||
#if(${child.repeatable})
|
||||
public void add${child.methodName}(#{foreach}($param in $ss.parameters) ${param.datatype} ${param.parameter}#{if}( $foreach.hasNext ), #{end}#{end}) {
|
||||
if (${child.variableName} == null) {
|
||||
${child.variableName} = new ${child.referenceTypeForConstructor}();
|
||||
}
|
||||
${child.variableName}.add(new ${ss.datatype}(#{foreach}($param in $ss.parameters)${param.parameter}#{if}( $foreach.hasNext ), #{end}#{end}));
|
||||
}
|
||||
#else
|
||||
public void set${child.methodName}${ss.suffix}(#{foreach}($param in $ss.parameters) ${param.datatype} ${param.parameter}#{if}( $foreach.hasNext ), #{end}#{end}) {
|
||||
${child.variableName} = new ${ss.datatype}(#{foreach}($param in $ss.parameters)${param.parameter}#{if}( $foreach.hasNext ), #{end}#{end});
|
||||
}
|
||||
|
||||
#end
|
||||
#end ##foreach-child-in-simplesetters
|
||||
|
||||
#end
|
||||
#end
|
||||
|
||||
|
@ -123,3 +133,30 @@
|
|||
#end
|
||||
|
||||
|
||||
|
||||
##################################################################
|
||||
## childResourceBlocks
|
||||
##################################################################
|
||||
|
||||
#macro ( childResourceBlocks $resourceBlockChildren )
|
||||
#foreach ( $blockChild in $resourceBlockChildren )
|
||||
/**
|
||||
* Block class for child element: <b>${blockChild.name}</b> (${blockChild.shortName})
|
||||
*
|
||||
* <p>
|
||||
* <b>Definition:</b>
|
||||
* ${blockChild.definition}
|
||||
* </p>
|
||||
*/
|
||||
@Block(name="${blockChild.name}")
|
||||
public static class ${blockChild.className} implements IResourceBlock {
|
||||
|
||||
#childVars( $blockChild.children )
|
||||
#childAccessors( $blockChild.children )
|
||||
}
|
||||
|
||||
#childResourceBlocks( $blockChild.resourceBlockChildren )
|
||||
#end
|
||||
#end
|
||||
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,805 @@
|
|||
<?xml version="1.0"?>
|
||||
<?mso-application progid="Excel.Sheet"?>
|
||||
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
|
||||
xmlns:o="urn:schemas-microsoft-com:office:office"
|
||||
xmlns:x="urn:schemas-microsoft-com:office:excel"
|
||||
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
|
||||
xmlns:html="http://www.w3.org/TR/REC-html40">
|
||||
<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<Author>Grahame</Author>
|
||||
<LastAuthor>Grahame</LastAuthor>
|
||||
<Created>2012-03-19T11:12:07Z</Created>
|
||||
<LastSaved>2013-10-29T00:42:16Z</LastSaved>
|
||||
<Version>14.00</Version>
|
||||
</DocumentProperties>
|
||||
<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<AllowPNG/>
|
||||
</OfficeDocumentSettings>
|
||||
<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<WindowHeight>1170</WindowHeight>
|
||||
<WindowWidth>22755</WindowWidth>
|
||||
<WindowTopX>5520</WindowTopX>
|
||||
<WindowTopY>6075</WindowTopY>
|
||||
<ProtectStructure>False</ProtectStructure>
|
||||
<ProtectWindows>False</ProtectWindows>
|
||||
</ExcelWorkbook>
|
||||
<Styles>
|
||||
<Style ss:ID="Default" ss:Name="Normal">
|
||||
<Alignment ss:Vertical="Bottom"/>
|
||||
<Borders/>
|
||||
<Font ss:FontName="Calibri" x:Family="Swiss" ss:Size="11" ss:Color="#000000"/>
|
||||
<Interior/>
|
||||
<NumberFormat/>
|
||||
<Protection/>
|
||||
</Style>
|
||||
<Style ss:ID="s62">
|
||||
<Alignment ss:Horizontal="Left" ss:Vertical="Top" ss:ShrinkToFit="1"
|
||||
ss:WrapText="1"/>
|
||||
</Style>
|
||||
<Style ss:ID="s63">
|
||||
<Alignment ss:Horizontal="Left" ss:Vertical="Top" ss:ShrinkToFit="1"
|
||||
ss:WrapText="1"/>
|
||||
<Font ss:FontName="Calibri" x:Family="Swiss" ss:Size="11" ss:Color="#000000"
|
||||
ss:Bold="1"/>
|
||||
</Style>
|
||||
<Style ss:ID="s64">
|
||||
<Alignment ss:Horizontal="Left" ss:Vertical="Top" ss:ShrinkToFit="1"
|
||||
ss:WrapText="1"/>
|
||||
<Borders>
|
||||
<Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
|
||||
</Borders>
|
||||
<Font ss:FontName="Calibri" x:Family="Swiss" ss:Size="11" ss:Color="#000000"
|
||||
ss:Bold="1"/>
|
||||
<Interior ss:Color="#FFFFFF" ss:Pattern="Solid"/>
|
||||
</Style>
|
||||
<Style ss:ID="s65">
|
||||
<Alignment ss:Horizontal="Left" ss:Vertical="Top" ss:ShrinkToFit="1"
|
||||
ss:WrapText="1"/>
|
||||
<Interior ss:Color="#C0C0C0" ss:Pattern="Solid"/>
|
||||
</Style>
|
||||
<Style ss:ID="s66">
|
||||
<Alignment ss:Vertical="Top" ss:WrapText="1"/>
|
||||
<Borders/>
|
||||
<Font ss:FontName="Calibri" x:Family="Swiss" ss:Size="11" ss:Color="#000000"/>
|
||||
<Interior/>
|
||||
<NumberFormat/>
|
||||
<Protection/>
|
||||
</Style>
|
||||
<Style ss:ID="s67">
|
||||
<Alignment ss:Vertical="Bottom" ss:ShrinkToFit="1" ss:WrapText="1"/>
|
||||
</Style>
|
||||
<Style ss:ID="s69">
|
||||
<Alignment ss:Vertical="Top" ss:WrapText="1"/>
|
||||
</Style>
|
||||
<Style ss:ID="s70">
|
||||
<Alignment ss:Horizontal="Left" ss:Vertical="Top" ss:ShrinkToFit="1"
|
||||
ss:WrapText="1"/>
|
||||
<Borders/>
|
||||
<Font ss:FontName="Calibri" x:Family="Swiss" ss:Size="11" ss:Color="#000000"
|
||||
ss:Bold="1"/>
|
||||
<Interior ss:Color="#FFFFFF" ss:Pattern="Solid"/>
|
||||
</Style>
|
||||
<Style ss:ID="s71">
|
||||
<Alignment ss:Vertical="Top"/>
|
||||
</Style>
|
||||
<Style ss:ID="s72">
|
||||
<Interior ss:Color="#FFFFFF" ss:Pattern="Solid"/>
|
||||
</Style>
|
||||
<Style ss:ID="s73">
|
||||
<Alignment ss:Horizontal="Left" ss:Vertical="Bottom"/>
|
||||
</Style>
|
||||
</Styles>
|
||||
<Worksheet ss:Name="Data Elements">
|
||||
<Table ss:ExpandedColumnCount="17" ss:ExpandedRowCount="13" x:FullColumns="1"
|
||||
x:FullRows="1" ss:StyleID="s62" ss:DefaultColumnWidth="239.25"
|
||||
ss:DefaultRowHeight="15">
|
||||
<Column ss:StyleID="s63" ss:Width="157.5"/>
|
||||
<Column ss:StyleID="s62" ss:Width="29.25"/>
|
||||
<Column ss:StyleID="s62" ss:Width="22.5"/>
|
||||
<Column ss:StyleID="s62" ss:Width="56.25"/>
|
||||
<Column ss:StyleID="s62" ss:Width="27"/>
|
||||
<Column ss:StyleID="s62" ss:Width="104.25"/>
|
||||
<Column ss:StyleID="s62" ss:Width="122.25"/>
|
||||
<Column ss:StyleID="s62" ss:Width="231.75"/>
|
||||
<Column ss:StyleID="s62" ss:Width="237.75"/>
|
||||
<Column ss:StyleID="s62" ss:Width="38.25"/>
|
||||
<Column ss:StyleID="s62" ss:Width="72"/>
|
||||
<Column ss:StyleID="s62" ss:Width="232.5"/>
|
||||
<Column ss:StyleID="s62" ss:Width="67.5"/>
|
||||
<Column ss:StyleID="s62" ss:Width="59.25"/>
|
||||
<Column ss:StyleID="s62" ss:Width="31.5"/>
|
||||
<Column ss:StyleID="s62" ss:Width="88.5"/>
|
||||
<Column ss:StyleID="s62" ss:Width="70.5"/>
|
||||
<Row ss:AutoFitHeight="0" ss:StyleID="s64">
|
||||
<Cell><Data ss:Type="String">Element</Data></Cell>
|
||||
<Cell><Data ss:Type="String">Card.</Data></Cell>
|
||||
<Cell><Data ss:Type="String">Inv.</Data></Cell>
|
||||
<Cell><Data ss:Type="String">Is Modifier</Data></Cell>
|
||||
<Cell><Data ss:Type="String">UML</Data></Cell>
|
||||
<Cell><Data ss:Type="String">Type</Data></Cell>
|
||||
<Cell><Data ss:Type="String">Binding</Data></Cell>
|
||||
<Cell><Data ss:Type="String">Short Name</Data></Cell>
|
||||
<Cell><Data ss:Type="String">Definition</Data></Cell>
|
||||
<Cell><Data ss:Type="String">Aliases</Data></Cell>
|
||||
<Cell><Data ss:Type="String">Requirements</Data></Cell>
|
||||
<Cell><Data ss:Type="String">Comments</Data></Cell>
|
||||
<Cell><Data ss:Type="String">RIM Mapping</Data></Cell>
|
||||
<Cell><Data ss:Type="String">v2 Mapping</Data></Cell>
|
||||
<Cell><Data ss:Type="String">To Do</Data></Cell>
|
||||
<Cell><Data ss:Type="String">Committee Notes</Data></Cell>
|
||||
<Cell><Data ss:Type="String">Prov Mapping</Data></Cell>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0" ss:Height="30">
|
||||
<Cell><Data ss:Type="String">Substance</Data></Cell>
|
||||
<Cell ss:StyleID="s65"/>
|
||||
<Cell ss:StyleID="s65"/>
|
||||
<Cell ss:StyleID="s65"/>
|
||||
<Cell ss:StyleID="s65"/>
|
||||
<Cell><Data ss:Type="String">Resource</Data></Cell>
|
||||
<Cell ss:StyleID="s66"/>
|
||||
<Cell><Data ss:Type="String">A homogeneous material with a definite composition </Data></Cell>
|
||||
<Cell ss:Index="11" ss:StyleID="s66"/>
|
||||
<Cell ss:Index="13" ss:StyleID="s66"><Data ss:Type="String">Material</Data></Cell>
|
||||
<Cell ss:StyleID="s66"/>
|
||||
<Cell ss:StyleID="s66"/>
|
||||
<Cell ss:Index="17" ss:StyleID="s66"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell><Data ss:Type="String">!Substance.name</Data></Cell>
|
||||
<Cell><Data ss:Type="String">1..1</Data></Cell>
|
||||
<Cell ss:StyleID="s66"/>
|
||||
<Cell ss:StyleID="s66"/>
|
||||
<Cell ss:StyleID="s66"/>
|
||||
<Cell><Data ss:Type="String">string</Data></Cell>
|
||||
<Cell ss:StyleID="s66"/>
|
||||
<Cell><Data ss:Type="String">Name of the substance</Data></Cell>
|
||||
<Cell ss:Index="11" ss:StyleID="s66"/>
|
||||
<Cell ss:Index="13" ss:StyleID="s66"><Data ss:Type="String">.name</Data></Cell>
|
||||
<Cell ss:StyleID="s66"/>
|
||||
<Cell ss:StyleID="s66"/>
|
||||
<Cell ss:Index="17" ss:StyleID="s66"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0" ss:Height="60">
|
||||
<Cell><Data ss:Type="String">Substance.type</Data></Cell>
|
||||
<Cell><Data ss:Type="String">1..1</Data></Cell>
|
||||
<Cell ss:Index="6"><Data ss:Type="String">CodeableConcept</Data></Cell>
|
||||
<Cell><Data ss:Type="String">SubstanceType</Data></Cell>
|
||||
<Cell><Data ss:Type="String">What kind of substance this is</Data></Cell>
|
||||
<Cell><Data ss:Type="String">A code (or set of codes) that identify this substance</Data></Cell>
|
||||
<Cell ss:Index="12"><Data ss:Type="String">This could be a reference to an externally defined code. It could also be a locally assigned code (e.g. a formulary), optionally with translations to the standard drug codes</Data></Cell>
|
||||
<Cell><Data ss:Type="String">.code</Data></Cell>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0" ss:Height="30">
|
||||
<Cell><Data ss:Type="String">Substance.description</Data></Cell>
|
||||
<Cell><Data ss:Type="String">0..1</Data></Cell>
|
||||
<Cell ss:Index="6"><Data ss:Type="String">string</Data></Cell>
|
||||
<Cell ss:Index="8"><Data ss:Type="String">Textual description of the substance, comments</Data></Cell>
|
||||
<Cell><Data ss:Type="String">A description of the substance - its appearance, handling requirements, and other usage notes</Data></Cell>
|
||||
<Cell ss:Index="13"><Data ss:Type="String">.player.desc</Data></Cell>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0" ss:Height="45">
|
||||
<Cell><Data ss:Type="String">Substance.instance</Data></Cell>
|
||||
<Cell><Data ss:Type="String">0..1</Data></Cell>
|
||||
<Cell ss:Index="5"><Data ss:Type="String">left</Data></Cell>
|
||||
<Cell ss:Index="8"><Data ss:Type="String">If this describes a specific package/container of the substance</Data></Cell>
|
||||
<Cell><Data ss:Type="String">Substance may be used to describe a kind of substance, or a specific package/container of the substance: an instance</Data></Cell>
|
||||
<Cell ss:Index="13"><Data ss:Type="String">.player.determinerCode</Data></Cell>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0" ss:Height="30">
|
||||
<Cell><Data ss:Type="String">Substance.instance.identifier</Data></Cell>
|
||||
<Cell><Data ss:Type="String">0..1</Data></Cell>
|
||||
<Cell ss:StyleID="s66"/>
|
||||
<Cell ss:StyleID="s66"/>
|
||||
<Cell ss:StyleID="s66"/>
|
||||
<Cell><Data ss:Type="String">Identifier</Data></Cell>
|
||||
<Cell ss:StyleID="s66"/>
|
||||
<Cell><Data ss:Type="String">Identifier of the package/container</Data></Cell>
|
||||
<Cell><Data ss:Type="String">Identifier associated with the package/container (usually a label affixed directly)</Data></Cell>
|
||||
<Cell ss:Index="11" ss:StyleID="s66"/>
|
||||
<Cell ss:Index="13" ss:StyleID="s66"><Data ss:Type="String">.id</Data></Cell>
|
||||
<Cell ss:StyleID="s66"/>
|
||||
<Cell ss:StyleID="s66"/>
|
||||
<Cell ss:Index="17" ss:StyleID="s66"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0" ss:Height="45">
|
||||
<Cell><Data ss:Type="String">Substance.instance.expiry</Data></Cell>
|
||||
<Cell><Data ss:Type="String">0..1</Data></Cell>
|
||||
<Cell ss:Index="6"><Data ss:Type="String">dateTime</Data></Cell>
|
||||
<Cell ss:Index="8"><Data ss:Type="String">When no longer valid to use</Data></Cell>
|
||||
<Cell><Data ss:Type="String">When the substance is no longer valid to use. For some substances, a single arbitrary date is used for expiry.</Data></Cell>
|
||||
<Cell ss:Index="13"><Data ss:Type="String">.expiryTime</Data></Cell>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0" ss:Height="30">
|
||||
<Cell><Data ss:Type="String">Substance.instance.quantity</Data></Cell>
|
||||
<Cell><Data ss:Type="String">0..1</Data></Cell>
|
||||
<Cell ss:Index="6"><Data ss:Type="String">Quantity</Data></Cell>
|
||||
<Cell ss:Index="8"><Data ss:Type="String">Amount of substance in the package</Data></Cell>
|
||||
<Cell><Data ss:Type="String">The amount of the substance</Data></Cell>
|
||||
<Cell ss:Index="13"><Data ss:Type="String">.player.quantity</Data></Cell>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0" ss:Height="45">
|
||||
<Cell><Data ss:Type="String">Substance.ingredient</Data></Cell>
|
||||
<Cell><Data ss:Type="String">0..*</Data></Cell>
|
||||
<Cell ss:Index="5"><Data ss:Type="String">right</Data></Cell>
|
||||
<Cell ss:Index="8"><Data ss:Type="String">Composition information about the substance</Data></Cell>
|
||||
<Cell><Data ss:Type="String">A substance can be composed of other substances</Data></Cell>
|
||||
<Cell ss:Index="13"><Data ss:Type="String">.player.scopesRole[classCode=INGR]</Data></Cell>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0" ss:Height="30">
|
||||
<Cell><Data ss:Type="String">Substance.ingredient.quantity</Data></Cell>
|
||||
<Cell><Data ss:Type="String">0..1</Data></Cell>
|
||||
<Cell ss:Index="6"><Data ss:Type="String">Ratio</Data></Cell>
|
||||
<Cell ss:Index="8"><Data ss:Type="String">Optional amount (concentration)</Data></Cell>
|
||||
<Cell><Data ss:Type="String">The amount of the ingredient in the substance - a concentration ratio</Data></Cell>
|
||||
<Cell ss:Index="13"><Data ss:Type="String">.quantity</Data></Cell>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0" ss:Height="30">
|
||||
<Cell><Data ss:Type="String">Substance.ingredient.substance</Data></Cell>
|
||||
<Cell><Data ss:Type="String">1..1</Data></Cell>
|
||||
<Cell ss:Index="6"><Data ss:Type="String">Resource(Substance)</Data></Cell>
|
||||
<Cell ss:Index="8"><Data ss:Type="String">A component of the substance</Data></Cell>
|
||||
<Cell><Data ss:Type="String">Another substance that is a component of this substance</Data></Cell>
|
||||
<Cell ss:Index="13"><Data ss:Type="String">.player</Data></Cell>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0" ss:Height="45">
|
||||
<Cell><Data ss:Type="String">!Substance.quantityMode</Data></Cell>
|
||||
<Cell><Data ss:Type="String">0..1</Data></Cell>
|
||||
<Cell ss:Index="6"><Data ss:Type="String">CodeableConcept</Data></Cell>
|
||||
<Cell><Data ss:Type="String">SubstanceQuantityMode</Data></Cell>
|
||||
<Cell><Data ss:Type="String">Absolute | Relative</Data></Cell>
|
||||
<Cell><Data ss:Type="String">Indicates whether the substance quantity (used for ingredients) are absolute values or values relative to each other (percentages)</Data></Cell>
|
||||
<Cell ss:Index="13"><Data ss:Type="String">.quantity.unit = %</Data></Cell>
|
||||
</Row>
|
||||
</Table>
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<PageSetup>
|
||||
<Header x:Margin="0.3"/>
|
||||
<Footer x:Margin="0.3"/>
|
||||
<PageMargins x:Bottom="0.75" x:Left="0.7" x:Right="0.7" x:Top="0.75"/>
|
||||
</PageSetup>
|
||||
<Unsynced/>
|
||||
<Print>
|
||||
<ValidPrinterInfo/>
|
||||
<HorizontalResolution>-4</HorizontalResolution>
|
||||
<VerticalResolution>-4</VerticalResolution>
|
||||
</Print>
|
||||
<Selected/>
|
||||
<FreezePanes/>
|
||||
<FrozenNoSplit/>
|
||||
<SplitHorizontal>1</SplitHorizontal>
|
||||
<TopRowBottomPane>1</TopRowBottomPane>
|
||||
<SplitVertical>1</SplitVertical>
|
||||
<LeftColumnRightPane>1</LeftColumnRightPane>
|
||||
<ActivePane>0</ActivePane>
|
||||
<Panes>
|
||||
<Pane>
|
||||
<Number>3</Number>
|
||||
</Pane>
|
||||
<Pane>
|
||||
<Number>1</Number>
|
||||
</Pane>
|
||||
<Pane>
|
||||
<Number>2</Number>
|
||||
</Pane>
|
||||
<Pane>
|
||||
<Number>0</Number>
|
||||
</Pane>
|
||||
</Panes>
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
<x:PageLayoutZoom>0</x:PageLayoutZoom>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Invariants">
|
||||
<Table ss:ExpandedColumnCount="6" ss:ExpandedRowCount="5" x:FullColumns="1"
|
||||
x:FullRows="1" ss:StyleID="s67" ss:DefaultColumnWidth="65.25"
|
||||
ss:DefaultRowHeight="15">
|
||||
<Column ss:StyleID="s67" ss:Width="14.25"/>
|
||||
<Column ss:StyleID="s67" ss:Width="126"/>
|
||||
<Column ss:StyleID="s67" ss:Width="96"/>
|
||||
<Column ss:StyleID="s67" ss:Width="234.75"/>
|
||||
<Column ss:StyleID="s67" ss:AutoFitWidth="0" ss:Width="140.25"/>
|
||||
<Column ss:StyleID="s67" ss:Width="320.25"/>
|
||||
<Row ss:AutoFitHeight="0" ss:StyleID="s64">
|
||||
<Cell><Data ss:Type="String">Id</Data></Cell>
|
||||
<Cell><Data ss:Type="String">Name</Data></Cell>
|
||||
<Cell><Data ss:Type="String">Context</Data></Cell>
|
||||
<Cell><Data ss:Type="String">English</Data></Cell>
|
||||
<Cell><Data ss:Type="String">OCL</Data></Cell>
|
||||
<Cell><Data ss:Type="String">XPath</Data></Cell>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:StyleID="Default"/>
|
||||
<Cell ss:StyleID="Default"/>
|
||||
<Cell ss:StyleID="s63"/>
|
||||
<Cell ss:StyleID="Default"/>
|
||||
<Cell ss:StyleID="Default"/>
|
||||
<Cell ss:StyleID="Default"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:StyleID="Default"/>
|
||||
<Cell ss:StyleID="Default"/>
|
||||
<Cell ss:StyleID="s63"/>
|
||||
<Cell ss:StyleID="Default"/>
|
||||
<Cell ss:StyleID="Default"/>
|
||||
<Cell ss:StyleID="Default"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:StyleID="Default"/>
|
||||
<Cell ss:StyleID="Default"/>
|
||||
<Cell ss:StyleID="s63"/>
|
||||
<Cell ss:StyleID="Default"/>
|
||||
<Cell ss:StyleID="Default"/>
|
||||
<Cell ss:StyleID="Default"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:StyleID="Default"/>
|
||||
<Cell ss:StyleID="Default"/>
|
||||
<Cell ss:StyleID="s63"/>
|
||||
<Cell ss:StyleID="Default"/>
|
||||
<Cell ss:StyleID="Default"/>
|
||||
<Cell ss:StyleID="Default"/>
|
||||
</Row>
|
||||
</Table>
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<PageSetup>
|
||||
<Header x:Margin="0.3"/>
|
||||
<Footer x:Margin="0.3"/>
|
||||
<PageMargins x:Bottom="0.75" x:Left="0.7" x:Right="0.7" x:Top="0.75"/>
|
||||
</PageSetup>
|
||||
<Unsynced/>
|
||||
<Print>
|
||||
<ValidPrinterInfo/>
|
||||
<HorizontalResolution>-4</HorizontalResolution>
|
||||
<VerticalResolution>-4</VerticalResolution>
|
||||
</Print>
|
||||
<FreezePanes/>
|
||||
<FrozenNoSplit/>
|
||||
<SplitHorizontal>1</SplitHorizontal>
|
||||
<TopRowBottomPane>1</TopRowBottomPane>
|
||||
<SplitVertical>2</SplitVertical>
|
||||
<LeftColumnRightPane>2</LeftColumnRightPane>
|
||||
<ActivePane>0</ActivePane>
|
||||
<Panes>
|
||||
<Pane>
|
||||
<Number>3</Number>
|
||||
</Pane>
|
||||
<Pane>
|
||||
<Number>1</Number>
|
||||
</Pane>
|
||||
<Pane>
|
||||
<Number>2</Number>
|
||||
</Pane>
|
||||
<Pane>
|
||||
<Number>0</Number>
|
||||
<ActiveCol>0</ActiveCol>
|
||||
</Pane>
|
||||
</Panes>
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
<x:PageLayoutZoom>0</x:PageLayoutZoom>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Events">
|
||||
<Table ss:ExpandedColumnCount="7" ss:ExpandedRowCount="2" x:FullColumns="1"
|
||||
x:FullRows="1" ss:DefaultColumnWidth="65.25" ss:DefaultRowHeight="15">
|
||||
<Column ss:AutoFitWidth="0" ss:Width="83.25"/>
|
||||
<Column ss:AutoFitWidth="0" ss:Width="198.75"/>
|
||||
<Column ss:AutoFitWidth="0" ss:Width="158.25"/>
|
||||
<Column ss:AutoFitWidth="0" ss:Width="162.75" ss:Span="1"/>
|
||||
<Column ss:Index="6" ss:AutoFitWidth="0" ss:Width="195.75"/>
|
||||
<Column ss:AutoFitWidth="0" ss:Width="74.25"/>
|
||||
<Row ss:AutoFitHeight="0" ss:Height="33">
|
||||
<Cell ss:StyleID="s64"><Data ss:Type="String">Event Code</Data></Cell>
|
||||
<Cell ss:StyleID="s64"><Data ss:Type="String">Description</Data></Cell>
|
||||
<Cell ss:StyleID="s64"><Data ss:Type="String">Notes</Data></Cell>
|
||||
<Cell ss:StyleID="s64"><Data ss:Type="String">Request Resources</Data></Cell>
|
||||
<Cell ss:StyleID="s64"><Data ss:Type="String">Request Aggregations</Data></Cell>
|
||||
<Cell ss:StyleID="s64"><Data ss:Type="String">Response Resources</Data></Cell>
|
||||
<Cell ss:StyleID="s64"><Data ss:Type="String">Follow Ups</Data></Cell>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0" ss:Height="14.0625">
|
||||
<Cell ss:StyleID="s69"/>
|
||||
<Cell ss:StyleID="s69"/>
|
||||
<Cell ss:Index="4" ss:StyleID="s69"/>
|
||||
<Cell ss:StyleID="s69"/>
|
||||
<Cell ss:StyleID="s69"/>
|
||||
</Row>
|
||||
</Table>
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<PageSetup>
|
||||
<Header x:Margin="0.3"/>
|
||||
<Footer x:Margin="0.3"/>
|
||||
<PageMargins x:Bottom="0.75" x:Left="0.7" x:Right="0.7" x:Top="0.75"/>
|
||||
</PageSetup>
|
||||
<Unsynced/>
|
||||
<FreezePanes/>
|
||||
<FrozenNoSplit/>
|
||||
<SplitHorizontal>1</SplitHorizontal>
|
||||
<TopRowBottomPane>1</TopRowBottomPane>
|
||||
<SplitVertical>1</SplitVertical>
|
||||
<LeftColumnRightPane>1</LeftColumnRightPane>
|
||||
<ActivePane>0</ActivePane>
|
||||
<Panes>
|
||||
<Pane>
|
||||
<Number>3</Number>
|
||||
</Pane>
|
||||
<Pane>
|
||||
<Number>1</Number>
|
||||
</Pane>
|
||||
<Pane>
|
||||
<Number>2</Number>
|
||||
</Pane>
|
||||
<Pane>
|
||||
<Number>0</Number>
|
||||
<ActiveCol>0</ActiveCol>
|
||||
<RangeSelection>R2C1:R2C7</RangeSelection>
|
||||
</Pane>
|
||||
</Panes>
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
<x:PageLayoutZoom>0</x:PageLayoutZoom>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Search">
|
||||
<Table ss:ExpandedColumnCount="8" ss:ExpandedRowCount="34" x:FullColumns="1"
|
||||
x:FullRows="1" ss:DefaultColumnWidth="65.25" ss:DefaultRowHeight="15">
|
||||
<Column ss:AutoFitWidth="0" ss:Width="71.25"/>
|
||||
<Column ss:AutoFitWidth="0" ss:Width="383.25"/>
|
||||
<Column ss:Index="4" ss:AutoFitWidth="0" ss:Width="170.25"/>
|
||||
<Column ss:Index="6" ss:AutoFitWidth="0" ss:Width="218.25"/>
|
||||
<Row ss:AutoFitHeight="0" ss:Height="15.9375" ss:StyleID="s64">
|
||||
<Cell><Data ss:Type="String">Name</Data></Cell>
|
||||
<Cell><Data ss:Type="String">Description</Data></Cell>
|
||||
<Cell><Data ss:Type="String">Type</Data></Cell>
|
||||
<Cell><Data ss:Type="String">Path</Data></Cell>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell><Data ss:Type="String">type</Data></Cell>
|
||||
<Cell><Data ss:Type="String">The type of the substance</Data></Cell>
|
||||
<Cell><Data ss:Type="String">token</Data></Cell>
|
||||
<Cell ss:StyleID="s63"><Data ss:Type="String">Substance.type</Data></Cell>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell><Data ss:Type="String">identifier</Data></Cell>
|
||||
<Cell ss:Index="3"><Data ss:Type="String">token</Data></Cell>
|
||||
<Cell ss:StyleID="s63"><Data ss:Type="String">Substance.instance.identifier</Data></Cell>
|
||||
<Cell ss:Index="8" ss:StyleID="s63"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell><Data ss:Type="String">expiry</Data></Cell>
|
||||
<Cell ss:Index="3"><Data ss:Type="String">date</Data></Cell>
|
||||
<Cell ss:StyleID="s63"><Data ss:Type="String">Substance.instance.expiry</Data></Cell>
|
||||
<Cell ss:Index="8" ss:StyleID="s63"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell><Data ss:Type="String">quantity</Data></Cell>
|
||||
<Cell ss:Index="3"><Data ss:Type="String">number</Data></Cell>
|
||||
<Cell ss:StyleID="s63"><Data ss:Type="String">Substance.instance.quantity</Data></Cell>
|
||||
<Cell ss:Index="8" ss:StyleID="s63"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell><Data ss:Type="String">substance</Data></Cell>
|
||||
<Cell ss:Index="3"><Data ss:Type="String">reference</Data></Cell>
|
||||
<Cell ss:StyleID="s63"><Data ss:Type="String">Substance.ingredient.substance</Data></Cell>
|
||||
<Cell ss:Index="8" ss:StyleID="s63"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:Index="4" ss:StyleID="s63"/>
|
||||
<Cell ss:Index="8" ss:StyleID="s63"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:Index="8" ss:StyleID="s63"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:Index="8" ss:StyleID="s63"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:Index="8" ss:StyleID="s63"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:Index="8" ss:StyleID="s63"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:Index="8" ss:StyleID="s63"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:Index="6" ss:StyleID="s63"/>
|
||||
<Cell ss:Index="8" ss:StyleID="s63"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:Index="6" ss:StyleID="s63"/>
|
||||
<Cell ss:Index="8" ss:StyleID="s63"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:Index="8" ss:StyleID="s63"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:Index="6" ss:StyleID="s63"/>
|
||||
<Cell ss:Index="8" ss:StyleID="s63"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:Index="8" ss:StyleID="s63"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:Index="6" ss:StyleID="s63"/>
|
||||
<Cell ss:Index="8" ss:StyleID="s63"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:Index="8" ss:StyleID="s63"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:Index="8" ss:StyleID="s63"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:Index="8" ss:StyleID="s63"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:Index="6" ss:StyleID="s63"/>
|
||||
<Cell ss:Index="8" ss:StyleID="s63"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:Index="8" ss:StyleID="s63"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:Index="8" ss:StyleID="s63"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:Index="6" ss:StyleID="s63"/>
|
||||
<Cell ss:Index="8" ss:StyleID="s63"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:Index="8" ss:StyleID="s63"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:Index="8" ss:StyleID="s63"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:Index="8" ss:StyleID="s63"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:Index="8" ss:StyleID="s63"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:Index="8" ss:StyleID="s63"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:Index="8" ss:StyleID="s63"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:Index="8" ss:StyleID="s63"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:Index="8" ss:StyleID="s63"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:Index="8" ss:StyleID="s63"/>
|
||||
</Row>
|
||||
</Table>
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<PageSetup>
|
||||
<Header x:Margin="0.3"/>
|
||||
<Footer x:Margin="0.3"/>
|
||||
<PageMargins x:Bottom="0.75" x:Left="0.7" x:Right="0.7" x:Top="0.75"/>
|
||||
</PageSetup>
|
||||
<Unsynced/>
|
||||
<Print>
|
||||
<ValidPrinterInfo/>
|
||||
<HorizontalResolution>-4</HorizontalResolution>
|
||||
<VerticalResolution>-4</VerticalResolution>
|
||||
</Print>
|
||||
<FreezePanes/>
|
||||
<FrozenNoSplit/>
|
||||
<SplitHorizontal>1</SplitHorizontal>
|
||||
<TopRowBottomPane>1</TopRowBottomPane>
|
||||
<SplitVertical>1</SplitVertical>
|
||||
<LeftColumnRightPane>1</LeftColumnRightPane>
|
||||
<ActivePane>0</ActivePane>
|
||||
<Panes>
|
||||
<Pane>
|
||||
<Number>3</Number>
|
||||
</Pane>
|
||||
<Pane>
|
||||
<Number>1</Number>
|
||||
</Pane>
|
||||
<Pane>
|
||||
<Number>2</Number>
|
||||
</Pane>
|
||||
<Pane>
|
||||
<Number>0</Number>
|
||||
<ActiveRow>4</ActiveRow>
|
||||
<ActiveCol>3</ActiveCol>
|
||||
</Pane>
|
||||
</Panes>
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
<x:PageLayoutZoom>0</x:PageLayoutZoom>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Bindings">
|
||||
<Table ss:ExpandedColumnCount="7" ss:ExpandedRowCount="8" x:FullColumns="1"
|
||||
x:FullRows="1" ss:DefaultColumnWidth="65.25" ss:DefaultRowHeight="15">
|
||||
<Column ss:AutoFitWidth="0" ss:Width="179.25"/>
|
||||
<Column ss:Width="249.75"/>
|
||||
<Column ss:Width="47.25" ss:Span="1"/>
|
||||
<Column ss:Index="5" ss:Width="132.75"/>
|
||||
<Column ss:AutoFitWidth="0" ss:Width="275.25"/>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:StyleID="s64"><Data ss:Type="String">Binding Name</Data></Cell>
|
||||
<Cell ss:StyleID="s64"><Data ss:Type="String">Definition</Data></Cell>
|
||||
<Cell ss:StyleID="s64"><Data ss:Type="String">Binding</Data></Cell>
|
||||
<Cell ss:StyleID="s64"><Data ss:Type="String">Example</Data></Cell>
|
||||
<Cell ss:StyleID="s64"><Data ss:Type="String">Reference</Data></Cell>
|
||||
<Cell ss:StyleID="s64"><Data ss:Type="String">Description</Data></Cell>
|
||||
<Cell ss:StyleID="s70"><Data ss:Type="String">Comments</Data></Cell>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell><Data ss:Type="String">SubstanceType</Data></Cell>
|
||||
<Cell ss:StyleID="s62"><Data ss:Type="String">Type of the substance</Data></Cell>
|
||||
<Cell ss:StyleID="s71"><Data ss:Type="String">value set</Data></Cell>
|
||||
<Cell ss:StyleID="s71"><Data ss:Type="String">y</Data></Cell>
|
||||
<Cell><Data ss:Type="String">valueset-substance-type</Data></Cell>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell><Data ss:Type="String">!SubstanceStatus</Data></Cell>
|
||||
<Cell ss:StyleID="s62"><Data ss:Type="String">Substance status</Data></Cell>
|
||||
<Cell ss:StyleID="s71"><Data ss:Type="String">value set</Data></Cell>
|
||||
<Cell ss:StyleID="s71"/>
|
||||
<Cell ss:StyleID="s71"><Data ss:Type="String">valueset-substance-status</Data></Cell>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:Index="2" ss:StyleID="s62"/>
|
||||
<Cell ss:StyleID="s71"/>
|
||||
<Cell ss:StyleID="s71"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:Index="2" ss:StyleID="s62"/>
|
||||
<Cell ss:StyleID="s71"/>
|
||||
<Cell ss:StyleID="s71"/>
|
||||
<Cell ss:Index="6" ss:StyleID="s71"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:Index="2" ss:StyleID="s62"/>
|
||||
<Cell ss:StyleID="s71"/>
|
||||
<Cell ss:StyleID="s71"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:Index="2" ss:StyleID="s62"/>
|
||||
<Cell ss:StyleID="s71"/>
|
||||
<Cell ss:StyleID="s71"/>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell ss:StyleID="s62"/>
|
||||
<Cell ss:StyleID="s69"/>
|
||||
<Cell ss:StyleID="s69"/>
|
||||
<Cell ss:StyleID="s69"/>
|
||||
</Row>
|
||||
</Table>
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<PageSetup>
|
||||
<Header x:Margin="0.3"/>
|
||||
<Footer x:Margin="0.3"/>
|
||||
<PageMargins x:Bottom="0.75" x:Left="0.7" x:Right="0.7" x:Top="0.75"/>
|
||||
</PageSetup>
|
||||
<Unsynced/>
|
||||
<FreezePanes/>
|
||||
<FrozenNoSplit/>
|
||||
<SplitHorizontal>1</SplitHorizontal>
|
||||
<TopRowBottomPane>1</TopRowBottomPane>
|
||||
<SplitVertical>1</SplitVertical>
|
||||
<LeftColumnRightPane>1</LeftColumnRightPane>
|
||||
<ActivePane>0</ActivePane>
|
||||
<Panes>
|
||||
<Pane>
|
||||
<Number>3</Number>
|
||||
</Pane>
|
||||
<Pane>
|
||||
<Number>1</Number>
|
||||
</Pane>
|
||||
<Pane>
|
||||
<Number>2</Number>
|
||||
</Pane>
|
||||
<Pane>
|
||||
<Number>0</Number>
|
||||
</Pane>
|
||||
</Panes>
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
<x:PageLayoutZoom>0</x:PageLayoutZoom>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Profiles">
|
||||
<Table ss:ExpandedColumnCount="5" ss:ExpandedRowCount="1" x:FullColumns="1"
|
||||
x:FullRows="1" ss:DefaultColumnWidth="65.25" ss:DefaultRowHeight="15">
|
||||
<Column ss:AutoFitWidth="0" ss:Width="108"/>
|
||||
<Column ss:AutoFitWidth="0" ss:Width="237"/>
|
||||
<Column ss:AutoFitWidth="0" ss:Width="179.25"/>
|
||||
<Column ss:AutoFitWidth="0" ss:Width="99"/>
|
||||
<Column ss:AutoFitWidth="0" ss:Width="258.75"/>
|
||||
<Row ss:AutoFitHeight="0" ss:Height="30">
|
||||
<Cell ss:StyleID="s64"><Data ss:Type="String">Name</Data></Cell>
|
||||
<Cell ss:StyleID="s64"><Data ss:Type="String">Description</Data></Cell>
|
||||
<Cell ss:StyleID="s64"><Data ss:Type="String">Filename</Data></Cell>
|
||||
<Cell ss:StyleID="s64"><Data ss:Type="String">Type</Data></Cell>
|
||||
<Cell ss:StyleID="s64"><Data ss:Type="String">Example</Data></Cell>
|
||||
</Row>
|
||||
</Table>
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<PageSetup>
|
||||
<Header x:Margin="0.3"/>
|
||||
<Footer x:Margin="0.3"/>
|
||||
<PageMargins x:Bottom="0.75" x:Left="0.7" x:Right="0.7" x:Top="0.75"/>
|
||||
</PageSetup>
|
||||
<Unsynced/>
|
||||
<Panes>
|
||||
<Pane>
|
||||
<Number>3</Number>
|
||||
<ActiveRow>1</ActiveRow>
|
||||
<RangeSelection>R2C1:R2C5</RangeSelection>
|
||||
</Pane>
|
||||
</Panes>
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
<x:PageLayoutZoom>0</x:PageLayoutZoom>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Examples">
|
||||
<Table ss:ExpandedColumnCount="6" ss:ExpandedRowCount="5" x:FullColumns="1"
|
||||
x:FullRows="1" ss:DefaultColumnWidth="65.25" ss:DefaultRowHeight="15">
|
||||
<Column ss:Width="60.75"/>
|
||||
<Column ss:Width="356.25"/>
|
||||
<Column ss:Index="4" ss:AutoFitWidth="0" ss:Width="273.75"/>
|
||||
<Row ss:AutoFitHeight="0" ss:Height="30">
|
||||
<Cell ss:StyleID="s64"><Data ss:Type="String">Name</Data></Cell>
|
||||
<Cell ss:StyleID="s64"><Data ss:Type="String">Description</Data></Cell>
|
||||
<Cell ss:StyleID="s64"><Data ss:Type="String">Identity</Data></Cell>
|
||||
<Cell ss:StyleID="s64"><Data ss:Type="String">Filename</Data></Cell>
|
||||
<Cell ss:StyleID="s64"><Data ss:Type="String">Type</Data></Cell>
|
||||
<Cell ss:StyleID="s64"><Data ss:Type="String">In Book</Data></Cell>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell><Data ss:Type="String">Apitoxin</Data></Cell>
|
||||
<Cell><Data ss:Type="String">General Person Example</Data></Cell>
|
||||
<Cell><Data ss:Type="String">example</Data></Cell>
|
||||
<Cell ss:StyleID="s72"><Data ss:Type="String">substance-example.xml</Data></Cell>
|
||||
<Cell ss:Index="6"><Data ss:Type="String">y</Data></Cell>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell><Data ss:Type="String">Dust</Data></Cell>
|
||||
<Cell><Data ss:Type="String">Dust Mite Example</Data></Cell>
|
||||
<Cell ss:StyleID="s73"><Data ss:Type="String">f201</Data></Cell>
|
||||
<Cell ss:StyleID="s72"><Data ss:Type="String">substance-example-f201-dust.xml</Data></Cell>
|
||||
<Cell ss:Index="6"><Data ss:Type="String">n</Data></Cell>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell><Data ss:Type="String">Staphylococcus</Data></Cell>
|
||||
<Cell><Data ss:Type="String">Staphylococcus Example</Data></Cell>
|
||||
<Cell ss:StyleID="s73"><Data ss:Type="String">f202</Data></Cell>
|
||||
<Cell ss:StyleID="s72"><Data ss:Type="String">substance-example-f202-staphylococcus.xml</Data></Cell>
|
||||
</Row>
|
||||
<Row ss:AutoFitHeight="0">
|
||||
<Cell><Data ss:Type="String">Potassium</Data></Cell>
|
||||
<Cell><Data ss:Type="String">Potassium Example</Data></Cell>
|
||||
<Cell><Data ss:Type="String">f203</Data></Cell>
|
||||
<Cell ss:StyleID="s72"><Data ss:Type="String">substance-example-f203-potassium.xml</Data></Cell>
|
||||
</Row>
|
||||
</Table>
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<PageSetup>
|
||||
<Header x:Margin="0.3"/>
|
||||
<Footer x:Margin="0.3"/>
|
||||
<PageMargins x:Bottom="0.75" x:Left="0.7" x:Right="0.7" x:Top="0.75"/>
|
||||
</PageSetup>
|
||||
<Unsynced/>
|
||||
<Panes>
|
||||
<Pane>
|
||||
<Number>3</Number>
|
||||
<ActiveRow>5</ActiveRow>
|
||||
<ActiveCol>1</ActiveCol>
|
||||
</Pane>
|
||||
</Panes>
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
</Workbook>
|
Loading…
Reference in New Issue