ActivityDefinition

This resource allows for the definition of some activity to be performed, independent of a particular patient, practitioner, or other performance context.

Columns

Header row
# path type required description
0 resourceType string * Resource type identifier. Must be string "ActivityDefinition"
1 integer * Number of subrows
2 id string * Logical id of this artifact
3 url uri Canonical identifier for this activity definition, represented as a URI (globally unique)
4 version string Business version of the activity definition
5 name string Name for this activity definition (computer friendly)
6 title string Name for this activity definition (human friendly)
7 subtitle string Subordinate title of the activity definition
8 status code draft | active | retired | unknown
9 experimental boolean For testing purposes, not real usage
subject[x] Type of individual the activity definition is intended for
subjectCodeableConcept CodeableConcept
subjectCodeableConcept.coding Coding Code defined by a terminology system
10 subjectCodeableConcept.coding.system uri Identity of the terminology system
11 subjectCodeableConcept.coding.version string Version of the system - if relevant
12 subjectCodeableConcept.coding.code code Symbol in syntax defined by the system
13 subjectCodeableConcept.coding.display string Representation defined by the system
14 subjectCodeableConcept.coding.userSelected boolean If this coding was chosen directly by the user
15 subjectCodeableConcept.text string Plain text representation of the concept
subjectReference Reference
16 subjectReference.reference string Literal reference, Relative, internal or absolute URL
17 subjectReference.type uri Type the reference refers to (e.g. "Patient")
subjectReference.identifier Identifier Logical reference, when literal reference is not known
18 subjectReference.identifier.use code usual | official | temp | secondary | old (If known)
subjectReference.identifier.type CodeableConcept Description of identifier
subjectReference.identifier.type.coding Coding Code defined by a terminology system
19 subjectReference.identifier.type.coding.system uri Identity of the terminology system
20 subjectReference.identifier.type.coding.version string Version of the system - if relevant
21 subjectReference.identifier.type.coding.code code Symbol in syntax defined by the system
22 subjectReference.identifier.type.coding.display string Representation defined by the system
23 subjectReference.identifier.type.coding.userSelected boolean If this coding was chosen directly by the user
24 subjectReference.identifier.type.text string Plain text representation of the concept
25 subjectReference.identifier.system uri The namespace for the identifier value
26 subjectReference.identifier.value string The value that is unique
subjectReference.identifier.period Period Time period when id is/was valid for use
27 subjectReference.identifier.period.start dateTime Starting time with inclusive boundary
28 subjectReference.identifier.period.end dateTime End time with inclusive boundary, if not ongoing
29 subjectReference.display string Text alternative for the resource
30 date dateTime Date last changed
31 publisher string Name of the publisher (organization or individual)
32 description markdown Natural language description of the activity definition
33 purpose markdown Why this activity definition is defined
34 usage string Describes the clinical usage of the activity definition
35 copyright markdown Use and/or publishing restrictions
36 approvalDate date When the activity definition was approved by publisher
37 lastReviewDate date When the activity definition was last reviewed
effectivePeriod Period When the activity definition is expected to be used
38 effectivePeriod.start dateTime Starting time with inclusive boundary
39 effectivePeriod.end dateTime End time with inclusive boundary, if not ongoing
40 kind code Kind of resource
41 profile canonical What profile the resource needs to conform to
code CodeableConcept Detail type of activity
code.coding Coding Code defined by a terminology system
42 code.coding.system uri Identity of the terminology system
43 code.coding.version string Version of the system - if relevant
44 code.coding.code code Symbol in syntax defined by the system
45 code.coding.display string Representation defined by the system
46 code.coding.userSelected boolean If this coding was chosen directly by the user
47 code.text string Plain text representation of the concept
48 intent code proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
49 priority code routine | urgent | asap | stat
50 doNotPerform boolean True if the activity should not be performed
timing[x] When activity is to occur
timingTiming Timing
51 timingTiming.event dateTime When the event occurs
timingTiming.repeat When the event is to occur
timingTiming.repeat.bounds[x] Length/Range of lengths, or (Start and/or end) limits
timingTiming.repeat.boundsDuration Duration
52 timingTiming.repeat.boundsDuration.value decimal Numerical value (with implicit precision)
53 timingTiming.repeat.boundsDuration.comparator code < | <= | >= | > - how to understand the value
54 timingTiming.repeat.boundsDuration.unit string Unit representation
55 timingTiming.repeat.boundsDuration.system uri System that defines coded unit form
56 timingTiming.repeat.boundsDuration.code code Coded form of the unit
timingTiming.repeat.boundsRange Range
timingTiming.repeat.boundsRange.low Quantity Low limit
57 timingTiming.repeat.boundsRange.low.value decimal Numerical value (with implicit precision)
58 timingTiming.repeat.boundsRange.low.unit string Unit representation
59 timingTiming.repeat.boundsRange.low.system uri System that defines coded unit form
60 timingTiming.repeat.boundsRange.low.code code Coded form of the unit
timingTiming.repeat.boundsRange.high Quantity High limit
61 timingTiming.repeat.boundsRange.high.value decimal Numerical value (with implicit precision)
62 timingTiming.repeat.boundsRange.high.unit string Unit representation
63 timingTiming.repeat.boundsRange.high.system uri System that defines coded unit form
64 timingTiming.repeat.boundsRange.high.code code Coded form of the unit
timingTiming.repeat.boundsPeriod Period
65 timingTiming.repeat.boundsPeriod.start dateTime Starting time with inclusive boundary
66 timingTiming.repeat.boundsPeriod.end dateTime End time with inclusive boundary, if not ongoing
67 timingTiming.repeat.count positiveInt Number of times to repeat
68 timingTiming.repeat.countMax positiveInt Maximum number of times to repeat
69 timingTiming.repeat.duration decimal How long when it happens
70 timingTiming.repeat.durationMax decimal How long when it happens (Max)
71 timingTiming.repeat.durationUnit code s | min | h | d | wk | mo | a - unit of time (UCUM)
72 timingTiming.repeat.frequency positiveInt Event occurs frequency times per period
73 timingTiming.repeat.frequencyMax positiveInt Event occurs up to frequencyMax times per period
74 timingTiming.repeat.period decimal Event occurs frequency times per period
75 timingTiming.repeat.periodMax decimal Upper limit of period (3-4 hours)
76 timingTiming.repeat.periodUnit code s | min | h | d | wk | mo | a - unit of time (UCUM)
77 timingTiming.repeat.dayOfWeek code mon | tue | wed | thu | fri | sat | sun
78 timingTiming.repeat.timeOfDay time Time of day for action
79 timingTiming.repeat.when code Code for time period of occurrence
80 timingTiming.repeat.offset unsignedInt Minutes from event (before or after)
timingTiming.code CodeableConcept BID | TID | QID | AM | PM | QD | QOD | +
timingTiming.code.coding Coding Code defined by a terminology system
81 timingTiming.code.coding.system uri Identity of the terminology system
82 timingTiming.code.coding.version string Version of the system - if relevant
83 timingTiming.code.coding.code code Symbol in syntax defined by the system
84 timingTiming.code.coding.display string Representation defined by the system
85 timingTiming.code.coding.userSelected boolean If this coding was chosen directly by the user
86 timingTiming.code.text string Plain text representation of the concept
87 timingDateTime dateTime
timingAge Age
88 timingAge.value decimal Numerical value (with implicit precision)
89 timingAge.comparator code < | <= | >= | > - how to understand the value
90 timingAge.unit string Unit representation
91 timingAge.system uri System that defines coded unit form
92 timingAge.code code Coded form of the unit
timingPeriod Period
93 timingPeriod.start dateTime Starting time with inclusive boundary
94 timingPeriod.end dateTime End time with inclusive boundary, if not ongoing
timingRange Range
timingRange.low Quantity Low limit
95 timingRange.low.value decimal Numerical value (with implicit precision)
96 timingRange.low.unit string Unit representation
97 timingRange.low.system uri System that defines coded unit form
98 timingRange.low.code code Coded form of the unit
timingRange.high Quantity High limit
99 timingRange.high.value decimal Numerical value (with implicit precision)
100 timingRange.high.unit string Unit representation
101 timingRange.high.system uri System that defines coded unit form
102 timingRange.high.code code Coded form of the unit
timingDuration Duration
103 timingDuration.value decimal Numerical value (with implicit precision)
104 timingDuration.comparator code < | <= | >= | > - how to understand the value
105 timingDuration.unit string Unit representation
106 timingDuration.system uri System that defines coded unit form
107 timingDuration.code code Coded form of the unit
location Reference Where it should happen
108 location.reference string Literal reference, Relative, internal or absolute URL
109 location.type uri Type the reference refers to (e.g. "Patient")
location.identifier Identifier Logical reference, when literal reference is not known
110 location.identifier.use code usual | official | temp | secondary | old (If known)
location.identifier.type CodeableConcept Description of identifier
location.identifier.type.coding Coding Code defined by a terminology system
111 location.identifier.type.coding.system uri Identity of the terminology system
112 location.identifier.type.coding.version string Version of the system - if relevant
113 location.identifier.type.coding.code code Symbol in syntax defined by the system
114 location.identifier.type.coding.display string Representation defined by the system
115 location.identifier.type.coding.userSelected boolean If this coding was chosen directly by the user
116 location.identifier.type.text string Plain text representation of the concept
117 location.identifier.system uri The namespace for the identifier value
118 location.identifier.value string The value that is unique
location.identifier.period Period Time period when id is/was valid for use
119 location.identifier.period.start dateTime Starting time with inclusive boundary
120 location.identifier.period.end dateTime End time with inclusive boundary, if not ongoing
121 location.display string Text alternative for the resource
product[x] What's administered/supplied
productReference Reference
122 productReference.reference string Literal reference, Relative, internal or absolute URL
123 productReference.type uri Type the reference refers to (e.g. "Patient")
productReference.identifier Identifier Logical reference, when literal reference is not known
124 productReference.identifier.use code usual | official | temp | secondary | old (If known)
productReference.identifier.type CodeableConcept Description of identifier
productReference.identifier.type.coding Coding Code defined by a terminology system
125 productReference.identifier.type.coding.system uri Identity of the terminology system
126 productReference.identifier.type.coding.version string Version of the system - if relevant
127 productReference.identifier.type.coding.code code Symbol in syntax defined by the system
128 productReference.identifier.type.coding.display string Representation defined by the system
129 productReference.identifier.type.coding.userSelected boolean If this coding was chosen directly by the user
130 productReference.identifier.type.text string Plain text representation of the concept
131 productReference.identifier.system uri The namespace for the identifier value
132 productReference.identifier.value string The value that is unique
productReference.identifier.period Period Time period when id is/was valid for use
133 productReference.identifier.period.start dateTime Starting time with inclusive boundary
134 productReference.identifier.period.end dateTime End time with inclusive boundary, if not ongoing
135 productReference.display string Text alternative for the resource
productCodeableConcept CodeableConcept
productCodeableConcept.coding Coding Code defined by a terminology system
136 productCodeableConcept.coding.system uri Identity of the terminology system
137 productCodeableConcept.coding.version string Version of the system - if relevant
138 productCodeableConcept.coding.code code Symbol in syntax defined by the system
139 productCodeableConcept.coding.display string Representation defined by the system
140 productCodeableConcept.coding.userSelected boolean If this coding was chosen directly by the user
141 productCodeableConcept.text string Plain text representation of the concept
quantity Quantity How much is administered/consumed/supplied
142 quantity.value decimal Numerical value (with implicit precision)
143 quantity.unit string Unit representation
144 quantity.system uri System that defines coded unit form
145 quantity.code code Coded form of the unit
146 transform canonical Transform to apply the template
Row identifier
# path type required description
0 string * Subrow identifier. Must be string "identifier"
identifier Identifier Additional identifier for the activity definition
1 identifier.use code usual | official | temp | secondary | old (If known)
identifier.type CodeableConcept Description of identifier
identifier.type.coding Coding Code defined by a terminology system
2 identifier.type.coding.system uri Identity of the terminology system
3 identifier.type.coding.version string Version of the system - if relevant
4 identifier.type.coding.code code Symbol in syntax defined by the system
5 identifier.type.coding.display string Representation defined by the system
6 identifier.type.coding.userSelected boolean If this coding was chosen directly by the user
7 identifier.type.text string Plain text representation of the concept
8 identifier.system uri The namespace for the identifier value
9 identifier.value string The value that is unique
identifier.period Period Time period when id is/was valid for use
10 identifier.period.start dateTime Starting time with inclusive boundary
11 identifier.period.end dateTime End time with inclusive boundary, if not ongoing
Row contact
# path type required description
0 string * Subrow identifier. Must be string "contact"
contact ContactDetail Contact details for the publisher
1 contact.name string Name of an individual to contact
contact.telecom ContactPoint Contact details for individual or organization
2 contact.telecom.system code phone | fax | email | pager | url | sms | other
3 contact.telecom.value string The actual contact point details
4 contact.telecom.use code home | work | temp | old | mobile - purpose of this contact point
5 contact.telecom.rank positiveInt Specify preferred order of use (1 = highest)
contact.telecom.period Period Time period when the contact point was/is in use
6 contact.telecom.period.start dateTime Starting time with inclusive boundary
7 contact.telecom.period.end dateTime End time with inclusive boundary, if not ongoing
Row useContext
# path type required description
0 string * Subrow identifier. Must be string "useContext"
useContext UsageContext The context that the content is intended to support
useContext.code Coding Type of context being specified
1 useContext.code.system uri Identity of the terminology system
2 useContext.code.version string Version of the system - if relevant
3 useContext.code.code code Symbol in syntax defined by the system
4 useContext.code.display string Representation defined by the system
5 useContext.code.userSelected boolean If this coding was chosen directly by the user
useContext.value[x] Value that defines the context
useContext.valueCodeableConcept CodeableConcept
useContext.valueCodeableConcept.coding Coding Code defined by a terminology system
6 useContext.valueCodeableConcept.coding.system uri Identity of the terminology system
7 useContext.valueCodeableConcept.coding.version string Version of the system - if relevant
8 useContext.valueCodeableConcept.coding.code code Symbol in syntax defined by the system
9 useContext.valueCodeableConcept.coding.display string Representation defined by the system
10 useContext.valueCodeableConcept.coding.userSelected boolean If this coding was chosen directly by the user
11 useContext.valueCodeableConcept.text string Plain text representation of the concept
useContext.valueQuantity Quantity
12 useContext.valueQuantity.value decimal Numerical value (with implicit precision)
13 useContext.valueQuantity.comparator code < | <= | >= | > - how to understand the value
14 useContext.valueQuantity.unit string Unit representation
15 useContext.valueQuantity.system uri System that defines coded unit form
16 useContext.valueQuantity.code code Coded form of the unit
useContext.valueRange Range
useContext.valueRange.low Quantity Low limit
17 useContext.valueRange.low.value decimal Numerical value (with implicit precision)
18 useContext.valueRange.low.unit string Unit representation
19 useContext.valueRange.low.system uri System that defines coded unit form
20 useContext.valueRange.low.code code Coded form of the unit
useContext.valueRange.high Quantity High limit
21 useContext.valueRange.high.value decimal Numerical value (with implicit precision)
22 useContext.valueRange.high.unit string Unit representation
23 useContext.valueRange.high.system uri System that defines coded unit form
24 useContext.valueRange.high.code code Coded form of the unit
useContext.valueReference Reference
25 useContext.valueReference.reference string Literal reference, Relative, internal or absolute URL
26 useContext.valueReference.type uri Type the reference refers to (e.g. "Patient")
useContext.valueReference.identifier Identifier Logical reference, when literal reference is not known
27 useContext.valueReference.identifier.use code usual | official | temp | secondary | old (If known)
useContext.valueReference.identifier.type CodeableConcept Description of identifier
useContext.valueReference.identifier.type.coding Coding Code defined by a terminology system
28 useContext.valueReference.identifier.type.coding.system uri Identity of the terminology system
29 useContext.valueReference.identifier.type.coding.version string Version of the system - if relevant
30 useContext.valueReference.identifier.type.coding.code code Symbol in syntax defined by the system
31 useContext.valueReference.identifier.type.coding.display string Representation defined by the system
32 useContext.valueReference.identifier.type.coding.userSelected boolean If this coding was chosen directly by the user
33 useContext.valueReference.identifier.type.text string Plain text representation of the concept
34 useContext.valueReference.identifier.system uri The namespace for the identifier value
35 useContext.valueReference.identifier.value string The value that is unique
useContext.valueReference.identifier.period Period Time period when id is/was valid for use
36 useContext.valueReference.identifier.period.start dateTime Starting time with inclusive boundary
37 useContext.valueReference.identifier.period.end dateTime End time with inclusive boundary, if not ongoing
38 useContext.valueReference.display string Text alternative for the resource
Row jurisdiction
# path type required description
0 string * Subrow identifier. Must be string "jurisdiction"
jurisdiction CodeableConcept Intended jurisdiction for activity definition (if applicable)
jurisdiction.coding Coding Code defined by a terminology system
1 jurisdiction.coding.system uri Identity of the terminology system
2 jurisdiction.coding.version string Version of the system - if relevant
3 jurisdiction.coding.code code Symbol in syntax defined by the system
4 jurisdiction.coding.display string Representation defined by the system
5 jurisdiction.coding.userSelected boolean If this coding was chosen directly by the user
6 jurisdiction.text string Plain text representation of the concept
Row topic
# path type required description
0 string * Subrow identifier. Must be string "topic"
topic CodeableConcept E.g. Education, Treatment, Assessment, etc.
topic.coding Coding Code defined by a terminology system
1 topic.coding.system uri Identity of the terminology system
2 topic.coding.version string Version of the system - if relevant
3 topic.coding.code code Symbol in syntax defined by the system
4 topic.coding.display string Representation defined by the system
5 topic.coding.userSelected boolean If this coding was chosen directly by the user
6 topic.text string Plain text representation of the concept
Row author
# path type required description
0 string * Subrow identifier. Must be string "author"
author ContactDetail Who authored the content
1 author.name string Name of an individual to contact
author.telecom ContactPoint Contact details for individual or organization
2 author.telecom.system code phone | fax | email | pager | url | sms | other
3 author.telecom.value string The actual contact point details
4 author.telecom.use code home | work | temp | old | mobile - purpose of this contact point
5 author.telecom.rank positiveInt Specify preferred order of use (1 = highest)
author.telecom.period Period Time period when the contact point was/is in use
6 author.telecom.period.start dateTime Starting time with inclusive boundary
7 author.telecom.period.end dateTime End time with inclusive boundary, if not ongoing
Row editor
# path type required description
0 string * Subrow identifier. Must be string "editor"
editor ContactDetail Who edited the content
1 editor.name string Name of an individual to contact
editor.telecom ContactPoint Contact details for individual or organization
2 editor.telecom.system code phone | fax | email | pager | url | sms | other
3 editor.telecom.value string The actual contact point details
4 editor.telecom.use code home | work | temp | old | mobile - purpose of this contact point
5 editor.telecom.rank positiveInt Specify preferred order of use (1 = highest)
editor.telecom.period Period Time period when the contact point was/is in use
6 editor.telecom.period.start dateTime Starting time with inclusive boundary
7 editor.telecom.period.end dateTime End time with inclusive boundary, if not ongoing
Row reviewer
# path type required description
0 string * Subrow identifier. Must be string "reviewer"
reviewer ContactDetail Who reviewed the content
1 reviewer.name string Name of an individual to contact
reviewer.telecom ContactPoint Contact details for individual or organization
2 reviewer.telecom.system code phone | fax | email | pager | url | sms | other
3 reviewer.telecom.value string The actual contact point details
4 reviewer.telecom.use code home | work | temp | old | mobile - purpose of this contact point
5 reviewer.telecom.rank positiveInt Specify preferred order of use (1 = highest)
reviewer.telecom.period Period Time period when the contact point was/is in use
6 reviewer.telecom.period.start dateTime Starting time with inclusive boundary
7 reviewer.telecom.period.end dateTime End time with inclusive boundary, if not ongoing
Row endorser
# path type required description
0 string * Subrow identifier. Must be string "endorser"
endorser ContactDetail Who endorsed the content
1 endorser.name string Name of an individual to contact
endorser.telecom ContactPoint Contact details for individual or organization
2 endorser.telecom.system code phone | fax | email | pager | url | sms | other
3 endorser.telecom.value string The actual contact point details
4 endorser.telecom.use code home | work | temp | old | mobile - purpose of this contact point
5 endorser.telecom.rank positiveInt Specify preferred order of use (1 = highest)
endorser.telecom.period Period Time period when the contact point was/is in use
6 endorser.telecom.period.start dateTime Starting time with inclusive boundary
7 endorser.telecom.period.end dateTime End time with inclusive boundary, if not ongoing
Row relatedArtifact
# path type required description
0 string * Subrow identifier. Must be string "relatedArtifact"
relatedArtifact RelatedArtifact Additional documentation, citations, etc.
1 relatedArtifact.type code documentation | justification | citation | predecessor | successor | derived-from | depends-on | composed-of
2 relatedArtifact.label string Short label
3 relatedArtifact.display string Brief description of the related artifact
4 relatedArtifact.citation markdown Bibliographic citation for the artifact
5 relatedArtifact.url url Where the artifact can be accessed
relatedArtifact.document Attachment What document is being referenced
6 relatedArtifact.document.contentType code Mime type of the content, with charset etc.
7 relatedArtifact.document.language code Human language of the content (BCP-47)
8 relatedArtifact.document.data base64Binary Data inline, base64ed
9 relatedArtifact.document.url url Uri where the data can be found
10 relatedArtifact.document.size unsignedInt Number of bytes of content (if url provided)
11 relatedArtifact.document.hash base64Binary Hash of the data (sha-1, base64ed)
12 relatedArtifact.document.title string Label to display in place of the data
13 relatedArtifact.document.creation dateTime Date attachment was first created
14 relatedArtifact.resource canonical What resource is being referenced
Row library
# path type required description
0 string * Subrow identifier. Must be string "library"
1 library canonical Logic used by the activity definition
Row participant
# path type required description
0 string * Subrow identifier. Must be string "participant"
participant Who should participate in the action
1 participant.type code patient | practitioner | related-person | device
participant.role CodeableConcept E.g. Nurse, Surgeon, Parent, etc.
participant.role.coding Coding Code defined by a terminology system
2 participant.role.coding.system uri Identity of the terminology system
3 participant.role.coding.version string Version of the system - if relevant
4 participant.role.coding.code code Symbol in syntax defined by the system
5 participant.role.coding.display string Representation defined by the system
6 participant.role.coding.userSelected boolean If this coding was chosen directly by the user
7 participant.role.text string Plain text representation of the concept
Row dosage
# path type required description
0 string * Subrow identifier. Must be string "dosage"
dosage Dosage Detailed dosage instructions
1 dosage.sequence integer The order of the dosage instructions
2 dosage.text string Free text dosage instructions e.g. SIG
dosage.additionalInstruction CodeableConcept Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness"
dosage.additionalInstruction.coding Coding Code defined by a terminology system
3 dosage.additionalInstruction.coding.system uri Identity of the terminology system
4 dosage.additionalInstruction.coding.version string Version of the system - if relevant
5 dosage.additionalInstruction.coding.code code Symbol in syntax defined by the system
6 dosage.additionalInstruction.coding.display string Representation defined by the system
7 dosage.additionalInstruction.coding.userSelected boolean If this coding was chosen directly by the user
8 dosage.additionalInstruction.text string Plain text representation of the concept
9 dosage.patientInstruction string Patient or consumer oriented instructions
dosage.timing Timing When medication should be administered
10 dosage.timing.event dateTime When the event occurs
dosage.timing.repeat When the event is to occur
dosage.timing.repeat.bounds[x] Length/Range of lengths, or (Start and/or end) limits
dosage.timing.repeat.boundsDuration Duration
11 dosage.timing.repeat.boundsDuration.value decimal Numerical value (with implicit precision)
12 dosage.timing.repeat.boundsDuration.comparator code < | <= | >= | > - how to understand the value
13 dosage.timing.repeat.boundsDuration.unit string Unit representation
14 dosage.timing.repeat.boundsDuration.system uri System that defines coded unit form
15 dosage.timing.repeat.boundsDuration.code code Coded form of the unit
dosage.timing.repeat.boundsRange Range
dosage.timing.repeat.boundsRange.low Quantity Low limit
16 dosage.timing.repeat.boundsRange.low.value decimal Numerical value (with implicit precision)
17 dosage.timing.repeat.boundsRange.low.unit string Unit representation
18 dosage.timing.repeat.boundsRange.low.system uri System that defines coded unit form
19 dosage.timing.repeat.boundsRange.low.code code Coded form of the unit
dosage.timing.repeat.boundsRange.high Quantity High limit
20 dosage.timing.repeat.boundsRange.high.value decimal Numerical value (with implicit precision)
21 dosage.timing.repeat.boundsRange.high.unit string Unit representation
22 dosage.timing.repeat.boundsRange.high.system uri System that defines coded unit form
23 dosage.timing.repeat.boundsRange.high.code code Coded form of the unit
dosage.timing.repeat.boundsPeriod Period
24 dosage.timing.repeat.boundsPeriod.start dateTime Starting time with inclusive boundary
25 dosage.timing.repeat.boundsPeriod.end dateTime End time with inclusive boundary, if not ongoing
26 dosage.timing.repeat.count positiveInt Number of times to repeat
27 dosage.timing.repeat.countMax positiveInt Maximum number of times to repeat
28 dosage.timing.repeat.duration decimal How long when it happens
29 dosage.timing.repeat.durationMax decimal How long when it happens (Max)
30 dosage.timing.repeat.durationUnit code s | min | h | d | wk | mo | a - unit of time (UCUM)
31 dosage.timing.repeat.frequency positiveInt Event occurs frequency times per period
32 dosage.timing.repeat.frequencyMax positiveInt Event occurs up to frequencyMax times per period
33 dosage.timing.repeat.period decimal Event occurs frequency times per period
34 dosage.timing.repeat.periodMax decimal Upper limit of period (3-4 hours)
35 dosage.timing.repeat.periodUnit code s | min | h | d | wk | mo | a - unit of time (UCUM)
36 dosage.timing.repeat.dayOfWeek code mon | tue | wed | thu | fri | sat | sun
37 dosage.timing.repeat.timeOfDay time Time of day for action
38 dosage.timing.repeat.when code Code for time period of occurrence
39 dosage.timing.repeat.offset unsignedInt Minutes from event (before or after)
dosage.timing.code CodeableConcept BID | TID | QID | AM | PM | QD | QOD | +
dosage.timing.code.coding Coding Code defined by a terminology system
40 dosage.timing.code.coding.system uri Identity of the terminology system
41 dosage.timing.code.coding.version string Version of the system - if relevant
42 dosage.timing.code.coding.code code Symbol in syntax defined by the system
43 dosage.timing.code.coding.display string Representation defined by the system
44 dosage.timing.code.coding.userSelected boolean If this coding was chosen directly by the user
45 dosage.timing.code.text string Plain text representation of the concept
dosage.asNeeded[x] Take "as needed" (for x)
46 dosage.asNeededBoolean boolean
dosage.asNeededCodeableConcept CodeableConcept
dosage.asNeededCodeableConcept.coding Coding Code defined by a terminology system
47 dosage.asNeededCodeableConcept.coding.system uri Identity of the terminology system
48 dosage.asNeededCodeableConcept.coding.version string Version of the system - if relevant
49 dosage.asNeededCodeableConcept.coding.code code Symbol in syntax defined by the system
50 dosage.asNeededCodeableConcept.coding.display string Representation defined by the system
51 dosage.asNeededCodeableConcept.coding.userSelected boolean If this coding was chosen directly by the user
52 dosage.asNeededCodeableConcept.text string Plain text representation of the concept
dosage.site CodeableConcept Body site to administer to
dosage.site.coding Coding Code defined by a terminology system
53 dosage.site.coding.system uri Identity of the terminology system
54 dosage.site.coding.version string Version of the system - if relevant
55 dosage.site.coding.code code Symbol in syntax defined by the system
56 dosage.site.coding.display string Representation defined by the system
57 dosage.site.coding.userSelected boolean If this coding was chosen directly by the user
58 dosage.site.text string Plain text representation of the concept
dosage.route CodeableConcept How drug should enter body
dosage.route.coding Coding Code defined by a terminology system
59 dosage.route.coding.system uri Identity of the terminology system
60 dosage.route.coding.version string Version of the system - if relevant
61 dosage.route.coding.code code Symbol in syntax defined by the system
62 dosage.route.coding.display string Representation defined by the system
63 dosage.route.coding.userSelected boolean If this coding was chosen directly by the user
64 dosage.route.text string Plain text representation of the concept
dosage.method CodeableConcept Technique for administering medication
dosage.method.coding Coding Code defined by a terminology system
65 dosage.method.coding.system uri Identity of the terminology system
66 dosage.method.coding.version string Version of the system - if relevant
67 dosage.method.coding.code code Symbol in syntax defined by the system
68 dosage.method.coding.display string Representation defined by the system
69 dosage.method.coding.userSelected boolean If this coding was chosen directly by the user
70 dosage.method.text string Plain text representation of the concept
dosage.doseAndRate Amount of medication administered
dosage.doseAndRate.type CodeableConcept The kind of dose or rate specified
dosage.doseAndRate.type.coding Coding Code defined by a terminology system
71 dosage.doseAndRate.type.coding.system uri Identity of the terminology system
72 dosage.doseAndRate.type.coding.version string Version of the system - if relevant
73 dosage.doseAndRate.type.coding.code code Symbol in syntax defined by the system
74 dosage.doseAndRate.type.coding.display string Representation defined by the system
75 dosage.doseAndRate.type.coding.userSelected boolean If this coding was chosen directly by the user
76 dosage.doseAndRate.type.text string Plain text representation of the concept
dosage.doseAndRate.dose[x] Amount of medication per dose
dosage.doseAndRate.doseRange Range
dosage.doseAndRate.doseRange.low Quantity Low limit
77 dosage.doseAndRate.doseRange.low.value decimal Numerical value (with implicit precision)
78 dosage.doseAndRate.doseRange.low.unit string Unit representation
79 dosage.doseAndRate.doseRange.low.system uri System that defines coded unit form
80 dosage.doseAndRate.doseRange.low.code code Coded form of the unit
dosage.doseAndRate.doseRange.high Quantity High limit
81 dosage.doseAndRate.doseRange.high.value decimal Numerical value (with implicit precision)
82 dosage.doseAndRate.doseRange.high.unit string Unit representation
83 dosage.doseAndRate.doseRange.high.system uri System that defines coded unit form
84 dosage.doseAndRate.doseRange.high.code code Coded form of the unit
dosage.doseAndRate.doseQuantity Quantity
85 dosage.doseAndRate.doseQuantity.value decimal Numerical value (with implicit precision)
86 dosage.doseAndRate.doseQuantity.unit string Unit representation
87 dosage.doseAndRate.doseQuantity.system uri System that defines coded unit form
88 dosage.doseAndRate.doseQuantity.code code Coded form of the unit
dosage.doseAndRate.rate[x] Amount of medication per unit of time
dosage.doseAndRate.rateRatio Ratio
dosage.doseAndRate.rateRatio.numerator Quantity Numerator value
89 dosage.doseAndRate.rateRatio.numerator.value decimal Numerical value (with implicit precision)
90 dosage.doseAndRate.rateRatio.numerator.comparator code < | <= | >= | > - how to understand the value
91 dosage.doseAndRate.rateRatio.numerator.unit string Unit representation
92 dosage.doseAndRate.rateRatio.numerator.system uri System that defines coded unit form
93 dosage.doseAndRate.rateRatio.numerator.code code Coded form of the unit
dosage.doseAndRate.rateRatio.denominator Quantity Denominator value
94 dosage.doseAndRate.rateRatio.denominator.value decimal Numerical value (with implicit precision)
95 dosage.doseAndRate.rateRatio.denominator.comparator code < | <= | >= | > - how to understand the value
96 dosage.doseAndRate.rateRatio.denominator.unit string Unit representation
97 dosage.doseAndRate.rateRatio.denominator.system uri System that defines coded unit form
98 dosage.doseAndRate.rateRatio.denominator.code code Coded form of the unit
dosage.doseAndRate.rateRange Range
dosage.doseAndRate.rateRange.low Quantity Low limit
99 dosage.doseAndRate.rateRange.low.value decimal Numerical value (with implicit precision)
100 dosage.doseAndRate.rateRange.low.unit string Unit representation
101 dosage.doseAndRate.rateRange.low.system uri System that defines coded unit form
102 dosage.doseAndRate.rateRange.low.code code Coded form of the unit
dosage.doseAndRate.rateRange.high Quantity High limit
103 dosage.doseAndRate.rateRange.high.value decimal Numerical value (with implicit precision)
104 dosage.doseAndRate.rateRange.high.unit string Unit representation
105 dosage.doseAndRate.rateRange.high.system uri System that defines coded unit form
106 dosage.doseAndRate.rateRange.high.code code Coded form of the unit
dosage.doseAndRate.rateQuantity Quantity
107 dosage.doseAndRate.rateQuantity.value decimal Numerical value (with implicit precision)
108 dosage.doseAndRate.rateQuantity.unit string Unit representation
109 dosage.doseAndRate.rateQuantity.system uri System that defines coded unit form
110 dosage.doseAndRate.rateQuantity.code code Coded form of the unit
dosage.maxDosePerPeriod Ratio Upper limit on medication per unit of time
dosage.maxDosePerPeriod.numerator Quantity Numerator value
111 dosage.maxDosePerPeriod.numerator.value decimal Numerical value (with implicit precision)
112 dosage.maxDosePerPeriod.numerator.comparator code < | <= | >= | > - how to understand the value
113 dosage.maxDosePerPeriod.numerator.unit string Unit representation
114 dosage.maxDosePerPeriod.numerator.system uri System that defines coded unit form
115 dosage.maxDosePerPeriod.numerator.code code Coded form of the unit
dosage.maxDosePerPeriod.denominator Quantity Denominator value
116 dosage.maxDosePerPeriod.denominator.value decimal Numerical value (with implicit precision)
117 dosage.maxDosePerPeriod.denominator.comparator code < | <= | >= | > - how to understand the value
118 dosage.maxDosePerPeriod.denominator.unit string Unit representation
119 dosage.maxDosePerPeriod.denominator.system uri System that defines coded unit form
120 dosage.maxDosePerPeriod.denominator.code code Coded form of the unit
dosage.maxDosePerAdministration Quantity Upper limit on medication per administration
121 dosage.maxDosePerAdministration.value decimal Numerical value (with implicit precision)
122 dosage.maxDosePerAdministration.unit string Unit representation
123 dosage.maxDosePerAdministration.system uri System that defines coded unit form
124 dosage.maxDosePerAdministration.code code Coded form of the unit
dosage.maxDosePerLifetime Quantity Upper limit on medication per lifetime of the patient
125 dosage.maxDosePerLifetime.value decimal Numerical value (with implicit precision)
126 dosage.maxDosePerLifetime.unit string Unit representation
127 dosage.maxDosePerLifetime.system uri System that defines coded unit form
128 dosage.maxDosePerLifetime.code code Coded form of the unit
Row bodySite
# path type required description
0 string * Subrow identifier. Must be string "bodySite"
bodySite CodeableConcept What part of body to perform on
bodySite.coding Coding Code defined by a terminology system
1 bodySite.coding.system uri Identity of the terminology system
2 bodySite.coding.version string Version of the system - if relevant
3 bodySite.coding.code code Symbol in syntax defined by the system
4 bodySite.coding.display string Representation defined by the system
5 bodySite.coding.userSelected boolean If this coding was chosen directly by the user
6 bodySite.text string Plain text representation of the concept
Row specimenRequirement
# path type required description
0 string * Subrow identifier. Must be string "specimenRequirement"
specimenRequirement Reference What specimens are required to perform this action
1 specimenRequirement.reference string Literal reference, Relative, internal or absolute URL
2 specimenRequirement.type uri Type the reference refers to (e.g. "Patient")
specimenRequirement.identifier Identifier Logical reference, when literal reference is not known
3 specimenRequirement.identifier.use code usual | official | temp | secondary | old (If known)
specimenRequirement.identifier.type CodeableConcept Description of identifier
specimenRequirement.identifier.type.coding Coding Code defined by a terminology system
4 specimenRequirement.identifier.type.coding.system uri Identity of the terminology system
5 specimenRequirement.identifier.type.coding.version string Version of the system - if relevant
6 specimenRequirement.identifier.type.coding.code code Symbol in syntax defined by the system
7 specimenRequirement.identifier.type.coding.display string Representation defined by the system
8 specimenRequirement.identifier.type.coding.userSelected boolean If this coding was chosen directly by the user
9 specimenRequirement.identifier.type.text string Plain text representation of the concept
10 specimenRequirement.identifier.system uri The namespace for the identifier value
11 specimenRequirement.identifier.value string The value that is unique
specimenRequirement.identifier.period Period Time period when id is/was valid for use
12 specimenRequirement.identifier.period.start dateTime Starting time with inclusive boundary
13 specimenRequirement.identifier.period.end dateTime End time with inclusive boundary, if not ongoing
14 specimenRequirement.display string Text alternative for the resource
Row observationRequirement
# path type required description
0 string * Subrow identifier. Must be string "observationRequirement"
observationRequirement Reference What observations are required to perform this action
1 observationRequirement.reference string Literal reference, Relative, internal or absolute URL
2 observationRequirement.type uri Type the reference refers to (e.g. "Patient")
observationRequirement.identifier Identifier Logical reference, when literal reference is not known
3 observationRequirement.identifier.use code usual | official | temp | secondary | old (If known)
observationRequirement.identifier.type CodeableConcept Description of identifier
observationRequirement.identifier.type.coding Coding Code defined by a terminology system
4 observationRequirement.identifier.type.coding.system uri Identity of the terminology system
5 observationRequirement.identifier.type.coding.version string Version of the system - if relevant
6 observationRequirement.identifier.type.coding.code code Symbol in syntax defined by the system
7 observationRequirement.identifier.type.coding.display string Representation defined by the system
8 observationRequirement.identifier.type.coding.userSelected boolean If this coding was chosen directly by the user
9 observationRequirement.identifier.type.text string Plain text representation of the concept
10 observationRequirement.identifier.system uri The namespace for the identifier value
11 observationRequirement.identifier.value string The value that is unique
observationRequirement.identifier.period Period Time period when id is/was valid for use
12 observationRequirement.identifier.period.start dateTime Starting time with inclusive boundary
13 observationRequirement.identifier.period.end dateTime End time with inclusive boundary, if not ongoing
14 observationRequirement.display string Text alternative for the resource
Row observationResultRequirement
# path type required description
0 string * Subrow identifier. Must be string "observationResultRequirement"
observationResultRequirement Reference What observations must be produced by this action
1 observationResultRequirement.reference string Literal reference, Relative, internal or absolute URL
2 observationResultRequirement.type uri Type the reference refers to (e.g. "Patient")
observationResultRequirement.identifier Identifier Logical reference, when literal reference is not known
3 observationResultRequirement.identifier.use code usual | official | temp | secondary | old (If known)
observationResultRequirement.identifier.type CodeableConcept Description of identifier
observationResultRequirement.identifier.type.coding Coding Code defined by a terminology system
4 observationResultRequirement.identifier.type.coding.system uri Identity of the terminology system
5 observationResultRequirement.identifier.type.coding.version string Version of the system - if relevant
6 observationResultRequirement.identifier.type.coding.code code Symbol in syntax defined by the system
7 observationResultRequirement.identifier.type.coding.display string Representation defined by the system
8 observationResultRequirement.identifier.type.coding.userSelected boolean If this coding was chosen directly by the user
9 observationResultRequirement.identifier.type.text string Plain text representation of the concept
10 observationResultRequirement.identifier.system uri The namespace for the identifier value
11 observationResultRequirement.identifier.value string The value that is unique
observationResultRequirement.identifier.period Period Time period when id is/was valid for use
12 observationResultRequirement.identifier.period.start dateTime Starting time with inclusive boundary
13 observationResultRequirement.identifier.period.end dateTime End time with inclusive boundary, if not ongoing
14 observationResultRequirement.display string Text alternative for the resource
Row dynamicValue
# path type required description
0 string * Subrow identifier. Must be string "dynamicValue"
dynamicValue Dynamic aspects of the definition
1 dynamicValue.path string The path to the element to be set dynamically
dynamicValue.expression Expression An expression that provides the dynamic value for the customization
2 dynamicValue.expression.description string Natural language description of the condition
3 dynamicValue.expression.name id Short name assigned to expression for reuse
4 dynamicValue.expression.language code text/cql | text/fhirpath | application/x-fhir-query | etc.
5 dynamicValue.expression.expression string Expression in specified language
6 dynamicValue.expression.reference uri Where the expression is found

