Class: Query
The Query element represents a request for clarification on a data item collected for a clinical trial, specifically a request from a sponsor or sponsor’s representative to an investigator to resolve an error or inconsistency discovered during data review. Queries can be created manually by individuals such as site monitors or data managers or automatically by systems. The full text of the Query exists in the Value child element. The optional Name attribute provide the means to provide a short identifier that can be included in listing or user interfaces.
URI: odm:Query
erDiagram
Query {
oid OID
QuerySourceType source
text target
QueryType type
QueryStateType state
datetime lastUpdateDatetime
nameType name
}
AuditRecord {
EditPointType editPoint
YesOrNo usedMethod
}
SourceID {
text content
}
ReasonForChange {
text content
}
DateTimeStamp {
datetime content
}
LocationRef {
}
UserRef {
}
Value {
positiveInteger seqNum
text content
}
Query ||--|o Value : "value"
Query ||--}o AuditRecord : "auditRecord"
AuditRecord ||--|o UserRef : "userRef"
AuditRecord ||--|o LocationRef : "locationRef"
AuditRecord ||--|o DateTimeStamp : "dateTimeStamp"
AuditRecord ||--|o ReasonForChange : "reasonForChange"
AuditRecord ||--|o SourceID : "sourceID"
LocationRef ||--|| Location : "locationOID"
UserRef ||--|| User : "userOID"
Slots
Name | Cardinality* and Range | Description | Inheritance |
---|---|---|---|
OID | 1..1 oid |
Query unique identifier | direct |
source | 1..1 QuerySourceType |
Origin of the Query. | direct |
target | 0..1 text |
Element upon which the Query is raised. The parent element is the Target when... | direct |
type | 0..1 QueryType |
Indicates whether Is the Query was raised manually by a user or automatically... | direct |
state | 1..1 QueryStateType |
Status of the Query | direct |
lastUpdateDatetime | 1..1 datetime |
When was this Query updated? Will correspond to the creation date or the last... | direct |
name | 0..1 nameType |
Name for a query that can be used to identify the query in a listing or user ... | direct |
value | 0..1 Value |
Human-readable designation of the trial phase. | direct |
auditRecord | 0..* AuditRecord |
AuditRecord reference: An AuditRecord carries information pertaining to the c... | direct |
* See LinkML documentation for cardinality definitions.
Usages
used by | used in | type | used |
---|---|---|---|
Location | query | range | Query |
ClinicalData | query | range | Query |
SubjectData | query | range | Query |
StudyEventData | query | range | Query |
ItemGroupData | query | range | Query |
ItemData | query | range | Query |
See Also
Identifier and Mapping Information
Schema Source
- from schema: http://www.cdisc.org/ns/odm/v2.0
Mappings
Mapping Type | Mapped Value |
---|---|
self | odm:Query |
native | odm:Query |
LinkML Source
Direct
name: Query
description: The Query element represents a request for clarification on a data item
collected for a clinical trial, specifically a request from a sponsor or sponsor’s
representative to an investigator to resolve an error or inconsistency discovered
during data review. Queries can be created manually by individuals such as site
monitors or data managers or automatically by systems. The full text of the Query
exists in the Value child element. The optional Name attribute provide the means
to provide a short identifier that can be included in listing or user interfaces.
from_schema: http://www.cdisc.org/ns/odm/v2.0
see_also:
- https://wiki.cdisc.org/display/PUB/Query
rank: 1000
slots:
- OID
- source
- target
- type
- state
- lastUpdateDatetime
- name
- value
- auditRecord
slot_usage:
OID:
name: OID
description: Query unique identifier
comments:
- Must be unique within a Study.
identifier: true
domain_of:
- Study
- MetaDataVersion
- Standard
- ValueListDef
- WhereClauseDef
- StudyEventGroupDef
- StudyEventDef
- ItemGroupDef
- ItemDef
- CodeList
- MethodDef
- ConditionDef
- CommentDef
- StudyIndication
- StudyIntervention
- StudyObjective
- StudyEndPoint
- StudyTargetPopulation
- StudyEstimand
- Arm
- Epoch
- StudyParameter
- StudyTiming
- TransitionTimingConstraint
- AbsoluteTimingConstraint
- RelativeTimingConstraint
- DurationTimingConstraint
- WorkflowDef
- Transition
- Branching
- Criterion
- User
- Organization
- Location
- SignatureDef
- Query
range: oid
required: true
source:
name: source
description: Origin of the Query.
domain_of:
- Origin
- Query
range: QuerySourceType
required: true
target:
name: target
description: Element upon which the Query is raised. The parent element is the
Target when the Target attribute is omitted.
comments:
- Optional
domain_of:
- Query
range: text
type:
name: type
description: Indicates whether Is the Query was raised manually by a user or automatically
via an edit check.
comments:
- Optional
domain_of:
- TranslatedText
- PDFPageRef
- Standard
- StudyEventDef
- ItemGroupDef
- Origin
- Resource
- MethodDef
- StudyEndPoint
- TransitionTimingConstraint
- RelativeTimingConstraint
- Branching
- Organization
- Query
range: QueryType
state:
name: state
description: Status of the Query
domain_of:
- Query
range: QueryStateType
required: true
lastUpdateDatetime:
name: lastUpdateDatetime
description: When was this Query updated? Will correspond to the creation date
or the last updated date?
domain_of:
- Query
range: datetime
required: true
name:
name: name
description: Name for a query that can be used to identify the query in a listing
or user interface.
comments:
- Optional
domain_of:
- Alias
- MetaDataVersion
- Standard
- StudyEventGroupDef
- StudyEventDef
- ItemGroupDef
- Class
- SubClass
- SourceItem
- Resource
- ItemDef
- CodeList
- MethodDef
- Parameter
- ReturnValue
- ConditionDef
- StudyObjective
- StudyEndPoint
- StudyTargetPopulation
- StudyEstimand
- Arm
- Epoch
- StudyTiming
- TransitionTimingConstraint
- AbsoluteTimingConstraint
- RelativeTimingConstraint
- DurationTimingConstraint
- WorkflowDef
- Transition
- Branching
- Criterion
- Organization
- Location
- Query
range: nameType
value:
name: value
domain_of:
- TrialPhase
- ParameterValue
- Telecom
- ItemData
- Query
range: Value
maximum_cardinality: 1
auditRecord:
name: auditRecord
multivalued: true
domain_of:
- ReferenceData
- ClinicalData
- SubjectData
- StudyEventData
- ItemGroupData
- ItemData
- Query
range: AuditRecord
inlined: true
inlined_as_list: true
class_uri: odm:Query
Induced
name: Query
description: The Query element represents a request for clarification on a data item
collected for a clinical trial, specifically a request from a sponsor or sponsor’s
representative to an investigator to resolve an error or inconsistency discovered
during data review. Queries can be created manually by individuals such as site
monitors or data managers or automatically by systems. The full text of the Query
exists in the Value child element. The optional Name attribute provide the means
to provide a short identifier that can be included in listing or user interfaces.
from_schema: http://www.cdisc.org/ns/odm/v2.0
see_also:
- https://wiki.cdisc.org/display/PUB/Query
rank: 1000
slot_usage:
OID:
name: OID
description: Query unique identifier
comments:
- Must be unique within a Study.
identifier: true
domain_of:
- Study
- MetaDataVersion
- Standard
- ValueListDef
- WhereClauseDef
- StudyEventGroupDef
- StudyEventDef
- ItemGroupDef
- ItemDef
- CodeList
- MethodDef
- ConditionDef
- CommentDef
- StudyIndication
- StudyIntervention
- StudyObjective
- StudyEndPoint
- StudyTargetPopulation
- StudyEstimand
- Arm
- Epoch
- StudyParameter
- StudyTiming
- TransitionTimingConstraint
- AbsoluteTimingConstraint
- RelativeTimingConstraint
- DurationTimingConstraint
- WorkflowDef
- Transition
- Branching
- Criterion
- User
- Organization
- Location
- SignatureDef
- Query
range: oid
required: true
source:
name: source
description: Origin of the Query.
domain_of:
- Origin
- Query
range: QuerySourceType
required: true
target:
name: target
description: Element upon which the Query is raised. The parent element is the
Target when the Target attribute is omitted.
comments:
- Optional
domain_of:
- Query
range: text
type:
name: type
description: Indicates whether Is the Query was raised manually by a user or automatically
via an edit check.
comments:
- Optional
domain_of:
- TranslatedText
- PDFPageRef
- Standard
- StudyEventDef
- ItemGroupDef
- Origin
- Resource
- MethodDef
- StudyEndPoint
- TransitionTimingConstraint
- RelativeTimingConstraint
- Branching
- Organization
- Query
range: QueryType
state:
name: state
description: Status of the Query
domain_of:
- Query
range: QueryStateType
required: true
lastUpdateDatetime:
name: lastUpdateDatetime
description: When was this Query updated? Will correspond to the creation date
or the last updated date?
domain_of:
- Query
range: datetime
required: true
name:
name: name
description: Name for a query that can be used to identify the query in a listing
or user interface.
comments:
- Optional
domain_of:
- Alias
- MetaDataVersion
- Standard
- StudyEventGroupDef
- StudyEventDef
- ItemGroupDef
- Class
- SubClass
- SourceItem
- Resource
- ItemDef
- CodeList
- MethodDef
- Parameter
- ReturnValue
- ConditionDef
- StudyObjective
- StudyEndPoint
- StudyTargetPopulation
- StudyEstimand
- Arm
- Epoch
- StudyTiming
- TransitionTimingConstraint
- AbsoluteTimingConstraint
- RelativeTimingConstraint
- DurationTimingConstraint
- WorkflowDef
- Transition
- Branching
- Criterion
- Organization
- Location
- Query
range: nameType
value:
name: value
domain_of:
- TrialPhase
- ParameterValue
- Telecom
- ItemData
- Query
range: Value
maximum_cardinality: 1
auditRecord:
name: auditRecord
multivalued: true
domain_of:
- ReferenceData
- ClinicalData
- SubjectData
- StudyEventData
- ItemGroupData
- ItemData
- Query
range: AuditRecord
inlined: true
inlined_as_list: true
attributes:
OID:
name: OID
description: Query unique identifier
comments:
- Must be unique within a Study.
from_schema: http://www.cdisc.org/ns/odm/v2.0
rank: 1000
identifier: true
alias: OID
owner: Query
domain_of:
- Study
- MetaDataVersion
- Standard
- ValueListDef
- WhereClauseDef
- StudyEventGroupDef
- StudyEventDef
- ItemGroupDef
- ItemDef
- CodeList
- MethodDef
- ConditionDef
- CommentDef
- StudyIndication
- StudyIntervention
- StudyObjective
- StudyEndPoint
- StudyTargetPopulation
- StudyEstimand
- Arm
- Epoch
- StudyParameter
- StudyTiming
- TransitionTimingConstraint
- AbsoluteTimingConstraint
- RelativeTimingConstraint
- DurationTimingConstraint
- WorkflowDef
- Transition
- Branching
- Criterion
- User
- Organization
- Location
- SignatureDef
- Query
range: oid
required: true
source:
name: source
description: Origin of the Query.
from_schema: http://www.cdisc.org/ns/odm/v2.0
rank: 1000
alias: source
owner: Query
domain_of:
- Origin
- Query
range: QuerySourceType
required: true
target:
name: target
description: Element upon which the Query is raised. The parent element is the
Target when the Target attribute is omitted.
comments:
- Optional
from_schema: http://www.cdisc.org/ns/odm/v2.0
rank: 1000
alias: target
owner: Query
domain_of:
- Query
range: text
type:
name: type
description: Indicates whether Is the Query was raised manually by a user or automatically
via an edit check.
comments:
- Optional
from_schema: http://www.cdisc.org/ns/odm/v2.0
rank: 1000
alias: type
owner: Query
domain_of:
- TranslatedText
- PDFPageRef
- Standard
- StudyEventDef
- ItemGroupDef
- Origin
- Resource
- MethodDef
- StudyEndPoint
- TransitionTimingConstraint
- RelativeTimingConstraint
- Branching
- Organization
- Query
range: QueryType
state:
name: state
description: Status of the Query
from_schema: http://www.cdisc.org/ns/odm/v2.0
rank: 1000
alias: state
owner: Query
domain_of:
- Query
range: QueryStateType
required: true
lastUpdateDatetime:
name: lastUpdateDatetime
description: When was this Query updated? Will correspond to the creation date
or the last updated date?
from_schema: http://www.cdisc.org/ns/odm/v2.0
rank: 1000
alias: lastUpdateDatetime
owner: Query
domain_of:
- Query
range: datetime
required: true
name:
name: name
description: Name for a query that can be used to identify the query in a listing
or user interface.
comments:
- Optional
from_schema: http://www.cdisc.org/ns/odm/v2.0
rank: 1000
alias: name
owner: Query
domain_of:
- Alias
- MetaDataVersion
- Standard
- StudyEventGroupDef
- StudyEventDef
- ItemGroupDef
- Class
- SubClass
- SourceItem
- Resource
- ItemDef
- CodeList
- MethodDef
- Parameter
- ReturnValue
- ConditionDef
- StudyObjective
- StudyEndPoint
- StudyTargetPopulation
- StudyEstimand
- Arm
- Epoch
- StudyTiming
- TransitionTimingConstraint
- AbsoluteTimingConstraint
- RelativeTimingConstraint
- DurationTimingConstraint
- WorkflowDef
- Transition
- Branching
- Criterion
- Organization
- Location
- Query
range: nameType
value:
name: value
description: Human-readable designation of the trial phase.
from_schema: http://www.cdisc.org/ns/odm/v2.0
rank: 1000
alias: value
owner: Query
domain_of:
- TrialPhase
- ParameterValue
- Telecom
- ItemData
- Query
range: Value
maximum_cardinality: 1
auditRecord:
name: auditRecord
description: 'AuditRecord reference: An AuditRecord carries information pertaining
to the creation, deletion, or modification of clinical data. This information
includes who performed that action, and where, when, and why that action was
performed.AuditRecord information describes a change to clinical data, but is
not itself clinical data. The value of some clinical data can always be changed
by a subsequent transaction, but history cannot be changed, only added to.'
from_schema: http://www.cdisc.org/ns/odm/v2.0
rank: 1000
multivalued: true
alias: auditRecord
owner: Query
domain_of:
- ReferenceData
- ClinicalData
- SubjectData
- StudyEventData
- ItemGroupData
- ItemData
- Query
range: AuditRecord
inlined: true
inlined_as_list: true
class_uri: odm:Query