Class DataElement
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IResource
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseResource
Definition: The formal description of a single piece of information that can be gathered and reported.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/DataElement
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Block class for child element: DataElement.contact ()static class
Block class for child element: DataElement.mapping () -
Field Summary
Modifier and TypeFieldDescriptionstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for codestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for contextstatic final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for datestatic final ca.uhn.fhir.rest.gclient.StringClientParam
Fluent Client search parameter constant for descriptionstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for identifierstatic final ca.uhn.fhir.rest.gclient.StringClientParam
Fluent Client search parameter constant for namestatic final ca.uhn.fhir.rest.gclient.StringClientParam
Fluent Client search parameter constant for publisherstatic final String
Search parameter constant for codestatic final String
Search parameter constant for contextstatic final String
Search parameter constant for datestatic final String
Search parameter constant for descriptionstatic final String
Search parameter constant for identifierstatic final String
Search parameter constant for namestatic final String
Search parameter constant for publisherstatic final String
Search parameter constant for statusstatic final String
Search parameter constant for stringencystatic final String
Search parameter constant for urlstatic final String
Search parameter constant for versionstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for statusstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for stringencystatic final ca.uhn.fhir.rest.gclient.UriClientParam
Fluent Client search parameter constant for urlstatic final ca.uhn.fhir.rest.gclient.StringClientParam
Fluent Client search parameter constant for versionFields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for contact ()addContact
(DataElement.Contact theValue) Adds a given new value for contact ()Adds and returns a new value for element ()addElement
(ElementDefinitionDt theValue) Adds a given new value for element ()Adds and returns a new value for identifier ()addIdentifier
(IdentifierDt theValue) Adds a given new value for identifier ()Adds and returns a new value for mapping ()addMapping
(DataElement.Mapping theValue) Adds a given new value for mapping ()Adds and returns a new value for useContext ()addUseContext
(CodeableConceptDt theValue) Adds a given new value for useContext ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for contact ().Gets the first repetition for contact (), creating it if it does not already exist.Gets the value(s) for copyright ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for copyright ().getDate()
Gets the value(s) for date ().ca.uhn.fhir.model.primitive.DateTimeDt
Gets the value(s) for date ().Gets the value(s) for element ().Gets the first repetition for element (), creating it if it does not already exist.Gets the value(s) for experimental ().ca.uhn.fhir.model.primitive.BooleanDt
Gets the value(s) for experimental ().Gets the value(s) for identifier ().Gets the first repetition for identifier (), creating it if it does not already exist.Gets the value(s) for mapping ().Gets the first repetition for mapping (), creating it if it does not already exist.getName()
Gets the value(s) for name ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for name ().Gets the value(s) for publisher ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for publisher ().Gets the value(s) for status ().ca.uhn.fhir.model.primitive.BoundCodeDt
<ConformanceResourceStatusEnum> Gets the value(s) for status ().Gets the value(s) for stringency ().ca.uhn.fhir.model.primitive.BoundCodeDt
<DataElementStringencyEnum> Gets the value(s) for stringency ().ca.uhn.fhir.context.FhirVersionEnum
getUrl()
Gets the value(s) for url ().ca.uhn.fhir.model.primitive.UriDt
Gets the value(s) for url ().Gets the value(s) for useContext ().Gets the first repetition for useContext (), creating it if it does not already exist.Gets the value(s) for version ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for version ().boolean
isEmpty()
setContact
(List<DataElement.Contact> theValue) Sets the value(s) for contact ()setCopyright
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for copyright ()setCopyright
(String theString) Sets the value for copyright ()setDate
(ca.uhn.fhir.model.primitive.DateTimeDt theValue) Sets the value(s) for date ()Sets the value for date ()setDateWithSecondsPrecision
(Date theDate) Sets the value for date ()setElement
(List<ElementDefinitionDt> theValue) Sets the value(s) for element ()setExperimental
(boolean theBoolean) Sets the value for experimental ()setExperimental
(ca.uhn.fhir.model.primitive.BooleanDt theValue) Sets the value(s) for experimental ()setIdentifier
(List<IdentifierDt> theValue) Sets the value(s) for identifier ()setMapping
(List<DataElement.Mapping> theValue) Sets the value(s) for mapping ()setName
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for name ()Sets the value for name ()setPublisher
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for publisher ()setPublisher
(String theString) Sets the value for publisher ()setStatus
(ConformanceResourceStatusEnum theValue) Sets the value(s) for status ()setStatus
(ca.uhn.fhir.model.primitive.BoundCodeDt<ConformanceResourceStatusEnum> theValue) Sets the value(s) for status ()setStringency
(DataElementStringencyEnum theValue) Sets the value(s) for stringency ()setStringency
(ca.uhn.fhir.model.primitive.BoundCodeDt<DataElementStringencyEnum> theValue) Sets the value(s) for stringency ()setUrl
(ca.uhn.fhir.model.primitive.UriDt theValue) Sets the value(s) for url ()Sets the value for url ()setUseContext
(List<CodeableConceptDt> theValue) Sets the value(s) for useContext ()setVersion
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for version ()setVersion
(String theString) Sets the value for version ()Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toString
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getIdElement, isDeleted, setId, setId
Methods inherited from interface ca.uhn.fhir.model.api.IResource
getContained, getId, getLanguage, getMeta, getResourceMetadata, getText, setId, setLanguage, setResourceMetadata
-
Field Details
-
SP_IDENTIFIER
Search parameter constant for identifierDescription: The identifier of the data element
Type: token
Path: DataElement.identifier
- See Also:
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription: The identifier of the data element
Type: token
Path: DataElement.identifier
-
SP_VERSION
Search parameter constant for versionDescription: The version identifier of the data element
Type: string
Path: DataElement.version
- See Also:
-
VERSION
Fluent Client search parameter constant for versionDescription: The version identifier of the data element
Type: string
Path: DataElement.version
-
SP_NAME
Search parameter constant for nameDescription: Name of the data element
Type: string
Path: DataElement.name
- See Also:
-
NAME
Fluent Client search parameter constant for nameDescription: Name of the data element
Type: string
Path: DataElement.name
-
SP_PUBLISHER
Search parameter constant for publisherDescription: Name of the publisher of the data element
Type: string
Path: DataElement.publisher
- See Also:
-
PUBLISHER
Fluent Client search parameter constant for publisherDescription: Name of the publisher of the data element
Type: string
Path: DataElement.publisher
-
SP_DESCRIPTION
Search parameter constant for descriptionDescription: Text search in the description of the data element. This corresponds to the definition of the first DataElement.element.
Type: string
Path: DataElement.element.definition
- See Also:
-
DESCRIPTION
Fluent Client search parameter constant for descriptionDescription: Text search in the description of the data element. This corresponds to the definition of the first DataElement.element.
Type: string
Path: DataElement.element.definition
-
SP_STATUS
Search parameter constant for statusDescription: The current status of the data element
Type: token
Path: DataElement.status
- See Also:
-
STATUS
Fluent Client search parameter constant for statusDescription: The current status of the data element
Type: token
Path: DataElement.status
-
SP_DATE
Search parameter constant for dateDescription: The data element publication date
Type: date
Path: DataElement.date
- See Also:
-
DATE
Fluent Client search parameter constant for dateDescription: The data element publication date
Type: date
Path: DataElement.date
-
SP_CODE
Search parameter constant for codeDescription: A code for the data element (server may choose to do subsumption)
Type: token
Path: DataElement.element.code
- See Also:
-
CODE
Fluent Client search parameter constant for codeDescription: A code for the data element (server may choose to do subsumption)
Type: token
Path: DataElement.element.code
-
SP_CONTEXT
Search parameter constant for contextDescription: A use context assigned to the data element
Type: token
Path: DataElement.useContext
- See Also:
-
CONTEXT
Fluent Client search parameter constant for contextDescription: A use context assigned to the data element
Type: token
Path: DataElement.useContext
-
SP_URL
Search parameter constant for urlDescription: The official URL for the data element
Type: uri
Path: DataElement.url
- See Also:
-
URL
Fluent Client search parameter constant for urlDescription: The official URL for the data element
Type: uri
Path: DataElement.url
-
SP_STRINGENCY
Search parameter constant for stringencyDescription: The stringency of the data element definition
Type: token
Path: DataElement.stringency
- See Also:
-
STRINGENCY
Fluent Client search parameter constant for stringencyDescription: The stringency of the data element definition
Type: token
Path: DataElement.stringency
-
-
Constructor Details
-
DataElement
public DataElement()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) - Specified by:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getUrlElement
Gets the value(s) for url (). creating it if it does not exist. Will not returnnull
.Definition: An absolute URL that is used to identify this data element when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this data element is (or will be) published
-
getUrl
Gets the value(s) for url (). creating it if it does not exist. This method may returnnull
.Definition: An absolute URL that is used to identify this data element when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this data element is (or will be) published
-
setUrl
Sets the value(s) for url ()Definition: An absolute URL that is used to identify this data element when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this data element is (or will be) published
-
setUrl
Sets the value for url ()Definition: An absolute URL that is used to identify this data element when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this data element is (or will be) published
-
getIdentifier
Gets the value(s) for identifier (). creating it if it does not exist. Will not returnnull
.Definition: Formal identifier that is used to identify this data element when it is represented in other formats, or referenced in a specification, model, design or an instance.
-
setIdentifier
Sets the value(s) for identifier ()Definition: Formal identifier that is used to identify this data element when it is represented in other formats, or referenced in a specification, model, design or an instance.
-
addIdentifier
Adds and returns a new value for identifier ()Definition: Formal identifier that is used to identify this data element when it is represented in other formats, or referenced in a specification, model, design or an instance.
-
addIdentifier
Adds a given new value for identifier ()Definition: Formal identifier that is used to identify this data element when it is represented in other formats, or referenced in a specification, model, design or an instance.
- Parameters:
theValue
- The identifier to add (must not benull
)
-
getIdentifierFirstRep
Gets the first repetition for identifier (), creating it if it does not already exist.Definition: Formal identifier that is used to identify this data element when it is represented in other formats, or referenced in a specification, model, design or an instance.
-
getVersionElement
Gets the value(s) for version (). creating it if it does not exist. Will not returnnull
.Definition: The identifier that is used to identify this version of the data element when it is referenced in a StructureDefinition, Questionnaire or instance. This is an arbitrary value managed by the definition author manually.
-
getVersion
Gets the value(s) for version (). creating it if it does not exist. This method may returnnull
.Definition: The identifier that is used to identify this version of the data element when it is referenced in a StructureDefinition, Questionnaire or instance. This is an arbitrary value managed by the definition author manually.
-
setVersion
Sets the value(s) for version ()Definition: The identifier that is used to identify this version of the data element when it is referenced in a StructureDefinition, Questionnaire or instance. This is an arbitrary value managed by the definition author manually.
-
setVersion
Sets the value for version ()Definition: The identifier that is used to identify this version of the data element when it is referenced in a StructureDefinition, Questionnaire or instance. This is an arbitrary value managed by the definition author manually.
-
getNameElement
Gets the value(s) for name (). creating it if it does not exist. Will not returnnull
.Definition: The term used by humans to refer to the data element. Should ideally be unique within the context in which the data element is expected to be used.
-
getName
Gets the value(s) for name (). creating it if it does not exist. This method may returnnull
.Definition: The term used by humans to refer to the data element. Should ideally be unique within the context in which the data element is expected to be used.
-
setName
Sets the value(s) for name ()Definition: The term used by humans to refer to the data element. Should ideally be unique within the context in which the data element is expected to be used.
-
setName
Sets the value for name ()Definition: The term used by humans to refer to the data element. Should ideally be unique within the context in which the data element is expected to be used.
-
getStatusElement
Gets the value(s) for status (). creating it if it does not exist. Will not returnnull
.Definition: The status of the data element
-
getStatus
Gets the value(s) for status (). creating it if it does not exist. This method may returnnull
.Definition: The status of the data element
-
setStatus
public DataElement setStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<ConformanceResourceStatusEnum> theValue) Sets the value(s) for status ()Definition: The status of the data element
-
setStatus
Sets the value(s) for status ()Definition: The status of the data element
-
getExperimentalElement
Gets the value(s) for experimental (). creating it if it does not exist. Will not returnnull
.Definition: A flag to indicate that this search data element definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage
-
getExperimental
Gets the value(s) for experimental (). creating it if it does not exist. This method may returnnull
.Definition: A flag to indicate that this search data element definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage
-
setExperimental
Sets the value(s) for experimental ()Definition: A flag to indicate that this search data element definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage
-
setExperimental
Sets the value for experimental ()Definition: A flag to indicate that this search data element definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage
-
getPublisherElement
Gets the value(s) for publisher (). creating it if it does not exist. Will not returnnull
.Definition: The name of the individual or organization that published the data element
-
getPublisher
Gets the value(s) for publisher (). creating it if it does not exist. This method may returnnull
.Definition: The name of the individual or organization that published the data element
-
setPublisher
Sets the value(s) for publisher ()Definition: The name of the individual or organization that published the data element
-
setPublisher
Sets the value for publisher ()Definition: The name of the individual or organization that published the data element
-
getContact
Gets the value(s) for contact (). creating it if it does not exist. Will not returnnull
.Definition: Contacts to assist a user in finding and communicating with the publisher
-
setContact
Sets the value(s) for contact ()Definition: Contacts to assist a user in finding and communicating with the publisher
-
addContact
Adds and returns a new value for contact ()Definition: Contacts to assist a user in finding and communicating with the publisher
-
addContact
Adds a given new value for contact ()Definition: Contacts to assist a user in finding and communicating with the publisher
- Parameters:
theValue
- The contact to add (must not benull
)
-
getContactFirstRep
Gets the first repetition for contact (), creating it if it does not already exist.Definition: Contacts to assist a user in finding and communicating with the publisher
-
getDateElement
Gets the value(s) for date (). creating it if it does not exist. Will not returnnull
.Definition: The date this version of the data element was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the data element changes
-
getDate
Gets the value(s) for date (). creating it if it does not exist. This method may returnnull
.Definition: The date this version of the data element was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the data element changes
-
setDate
Sets the value(s) for date ()Definition: The date this version of the data element was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the data element changes
-
setDateWithSecondsPrecision
Sets the value for date ()Definition: The date this version of the data element was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the data element changes
-
setDate
Sets the value for date ()Definition: The date this version of the data element was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the data element changes
-
getUseContext
Gets the value(s) for useContext (). creating it if it does not exist. Will not returnnull
.Definition: The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of data element definitions.
-
setUseContext
Sets the value(s) for useContext ()Definition: The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of data element definitions.
-
addUseContext
Adds and returns a new value for useContext ()Definition: The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of data element definitions.
-
addUseContext
Adds a given new value for useContext ()Definition: The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of data element definitions.
- Parameters:
theValue
- The useContext to add (must not benull
)
-
getUseContextFirstRep
Gets the first repetition for useContext (), creating it if it does not already exist.Definition: The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of data element definitions.
-
getCopyrightElement
Gets the value(s) for copyright (). creating it if it does not exist. Will not returnnull
.Definition: A copyright statement relating to the definition of the data element. Copyright statements are generally legal restrictions on the use and publishing of the details of the definition of the data element
-
getCopyright
Gets the value(s) for copyright (). creating it if it does not exist. This method may returnnull
.Definition: A copyright statement relating to the definition of the data element. Copyright statements are generally legal restrictions on the use and publishing of the details of the definition of the data element
-
setCopyright
Sets the value(s) for copyright ()Definition: A copyright statement relating to the definition of the data element. Copyright statements are generally legal restrictions on the use and publishing of the details of the definition of the data element
-
setCopyright
Sets the value for copyright ()Definition: A copyright statement relating to the definition of the data element. Copyright statements are generally legal restrictions on the use and publishing of the details of the definition of the data element
-
getStringencyElement
Gets the value(s) for stringency (). creating it if it does not exist. Will not returnnull
.Definition: Identifies how precise the data element is in its definition
-
getStringency
Gets the value(s) for stringency (). creating it if it does not exist. This method may returnnull
.Definition: Identifies how precise the data element is in its definition
-
setStringency
public DataElement setStringency(ca.uhn.fhir.model.primitive.BoundCodeDt<DataElementStringencyEnum> theValue) Sets the value(s) for stringency ()Definition: Identifies how precise the data element is in its definition
-
setStringency
Sets the value(s) for stringency ()Definition: Identifies how precise the data element is in its definition
-
getMapping
Gets the value(s) for mapping (). creating it if it does not exist. Will not returnnull
.Definition: Identifies a specification (other than a terminology) that the elements which make up the DataElement have some correspondence with
-
setMapping
Sets the value(s) for mapping ()Definition: Identifies a specification (other than a terminology) that the elements which make up the DataElement have some correspondence with
-
addMapping
Adds and returns a new value for mapping ()Definition: Identifies a specification (other than a terminology) that the elements which make up the DataElement have some correspondence with
-
addMapping
Adds a given new value for mapping ()Definition: Identifies a specification (other than a terminology) that the elements which make up the DataElement have some correspondence with
- Parameters:
theValue
- The mapping to add (must not benull
)
-
getMappingFirstRep
Gets the first repetition for mapping (), creating it if it does not already exist.Definition: Identifies a specification (other than a terminology) that the elements which make up the DataElement have some correspondence with
-
getElement
Gets the value(s) for element (). creating it if it does not exist. Will not returnnull
.Definition: Defines the structure, type, allowed values and other constraining characteristics of the data element
-
setElement
Sets the value(s) for element ()Definition: Defines the structure, type, allowed values and other constraining characteristics of the data element
-
addElement
Adds and returns a new value for element ()Definition: Defines the structure, type, allowed values and other constraining characteristics of the data element
-
addElement
Adds a given new value for element ()Definition: Defines the structure, type, allowed values and other constraining characteristics of the data element
- Parameters:
theValue
- The element to add (must not benull
)
-
getElementFirstRep
Gets the first repetition for element (), creating it if it does not already exist.Definition: Defines the structure, type, allowed values and other constraining characteristics of the data element
-
getResourceName
- Specified by:
getResourceName
in interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
- Specified by:
getStructureFhirVersionEnum
in interfaceorg.hl7.fhir.instance.model.api.IBaseResource
- Specified by:
getStructureFhirVersionEnum
in interfaceca.uhn.fhir.model.api.IResource
-