This
page
is
part
of
the
FHIR
Specification
(v3.0.2:
STU
3).
The
current
version
which
supercedes
this
version
is
5.0.0
.
For
a
full
list
Continuous
Integration
Build
of
available
versions,
see
FHIR
(will
be
incorrect/inconsistent
at
times).
See
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
R3
Responsible
Owner:
Clinical
Decision
Support
Work
Group
|
|
|
Compartments
:
|
This resource has 2 operations associated with it:
| $apply | Apply |
| $data-requirements | Data Requirements |
For
more
information
about
operations,
including
how
they
are
invoked,
see
Operations
.
12.18.10.1
Apply
The
apply
operation
realizes
a
definition
in
a
specific
context
The
official
URL
for
this
operation
definition
is
http://hl7.org/fhir/OperationDefinition/ActivityDefinition-apply
Formal
Definition
(as
a
OperationDefinition
).
URL:
[base]/ActivityDefinition/[id]/$apply
This
is
not
an
idempotent
operation
In
Parameters:
Name
Cardinality
Type
Binding
Profile
Documentation
patient
1..1
Reference
(
Patient
)
The
patient
addition,
there
are
operations
that
is
the
target
of
the
activity
to
be
applied
encounter
0..1
Reference
(
Encounter
)
The
encounter
in
context,
if
any
practitioner
0..1
Reference
(
Practitioner
)
The
practitioner
in
context
organization
0..1
Reference
(
Organization
)
The
organization
in
context
userType
0..1
CodeableConcept
The
type
of
user
initiating
the
request,
e.g.
patient,
healthcare
provider,
or
specific
type
of
healthcare
provider
(physician,
nurse,
etc.)
userLanguage
0..1
CodeableConcept
Preferred
language
of
the
person
using
the
system
userTaskContext
0..1
CodeableConcept
The
task
the
system
user
is
performing,
e.g.
laboratory
results
review,
medication
list
review,
etc.
This
information
can
be
used
apply
to
tailor
decision
support
outputs,
such
as
recommended
information
resources
setting
0..1
CodeableConcept
The
current
setting
of
the
request
(inpatient,
outpatient,
etc)
all
resource
types:
|
|
|
|
|
|
|
|
|
The
effect
of
invoking
this
operation
is
to
determine
the
aggregate
set
of
data
requirements
and
dependencies
for
the
activity
definition.
The
result
is
a
Library
resource
with
a
type
of
module-definition
that
contains
all
the
parameter
definitions
and
data
requirements
of
the
activity
definition
and
any
libraries
referenced
by
it.
Implementations
SHOULD
aggregate
data
requirements
intelligently
(i.e.
by
collapsing
overlapping
data
requirements)
12.18.10.2.1
Examples
Request
data
requirements
for
the
administer
zika
virus
exposure
assessment
activity
definition
(Request):
GET [base]/ActivityDefinition/administer-zika-virus-exposure-assessment/$data-requirements
Returned
on
successful
evaluation
(Response):
HTTP/1.1 200 OK
{
"resourceType": "Library",
"type": {
"coding": [
{
"code": "module-definition"
}
]
},
"relatedArtifact": [
{
"type": "depends-on",
"display": "Zika Affected Areas",
"resource": {
"reference": "ValueSet/zika-affected-areas"
}
},
{
"type": "depends-on",
"display": "Pregnancy",
"resource": {
"identifier": "urn:oid:X.Y.Z",
"display": "Pregnancy value set"
}
},
{
"type": "depends-on",
"display": "Zika Exposure Assessment",
"resource": {
"identifier": "urn:oid:X.Y.Z",
"display": "Zika Virus Exposure Assessment value set"
}
},
{
"type": "depends-on",
"display": "Zika Virus Signs and Symptoms",
"url": "https://phinvads.cdc.gov/vads/ViewValueSet.action?oid=2.16.840.1.114222.4.11.7459",
"resource": {
"identifier": "urn:oid:2.16.840.1.114222.4.11.7459",
"display": "Zika Virus Signs and Symptoms value set"
}
},
]
"dataRequirement": [
{
"type": "Condition",
"codeFilter": [
{
"path": "code",
"valueSetString": "Pregnancy"
}
]
},
{
"type": "Patient"
},
{
"type": "Observation",
"codeFilter": [
{
"path": "code",
"valueSetString": [
"Zika Exposure Assessment"
]
},
{
"path": "status",
"valueCode": [
"final"
]
}
]
},
{
"type": "Condition",
"codeFilter": [
{
"path": "category",
"valueCode": [
"diagnosis"
]
},
{
"path": "clinicalStatus",
"valueCode": [
"confirmed"
]
},
{
"path": "code",
"valueSetString": "Zika Virus Signs and Symptoms"
}
]
}
]
}
For
more
information
about
operations,
including
how
they
are
invoked,
see
Operations
.