Examples

Example #1
Input CSV
ActivityDefinition,5,"administer-zika-virus-exposure-assessment","http://example.org/ActivityDefinition/administer-zika-virus-exposure-assessment",,,,,"draft",,,,,,,,,,,,,,,,,,,,,,,,"Administer Zika Virus Exposure Assessment",,,,,,,,"ServiceRequest",,"http://example.org/questionnaires",,"zika-virus-exposure-assessment",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
useContext,"http://terminology.hl7.org/CodeSystem/usage-context-type",,"age",,,,,,,,,,,,,,12,"a",,,,,,,,,,,,,,,,,,,,
relatedArtifact,"derived-from",,,,"https://www.cdc.gov/zika/hc-providers/pregnant-woman.html",,,,,,,,,
relatedArtifact,"depends-on",,,,,,,,,,,,,"Questionnaire/zika-virus-exposure-assessment"
library,"Library/zika-virus-intervention-logic"
participant,"practitioner",,,,,,
Resulting resource
{
  "resourceType": "ActivityDefinition",
  "id": "administer-zika-virus-exposure-assessment",
  "url": "http://example.org/ActivityDefinition/administer-zika-virus-exposure-assessment",
  "status": "draft",
  "description": "Administer Zika Virus Exposure Assessment",
  "useContext": [
    {
      "code": {
        "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code": "age"
      },
      "valueRange": {
        "low": {
          "value": 12,
          "unit": "a"
        }
      }
    }
  ],
  "relatedArtifact": [
    {
      "type": "derived-from",
      "url": "https://www.cdc.gov/zika/hc-providers/pregnant-woman.html"
    },
    {
      "type": "depends-on",
      "resource": "Questionnaire/zika-virus-exposure-assessment"
    }
  ],
  "library": [
    "Library/zika-virus-intervention-logic"
  ],
  "kind": "ServiceRequest",
  "code": {
    "coding": [
      {
        "system": "http://example.org/questionnaires",
        "code": "zika-virus-exposure-assessment"
      }
    ]
  },
  "timingTiming": {},
  "participant": [
    {
      "type": "practitioner"
    }
  ]
}
Example #2
Input CSV
ActivityDefinition,15,"referralPrimaryCareMentalHealth","http://motivemi.com/artifacts/ActivityDefinition/referralPrimaryCareMentalHealth","1.1.0","ReferralPrimaryCareMentalHealth","Referral to Primary Care Mental Health",,"active",true,,,,,,,,,,,,,,,,,,,,,"2017-03-03T14:06:00Z","Motive Medical Intelligence","refer to primary care mental-health integrated care program for evaluation and treatment of mental health conditions now","Defines a referral to a mental-health integrated care program for use in suicide risk order sets. The definition is independent of the order set in which it appears to allow reuse of the general definition of the referrral.","This activity definition is used as the definition of a referral request within various suicide risk order sets. Elements that apply universally are defined here, while elements that apply to the specific setting of a referral within a particular order set are defined in the order set.","© Copyright 2016 Motive Medical Intelligence. All rights reserved.","2017-03-01","2017-03-01","2017-03-01","2017-12-31","ServiceRequest",,"http://snomed.info/sct",,"306206005",,,"Referral to service (procedure)",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
identifier,"official",,,,,,,"http://motivemi.com/artifacts","referralPrimaryCareMentalHealth",,
contact,,"phone","415-362-4007","work",,,
useContext,"http://terminology.hl7.org/CodeSystem/usage-context-type",,"age",,,"https://meshb.nlm.nih.gov",,"D000328","Adult",,,,,,,,,,,,,,,,,,,,,,,,,,,,,
useContext,"http://terminology.hl7.org/CodeSystem/usage-context-type",,"focus",,,"http://snomed.info/sct",,"87512008","Mild major depression",,,,,,,,,,,,,,,,,,,,,,,,,,,,,
useContext,"http://terminology.hl7.org/CodeSystem/usage-context-type",,"focus",,,"http://snomed.info/sct",,"40379007","Major depression, recurrent, mild",,,,,,,,,,,,,,,,,,,,,,,,,,,,,
useContext,"http://terminology.hl7.org/CodeSystem/usage-context-type",,"focus",,,"http://snomed.info/sct",,"225444004","At risk for suicide (finding)",,,,,,,,,,,,,,,,,,,,,,,,,,,,,
useContext,"http://terminology.hl7.org/CodeSystem/usage-context-type",,"focus",,,"http://snomed.info/sct",,"306206005","Referral to service (procedure)",,,,,,,,,,,,,,,,,,,,,,,,,,,,,
useContext,"http://terminology.hl7.org/CodeSystem/usage-context-type",,"user",,,"http://snomed.info/sct",,"309343006","Physician",,,,,,,,,,,,,,,,,,,,,,,,,,,,,
useContext,"http://terminology.hl7.org/CodeSystem/usage-context-type",,"venue",,,"http://snomed.info/sct",,"440655000","Outpatient environment",,,,,,,,,,,,,,,,,,,,,,,,,,,,,
jurisdiction,"urn:iso:std:iso:3166",,"US",,,
topic,,,,,,"Mental Health Referral"
author,"Motive Medical Intelligence","phone","415-362-4007","work",,,
relatedArtifact,"citation",,"Practice Guideline for the Treatment of Patients with Major Depressive Disorder",,"http://psychiatryonline.org/pb/assets/raw/sitewide/practice_guidelines/guidelines/mdd.pdf",,,,,,,,,
relatedArtifact,"predecessor",,,,,,,,,,,,,"ActivityDefinition/referralPrimaryCareMentalHealth-initial"
participant,"practitioner",,,,,,
Resulting resource
{
  "resourceType": "ActivityDefinition",
  "id": "referralPrimaryCareMentalHealth",
  "url": "http://motivemi.com/artifacts/ActivityDefinition/referralPrimaryCareMentalHealth",
  "identifier": [
    {
      "use": "official",
      "system": "http://motivemi.com/artifacts",
      "value": "referralPrimaryCareMentalHealth"
    }
  ],
  "version": "1.1.0",
  "name": "ReferralPrimaryCareMentalHealth",
  "title": "Referral to Primary Care Mental Health",
  "status": "active",
  "experimental": true,
  "date": "2017-03-03T14:06:00Z",
  "publisher": "Motive Medical Intelligence",
  "contact": [
    {
      "telecom": [
        {
          "system": "phone",
          "value": "415-362-4007",
          "use": "work"
        },
        {
          "system": "email",
          "value": "info@motivemi.com",
          "use": "work"
        }
      ]
    }
  ],
  "description": "refer to primary care mental-health integrated care program for evaluation and treatment of mental health conditions now",
  "useContext": [
    {
      "code": {
        "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code": "age"
      },
      "valueCodeableConcept": {
        "coding": [
          {
            "system": "https://meshb.nlm.nih.gov",
            "code": "D000328",
            "display": "Adult"
          }
        ]
      }
    },
    {
      "code": {
        "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code": "focus"
      },
      "valueCodeableConcept": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "87512008",
            "display": "Mild major depression"
          }
        ]
      }
    },
    {
      "code": {
        "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code": "focus"
      },
      "valueCodeableConcept": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "40379007",
            "display": "Major depression, recurrent, mild"
          }
        ]
      }
    },
    {
      "code": {
        "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code": "focus"
      },
      "valueCodeableConcept": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "225444004",
            "display": "At risk for suicide (finding)"
          }
        ]
      }
    },
    {
      "code": {
        "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code": "focus"
      },
      "valueCodeableConcept": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "306206005",
            "display": "Referral to service (procedure)"
          }
        ]
      }
    },
    {
      "code": {
        "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code": "user"
      },
      "valueCodeableConcept": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "309343006",
            "display": "Physician"
          }
        ]
      }
    },
    {
      "code": {
        "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code": "venue"
      },
      "valueCodeableConcept": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "440655000",
            "display": "Outpatient environment"
          }
        ]
      }
    }
  ],
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "US"
        }
      ]
    }
  ],
  "purpose": "Defines a referral to a mental-health integrated care program for use in suicide risk order sets. The definition is independent of the order set in which it appears to allow reuse of the general definition of the referrral.",
  "usage": "This activity definition is used as the definition of a referral request within various suicide risk order sets. Elements that apply universally are defined here, while elements that apply to the specific setting of a referral within a particular order set are defined in the order set.",
  "copyright": "© Copyright 2016 Motive Medical Intelligence. All rights reserved.",
  "approvalDate": "2017-03-01",
  "lastReviewDate": "2017-03-01",
  "effectivePeriod": {
    "start": "2017-03-01",
    "end": "2017-12-31"
  },
  "topic": [
    {
      "text": "Mental Health Referral"
    }
  ],
  "author": [
    {
      "name": "Motive Medical Intelligence",
      "telecom": [
        {
          "system": "phone",
          "value": "415-362-4007",
          "use": "work"
        },
        {
          "system": "email",
          "value": "info@motivemi.com",
          "use": "work"
        }
      ]
    }
  ],
  "relatedArtifact": [
    {
      "type": "citation",
      "display": "Practice Guideline for the Treatment of Patients with Major Depressive Disorder",
      "url": "http://psychiatryonline.org/pb/assets/raw/sitewide/practice_guidelines/guidelines/mdd.pdf"
    },
    {
      "type": "predecessor",
      "resource": "ActivityDefinition/referralPrimaryCareMentalHealth-initial"
    }
  ],
  "kind": "ServiceRequest",
  "code": {
    "coding": [
      {
        "system": "http://snomed.info/sct",
        "code": "306206005"
      }
    ],
    "text": "Referral to service (procedure)"
  },
  "timingTiming": {},
  "participant": [
    {
      "type": "practitioner"
    }
  ]
}
Example #3
Input CSV
ActivityDefinition,17,"citalopramPrescription","http://motivemi.com/artifacts/ActivityDefinition/citalopramPrescription","1.0.0","CitalopramPrescription","Citalopram Prescription",,"active",true,,,,,,,,,,,,,,,,,,,,,"2015-08-15","Motive Medical Intelligence","Citalopram 20 mg tablet 1 tablet oral 1 time daily now (30 table; 3 refills","Defines a guideline supported prescription for the treatment of depressive disorders","This activity definition is used as part of various suicide risk order sets","© Copyright 2016 Motive Medical Intelligence. All rights reserved.","2016-03-12","2016-08-15","2016-01-01","2017-12-31","MedicationRequest",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"#citalopramMedication",,,,,,,,,,,,,,,,,,,,,,,,
identifier,"official",,,,,,,"http://motivemi.com","citalopramPrescription",,
contact,,"phone","415-362-4007","work",,,
useContext,"http://terminology.hl7.org/CodeSystem/usage-context-type",,"age",,,"https://meshb.nlm.nih.gov",,"D000328","Adult",,,,,,,,,,,,,,,,,,,,,,,,,,,,,
useContext,"http://terminology.hl7.org/CodeSystem/usage-context-type",,"focus",,,"http://snomed.info/sct",,"87512008","Mild major depression",,,,,,,,,,,,,,,,,,,,,,,,,,,,,
useContext,"http://terminology.hl7.org/CodeSystem/usage-context-type",,"focus",,,"http://snomed.info/sct",,"40379007","Major depression, recurrent, mild",,,,,,,,,,,,,,,,,,,,,,,,,,,,,
useContext,"http://terminology.hl7.org/CodeSystem/usage-context-type",,"focus",,,"http://snomed.info/sct",,"225444004","At risk for suicide (finding)",,,,,,,,,,,,,,,,,,,,,,,,,,,,,
useContext,"http://terminology.hl7.org/CodeSystem/usage-context-type",,"focus",,,"http://snomed.info/sct",,"306206005","Referral to service (procedure)",,,,,,,,,,,,,,,,,,,,,,,,,,,,,
useContext,"http://terminology.hl7.org/CodeSystem/usage-context-type",,"user",,,"http://snomed.info/sct",,"309343006","Physician",,,,,,,,,,,,,,,,,,,,,,,,,,,,,
useContext,"http://terminology.hl7.org/CodeSystem/usage-context-type",,"venue",,,"http://snomed.info/sct",,"440655000","Outpatient environment",,,,,,,,,,,,,,,,,,,,,,,,,,,,,
jurisdiction,"urn:iso:std:iso:3166",,"US",,,
topic,,,,,,"Mental Health Treatment"
author,"Motive Medical Intelligence","phone","415-362-4007","work",,,
relatedArtifact,"citation",,"Practice Guideline for the Treatment of Patients with Major Depressive Disorder",,"http://psychiatryonline.org/pb/assets/raw/sitewide/practice_guidelines/guidelines/mdd.pdf",,,,,,,,,
relatedArtifact,"composed-of",,,,,,,,,,,,,"#citalopramMedication"
dosage,,"1 tablet oral 1 time daily",,,,,,,,,,,,,,,,,,,,,,,,,,,,,1,,1,,"d",,,,,,,,,,,,,,,,,,,,,,,,,,"26643006","Oral route (qualifier value)",,"Oral route (qualifier value)",,,,,,,"http://terminology.hl7.org/CodeSystem/dose-rate-type",,"ordered","Ordered",,,,,,,,,,,1,"{tbl}",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
dynamicValue,"dispenseRequest.numberOfRepeatsAllowed","dispenseRequest.numberOfRepeatsAllowed is three (3)",,"text/cql","3",
dynamicValue,"dispenseRequest.quantity","dispenseRequest.quantity is thirty (30) tablets",,"text/cql","30 '{tbl}'",
Resulting resource
{
  "resourceType": "ActivityDefinition",
  "id": "citalopramPrescription",
  "url": "http://motivemi.com/artifacts/ActivityDefinition/citalopramPrescription",
  "identifier": [
    {
      "use": "official",
      "system": "http://motivemi.com",
      "value": "citalopramPrescription"
    }
  ],
  "version": "1.0.0",
  "name": "CitalopramPrescription",
  "title": "Citalopram Prescription",
  "status": "active",
  "experimental": true,
  "date": "2015-08-15",
  "publisher": "Motive Medical Intelligence",
  "contact": [
    {
      "telecom": [
        {
          "system": "phone",
          "value": "415-362-4007",
          "use": "work"
        },
        {
          "system": "email",
          "value": "info@motivemi.com",
          "use": "work"
        }
      ]
    }
  ],
  "description": "Citalopram 20 mg tablet 1 tablet oral 1 time daily now (30 table; 3 refills",
  "useContext": [
    {
      "code": {
        "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code": "age"
      },
      "valueCodeableConcept": {
        "coding": [
          {
            "system": "https://meshb.nlm.nih.gov",
            "code": "D000328",
            "display": "Adult"
          }
        ]
      }
    },
    {
      "code": {
        "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code": "focus"
      },
      "valueCodeableConcept": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "87512008",
            "display": "Mild major depression"
          }
        ]
      }
    },
    {
      "code": {
        "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code": "focus"
      },
      "valueCodeableConcept": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "40379007",
            "display": "Major depression, recurrent, mild"
          }
        ]
      }
    },
    {
      "code": {
        "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code": "focus"
      },
      "valueCodeableConcept": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "225444004",
            "display": "At risk for suicide (finding)"
          }
        ]
      }
    },
    {
      "code": {
        "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code": "focus"
      },
      "valueCodeableConcept": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "306206005",
            "display": "Referral to service (procedure)"
          }
        ]
      }
    },
    {
      "code": {
        "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code": "user"
      },
      "valueCodeableConcept": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "309343006",
            "display": "Physician"
          }
        ]
      }
    },
    {
      "code": {
        "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code": "venue"
      },
      "valueCodeableConcept": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "440655000",
            "display": "Outpatient environment"
          }
        ]
      }
    }
  ],
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "US"
        }
      ]
    }
  ],
  "purpose": "Defines a guideline supported prescription for the treatment of depressive disorders",
  "usage": "This activity definition is used as part of various suicide risk order sets",
  "copyright": "© Copyright 2016 Motive Medical Intelligence. All rights reserved.",
  "approvalDate": "2016-03-12",
  "lastReviewDate": "2016-08-15",
  "effectivePeriod": {
    "start": "2016-01-01",
    "end": "2017-12-31"
  },
  "topic": [
    {
      "text": "Mental Health Treatment"
    }
  ],
  "author": [
    {
      "name": "Motive Medical Intelligence",
      "telecom": [
        {
          "system": "phone",
          "value": "415-362-4007",
          "use": "work"
        },
        {
          "system": "email",
          "value": "info@motivemi.com",
          "use": "work"
        }
      ]
    }
  ],
  "relatedArtifact": [
    {
      "type": "citation",
      "display": "Practice Guideline for the Treatment of Patients with Major Depressive Disorder",
      "url": "http://psychiatryonline.org/pb/assets/raw/sitewide/practice_guidelines/guidelines/mdd.pdf"
    },
    {
      "type": "composed-of",
      "resource": "#citalopramMedication"
    }
  ],
  "kind": "MedicationRequest",
  "productReference": {
    "reference": "#citalopramMedication"
  },
  "dosage": [
    {
      "text": "1 tablet oral 1 time daily",
      "timing": {
        "repeat": {
          "frequency": 1,
          "period": 1,
          "periodUnit": "d"
        }
      },
      "route": {
        "coding": [
          {
            "code": "26643006",
            "display": "Oral route (qualifier value)"
          }
        ],
        "text": "Oral route (qualifier value)"
      },
      "doseAndRate": [
        {
          "type": {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type",
                "code": "ordered",
                "display": "Ordered"
              }
            ]
          },
          "doseQuantity": {
            "value": 1,
            "unit": "{tbl}"
          }
        }
      ]
    }
  ],
  "dynamicValue": [
    {
      "path": "dispenseRequest.numberOfRepeatsAllowed",
      "expression": {
        "description": "dispenseRequest.numberOfRepeatsAllowed is three (3)",
        "language": "text/cql",
        "expression": "3"
      }
    },
    {
      "path": "dispenseRequest.quantity",
      "expression": {
        "description": "dispenseRequest.quantity is thirty (30) tablets",
        "language": "text/cql",
        "expression": "30 '{tbl}'"
      }
    }
  ]
}
Example #4
Input CSV
ActivityDefinition,2,"serum-dengue-virus-igm","http://example.org/ActivityDefinition/serum-dengue-virus-igm",,,,,"draft",,,,,,,,,,,,,,,,,,,,,,,,"Order Serum Dengue Virus IgM",,,,,,,,"ServiceRequest",,,,,,,"Serum Dengue Virus IgM",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
relatedArtifact,"documentation",,"Explanation of diagnostic tests for Dengue virus and which to use based on the patient’s clinical and exposure history.",,,,,,,,,,,
participant,"practitioner",,,,,,
Resulting resource
{
  "resourceType": "ActivityDefinition",
  "id": "serum-dengue-virus-igm",
  "url": "http://example.org/ActivityDefinition/serum-dengue-virus-igm",
  "status": "draft",
  "description": "Order Serum Dengue Virus IgM",
  "relatedArtifact": [
    {
      "type": "documentation",
      "display": "Explanation of diagnostic tests for Dengue virus and which to use based on the patient’s clinical and exposure history."
    }
  ],
  "kind": "ServiceRequest",
  "code": {
    "text": "Serum Dengue Virus IgM"
  },
  "timingTiming": {},
  "participant": [
    {
      "type": "practitioner"
    }
  ]
}
Example #5
Input CSV
ActivityDefinition,4,"serum-zika-dengue-virus-igm","http://example.org/ActivityDefinition/serum-zika-dengue-virus-igm",,,,,"draft",,,,,,,,,,,,,,,,,,,,,,,,"Order Serum Zika and Dengue Virus IgM",,,,,,,,"ServiceRequest",,,,,,,"Serum Zika and Dengue Virus IgM",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
relatedArtifact,"documentation",,"Explanation of diagnostic tests for Zika virus and which to use based on the patient’s clinical and exposure history.",,"http://www.cdc.gov/zika/hc-providers/diagnostic.html",,,,,,,,,
relatedArtifact,"derived-from",,,,,,,,,,,,,"ActivityDefinition/serum-dengue-virus-igm"
library,"Library/zika-virus-intervention-logic"
participant,"practitioner",,,,,,
Resulting resource
{
  "resourceType": "ActivityDefinition",
  "id": "serum-zika-dengue-virus-igm",
  "url": "http://example.org/ActivityDefinition/serum-zika-dengue-virus-igm",
  "status": "draft",
  "description": "Order Serum Zika and Dengue Virus IgM",
  "relatedArtifact": [
    {
      "type": "documentation",
      "display": "Explanation of diagnostic tests for Zika virus and which to use based on the patient’s clinical and exposure history.",
      "url": "http://www.cdc.gov/zika/hc-providers/diagnostic.html"
    },
    {
      "type": "derived-from",
      "resource": "ActivityDefinition/serum-dengue-virus-igm"
    }
  ],
  "library": [
    "Library/zika-virus-intervention-logic"
  ],
  "kind": "ServiceRequest",
  "code": {
    "text": "Serum Zika and Dengue Virus IgM"
  },
  "timingTiming": {},
  "participant": [
    {
      "type": "practitioner"
    }
  ]
}