FHIR IG analytics
| Package | hl7.fhir.uv.xver-r3.r4b |
| Resource Type | StructureDefinition |
| Id | StructureDefinition-profile-ActivityDefinition.json |
| FHIR Version | R4B |
| Source | http://hl7.org/fhir/uv/xver-r3.r4b/0.1.0/StructureDefinition-profile-ActivityDefinition.html |
| URL | http://hl7.org/fhir/3.0/StructureDefinition/profile-ActivityDefinition |
| Version | 0.1.0 |
| Status | active |
| Date | 2026-03-17T16:04:10.0337519-05:00 |
| Name | Profile_R3_ActivityDefinition_R4B |
| Title | Cross-version Profile for STU3.ActivityDefinition for use in FHIR R4B |
| Realm | uv |
| Authority | hl7 |
| Description | This cross-version profile allows STU3 ActivityDefinition content to be represented via FHIR R4B ActivityDefinition resources. |
| Type | ActivityDefinition |
| Kind | resource |
Resources that use this resource
Resources that this resource uses
Narrative
Note: links and images are rebased to the (stated) source
| Name | Flags | Card. | Type | Description & Constraints |
|---|
 ActivityDefinition | | 0..* | ActivityDefinition(4.3.0) | The definition of a specific activity to be taken, independent of any particular patient or context |
  meta | | | | |
   Slices for extension | | 0..* | Extension | Extension Slice: Unordered, Open by value:url
|
    extension:meta | | 0..1 | (Complex) | STU3: meta additional types URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.meta
|
  text | | | | |
   Slices for extension | | 0..* | Extension | Extension Slice: Unordered, Open by value:url
|
    extension:text | | 0..1 | (Complex) | STU3: text additional types URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.text
|
  Slices for extension | | 0..* | Extension | Extension Slice: Unordered, Open by value:url
|
   extension:contributor | | 0..* | Contributor | STU3: A content contributor (new) URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.contributor
|
   extension:timing | | 0..1 | Timing, Period, Range | STU3: timing additional types URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.timing
|
  identifier | | | | |
   Slices for extension | | 0..* | Extension | Extension Slice: Unordered, Open by value:url
|
    extension:identifier | | 0..* | Identifier | STU3: identifier additional types URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.identifier
|
  contact | | | | |
   Slices for extension | | 0..* | Extension | Extension Slice: Unordered, Open by value:url
|
    extension:contact | | 0..* | ContactDetail | STU3: contact additional types URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.contact
|
  useContext | | | | |
   Slices for extension | | 0..* | Extension | Extension Slice: Unordered, Open by value:url
|
    extension:useContext | | 0..* | UsageContext | STU3: Context the content is intended to support additional types URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.useContext
|
  effectivePeriod | | | | |
   Slices for extension | | 0..* | Extension | Extension Slice: Unordered, Open by value:url
|
    extension:effectivePeriod | | 0..1 | Period | STU3: effectivePeriod additional types URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.effectivePeriod
|
  relatedArtifact | | | | |
   Slices for extension | | 0..* | Extension | Extension Slice: Unordered, Open by value:url
|
    extension:relatedArtifact | | 0..* | RelatedArtifact | STU3: Additional documentation, citations, etc additional types URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.relatedArtifact
|
  library | | | | |
   Slices for extension | | 0..* | Extension | Extension Slice: Unordered, Open by value:url
|
    extension:library | | 0..* | Reference(Cross-version Profile for STU3.Library for use in FHIR R4B(0.1.0) | Library) | STU3: Logic used by the asset additional types URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.library
|
  location | | | | |
   Slices for extension | | 0..* | Extension | Extension Slice: Unordered, Open by value:url
|
    extension:location | | 0..1 | Reference(Resource) | STU3: location additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
|
  productReference | | | | |
   Slices for extension | | 0..* | Extension | Extension Slice: Unordered, Open by value:url
|
    extension:alternateReference | | 0..1 | Reference(Resource) | STU3: product URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
|
  dosage | | | | |
   Slices for extension | | 0..* | Extension | Extension Slice: Unordered, Open by value:url
|
    extension:dosage | | 0..* | Dosage | STU3: dosage additional types URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.dosage
|
  transform | | | | |
   Slices for extension | | 0..* | Extension | Extension Slice: Unordered, Open by value:url
|
    extension:transform | | 0..1 | Reference(Cross-version Profile for STU3.StructureMap for use in FHIR R4B(0.1.0) | StructureMap) | STU3: transform additional types URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.transform
|
  dynamicValue | | | | |
   expression | | | | |
    Slices for extension | | 0..* | Extension | Extension Slice: Unordered, Open by value:url
|
     extension:description | | 0..1 | string | STU3: Natural language description of the dynamic value additional types URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.dynamicValue.description
|
     extension:language | | 0..1 | string | STU3: Language of the expression additional types URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.dynamicValue.language
|
     extension:expression | | 0..1 | string | STU3: expression additional types URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.dynamicValue.expression
|
Documentation for this format |
Source1
{
"resourceType": "StructureDefinition",
"id": "profile-ActivityDefinition",
"text": {
"status": "extensions",
"div": "<!-- snip (see above) -->"
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode": "fhir"
},
{
"extension": [
{
"url": "packageId",
"valueId": "hl7.fhir.uv.xver-r3.r4b"
},
{
"url": "version",
"valueString": "0.1.0"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/package-source"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger": 0,
"_valueInteger": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical": "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r3.r4b"
}
]
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode": "trial-use",
"_valueCode": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical": "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r3.r4b"
}
]
}
}
],
"url": "http://hl7.org/fhir/3.0/StructureDefinition/profile-ActivityDefinition",
"version": "0.1.0",
"name": "Profile_R3_ActivityDefinition_R4B",
"title": "Cross-version Profile for STU3.ActivityDefinition for use in FHIR R4B",
"status": "active",
"experimental": false,
"date": "2026-03-17T16:04:10.0337519-05:00",
"publisher": "FHIR Infrastructure",
"contact": [
{
"name": "FHIR Infrastructure",
"telecom": [
{
"system": "url",
"value": "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description": "This cross-version profile allows STU3 ActivityDefinition content to be represented via FHIR R4B ActivityDefinition resources.",
"jurisdiction": [
{
"coding": [
{
"system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code": "001",
"display": "World"
}
]
}
],
"fhirVersion": "4.3.0",
"mapping": [
{
"identity": "workflow",
"uri": "http://hl7.org/fhir/workflow",
"name": "Workflow Pattern"
},
{
"identity": "rim",
"uri": "http://hl7.org/v3",
"name": "RIM Mapping"
},
{
"identity": "w5",
"uri": "http://hl7.org/fhir/fivews",
"name": "FiveWs Pattern Mapping"
},
{
"identity": "objimpl",
"uri": "http://hl7.org/fhir/object-implementation",
"name": "Object Implementation Information"
}
],
"kind": "resource",
"abstract": false,
"type": "ActivityDefinition",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/ActivityDefinition|4.3.0",
"derivation": "constraint",
"snapshot": {
"extension": [
{
"url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
"valueString": "4.3.0"
}
],
"element": [
{
"id": "ActivityDefinition",
"path": "ActivityDefinition",
"short": "The definition of a specific activity to be taken, independent of any particular patient or context",
"definition": "This resource allows for the definition of some activity to be performed, independent of a particular patient, practitioner, or other performance context.",
"min": 0,
"max": "*",
"base": {
"path": "ActivityDefinition",
"min": 0,
"max": "*"
},
"constraint": [
{
"key": "cnl-0",
"severity": "warning",
"human": "Name should be usable as an identifier for the module by machine processing applications such as code generation",
"expression": "name.exists() implies name.matches('[A-Z]([A-Za-z0-9_]){0,254}')",
"xpath": "not(exists(f:name/@value)) or matches(f:name/@value, '[A-Z]([A-Za-z0-9_]){0,254}')",
"source": "http://hl7.org/fhir/StructureDefinition/ActivityDefinition|4.3.0"
},
{
"key": "dom-2",
"severity": "error",
"human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
"expression": "contained.contained.empty()",
"xpath": "not(parent::f:contained and f:contained)",
"source": "http://hl7.org/fhir/StructureDefinition/DomainResource|4.3.0"
},
{
"key": "dom-3",
"severity": "error",
"human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
"expression": "contained.where(((id.exists() and ('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url)))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(uri) = '#').exists()).not()).trace('unmatched', id).empty()",
"xpath": "not(exists(for $contained in f:contained return $contained[not(exists(parent::*/descendant::f:reference/@value=concat('#', $contained/*/f:id/@value)) or exists(descendant::f:reference[@value='#']))]))",
"source": "http://hl7.org/fhir/StructureDefinition/DomainResource|4.3.0"
},
{
"key": "dom-4",
"severity": "error",
"human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
"expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
"xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
"source": "http://hl7.org/fhir/StructureDefinition/DomainResource|4.3.0"
},
{
"key": "dom-5",
"severity": "error",
"human": "If a resource is contained in another resource, it SHALL NOT have a security label",
"expression": "contained.meta.security.empty()",
"xpath": "not(exists(f:contained/*/f:meta/f:security))",
"source": "http://hl7.org/fhir/StructureDefinition/DomainResource|4.3.0"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
"valueBoolean": true
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
"valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
}
],
"key": "dom-6",
"severity": "warning",
"human": "A resource should have narrative for robust management",
"expression": "text.`div`.exists()",
"xpath": "exists(f:text/h:div)",
"source": "http://hl7.org/fhir/StructureDefinition/DomainResource|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "Entity. Role, or Act"
},
{
"identity": "workflow",
"map": "Definition"
},
{
"identity": "rim",
"map": "Act[classCode=ACT; moodCode=DEFN]"
},
{
"identity": "w5",
"map": "clinical.general"
}
]
},
{
"id": "ActivityDefinition.id",
"path": "ActivityDefinition.id",
"short": "Logical id of this artifact",
"definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
"comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
"min": 0,
"max": "1",
"base": {
"path": "Resource.id",
"min": 0,
"max": "1"
},
"type": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "id"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": true
},
{
"id": "ActivityDefinition.meta",
"path": "ActivityDefinition.meta",
"short": "Metadata about the resource",
"definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
"min": 0,
"max": "1",
"base": {
"path": "Resource.meta",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Meta"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": true
},
{
"id": "ActivityDefinition.meta.id",
"path": "ActivityDefinition.meta.id",
"representation": [
"xmlAttr"
],
"short": "Unique id for inter-element referencing",
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "id"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ActivityDefinition.meta.extension",
"path": "ActivityDefinition.meta.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"ordered": false,
"rules": "open"
},
"short": "Extension",
"definition": "An Extension",
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.meta.extension:meta",
"path": "ActivityDefinition.meta.extension",
"sliceName": "meta",
"short": "STU3: meta additional types",
"definition": "STU3: `ActivityDefinition.meta` additional types (Meta) additional types from child elements (lastUpdated, profile, security, tag, versionId)",
"comment": "Element `ActivityDefinition.meta` is mapped to FHIR R4B element `ActivityDefinition.meta` as `SourceIsBroaderThanTarget`.\nThe mappings for `ActivityDefinition.meta` do not cover the following types: Meta.\nThe mappings for `ActivityDefinition.meta` do not cover the following types based on type expansion: lastUpdated, profile, security, tag, versionId.",
"min": 0,
"max": "1",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.meta|0.1.0"
]
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.meta.versionId",
"path": "ActivityDefinition.meta.versionId",
"short": "Version specific identifier",
"definition": "The version specific identifier, as it appears in the version portion of the URL. This value changes when the resource is created, updated, or deleted.",
"comment": "The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes.",
"min": 0,
"max": "1",
"base": {
"path": "Meta.versionId",
"min": 0,
"max": "1"
},
"type": [
{
"code": "id"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true
},
{
"id": "ActivityDefinition.meta.lastUpdated",
"path": "ActivityDefinition.meta.lastUpdated",
"short": "When the resource version last changed",
"definition": "When the resource last changed - e.g. when the version changed.",
"comment": "This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant. This is equivalent to the HTTP Last-Modified and SHOULD have the same value on a [read](http://hl7.org/fhir/R4B/http.html#read) interaction.",
"min": 0,
"max": "1",
"base": {
"path": "Meta.lastUpdated",
"min": 0,
"max": "1"
},
"type": [
{
"code": "instant"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true
},
{
"id": "ActivityDefinition.meta.source",
"path": "ActivityDefinition.meta.source",
"short": "Identifies where the resource comes from",
"definition": "A uri that identifies the source system of the resource. This provides a minimal amount of [Provenance](http://hl7.org/fhir/R4B/provenance.html#) information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc.",
"comment": "In the provenance resource, this corresponds to Provenance.entity.what[x]. The exact use of the source (and the implied Provenance.entity.role) is left to implementer discretion. Only one nominated source is allowed; for additional provenance details, a full Provenance resource should be used. \n\nThis element can be used to indicate where the current master source of a resource that has a canonical URL if the resource is no longer hosted at the canonical URL.",
"min": 0,
"max": "1",
"base": {
"path": "Meta.source",
"min": 0,
"max": "1"
},
"type": [
{
"code": "uri"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true
},
{
"id": "ActivityDefinition.meta.profile",
"path": "ActivityDefinition.meta.profile",
"short": "Profiles this resource claims to conform to",
"definition": "A list of profiles (references to [StructureDefinition](http://hl7.org/fhir/R4B/structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](http://hl7.org/fhir/R4B/structuredefinition-definitions.html#StructureDefinition.url).",
"comment": "It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time. The list of profile URLs is a set.",
"min": 0,
"max": "*",
"base": {
"path": "Meta.profile",
"min": 0,
"max": "*"
},
"type": [
{
"code": "canonical",
"targetProfile": [
"http://hl7.org/fhir/StructureDefinition/StructureDefinition|4.3.0"
]
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true
},
{
"id": "ActivityDefinition.meta.security",
"path": "ActivityDefinition.meta.security",
"short": "Security Labels applied to this resource",
"definition": "Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.",
"comment": "The security labels can be updated without changing the stated version of the resource. The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored.",
"min": 0,
"max": "*",
"base": {
"path": "Meta.security",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Coding"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true,
"binding": {
"extension": [
{
"url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
"valueString": "Security Labels from the Healthcare Privacy and Security Classification System."
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SecurityLabels"
}
],
"strength": "extensible",
"valueSet": "http://hl7.org/fhir/ValueSet/security-labels|4.3.0"
}
},
{
"id": "ActivityDefinition.meta.tag",
"path": "ActivityDefinition.meta.tag",
"short": "Tags applied to this resource",
"definition": "Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.",
"comment": "The tags can be updated without changing the stated version of the resource. The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored.",
"min": 0,
"max": "*",
"base": {
"path": "Meta.tag",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Coding"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true,
"binding": {
"extension": [
{
"url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
"valueString": "Codes that represent various types of tags, commonly workflow-related; e.g. \"Needs review by Dr. Jones\"."
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "Tags"
}
],
"strength": "example",
"valueSet": "http://hl7.org/fhir/ValueSet/common-tags|4.3.0"
}
},
{
"id": "ActivityDefinition.implicitRules",
"path": "ActivityDefinition.implicitRules",
"short": "A set of rules under which this content was created",
"definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.",
"comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.",
"min": 0,
"max": "1",
"base": {
"path": "Resource.implicitRules",
"min": 0,
"max": "1"
},
"type": [
{
"code": "uri"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": true,
"isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation",
"isSummary": true
},
{
"id": "ActivityDefinition.language",
"path": "ActivityDefinition.language",
"short": "Language of the resource content",
"definition": "The base language in which the resource is written.",
"comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
"min": 0,
"max": "1",
"base": {
"path": "Resource.language",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"binding": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
"valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages|4.3.0"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "Language"
}
],
"strength": "preferred",
"description": "IETF language tag",
"valueSet": "http://hl7.org/fhir/ValueSet/languages|4.3.0"
}
},
{
"id": "ActivityDefinition.text",
"path": "ActivityDefinition.text",
"short": "Text summary of the resource, for human interpretation",
"definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
"comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.",
"alias": [
"narrative",
"html",
"xhtml",
"display"
],
"min": 0,
"max": "1",
"base": {
"path": "DomainResource.text",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Narrative"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "Act.text?"
}
]
},
{
"id": "ActivityDefinition.text.id",
"path": "ActivityDefinition.text.id",
"representation": [
"xmlAttr"
],
"short": "Unique id for inter-element referencing",
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "id"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ActivityDefinition.text.extension",
"path": "ActivityDefinition.text.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"ordered": false,
"rules": "open"
},
"short": "Extension",
"definition": "An Extension",
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.text.extension:text",
"path": "ActivityDefinition.text.extension",
"sliceName": "text",
"short": "STU3: text additional types",
"definition": "STU3: `ActivityDefinition.text` additional types (Narrative) additional types from child elements (div, status)",
"comment": "Element `ActivityDefinition.text` is mapped to FHIR R4B element `ActivityDefinition.text` as `SourceIsBroaderThanTarget`.\nThe mappings for `ActivityDefinition.text` do not cover the following types: Narrative.\nThe mappings for `ActivityDefinition.text` do not cover the following types based on type expansion: div, status.\nContained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded in formation is added later.",
"min": 0,
"max": "1",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.text|0.1.0"
]
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.text.status",
"path": "ActivityDefinition.text.status",
"short": "generated | extensions | additional | empty",
"definition": "The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data.",
"min": 1,
"max": "1",
"base": {
"path": "Narrative.status",
"min": 1,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": false,
"binding": {
"extension": [
{
"url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
"valueString": "The status of a resource narrative."
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "NarrativeStatus"
}
],
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/narrative-status|4.3.0"
},
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "ActivityDefinition.text.div",
"path": "ActivityDefinition.text.div",
"short": "Limited xhtml content",
"definition": "The actual narrative content, a stripped down version of XHTML.",
"comment": "The contents of the html element are an XHTML fragment containing only the basic html formatting elements described in chapters 7-11 and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained stylesheets. The XHTML content SHALL NOT contain a head, a body, external stylesheet references, scripts, forms, base/link/xlink, frames, iframes and objects.",
"min": 1,
"max": "1",
"base": {
"path": "Narrative.div",
"min": 1,
"max": "1"
},
"type": [
{
"code": "xhtml"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "txt-1",
"severity": "error",
"human": "The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes",
"expression": "htmlChecks()",
"xpath": "not(descendant-or-self::*[not(local-name(.)=('a', 'abbr', 'acronym', 'b', 'big', 'blockquote', 'br', 'caption', 'cite', 'code', 'col', 'colgroup', 'dd', 'dfn', 'div', 'dl', 'dt', 'em', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'img', 'li', 'ol', 'p', 'pre', 'q', 'samp', 'small', 'span', 'strong', 'sub', 'sup', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr', 'tt', 'ul', 'var'))]) and not(descendant-or-self::*/@*[not(name(.)=('abbr', 'accesskey', 'align', 'alt', 'axis', 'bgcolor', 'border', 'cellhalign', 'cellpadding', 'cellspacing', 'cellvalign', 'char', 'charoff', 'charset', 'cite', 'class', 'colspan', 'compact', 'coords', 'dir', 'frame', 'headers', 'height', 'href', 'hreflang', 'hspace', 'id', 'lang', 'longdesc', 'name', 'nowrap', 'rel', 'rev', 'rowspan', 'rules', 'scope', 'shape', 'span', 'src', 'start', 'style', 'summary', 'tabindex', 'title', 'type', 'valign', 'value', 'vspace', 'width'))])",
"source": "http://hl7.org/fhir/StructureDefinition/Narrative|4.3.0"
},
{
"key": "txt-2",
"severity": "error",
"human": "The narrative SHALL have some non-whitespace content",
"expression": "htmlChecks()",
"xpath": "descendant::text()[normalize-space(.)!=''] or descendant::h:img[@src]",
"source": "http://hl7.org/fhir/StructureDefinition/Narrative|4.3.0"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "ActivityDefinition.contained",
"path": "ActivityDefinition.contained",
"short": "Contained, inline Resources",
"definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
"comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.",
"alias": [
"inline resources",
"anonymous resources",
"contained resources"
],
"min": 0,
"max": "*",
"base": {
"path": "DomainResource.contained",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Resource"
}
],
"constraint": [
{
"key": "dom-r4b",
"severity": "warning",
"human": "Containing new R4B resources within R4 resources may cause interoperability issues if instances are shared with R4 systems",
"expression": "($this is Citation or $this is Evidence or $this is EvidenceReport or $this is EvidenceVariable or $this is MedicinalProductDefinition or $this is PackagedProductDefinition or $this is AdministrableProductDefinition or $this is Ingredient or $this is ClinicalUseDefinition or $this is RegulatedAuthorization or $this is SubstanceDefinition or $this is SubscriptionStatus or $this is SubscriptionTopic) implies (%resource is Citation or %resource is Evidence or %resource is EvidenceReport or %resource is EvidenceVariable or %resource is MedicinalProductDefinition or %resource is PackagedProductDefinition or %resource is AdministrableProductDefinition or %resource is Ingredient or %resource is ClinicalUseDefinition or %resource is RegulatedAuthorization or %resource is SubstanceDefinition or %resource is SubscriptionStatus or %resource is SubscriptionTopic)",
"xpath": "not(f:Citation|f:Evidence|f:EvidenceReport|f:EvidenceVariable|f:MedicinalProductDefinition|f:PackagedProductDefinition|f:AdministrableProductDefinition|f:Ingredient|f:ClinicalUseDefinition|f:RegulatedAuthorization|f:SubstanceDefinition|f:SubscriptionStatus|f:SubscriptionTopic) or not(parent::f:Citation|parent::f:Evidence|parent::f:EvidenceReport|parent::f:EvidenceVariable|parent::f:MedicinalProductDefinition|parent::f:PackagedProductDefinition|parent::f:AdministrableProductDefinition|parent::f:Ingredient|parent::f:ClinicalUseDefinition|parent::f:RegulatedAuthorization|parent::f:SubstanceDefinition|f:SubscriptionStatus|f:SubscriptionTopic)",
"source": "http://hl7.org/fhir/StructureDefinition/ActivityDefinition|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "ActivityDefinition.extension",
"path": "ActivityDefinition.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"ordered": false,
"rules": "open"
},
"short": "Extension",
"definition": "An Extension",
"min": 0,
"max": "*",
"base": {
"path": "DomainResource.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.extension:contributor",
"path": "ActivityDefinition.extension",
"sliceName": "contributor",
"short": "STU3: A content contributor (new)",
"definition": "STU3: `ActivityDefinition.contributor` (new:Contributor)",
"comment": "Element `ActivityDefinition.contributor` has a context of ActivityDefinition based on following the parent source element upwards and mapping to `ActivityDefinition`.\nElement `ActivityDefinition.contributor` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element).",
"min": 0,
"max": "*",
"base": {
"path": "DomainResource.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.contributor|0.1.0"
]
}
],
"condition": [
"ele-1"
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children unless an empty Parameters resource",
"expression": "hasValue() or (children().count() > id.count()) or $this is Parameters",
"xpath": "@value|f:*|h:div|self::f:Parameters",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.extension:timing",
"path": "ActivityDefinition.extension",
"sliceName": "timing",
"short": "STU3: timing additional types",
"definition": "STU3: `ActivityDefinition.timing[x]` additional types (Timing, Period, Range)",
"comment": "Element `ActivityDefinition.timing[x]` is mapped to FHIR R4B element `ActivityDefinition.timing[x]` as `SourceIsBroaderThanTarget`.\nThe mappings for `ActivityDefinition.timing[x]` do not cover the following types: Period, Range, Timing.\nThe target context `ActivityDefinition.timing[x]` is a choice-type element and cannot directly hold extensions. The context is moved up to parent element `ActivityDefinition`.",
"min": 0,
"max": "1",
"base": {
"path": "DomainResource.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.timing|0.1.0"
]
}
],
"condition": [
"ele-1"
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children unless an empty Parameters resource",
"expression": "hasValue() or (children().count() > id.count()) or $this is Parameters",
"xpath": "@value|f:*|h:div|self::f:Parameters",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.modifierExtension",
"path": "ActivityDefinition.modifierExtension",
"short": "Extensions that cannot be ignored",
"definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4B/extensibility.html#modifierExtension).",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "DomainResource.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"mustSupport": false,
"isModifier": true,
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "ActivityDefinition.url",
"path": "ActivityDefinition.url",
"short": "Canonical identifier for this activity definition, represented as a URI (globally unique)",
"definition": "An absolute URI that is used to identify this activity definition when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this activity definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the activity definition is stored on different servers.",
"comment": "Can be a urn:uuid: or a urn:oid: but real http: addresses are preferred. Multiple instances may share the same URL if they have a distinct version.\n\nThe determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author. Considerations for making this decision are found in [Technical and Business Versions](http://hl7.org/fhir/R4B/resource.html#versions). \n\nIn some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](http://hl7.org/fhir/R4B/resource.html#meta) element to indicate where the current master source of the resource can be found.",
"requirements": "Allows the activity definition to be referenced by a single globally unique identifier.",
"min": 0,
"max": "1",
"base": {
"path": "ActivityDefinition.url",
"min": 0,
"max": "1"
},
"type": [
{
"code": "uri"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "workflow",
"map": "Definition.url"
},
{
"identity": "w5",
"map": "FiveWs.identifier"
},
{
"identity": "rim",
"map": ".identifier[scope=BUSN;reliability=ISS]"
}
]
},
{
"id": "ActivityDefinition.identifier",
"path": "ActivityDefinition.identifier",
"short": "Additional identifier for the activity definition",
"definition": "A formal identifier that is used to identify this activity definition when it is represented in other formats, or referenced in a specification, model, design or an instance.",
"comment": "Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this activity definition outside of FHIR, where it is not possible to use the logical URI.",
"requirements": "Allows externally provided and/or usable business identifiers to be easily associated with the module.",
"min": 0,
"max": "*",
"base": {
"path": "ActivityDefinition.identifier",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Identifier"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "workflow",
"map": "Definition.identifier"
},
{
"identity": "w5",
"map": "FiveWs.identifier"
},
{
"identity": "rim",
"map": ".identifier"
},
{
"identity": "objimpl",
"map": "no-gen-base"
}
]
},
{
"id": "ActivityDefinition.identifier.id",
"path": "ActivityDefinition.identifier.id",
"representation": [
"xmlAttr"
],
"short": "Unique id for inter-element referencing",
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "id"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ActivityDefinition.identifier.extension",
"path": "ActivityDefinition.identifier.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"ordered": false,
"rules": "open"
},
"short": "Extension",
"definition": "An Extension",
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.identifier.extension:identifier",
"path": "ActivityDefinition.identifier.extension",
"sliceName": "identifier",
"short": "STU3: identifier additional types",
"definition": "STU3: `ActivityDefinition.identifier` additional types (Identifier) additional types from child elements (assigner, period, system, type, use, value)",
"comment": "Element `ActivityDefinition.identifier` is mapped to FHIR R4B element `ActivityDefinition.identifier` as `SourceIsBroaderThanTarget`.\nThe mappings for `ActivityDefinition.identifier` do not cover the following types: Identifier.\nThe mappings for `ActivityDefinition.identifier` do not cover the following types based on type expansion: assigner, period, system, type, use, value.\nTypically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, e.g., to identify this activity definition outside of FHIR, where it is not possible to use the logical URI.",
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.identifier|0.1.0"
]
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.identifier.use",
"path": "ActivityDefinition.identifier.use",
"short": "usual | official | temp | secondary | old (If known)",
"definition": "The purpose of this identifier.",
"comment": "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.",
"requirements": "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.",
"min": 0,
"max": "1",
"base": {
"path": "Identifier.use",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": true,
"isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one.",
"isSummary": true,
"binding": {
"extension": [
{
"url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
"valueString": "Identifies the purpose for this identifier, if known ."
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "IdentifierUse"
}
],
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/identifier-use|4.3.0"
},
"mapping": [
{
"identity": "v2",
"map": "N/A"
},
{
"identity": "rim",
"map": "Role.code or implied by context"
}
]
},
{
"id": "ActivityDefinition.identifier.type",
"path": "ActivityDefinition.identifier.type",
"short": "Description of identifier",
"definition": "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.",
"comment": "This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.",
"requirements": "Allows users to make use of identifiers when the identifier system is not known.",
"min": 0,
"max": "1",
"base": {
"path": "Identifier.type",
"min": 0,
"max": "1"
},
"type": [
{
"code": "CodeableConcept"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true,
"binding": {
"extension": [
{
"url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
"valueString": "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose."
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "IdentifierType"
}
],
"strength": "extensible",
"valueSet": "http://hl7.org/fhir/ValueSet/identifier-type|4.3.0"
},
"mapping": [
{
"identity": "v2",
"map": "CX.5"
},
{
"identity": "rim",
"map": "Role.code or implied by context"
}
]
},
{
"id": "ActivityDefinition.identifier.system",
"path": "ActivityDefinition.identifier.system",
"short": "The namespace for the identifier value",
"definition": "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.",
"comment": "Identifier.system is always case sensitive.",
"requirements": "There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.",
"min": 0,
"max": "1",
"base": {
"path": "Identifier.system",
"min": 0,
"max": "1"
},
"type": [
{
"code": "uri"
}
],
"example": [
{
"label": "General",
"valueUri": "http://www.acme.com/identifiers/patient"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "v2",
"map": "CX.4 / EI-2-4"
},
{
"identity": "rim",
"map": "II.root or Role.id.root"
},
{
"identity": "servd",
"map": "./IdentifierType"
}
]
},
{
"id": "ActivityDefinition.identifier.value",
"path": "ActivityDefinition.identifier.value",
"short": "The value that is unique",
"definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.",
"comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the [Rendered Value extension](http://hl7.org/fhir/R4B/extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.",
"min": 0,
"max": "1",
"base": {
"path": "Identifier.value",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"example": [
{
"label": "General",
"valueString": "123456"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "v2",
"map": "CX.1 / EI.1"
},
{
"identity": "rim",
"map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"
},
{
"identity": "servd",
"map": "./Value"
}
]
},
{
"id": "ActivityDefinition.identifier.period",
"path": "ActivityDefinition.identifier.period",
"short": "Time period when id is/was valid for use",
"definition": "Time period during which identifier is/was valid for use.",
"min": 0,
"max": "1",
"base": {
"path": "Identifier.period",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Period"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "v2",
"map": "CX.7 + CX.8"
},
{
"identity": "rim",
"map": "Role.effectiveTime or implied by context"
},
{
"identity": "servd",
"map": "./StartDate and ./EndDate"
}
]
},
{
"id": "ActivityDefinition.identifier.assigner",
"path": "ActivityDefinition.identifier.assigner",
"short": "Organization that issued id (may be just text)",
"definition": "Organization that issued/manages the identifier.",
"comment": "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.",
"min": 0,
"max": "1",
"base": {
"path": "Identifier.assigner",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Reference",
"targetProfile": [
"http://hl7.org/fhir/StructureDefinition/Organization|4.3.0"
]
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "v2",
"map": "CX.4 / (CX.4,CX.9,CX.10)"
},
{
"identity": "rim",
"map": "II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper"
},
{
"identity": "servd",
"map": "./IdentifierIssuingAuthority"
}
]
},
{
"id": "ActivityDefinition.version",
"path": "ActivityDefinition.version",
"short": "Business version of the activity definition",
"definition": "The identifier that is used to identify this version of the activity definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the activity definition author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active assets.",
"comment": "There may be different activity definition instances that have the same identifier but different versions. The version can be appended to the url in a reference to allow a reference to a particular business version of the activity definition with the format [url]|[version].",
"min": 0,
"max": "1",
"base": {
"path": "ActivityDefinition.version",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "workflow",
"map": "Definition.version"
},
{
"identity": "w5",
"map": "FiveWs.version"
},
{
"identity": "rim",
"map": "N/A (to add?)"
}
]
},
{
"id": "ActivityDefinition.name",
"path": "ActivityDefinition.name",
"short": "Name for this activity definition (computer friendly)",
"definition": "A natural language name identifying the activity definition. This name should be usable as an identifier for the module by machine processing applications such as code generation.",
"comment": "The name is not expected to be globally unique. The name should be a simple alphanumeric type name to ensure that it is machine-processing friendly.",
"requirements": "Support human navigation and code generation.",
"min": 0,
"max": "1",
"base": {
"path": "ActivityDefinition.name",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"condition": [
"cnl-0"
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "ActivityDefinition.title",
"path": "ActivityDefinition.title",
"short": "Name for this activity definition (human friendly)",
"definition": "A short, descriptive, user-friendly title for the activity definition.",
"comment": "This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.",
"min": 0,
"max": "1",
"base": {
"path": "ActivityDefinition.title",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "workflow",
"map": "Definition.title"
},
{
"identity": "rim",
"map": ".title"
}
]
},
{
"id": "ActivityDefinition.subtitle",
"path": "ActivityDefinition.subtitle",
"short": "Subordinate title of the activity definition",
"definition": "An explanatory or alternate title for the activity definition giving additional information about its content.",
"min": 0,
"max": "1",
"base": {
"path": "ActivityDefinition.subtitle",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "N/A (to add?)"
}
]
},
{
"id": "ActivityDefinition.status",
"path": "ActivityDefinition.status",
"short": "draft | active | retired | unknown",
"definition": "The status of this activity definition. Enables tracking the life-cycle of the content.",
"comment": "Allows filtering of activity definitions that are appropriate for use versus not.",
"min": 1,
"max": "1",
"base": {
"path": "ActivityDefinition.status",
"min": 1,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": true,
"isModifierReason": "This is labeled as \"Is Modifier\" because applications should not use a retired {{title}} without due consideration",
"isSummary": true,
"binding": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "PublicationStatus"
}
],
"strength": "required",
"description": "The lifecycle status of an artifact.",
"valueSet": "http://hl7.org/fhir/ValueSet/publication-status|4.3.0"
},
"mapping": [
{
"identity": "workflow",
"map": "Definition.status {different ValueSet}"
},
{
"identity": "w5",
"map": "FiveWs.status"
},
{
"identity": "rim",
"map": ".status"
}
]
},
{
"id": "ActivityDefinition.experimental",
"path": "ActivityDefinition.experimental",
"short": "For testing purposes, not real usage",
"definition": "A Boolean value to indicate that this activity definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.",
"comment": "Allows filtering of activity definitions that are appropriate for use versus not.",
"requirements": "Enables experimental content to be developed following the same lifecycle that would be used for a production-level activity definition.",
"min": 0,
"max": "1",
"base": {
"path": "ActivityDefinition.experimental",
"min": 0,
"max": "1"
},
"type": [
{
"code": "boolean"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "workflow",
"map": "Definition.experimental"
},
{
"identity": "w5",
"map": "FiveWs.class"
},
{
"identity": "rim",
"map": "N/A (to add?)"
}
]
},
{
"id": "ActivityDefinition.subject[x]",
"path": "ActivityDefinition.subject[x]",
"short": "Type of individual the activity definition is intended for",
"definition": "A code, group definition, or canonical reference that describes or identifies the intended subject of the activity being defined. Canonical references are allowed to support the definition of protocols for drug and substance quality specifications, and is allowed to reference a MedicinalProductDefinition, SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition, or PackagedProductDefinition resource.",
"comment": "Note that the choice of canonical for the subject element was introduced in R4B to support pharmaceutical quality use cases. To ensure as much backwards-compatibility as possible, it is recommended to only use the new canonical type with these use cases.",
"min": 0,
"max": "1",
"base": {
"path": "ActivityDefinition.subject[x]",
"min": 0,
"max": "1"
},
"type": [
{
"code": "CodeableConcept"
},
{
"code": "Reference",
"targetProfile": [
"http://hl7.org/fhir/StructureDefinition/Group|4.3.0"
]
},
{
"code": "canonical"
}
],
"meaningWhenMissing": "Patient",
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"binding": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SubjectType"
}
],
"strength": "extensible",
"description": "The possible types of subjects for an activity (E.g. Patient, Practitioner, Organization, Location, etc.).",
"valueSet": "http://hl7.org/fhir/ValueSet/subject-type|4.3.0"
},
"mapping": [
{
"identity": "workflow",
"map": "Definition.subject"
},
{
"identity": "rim",
"map": "N/A (to add?) { only applies for subject Patient? }"
}
]
},
{
"id": "ActivityDefinition.date",
"path": "ActivityDefinition.date",
"short": "Date last changed",
"definition": "The date (and optionally time) when the activity definition was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the activity definition changes.",
"comment": "Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the activity definition. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.",
"alias": [
"Revision Date"
],
"min": 0,
"max": "1",
"base": {
"path": "ActivityDefinition.date",
"min": 0,
"max": "1"
},
"type": [
{
"code": "dateTime"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "workflow",
"map": "Definition.date"
},
{
"identity": "w5",
"map": "FiveWs.recorded"
},
{
"identity": "rim",
"map": ".participation[typeCode=AUT].time"
}
]
},
{
"id": "ActivityDefinition.publisher",
"path": "ActivityDefinition.publisher",
"short": "Name of the publisher (organization or individual)",
"definition": "The name of the organization or individual that published the activity definition.",
"comment": "Usually an organization but may be an individual. The publisher (or steward) of the activity definition is the organization or individual primarily responsible for the maintenance and upkeep of the activity definition. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the activity definition. This item SHOULD be populated unless the information is available from context.",
"requirements": "Helps establish the \"authority/credibility\" of the activity definition. May also allow for contact.",
"min": 0,
"max": "1",
"base": {
"path": "ActivityDefinition.publisher",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "workflow",
"map": "Definition.publisher {as string instead of CodeableConcept}"
},
{
"identity": "w5",
"map": "FiveWs.witness"
},
{
"identity": "rim",
"map": ".participation[typeCode=AUT].role"
}
]
},
{
"id": "ActivityDefinition.contact",
"path": "ActivityDefinition.contact",
"short": "Contact details for the publisher",
"definition": "Contact details to assist a user in finding and communicating with the publisher.",
"comment": "May be a web site, an email address, a telephone number, etc.",
"min": 0,
"max": "*",
"base": {
"path": "ActivityDefinition.contact",
"min": 0,
"max": "*"
},
"type": [
{
"code": "ContactDetail"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "workflow",
"map": "Definition.contact"
},
{
"identity": "rim",
"map": ".participation[typeCode=CALLBCK].role"
}
]
},
{
"id": "ActivityDefinition.contact.id",
"path": "ActivityDefinition.contact.id",
"representation": [
"xmlAttr"
],
"short": "Unique id for inter-element referencing",
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "id"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ActivityDefinition.contact.extension",
"path": "ActivityDefinition.contact.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"ordered": false,
"rules": "open"
},
"short": "Extension",
"definition": "An Extension",
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.contact.extension:contact",
"path": "ActivityDefinition.contact.extension",
"sliceName": "contact",
"short": "STU3: contact additional types",
"definition": "STU3: `ActivityDefinition.contact` additional types (ContactDetail) additional types from child elements (name, telecom)",
"comment": "Element `ActivityDefinition.contact` is mapped to FHIR R4B element `ActivityDefinition.contact` as `SourceIsBroaderThanTarget`.\nThe mappings for `ActivityDefinition.contact` do not cover the following types: ContactDetail.\nThe mappings for `ActivityDefinition.contact` do not cover the following types based on type expansion: name, telecom.\nMay be a web site, an email address, a telephone number, etc.",
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.contact|0.1.0"
]
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.contact.name",
"path": "ActivityDefinition.contact.name",
"short": "Name of an individual to contact",
"definition": "The name of an individual to contact.",
"comment": "If there is no named individual, the telecom information is for the organization as a whole.",
"min": 0,
"max": "1",
"base": {
"path": "ContactDetail.name",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true
},
{
"id": "ActivityDefinition.contact.telecom",
"path": "ActivityDefinition.contact.telecom",
"short": "Contact details for individual or organization",
"definition": "The contact details for the individual (if a name was provided) or the organization.",
"min": 0,
"max": "*",
"base": {
"path": "ContactDetail.telecom",
"min": 0,
"max": "*"
},
"type": [
{
"code": "ContactPoint"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true
},
{
"id": "ActivityDefinition.description",
"path": "ActivityDefinition.description",
"short": "Natural language description of the activity definition",
"definition": "A free text natural language description of the activity definition from a consumer's perspective.",
"comment": "This description can be used to capture details such as why the activity definition was built, comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the activity definition as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the activity definition is presumed to be the predominant language in the place the activity definition was created).",
"min": 0,
"max": "1",
"base": {
"path": "ActivityDefinition.description",
"min": 0,
"max": "1"
},
"type": [
{
"code": "markdown"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "workflow",
"map": "Definition.description"
},
{
"identity": "rim",
"map": ".text"
}
]
},
{
"id": "ActivityDefinition.useContext",
"path": "ActivityDefinition.useContext",
"short": "The context that the content is intended to support",
"definition": "The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate activity definition instances.",
"comment": "When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.",
"requirements": "Assist in searching for appropriate content.",
"min": 0,
"max": "*",
"base": {
"path": "ActivityDefinition.useContext",
"min": 0,
"max": "*"
},
"type": [
{
"code": "UsageContext"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "workflow",
"map": "Definition.useContext"
},
{
"identity": "rim",
"map": "N/A (to add?)"
}
]
},
{
"id": "ActivityDefinition.useContext.id",
"path": "ActivityDefinition.useContext.id",
"representation": [
"xmlAttr"
],
"short": "Unique id for inter-element referencing",
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "id"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ActivityDefinition.useContext.extension",
"path": "ActivityDefinition.useContext.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"ordered": false,
"rules": "open"
},
"short": "Extension",
"definition": "An Extension",
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.useContext.extension:useContext",
"path": "ActivityDefinition.useContext.extension",
"sliceName": "useContext",
"short": "STU3: Context the content is intended to support additional types",
"definition": "STU3: `ActivityDefinition.useContext` additional types (UsageContext) additional types from child elements (code, value[x])",
"comment": "Element `ActivityDefinition.useContext` is mapped to FHIR R4B element `ActivityDefinition.useContext` as `SourceIsBroaderThanTarget`.\nThe mappings for `ActivityDefinition.useContext` do not cover the following types: UsageContext.\nThe mappings for `ActivityDefinition.useContext` do not cover the following types based on type expansion: code, value[x].\nWhen multiple useContexts are specified, there is no expectation whether all or any of the contexts apply.",
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.useContext|0.1.0"
]
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.useContext.code",
"path": "ActivityDefinition.useContext.code",
"short": "Type of context being specified",
"definition": "A code that identifies the type of context being specified by this usage context.",
"min": 1,
"max": "1",
"base": {
"path": "UsageContext.code",
"min": 1,
"max": "1"
},
"type": [
{
"code": "Coding"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true,
"binding": {
"extension": [
{
"url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
"valueString": "A code that specifies a type of context being specified by a usage context."
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "UsageContextType"
}
],
"strength": "extensible",
"valueSet": "http://hl7.org/fhir/ValueSet/usage-context-type|4.3.0"
}
},
{
"id": "ActivityDefinition.useContext.value[x]",
"path": "ActivityDefinition.useContext.value[x]",
"short": "Value that defines the context",
"definition": "A value that defines the context specified in this context of use. The interpretation of the value is defined by the code.",
"min": 1,
"max": "1",
"base": {
"path": "UsageContext.value[x]",
"min": 1,
"max": "1"
},
"type": [
{
"code": "CodeableConcept"
},
{
"code": "Quantity"
},
{
"code": "Range"
},
{
"code": "Reference",
"targetProfile": [
"http://hl7.org/fhir/StructureDefinition/PlanDefinition|4.3.0",
"http://hl7.org/fhir/StructureDefinition/ResearchStudy|4.3.0",
"http://hl7.org/fhir/StructureDefinition/InsurancePlan|4.3.0",
"http://hl7.org/fhir/StructureDefinition/HealthcareService|4.3.0",
"http://hl7.org/fhir/StructureDefinition/Group|4.3.0",
"http://hl7.org/fhir/StructureDefinition/Location|4.3.0",
"http://hl7.org/fhir/StructureDefinition/Organization|4.3.0"
]
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true,
"binding": {
"extension": [
{
"url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
"valueString": "A code that defines the specific value for the context being specified."
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "UsageContextValue"
}
],
"strength": "example",
"valueSet": "http://hl7.org/fhir/ValueSet/use-context|4.3.0"
}
},
{
"id": "ActivityDefinition.jurisdiction",
"path": "ActivityDefinition.jurisdiction",
"short": "Intended jurisdiction for activity definition (if applicable)",
"definition": "A legal or geographic region in which the activity definition is intended to be used.",
"comment": "It may be possible for the activity definition to be used in jurisdictions other than those for which it was originally designed or intended.",
"min": 0,
"max": "*",
"base": {
"path": "ActivityDefinition.jurisdiction",
"min": 0,
"max": "*"
},
"type": [
{
"code": "CodeableConcept"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": true,
"binding": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "Jurisdiction"
}
],
"strength": "extensible",
"description": "Countries and regions within which this artifact is targeted for use.",
"valueSet": "http://hl7.org/fhir/ValueSet/jurisdiction|4.3.0"
},
"mapping": [
{
"identity": "workflow",
"map": "Definition.jurisdiction"
},
{
"identity": "rim",
"map": "N/A (to add?)"
}
]
},
{
"id": "ActivityDefinition.purpose",
"path": "ActivityDefinition.purpose",
"short": "Why this activity definition is defined",
"definition": "Explanation of why this activity definition is needed and why it has been designed as it has.",
"comment": "This element does not describe the usage of the activity definition. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is. This may be used to point to source materials or specifications that drove the structure of this activity definition.",
"min": 0,
"max": "1",
"base": {
"path": "ActivityDefinition.purpose",
"min": 0,
"max": "1"
},
"type": [
{
"code": "markdown"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "workflow",
"map": "Definition.purpose"
},
{
"identity": "w5",
"map": "FiveWs.why[x]"
},
{
"identity": "rim",
"map": ".reasonCode.text"
},
{
"identity": "objimpl",
"map": "no-gen-base"
}
]
},
{
"id": "ActivityDefinition.usage",
"path": "ActivityDefinition.usage",
"short": "Describes the clinical usage of the activity definition",
"definition": "A detailed description of how the activity definition is used from a clinical perspective.",
"min": 0,
"max": "1",
"base": {
"path": "ActivityDefinition.usage",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "N/A (to add?)"
}
]
},
{
"id": "ActivityDefinition.copyright",
"path": "ActivityDefinition.copyright",
"short": "Use and/or publishing restrictions",
"definition": "A copyright statement relating to the activity definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the activity definition.",
"requirements": "Consumers must be able to determine any legal restrictions on the use of the activity definition and/or its content.",
"alias": [
"License",
"Restrictions"
],
"min": 0,
"max": "1",
"base": {
"path": "ActivityDefinition.copyright",
"min": 0,
"max": "1"
},
"type": [
{
"code": "markdown"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "workflow",
"map": "Definition.copyright"
},
{
"identity": "rim",
"map": "N/A (to add?)"
},
{
"identity": "objimpl",
"map": "no-gen-base"
}
]
},
{
"id": "ActivityDefinition.approvalDate",
"path": "ActivityDefinition.approvalDate",
"short": "When the activity definition was approved by publisher",
"definition": "The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage.",
"comment": "The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.",
"min": 0,
"max": "1",
"base": {
"path": "ActivityDefinition.approvalDate",
"min": 0,
"max": "1"
},
"type": [
{
"code": "date"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "workflow",
"map": "Definition.approvalDate"
},
{
"identity": "rim",
"map": ".outboundRelationship[typeCode=\"SUBJ\"].act[classCode=CACT;moodCode=EVN;code=\"approval\"].effectiveTime"
},
{
"identity": "objimpl",
"map": "no-gen-base"
}
]
},
{
"id": "ActivityDefinition.lastReviewDate",
"path": "ActivityDefinition.lastReviewDate",
"short": "When the activity definition was last reviewed",
"definition": "The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date.",
"comment": "If specified, this date follows the original approval date.",
"requirements": "Gives a sense of how \"current\" the content is. Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant.",
"min": 0,
"max": "1",
"base": {
"path": "ActivityDefinition.lastReviewDate",
"min": 0,
"max": "1"
},
"type": [
{
"code": "date"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "workflow",
"map": "Definition.lastReviewDate"
},
{
"identity": "rim",
"map": ".outboundRelationship[typeCode=\"SUBJ\"; subsetCode=\"RECENT\"].act[classCode=CACT;moodCode=EVN;code=\"review\"].effectiveTime"
},
{
"identity": "objimpl",
"map": "no-gen-base"
}
]
},
{
"id": "ActivityDefinition.effectivePeriod",
"path": "ActivityDefinition.effectivePeriod",
"short": "When the activity definition is expected to be used",
"definition": "The period during which the activity definition content was or is planned to be in active use.",
"comment": "The effective period for a activity definition determines when the content is applicable for usage and is independent of publication and review dates. For example, a measure intended to be used for the year 2016 might be published in 2015.",
"requirements": "Allows establishing a transition before a resource comes into effect and also allows for a sunsetting process when new versions of the activity definition are or are expected to be used instead.",
"min": 0,
"max": "1",
"base": {
"path": "ActivityDefinition.effectivePeriod",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Period"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "workflow",
"map": "Definition.effectivePeriod"
},
{
"identity": "rim",
"map": "N/A (to add?)"
},
{
"identity": "objimpl",
"map": "no-gen-base"
}
]
},
{
"id": "ActivityDefinition.effectivePeriod.id",
"path": "ActivityDefinition.effectivePeriod.id",
"representation": [
"xmlAttr"
],
"short": "Unique id for inter-element referencing",
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "id"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ActivityDefinition.effectivePeriod.extension",
"path": "ActivityDefinition.effectivePeriod.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"ordered": false,
"rules": "open"
},
"short": "Extension",
"definition": "An Extension",
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.effectivePeriod.extension:effectivePeriod",
"path": "ActivityDefinition.effectivePeriod.extension",
"sliceName": "effectivePeriod",
"short": "STU3: effectivePeriod additional types",
"definition": "STU3: `ActivityDefinition.effectivePeriod` additional types (Period) additional types from child elements (end, start)",
"comment": "Element `ActivityDefinition.effectivePeriod` is mapped to FHIR R4B element `ActivityDefinition.effectivePeriod` as `SourceIsBroaderThanTarget`.\nThe mappings for `ActivityDefinition.effectivePeriod` do not cover the following types: Period.\nThe mappings for `ActivityDefinition.effectivePeriod` do not cover the following types based on type expansion: end, start.\nThe effective period for a activity definition determines when the content is applicable for usage and is independent of publication and review dates. For example, a measure intended to be used for the year 2016 might be published in 2015.",
"min": 0,
"max": "1",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.effectivePeriod|0.1.0"
]
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.effectivePeriod.start",
"path": "ActivityDefinition.effectivePeriod.start",
"short": "Starting time with inclusive boundary",
"definition": "The start of the period. The boundary is inclusive.",
"comment": "If the low element is missing, the meaning is that the low boundary is not known.",
"min": 0,
"max": "1",
"base": {
"path": "Period.start",
"min": 0,
"max": "1"
},
"type": [
{
"code": "dateTime"
}
],
"condition": [
"per-1"
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "v2",
"map": "DR.1"
},
{
"identity": "rim",
"map": "./low"
}
]
},
{
"id": "ActivityDefinition.effectivePeriod.end",
"path": "ActivityDefinition.effectivePeriod.end",
"short": "End time with inclusive boundary, if not ongoing",
"definition": "The end of the period. If the end of the period is missing, it means no end was known or planned at the time the instance was created. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.",
"comment": "The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has an end value of 2012-02-03.",
"min": 0,
"max": "1",
"base": {
"path": "Period.end",
"min": 0,
"max": "1"
},
"type": [
{
"code": "dateTime"
}
],
"meaningWhenMissing": "If the end of the period is missing, it means that the period is ongoing",
"condition": [
"per-1"
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "v2",
"map": "DR.2"
},
{
"identity": "rim",
"map": "./high"
}
]
},
{
"id": "ActivityDefinition.topic",
"path": "ActivityDefinition.topic",
"short": "E.g. Education, Treatment, Assessment, etc.",
"definition": "Descriptive topics related to the content of the activity. Topics provide a high-level categorization of the activity that can be useful for filtering and searching.",
"requirements": "Repositories must be able to determine how to categorize the activity definition so that it can be found by topical searches.",
"min": 0,
"max": "*",
"base": {
"path": "ActivityDefinition.topic",
"min": 0,
"max": "*"
},
"type": [
{
"code": "CodeableConcept"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"binding": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "DefinitionTopic"
}
],
"strength": "example",
"description": "High-level categorization of the definition, used for searching, sorting, and filtering.",
"valueSet": "http://hl7.org/fhir/ValueSet/definition-topic|4.3.0"
},
"mapping": [
{
"identity": "rim",
"map": "N/A (to add?)"
}
]
},
{
"id": "ActivityDefinition.author",
"path": "ActivityDefinition.author",
"short": "Who authored the content",
"definition": "An individiual or organization primarily involved in the creation and maintenance of the content.",
"min": 0,
"max": "*",
"base": {
"path": "ActivityDefinition.author",
"min": 0,
"max": "*"
},
"type": [
{
"code": "ContactDetail"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": ".participation[typeCode=AUT]"
}
]
},
{
"id": "ActivityDefinition.editor",
"path": "ActivityDefinition.editor",
"short": "Who edited the content",
"definition": "An individual or organization primarily responsible for internal coherence of the content.",
"min": 0,
"max": "*",
"base": {
"path": "ActivityDefinition.editor",
"min": 0,
"max": "*"
},
"type": [
{
"code": "ContactDetail"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": ".participation[typeCode=AUT] { not a great match, but there does not appear to be an editor concept in V3 participation }"
}
]
},
{
"id": "ActivityDefinition.reviewer",
"path": "ActivityDefinition.reviewer",
"short": "Who reviewed the content",
"definition": "An individual or organization primarily responsible for review of some aspect of the content.",
"min": 0,
"max": "*",
"base": {
"path": "ActivityDefinition.reviewer",
"min": 0,
"max": "*"
},
"type": [
{
"code": "ContactDetail"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": ".participation[typeCode=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"
}
]
},
{
"id": "ActivityDefinition.endorser",
"path": "ActivityDefinition.endorser",
"short": "Who endorsed the content",
"definition": "An individual or organization responsible for officially endorsing the content for use in some setting.",
"min": 0,
"max": "*",
"base": {
"path": "ActivityDefinition.endorser",
"min": 0,
"max": "*"
},
"type": [
{
"code": "ContactDetail"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": ".participation[typeCode=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"
}
]
},
{
"id": "ActivityDefinition.relatedArtifact",
"path": "ActivityDefinition.relatedArtifact",
"short": "Additional documentation, citations, etc.",
"definition": "Related artifacts such as additional documentation, justification, or bibliographic references.",
"comment": "Each related artifact is either an attachment, or a reference to another resource, but not both.",
"requirements": "Activity definitions must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content.",
"min": 0,
"max": "*",
"base": {
"path": "ActivityDefinition.relatedArtifact",
"min": 0,
"max": "*"
},
"type": [
{
"code": "RelatedArtifact"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": ".outboundRelationship[typeCode=DOC,RSON,PREV, DRIV, USE, COMP] {successor would be PREV w/ inversionInd=true; No support for citation}"
}
]
},
{
"id": "ActivityDefinition.relatedArtifact.id",
"path": "ActivityDefinition.relatedArtifact.id",
"representation": [
"xmlAttr"
],
"short": "Unique id for inter-element referencing",
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "id"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ActivityDefinition.relatedArtifact.extension",
"path": "ActivityDefinition.relatedArtifact.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"ordered": false,
"rules": "open"
},
"short": "Extension",
"definition": "An Extension",
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.relatedArtifact.extension:relatedArtifact",
"path": "ActivityDefinition.relatedArtifact.extension",
"sliceName": "relatedArtifact",
"short": "STU3: Additional documentation, citations, etc additional types",
"definition": "STU3: `ActivityDefinition.relatedArtifact` additional types (RelatedArtifact) additional types from child elements (citation, display, document, resource, type, url)",
"comment": "Element `ActivityDefinition.relatedArtifact` is mapped to FHIR R4B element `ActivityDefinition.relatedArtifact` as `SourceIsBroaderThanTarget`.\nThe mappings for `ActivityDefinition.relatedArtifact` do not cover the following types: RelatedArtifact.\nThe mappings for `ActivityDefinition.relatedArtifact` do not cover the following types based on type expansion: citation, display, document, resource, type, url.\nEach related artifact is either an attachment, or a reference to another resource, but not both.",
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.relatedArtifact|0.1.0"
]
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.relatedArtifact.type",
"path": "ActivityDefinition.relatedArtifact.type",
"short": "documentation | justification | citation | predecessor | successor | derived-from | depends-on | composed-of",
"definition": "The type of relationship to the related artifact.",
"min": 1,
"max": "1",
"base": {
"path": "RelatedArtifact.type",
"min": 1,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true,
"binding": {
"extension": [
{
"url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
"valueString": "The type of relationship to the related artifact."
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "RelatedArtifactType"
}
],
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/related-artifact-type|4.3.0"
}
},
{
"id": "ActivityDefinition.relatedArtifact.label",
"path": "ActivityDefinition.relatedArtifact.label",
"short": "Short label",
"definition": "A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index.",
"min": 0,
"max": "1",
"base": {
"path": "RelatedArtifact.label",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true
},
{
"id": "ActivityDefinition.relatedArtifact.display",
"path": "ActivityDefinition.relatedArtifact.display",
"short": "Brief description of the related artifact",
"definition": "A brief description of the document or knowledge resource being referenced, suitable for display to a consumer.",
"min": 0,
"max": "1",
"base": {
"path": "RelatedArtifact.display",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true
},
{
"id": "ActivityDefinition.relatedArtifact.citation",
"path": "ActivityDefinition.relatedArtifact.citation",
"short": "Bibliographic citation for the artifact",
"definition": "A bibliographic citation for the related artifact. This text SHOULD be formatted according to an accepted citation format.",
"comment": "Additional structured information about citations should be captured as extensions.",
"min": 0,
"max": "1",
"base": {
"path": "RelatedArtifact.citation",
"min": 0,
"max": "1"
},
"type": [
{
"code": "markdown"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true
},
{
"id": "ActivityDefinition.relatedArtifact.url",
"path": "ActivityDefinition.relatedArtifact.url",
"short": "Where the artifact can be accessed",
"definition": "A url for the artifact that can be followed to access the actual content.",
"comment": "If a document or resource element is present, this element SHALL NOT be provided (use the url or reference in the Attachment or resource reference).",
"min": 0,
"max": "1",
"base": {
"path": "RelatedArtifact.url",
"min": 0,
"max": "1"
},
"type": [
{
"code": "url"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true
},
{
"id": "ActivityDefinition.relatedArtifact.document",
"path": "ActivityDefinition.relatedArtifact.document",
"short": "What document is being referenced",
"definition": "The document being referenced, represented as an attachment. This is exclusive with the resource element.",
"min": 0,
"max": "1",
"base": {
"path": "RelatedArtifact.document",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Attachment"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true
},
{
"id": "ActivityDefinition.relatedArtifact.resource",
"path": "ActivityDefinition.relatedArtifact.resource",
"short": "What resource is being referenced",
"definition": "The related resource, such as a library, value set, profile, or other knowledge resource.",
"comment": "If the type is predecessor, this is a reference to the succeeding knowledge resource. If the type is successor, this is a reference to the prior knowledge resource.",
"min": 0,
"max": "1",
"base": {
"path": "RelatedArtifact.resource",
"min": 0,
"max": "1"
},
"type": [
{
"code": "canonical",
"targetProfile": [
"http://hl7.org/fhir/StructureDefinition/Resource|4.3.0"
]
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true
},
{
"id": "ActivityDefinition.library",
"path": "ActivityDefinition.library",
"short": "Logic used by the activity definition",
"definition": "A reference to a Library resource containing any formal logic used by the activity definition.",
"min": 0,
"max": "*",
"base": {
"path": "ActivityDefinition.library",
"min": 0,
"max": "*"
},
"type": [
{
"code": "canonical",
"targetProfile": [
"http://hl7.org/fhir/StructureDefinition/Library|4.3.0"
]
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": ".outboundRelationship[typeCode=USE].target[classCode=GROUPER,moodCode=EVN]"
}
]
},
{
"id": "ActivityDefinition.library.id",
"path": "ActivityDefinition.library.id",
"representation": [
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references)",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.library.extension",
"path": "ActivityDefinition.library.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"ordered": false,
"rules": "open"
},
"short": "Extension",
"definition": "An Extension",
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.library.extension:library",
"path": "ActivityDefinition.library.extension",
"sliceName": "library",
"short": "STU3: Logic used by the asset additional types",
"definition": "STU3: `ActivityDefinition.library` additional types (Reference(http://hl7.org/fhir/StructureDefinition/Library)) additional types from child elements (display, identifier, reference)",
"comment": "Element `ActivityDefinition.library` is mapped to FHIR R4B element `ActivityDefinition.library` as `SourceIsBroaderThanTarget`.\nThe mappings for `ActivityDefinition.library` do not cover the following types: Reference.\nThe mappings for `ActivityDefinition.library` do not cover the following types based on type expansion: display, identifier, reference.",
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.library|0.1.0"
]
}
],
"condition": [
"ele-1"
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children unless an empty Parameters resource",
"expression": "hasValue() or (children().count() > id.count()) or $this is Parameters",
"xpath": "@value|f:*|h:div|self::f:Parameters",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.library.value",
"path": "ActivityDefinition.library.value",
"representation": [
"xmlAttr"
],
"short": "Primitive value for canonical",
"definition": "Primitive value for canonical",
"min": 0,
"max": "1",
"base": {
"path": "uri.value",
"min": 0,
"max": "1"
},
"type": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "canonical"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/regex",
"valueString": "\\S*"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.kind",
"path": "ActivityDefinition.kind",
"short": "Kind of resource",
"definition": "A description of the kind of resource the activity definition is representing. For example, a MedicationRequest, a ServiceRequest, or a CommunicationRequest. Typically, but not always, this is a Request resource.",
"comment": "May determine what types of extensions are permitted.",
"min": 0,
"max": "1",
"base": {
"path": "ActivityDefinition.kind",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": true,
"binding": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "ActivityDefinitionKind"
}
],
"strength": "required",
"description": "The kind of activity the definition is describing.",
"valueSet": "http://hl7.org/fhir/ValueSet/request-resource-types|4.3.0"
},
"mapping": [
{
"identity": "rim",
"map": ".classCode"
}
]
},
{
"id": "ActivityDefinition.profile",
"path": "ActivityDefinition.profile",
"short": "What profile the resource needs to conform to",
"definition": "A profile to which the target of the activity definition is expected to conform.",
"requirements": "Allows profiles to be used to describe the types of activities that can be performed within a workflow, protocol, or order set.",
"min": 0,
"max": "1",
"base": {
"path": "ActivityDefinition.profile",
"min": 0,
"max": "1"
},
"type": [
{
"code": "canonical",
"targetProfile": [
"http://hl7.org/fhir/StructureDefinition/StructureDefinition|4.3.0"
]
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": ".templateId"
}
]
},
{
"id": "ActivityDefinition.code",
"path": "ActivityDefinition.code",
"short": "Detail type of activity",
"definition": "Detailed description of the type of activity; e.g. What lab test, what procedure, what kind of encounter.",
"comment": "Tends to be less relevant for activities involving particular products.",
"requirements": "Allows matching performed to planned as well as validation against protocols.",
"min": 0,
"max": "1",
"base": {
"path": "ActivityDefinition.code",
"min": 0,
"max": "1"
},
"type": [
{
"code": "CodeableConcept"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": true,
"binding": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "ActivityDefinitionType"
}
],
"strength": "example",
"description": "Detailed type of the activity; e.g. CBC.",
"valueSet": "http://hl7.org/fhir/ValueSet/procedure-code|4.3.0"
},
"mapping": [
{
"identity": "rim",
"map": ".code"
}
]
},
{
"id": "ActivityDefinition.intent",
"path": "ActivityDefinition.intent",
"short": "proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option",
"definition": "Indicates the level of authority/intentionality associated with the activity and where the request should fit into the workflow chain.",
"min": 0,
"max": "1",
"base": {
"path": "ActivityDefinition.intent",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"binding": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "RequestIntent"
}
],
"strength": "required",
"description": "Codes indicating the degree of authority/intentionality associated with a request.",
"valueSet": "http://hl7.org/fhir/ValueSet/request-intent|4.3.0"
},
"mapping": [
{
"identity": "rim",
"map": ".moodCode { of the realized Activity }"
}
]
},
{
"id": "ActivityDefinition.priority",
"path": "ActivityDefinition.priority",
"short": "routine | urgent | asap | stat",
"definition": "Indicates how quickly the activity should be addressed with respect to other requests.",
"min": 0,
"max": "1",
"base": {
"path": "ActivityDefinition.priority",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"binding": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "RequestPriority"
}
],
"strength": "required",
"description": "Identifies the level of importance to be assigned to actioning the request.",
"valueSet": "http://hl7.org/fhir/ValueSet/request-priority|4.3.0"
},
"mapping": [
{
"identity": "rim",
"map": ".priority { of the realized activity }"
}
]
},
{
"id": "ActivityDefinition.doNotPerform",
"path": "ActivityDefinition.doNotPerform",
"short": "True if the activity should not be performed",
"definition": "Set this to true if the definition is to indicate that a particular activity should NOT be performed. If true, this element should be interpreted to reinforce a negative coding. For example NPO as a code with a doNotPerform of true would still indicate to NOT perform the action.",
"comment": "This element is not intended to be used to communicate a decision support response to cancel an order in progress. That should be done with the \"remove\" type of a PlanDefinition or RequestGroup.",
"min": 0,
"max": "1",
"base": {
"path": "ActivityDefinition.doNotPerform",
"min": 0,
"max": "1"
},
"type": [
{
"code": "boolean"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": true,
"isModifierReason": "If true this element negates the specified action. For Example, instead of a request for a procedure, it is a request for the procedure to not occur.",
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": ".negationInd { of the realized activity }"
}
]
},
{
"id": "ActivityDefinition.timing[x]",
"path": "ActivityDefinition.timing[x]",
"short": "When activity is to occur",
"definition": "The period, timing or frequency upon which the described activity is to occur.",
"requirements": "Allows prompting for activities and detection of missed planned activities.",
"min": 0,
"max": "1",
"base": {
"path": "ActivityDefinition.timing[x]",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Timing"
},
{
"code": "dateTime"
},
{
"code": "Age"
},
{
"code": "Period"
},
{
"code": "Range"
},
{
"code": "Duration"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": ".effectiveTime"
}
]
},
{
"id": "ActivityDefinition.location",
"path": "ActivityDefinition.location",
"short": "Where it should happen",
"definition": "Identifies the facility where the activity will occur; e.g. home, hospital, specific clinic, etc.",
"comment": "May reference a specific clinical location or may just identify a type of location.",
"requirements": "Helps in planning of activity.",
"alias": [
"facility"
],
"min": 0,
"max": "1",
"base": {
"path": "ActivityDefinition.location",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Reference",
"targetProfile": [
"http://hl7.org/fhir/StructureDefinition/Location|4.3.0"
]
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": ".participation[typeCode=LOC].role"
}
]
},
{
"id": "ActivityDefinition.location.id",
"path": "ActivityDefinition.location.id",
"representation": [
"xmlAttr"
],
"short": "Unique id for inter-element referencing",
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "id"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ActivityDefinition.location.extension",
"path": "ActivityDefinition.location.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"ordered": false,
"rules": "open"
},
"short": "Extension",
"definition": "An Extension",
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.location.extension:location",
"path": "ActivityDefinition.location.extension",
"sliceName": "location",
"short": "STU3: location additional types",
"definition": "STU3: `ActivityDefinition.location` additional types from child elements (display, identifier, reference)",
"comment": "Element `ActivityDefinition.location` is mapped to FHIR R4B element `ActivityDefinition.location` as `SourceIsBroaderThanTarget`.\nThe mappings for `ActivityDefinition.location` do not cover the following types based on type expansion: display, identifier, reference.\nThe standard extension `alternate-reference` has been mapped as the representation of FHIR STU3 element `ActivityDefinition.location` with unmapped reference targets: Location.\nMay reference a specific clinical location or may just identify a type of location.",
"min": 0,
"max": "1",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/StructureDefinition/alternate-reference|5.2.0"
]
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.location.reference",
"path": "ActivityDefinition.location.reference",
"short": "Literal reference, Relative, internal or absolute URL",
"definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
"comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
"min": 0,
"max": "1",
"base": {
"path": "Reference.reference",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"condition": [
"ref-1"
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "ActivityDefinition.location.type",
"path": "ActivityDefinition.location.type",
"short": "Type the reference refers to (e.g. \"Patient\")",
"definition": "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).",
"comment": "This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.",
"min": 0,
"max": "1",
"base": {
"path": "Reference.type",
"min": 0,
"max": "1"
},
"type": [
{
"code": "uri"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true,
"binding": {
"extension": [
{
"url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
"valueString": "Aa resource (or, for logical models, the URI of the logical model)."
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "FHIRResourceTypeExt"
}
],
"strength": "extensible",
"valueSet": "http://hl7.org/fhir/ValueSet/resource-types|4.3.0"
},
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "ActivityDefinition.location.identifier",
"path": "ActivityDefinition.location.identifier",
"short": "Logical reference, when literal reference is not known",
"definition": "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
"comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).",
"min": 0,
"max": "1",
"base": {
"path": "Reference.identifier",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Identifier"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": ".identifier"
}
]
},
{
"id": "ActivityDefinition.location.display",
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
}
],
"path": "ActivityDefinition.location.display",
"short": "Text alternative for the resource",
"definition": "Plain text narrative that identifies the resource in addition to the resource reference.",
"comment": "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.",
"min": 0,
"max": "1",
"base": {
"path": "Reference.display",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "ActivityDefinition.participant",
"path": "ActivityDefinition.participant",
"short": "Who should participate in the action",
"definition": "Indicates who should participate in performing the action described.",
"min": 0,
"max": "*",
"base": {
"path": "ActivityDefinition.participant",
"min": 0,
"max": "*"
},
"type": [
{
"code": "BackboneElement"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children unless an empty Parameters resource",
"expression": "hasValue() or (children().count() > id.count()) or $this is Parameters",
"xpath": "@value|f:*|h:div|self::f:Parameters",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": ".participation[typeCode=PFM]"
}
]
},
{
"id": "ActivityDefinition.participant.id",
"path": "ActivityDefinition.participant.id",
"representation": [
"xmlAttr"
],
"short": "Unique id for inter-element referencing",
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ActivityDefinition.participant.extension",
"path": "ActivityDefinition.participant.extension",
"short": "Additional content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ActivityDefinition.participant.modifierExtension",
"path": "ActivityDefinition.participant.modifierExtension",
"short": "Extensions that cannot be ignored even if unrecognized",
"definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4B/extensibility.html#modifierExtension).",
"alias": [
"extensions",
"user content",
"modifiers"
],
"min": 0,
"max": "*",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"isModifier": true,
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "ActivityDefinition.participant.type",
"path": "ActivityDefinition.participant.type",
"short": "patient | practitioner | related-person | device",
"definition": "The type of participant in the action.",
"min": 1,
"max": "1",
"base": {
"path": "ActivityDefinition.participant.type",
"min": 1,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"binding": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "ActivityParticipantType"
}
],
"strength": "required",
"description": "The type of participant in the activity.",
"valueSet": "http://hl7.org/fhir/ValueSet/action-participant-type|4.3.0"
},
"mapping": [
{
"identity": "rim",
"map": ".role.classCode"
}
]
},
{
"id": "ActivityDefinition.participant.role",
"path": "ActivityDefinition.participant.role",
"short": "E.g. Nurse, Surgeon, Parent, etc.",
"definition": "The role the participant should play in performing the described action.",
"min": 0,
"max": "1",
"base": {
"path": "ActivityDefinition.participant.role",
"min": 0,
"max": "1"
},
"type": [
{
"code": "CodeableConcept"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"binding": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "ActivityParticipantRole"
}
],
"strength": "example",
"description": "Defines roles played by participants for the action.",
"valueSet": "http://terminology.hl7.org/ValueSet/action-participant-role|2.0.0"
},
"mapping": [
{
"identity": "rim",
"map": ".role.code"
}
]
},
{
"id": "ActivityDefinition.product[x]",
"path": "ActivityDefinition.product[x]",
"short": "What's administered/supplied",
"definition": "Identifies the food, drug or other product being consumed or supplied in the activity.",
"min": 0,
"max": "1",
"base": {
"path": "ActivityDefinition.product[x]",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Reference",
"targetProfile": [
"http://hl7.org/fhir/StructureDefinition/Medication|4.3.0",
"http://hl7.org/fhir/StructureDefinition/Substance|4.3.0",
"http://hl7.org/fhir/StructureDefinition/Ingredient|4.3.0"
]
},
{
"code": "CodeableConcept"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"binding": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "ActivityProduct"
}
],
"strength": "example",
"description": "Code describing the type of substance or medication.",
"valueSet": "http://hl7.org/fhir/ValueSet/medication-codes|4.3.0"
},
"mapping": [
{
"identity": "rim",
"map": ".participation[typeCode=CSM].role"
}
]
},
{
"id": "ActivityDefinition.product[x].id",
"path": "ActivityDefinition.product[x].id",
"representation": [
"xmlAttr"
],
"short": "Unique id for inter-element referencing",
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "id"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ActivityDefinition.product[x].extension",
"path": "ActivityDefinition.product[x].extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"ordered": false,
"rules": "open"
},
"short": "Extension",
"definition": "An Extension",
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.product[x].extension:alternateReference",
"path": "ActivityDefinition.product[x].extension",
"sliceName": "alternateReference",
"short": "STU3: product",
"definition": "STU3: `ActivityDefinition.product[x]`",
"comment": "Element `ActivityDefinition.product[x]` is mapped to FHIR R4B element `ActivityDefinition.product[x]` as `SourceIsBroaderThanTarget`.\nThe standard extension `alternate-reference` has been mapped as the representation of FHIR STU3 element `ActivityDefinition.product[x]` with unmapped reference targets: Medication, Substance.\nSource element `ActivityDefinition.product[x]` has unmapped reference types. While the target element `ActivityDefinition.product[x]` is a choice type and does not allow extensions, the `alternate-reference` extension can be applied to Reference values within it.",
"min": 0,
"max": "1",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/StructureDefinition/alternate-reference|5.2.0"
]
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.quantity",
"path": "ActivityDefinition.quantity",
"short": "How much is administered/consumed/supplied",
"definition": "Identifies the quantity expected to be consumed at once (per dose, per meal, etc.).",
"alias": [
"dose"
],
"min": 0,
"max": "1",
"base": {
"path": "ActivityDefinition.quantity",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Quantity",
"profile": [
"http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.3.0"
]
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": ".quantity {for classCode=SPLY}"
}
]
},
{
"id": "ActivityDefinition.dosage",
"path": "ActivityDefinition.dosage",
"short": "Detailed dosage instructions",
"definition": "Provides detailed dosage instructions in the same way that they are described for MedicationRequest resources.",
"comment": "If a dosage instruction is used, the definition should not specify timing or quantity.",
"min": 0,
"max": "*",
"base": {
"path": "ActivityDefinition.dosage",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Dosage"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": ".outboundRelationship[typeCode=COMP].target[classCode=SBADM; moodCode=DEFN]"
}
]
},
{
"id": "ActivityDefinition.dosage.id",
"path": "ActivityDefinition.dosage.id",
"representation": [
"xmlAttr"
],
"short": "Unique id for inter-element referencing",
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "id"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ActivityDefinition.dosage.extension",
"path": "ActivityDefinition.dosage.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"ordered": false,
"rules": "open"
},
"short": "Extension",
"definition": "An Extension",
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.dosage.extension:dosage",
"path": "ActivityDefinition.dosage.extension",
"sliceName": "dosage",
"short": "STU3: dosage additional types",
"definition": "STU3: `ActivityDefinition.dosage` additional types (Dosage) additional types from child elements (additionalInstruction, asNeeded[x], dose[x], maxDosePerAdministration, maxDosePerLifetime, maxDosePerPeriod, method, patientInstruction, rate[x], route, sequence, site, text, timing)",
"comment": "Element `ActivityDefinition.dosage` is mapped to FHIR R4B element `ActivityDefinition.dosage` as `SourceIsBroaderThanTarget`.\nThe mappings for `ActivityDefinition.dosage` do not cover the following types: Dosage.\nThe mappings for `ActivityDefinition.dosage` do not cover the following types based on type expansion: additionalInstruction, asNeeded[x], dose[x], maxDosePerAdministration, maxDosePerLifetime, maxDosePerPeriod, method, patientInstruction, rate[x], route, sequence, site, text, timing.\nIf a dosage instruction is used, the definition should not specify timing or quantity.",
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.dosage|0.1.0"
]
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.dosage.modifierExtension",
"path": "ActivityDefinition.dosage.modifierExtension",
"short": "Extensions that cannot be ignored even if unrecognized",
"definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4B/extensibility.html#modifierExtension).",
"alias": [
"extensions",
"user content",
"modifiers"
],
"min": 0,
"max": "*",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"isModifier": true,
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "ActivityDefinition.dosage.sequence",
"path": "ActivityDefinition.dosage.sequence",
"short": "The order of the dosage instructions",
"definition": "Indicates the order in which the dosage instructions should be applied or interpreted.",
"requirements": "If the sequence number of multiple Dosages is the same, then it is implied that the instructions are to be treated as concurrent. If the sequence number is different, then the Dosages are intended to be sequential.",
"min": 0,
"max": "1",
"base": {
"path": "Dosage.sequence",
"min": 0,
"max": "1"
},
"type": [
{
"code": "integer"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "v2",
"map": "TQ1-1"
},
{
"identity": "rim",
"map": ".text"
}
]
},
{
"id": "ActivityDefinition.dosage.text",
"path": "ActivityDefinition.dosage.text",
"short": "Free text dosage instructions e.g. SIG",
"definition": "Free text dosage instructions e.g. SIG.",
"requirements": "Free text dosage instructions can be used for cases where the instructions are too complex to code. The content of this attribute does not include the name or description of the medication. When coded instructions are present, the free text instructions may still be present for display to humans taking or administering the medication. It is expected that the text instructions will always be populated. If the dosage.timing attribute is also populated, then the dosage.text should reflect the same information as the timing. Additional information about administration or preparation of the medication should be included as text.",
"min": 0,
"max": "1",
"base": {
"path": "Dosage.text",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "v2",
"map": "RXO-6; RXE-21"
},
{
"identity": "rim",
"map": ".text"
}
]
},
{
"id": "ActivityDefinition.dosage.additionalInstruction",
"path": "ActivityDefinition.dosage.additionalInstruction",
"short": "Supplemental instruction or warnings to the patient - e.g. \"with meals\", \"may cause drowsiness\"",
"definition": "Supplemental instructions to the patient on how to take the medication (e.g. \"with meals\" or\"take half to one hour before food\") or warnings for the patient about the medication (e.g. \"may cause drowsiness\" or \"avoid exposure of skin to direct sunlight or sunlamps\").",
"comment": "Information about administration or preparation of the medication (e.g. \"infuse as rapidly as possibly via intraperitoneal port\" or \"immediately following drug x\") should be populated in dosage.text.",
"requirements": "Additional instruction is intended to be coded, but where no code exists, the element could include text. For example, \"Swallow with plenty of water\" which might or might not be coded.",
"min": 0,
"max": "*",
"base": {
"path": "Dosage.additionalInstruction",
"min": 0,
"max": "*"
},
"type": [
{
"code": "CodeableConcept"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true,
"binding": {
"extension": [
{
"url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
"valueString": "A coded concept identifying additional instructions such as \"take with water\" or \"avoid operating heavy machinery\"."
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "AdditionalInstruction"
}
],
"strength": "example",
"valueSet": "http://hl7.org/fhir/ValueSet/additional-instruction-codes|4.3.0"
},
"mapping": [
{
"identity": "v2",
"map": "RXO-7"
},
{
"identity": "rim",
"map": ".text"
}
]
},
{
"id": "ActivityDefinition.dosage.patientInstruction",
"path": "ActivityDefinition.dosage.patientInstruction",
"short": "Patient or consumer oriented instructions",
"definition": "Instructions in terms that are understood by the patient or consumer.",
"min": 0,
"max": "1",
"base": {
"path": "Dosage.patientInstruction",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "v2",
"map": "RXO-7"
},
{
"identity": "rim",
"map": ".text"
}
]
},
{
"id": "ActivityDefinition.dosage.timing",
"path": "ActivityDefinition.dosage.timing",
"short": "When medication should be administered",
"definition": "When medication should be administered.",
"comment": "This attribute might not always be populated while the Dosage.text is expected to be populated. If both are populated, then the Dosage.text should reflect the content of the Dosage.timing.",
"requirements": "The timing schedule for giving the medication to the patient. This data type allows many different expressions. For example: \"Every 8 hours\"; \"Three times a day\"; \"1/2 an hour before breakfast for 10 days from 23-Dec 2011:\"; \"15 Oct 2013, 17 Oct 2013 and 1 Nov 2013\". Sometimes, a rate can imply duration when expressed as total volume / duration (e.g. 500mL/2 hours implies a duration of 2 hours). However, when rate doesn't imply duration (e.g. 250mL/hour), then the timing.repeat.duration is needed to convey the infuse over time period.",
"min": 0,
"max": "1",
"base": {
"path": "Dosage.timing",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Timing"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": ".effectiveTime"
}
]
},
{
"id": "ActivityDefinition.dosage.asNeeded[x]",
"path": "ActivityDefinition.dosage.asNeeded[x]",
"short": "Take \"as needed\" (for x)",
"definition": "Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept).",
"comment": "Can express \"as needed\" without a reason by setting the Boolean = True. In this case the CodeableConcept is not populated. Or you can express \"as needed\" with a reason by including the CodeableConcept. In this case the Boolean is assumed to be True. If you set the Boolean to False, then the dose is given according to the schedule and is not \"prn\" or \"as needed\".",
"min": 0,
"max": "1",
"base": {
"path": "Dosage.asNeeded[x]",
"min": 0,
"max": "1"
},
"type": [
{
"code": "boolean"
},
{
"code": "CodeableConcept"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true,
"binding": {
"extension": [
{
"url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
"valueString": "A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example \"pain\", \"30 minutes prior to sexual intercourse\", \"on flare-up\" etc."
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "MedicationAsNeededReason"
}
],
"strength": "example",
"valueSet": "http://hl7.org/fhir/ValueSet/medication-as-needed-reason|4.3.0"
},
"mapping": [
{
"identity": "v2",
"map": "TQ1-9"
},
{
"identity": "rim",
"map": ".outboundRelationship[typeCode=PRCN].target[classCode=OBS, moodCode=EVN, code=\"as needed\"].value=boolean or codable concept"
}
]
},
{
"id": "ActivityDefinition.dosage.site",
"path": "ActivityDefinition.dosage.site",
"short": "Body site to administer to",
"definition": "Body site to administer to.",
"comment": "If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [bodySite](http://hl7.org/fhir/R4B/extension-bodysite.html). May be a summary code, or a reference to a very precise definition of the location, or both.",
"requirements": "A coded specification of the anatomic site where the medication first enters the body.",
"min": 0,
"max": "1",
"base": {
"path": "Dosage.site",
"min": 0,
"max": "1"
},
"type": [
{
"code": "CodeableConcept"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true,
"binding": {
"extension": [
{
"url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
"valueString": "A coded concept describing the site location the medicine enters into or onto the body."
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "MedicationAdministrationSite"
}
],
"strength": "example",
"valueSet": "http://hl7.org/fhir/ValueSet/approach-site-codes|4.3.0"
},
"mapping": [
{
"identity": "v2",
"map": "RXR-2"
},
{
"identity": "rim",
"map": ".approachSiteCode"
}
]
},
{
"id": "ActivityDefinition.dosage.route",
"path": "ActivityDefinition.dosage.route",
"short": "How drug should enter body",
"definition": "How drug should enter body.",
"requirements": "A code specifying the route or physiological path of administration of a therapeutic agent into or onto a patient's body.",
"min": 0,
"max": "1",
"base": {
"path": "Dosage.route",
"min": 0,
"max": "1"
},
"type": [
{
"code": "CodeableConcept"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true,
"binding": {
"extension": [
{
"url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
"valueString": "A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject."
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "RouteOfAdministration"
}
],
"strength": "example",
"valueSet": "http://hl7.org/fhir/ValueSet/route-codes|4.3.0"
},
"mapping": [
{
"identity": "v2",
"map": "RXR-1"
},
{
"identity": "rim",
"map": ".routeCode"
}
]
},
{
"id": "ActivityDefinition.dosage.method",
"path": "ActivityDefinition.dosage.method",
"short": "Technique for administering medication",
"definition": "Technique for administering medication.",
"comment": "Terminologies used often pre-coordinate this term with the route and or form of administration.",
"requirements": "A coded value indicating the method by which the medication is introduced into or onto the body. Most commonly used for injections. For examples, Slow Push; Deep IV.",
"min": 0,
"max": "1",
"base": {
"path": "Dosage.method",
"min": 0,
"max": "1"
},
"type": [
{
"code": "CodeableConcept"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true,
"binding": {
"extension": [
{
"url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
"valueString": "A coded concept describing the technique by which the medicine is administered."
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "MedicationAdministrationMethod"
}
],
"strength": "example",
"valueSet": "http://hl7.org/fhir/ValueSet/administration-method-codes|4.3.0"
},
"mapping": [
{
"identity": "v2",
"map": "RXR-4"
},
{
"identity": "rim",
"map": ".doseQuantity"
}
]
},
{
"id": "ActivityDefinition.dosage.doseAndRate",
"path": "ActivityDefinition.dosage.doseAndRate",
"short": "Amount of medication administered",
"definition": "The amount of medication administered.",
"min": 0,
"max": "*",
"base": {
"path": "Dosage.doseAndRate",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Element"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children unless an empty Parameters resource",
"expression": "hasValue() or (children().count() > id.count()) or $this is Parameters",
"xpath": "@value|f:*|h:div|self::f:Parameters",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "v2",
"map": "TQ1-2"
}
]
},
{
"id": "ActivityDefinition.dosage.doseAndRate.id",
"path": "ActivityDefinition.dosage.doseAndRate.id",
"representation": [
"xmlAttr"
],
"short": "Unique id for inter-element referencing",
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ActivityDefinition.dosage.doseAndRate.extension",
"path": "ActivityDefinition.dosage.doseAndRate.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ActivityDefinition.dosage.doseAndRate.type",
"path": "ActivityDefinition.dosage.doseAndRate.type",
"short": "The kind of dose or rate specified",
"definition": "The kind of dose or rate specified, for example, ordered or calculated.",
"requirements": "If the type is not populated, assume to be \"ordered\".",
"min": 0,
"max": "1",
"base": {
"path": "Dosage.doseAndRate.type",
"min": 0,
"max": "1"
},
"type": [
{
"code": "CodeableConcept"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true,
"binding": {
"extension": [
{
"url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
"valueString": "The kind of dose or rate specified."
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "DoseAndRateType"
}
],
"strength": "example",
"valueSet": "http://hl7.org/fhir/ValueSet/dose-rate-type|4.3.0"
},
"mapping": [
{
"identity": "v2",
"map": "RXO-21; RXE-23"
}
]
},
{
"id": "ActivityDefinition.dosage.doseAndRate.dose[x]",
"path": "ActivityDefinition.dosage.doseAndRate.dose[x]",
"short": "Amount of medication per dose",
"definition": "Amount of medication per dose.",
"comment": "Note that this specifies the quantity of the specified medication, not the quantity for each active ingredient(s). Each ingredient amount can be communicated in the Medication resource. For example, if one wants to communicate that a tablet was 375 mg, where the dose was one tablet, you can use the Medication resource to document that the tablet was comprised of 375 mg of drug XYZ. Alternatively if the dose was 375 mg, then you may only need to use the Medication resource to indicate this was a tablet. If the example were an IV such as dopamine and you wanted to communicate that 400mg of dopamine was mixed in 500 ml of some IV solution, then this would all be communicated in the Medication resource. If the administration is not intended to be instantaneous (rate is present or timing has a duration), this can be specified to convey the total amount to be administered over the period of time as indicated by the schedule e.g. 500 ml in dose, with timing used to convey that this should be done over 4 hours.",
"requirements": "The amount of therapeutic or other substance given at one administration event.",
"min": 0,
"max": "1",
"base": {
"path": "Dosage.doseAndRate.dose[x]",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Range"
},
{
"code": "Quantity",
"profile": [
"http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.3.0"
]
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "v2",
"map": "RXO-2, RXE-3"
},
{
"identity": "rim",
"map": ".doseQuantity"
}
]
},
{
"id": "ActivityDefinition.dosage.doseAndRate.rate[x]",
"path": "ActivityDefinition.dosage.doseAndRate.rate[x]",
"short": "Amount of medication per unit of time",
"definition": "Amount of medication per unit of time.",
"comment": "It is possible to supply both a rate and a doseQuantity to provide full details about how the medication is to be administered and supplied. If the rate is intended to change over time, depending on local rules/regulations, each change should be captured as a new version of the MedicationRequest with an updated rate, or captured with a new MedicationRequest with the new rate.\r\rIt is possible to specify a rate over time (for example, 100 ml/hour) using either the rateRatio and rateQuantity. The rateQuantity approach requires systems to have the capability to parse UCUM grammer where ml/hour is included rather than a specific ratio where the time is specified as the denominator. Where a rate such as 500ml over 2 hours is specified, the use of rateRatio may be more semantically correct than specifying using a rateQuantity of 250 mg/hour.",
"requirements": "Identifies the speed with which the medication was or will be introduced into the patient. Typically the rate for an infusion e.g. 100 ml per 1 hour or 100 ml/hr. May also be expressed as a rate per unit of time e.g. 500 ml per 2 hours. Other examples: 200 mcg/min or 200 mcg/1 minute; 1 liter/8 hours. Sometimes, a rate can imply duration when expressed as total volume / duration (e.g. 500mL/2 hours implies a duration of 2 hours). However, when rate doesn't imply duration (e.g. 250mL/hour), then the timing.repeat.duration is needed to convey the infuse over time period.",
"min": 0,
"max": "1",
"base": {
"path": "Dosage.doseAndRate.rate[x]",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Ratio"
},
{
"code": "Range"
},
{
"code": "Quantity",
"profile": [
"http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.3.0"
]
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "v2",
"map": "RXE22, RXE23, RXE-24"
},
{
"identity": "rim",
"map": ".rateQuantity"
}
]
},
{
"id": "ActivityDefinition.dosage.maxDosePerPeriod",
"path": "ActivityDefinition.dosage.maxDosePerPeriod",
"short": "Upper limit on medication per unit of time",
"definition": "Upper limit on medication per unit of time.",
"comment": "This is intended for use as an adjunct to the dosage when there is an upper cap. For example \"2 tablets every 4 hours to a maximum of 8/day\".",
"requirements": "The maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time. For example, 1000mg in 24 hours.",
"min": 0,
"max": "1",
"base": {
"path": "Dosage.maxDosePerPeriod",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Ratio"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "v2",
"map": "RXO-23, RXE-19"
},
{
"identity": "rim",
"map": ".maxDoseQuantity"
}
]
},
{
"id": "ActivityDefinition.dosage.maxDosePerAdministration",
"path": "ActivityDefinition.dosage.maxDosePerAdministration",
"short": "Upper limit on medication per administration",
"definition": "Upper limit on medication per administration.",
"comment": "This is intended for use as an adjunct to the dosage when there is an upper cap. For example, a body surface area related dose with a maximum amount, such as 1.5 mg/m2 (maximum 2 mg) IV over 5 – 10 minutes would have doseQuantity of 1.5 mg/m2 and maxDosePerAdministration of 2 mg.",
"requirements": "The maximum total quantity of a therapeutic substance that may be administered to a subject per administration.",
"min": 0,
"max": "1",
"base": {
"path": "Dosage.maxDosePerAdministration",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Quantity",
"profile": [
"http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.3.0"
]
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "not supported"
}
]
},
{
"id": "ActivityDefinition.dosage.maxDosePerLifetime",
"path": "ActivityDefinition.dosage.maxDosePerLifetime",
"short": "Upper limit on medication per lifetime of the patient",
"definition": "Upper limit on medication per lifetime of the patient.",
"requirements": "The maximum total quantity of a therapeutic substance that may be administered per lifetime of the subject.",
"min": 0,
"max": "1",
"base": {
"path": "Dosage.maxDosePerLifetime",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Quantity",
"profile": [
"http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.3.0"
]
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "not supported"
}
]
},
{
"id": "ActivityDefinition.bodySite",
"path": "ActivityDefinition.bodySite",
"short": "What part of body to perform on",
"definition": "Indicates the sites on the subject's body where the procedure should be performed (I.e. the target sites).",
"comment": "Only used if not implicit in the code found in ServiceRequest.type.",
"requirements": "Knowing where the procedure is made is important for tracking if multiple sites are possible.",
"min": 0,
"max": "*",
"base": {
"path": "ActivityDefinition.bodySite",
"min": 0,
"max": "*"
},
"type": [
{
"code": "CodeableConcept"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"binding": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "BodySite"
}
],
"strength": "example",
"description": "A code that identifies the anatomical location.",
"valueSet": "http://hl7.org/fhir/ValueSet/body-site|4.3.0"
},
"mapping": [
{
"identity": "rim",
"map": ".targetSiteCode {for classCode=PROC, SBADM}"
}
]
},
{
"id": "ActivityDefinition.specimenRequirement",
"path": "ActivityDefinition.specimenRequirement",
"short": "What specimens are required to perform this action",
"definition": "Defines specimen requirements for the action to be performed, such as required specimens for a lab test.",
"requirements": "Needed to represent lab order definitions.",
"min": 0,
"max": "*",
"base": {
"path": "ActivityDefinition.specimenRequirement",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Reference",
"targetProfile": [
"http://hl7.org/fhir/StructureDefinition/SpecimenDefinition|4.3.0"
]
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "ActivityDefinition.observationRequirement",
"path": "ActivityDefinition.observationRequirement",
"short": "What observations are required to perform this action",
"definition": "Defines observation requirements for the action to be performed, such as body weight or surface area.",
"requirements": "Needed to represent observation definitions.",
"min": 0,
"max": "*",
"base": {
"path": "ActivityDefinition.observationRequirement",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Reference",
"targetProfile": [
"http://hl7.org/fhir/StructureDefinition/ObservationDefinition|4.3.0"
]
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "ActivityDefinition.observationResultRequirement",
"path": "ActivityDefinition.observationResultRequirement",
"short": "What observations must be produced by this action",
"definition": "Defines the observations that are expected to be produced by the action.",
"min": 0,
"max": "*",
"base": {
"path": "ActivityDefinition.observationResultRequirement",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Reference",
"targetProfile": [
"http://hl7.org/fhir/StructureDefinition/ObservationDefinition|4.3.0"
]
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "ActivityDefinition.transform",
"path": "ActivityDefinition.transform",
"short": "Transform to apply the template",
"definition": "A reference to a StructureMap resource that defines a transform that can be executed to produce the intent resource using the ActivityDefinition instance as the input.",
"comment": "Note that if both a transform and dynamic values are specified, the dynamic values will be applied to the result of the transform.",
"min": 0,
"max": "1",
"base": {
"path": "ActivityDefinition.transform",
"min": 0,
"max": "1"
},
"type": [
{
"code": "canonical",
"targetProfile": [
"http://hl7.org/fhir/StructureDefinition/StructureMap|4.3.0"
]
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "ActivityDefinition.transform.id",
"path": "ActivityDefinition.transform.id",
"representation": [
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references)",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.transform.extension",
"path": "ActivityDefinition.transform.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"ordered": false,
"rules": "open"
},
"short": "Extension",
"definition": "An Extension",
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.transform.extension:transform",
"path": "ActivityDefinition.transform.extension",
"sliceName": "transform",
"short": "STU3: transform additional types",
"definition": "STU3: `ActivityDefinition.transform` additional types (Reference(http://hl7.org/fhir/StructureDefinition/StructureMap)) additional types from child elements (display, identifier, reference)",
"comment": "Element `ActivityDefinition.transform` is mapped to FHIR R4B element `ActivityDefinition.transform` as `SourceIsBroaderThanTarget`.\nThe mappings for `ActivityDefinition.transform` do not cover the following types: Reference.\nThe mappings for `ActivityDefinition.transform` do not cover the following types based on type expansion: display, identifier, reference.",
"min": 0,
"max": "1",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.transform|0.1.0"
]
}
],
"condition": [
"ele-1"
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children unless an empty Parameters resource",
"expression": "hasValue() or (children().count() > id.count()) or $this is Parameters",
"xpath": "@value|f:*|h:div|self::f:Parameters",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.transform.value",
"path": "ActivityDefinition.transform.value",
"representation": [
"xmlAttr"
],
"short": "Primitive value for canonical",
"definition": "Primitive value for canonical",
"min": 0,
"max": "1",
"base": {
"path": "uri.value",
"min": 0,
"max": "1"
},
"type": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "canonical"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/regex",
"valueString": "\\S*"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.dynamicValue",
"path": "ActivityDefinition.dynamicValue",
"short": "Dynamic aspects of the definition",
"definition": "Dynamic values that will be evaluated to produce values for elements of the resulting resource. For example, if the dosage of a medication must be computed based on the patient's weight, a dynamic value would be used to specify an expression that calculated the weight, and the path on the request resource that would contain the result.",
"comment": "Dynamic values are applied in the order in which they are defined in the ActivityDefinition. Note that if both a transform and dynamic values are specified, the dynamic values will be applied to the result of the transform.",
"min": 0,
"max": "*",
"base": {
"path": "ActivityDefinition.dynamicValue",
"min": 0,
"max": "*"
},
"type": [
{
"code": "BackboneElement"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children unless an empty Parameters resource",
"expression": "hasValue() or (children().count() > id.count()) or $this is Parameters",
"xpath": "@value|f:*|h:div|self::f:Parameters",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "ActivityDefinition.dynamicValue.id",
"path": "ActivityDefinition.dynamicValue.id",
"representation": [
"xmlAttr"
],
"short": "Unique id for inter-element referencing",
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ActivityDefinition.dynamicValue.extension",
"path": "ActivityDefinition.dynamicValue.extension",
"short": "Additional content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ActivityDefinition.dynamicValue.modifierExtension",
"path": "ActivityDefinition.dynamicValue.modifierExtension",
"short": "Extensions that cannot be ignored even if unrecognized",
"definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4B/extensibility.html#modifierExtension).",
"alias": [
"extensions",
"user content",
"modifiers"
],
"min": 0,
"max": "*",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"isModifier": true,
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "ActivityDefinition.dynamicValue.path",
"path": "ActivityDefinition.dynamicValue.path",
"short": "The path to the element to be set dynamically",
"definition": "The path to the element to be customized. This is the path on the resource that will hold the result of the calculation defined by the expression. The specified path SHALL be a FHIRPath resolveable on the specified target type of the ActivityDefinition, and SHALL consist only of identifiers, constant indexers, and a restricted subset of functions. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](http://hl7.org/fhir/R4B/fhirpath.html#simple) for full details).",
"comment": "The path attribute contains a [Simple FHIRPath Subset](http://hl7.org/fhir/R4B/fhirpath.html#simple) that allows path traversal, but not calculation.",
"min": 1,
"max": "1",
"base": {
"path": "ActivityDefinition.dynamicValue.path",
"min": 1,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "ActivityDefinition.dynamicValue.expression",
"path": "ActivityDefinition.dynamicValue.expression",
"short": "An expression that provides the dynamic value for the customization",
"definition": "An expression specifying the value of the customized element.",
"comment": "The expression may be inlined, or may be a reference to a named expression within a logic library referenced by the library element.",
"min": 1,
"max": "1",
"base": {
"path": "ActivityDefinition.dynamicValue.expression",
"min": 1,
"max": "1"
},
"type": [
{
"code": "Expression"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"mustSupport": false,
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "ActivityDefinition.dynamicValue.expression.id",
"path": "ActivityDefinition.dynamicValue.expression.id",
"representation": [
"xmlAttr"
],
"short": "Unique id for inter-element referencing",
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "id"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ActivityDefinition.dynamicValue.expression.extension",
"path": "ActivityDefinition.dynamicValue.expression.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"ordered": false,
"rules": "open"
},
"short": "Extension",
"definition": "An Extension",
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.dynamicValue.expression.extension:description",
"path": "ActivityDefinition.dynamicValue.expression.extension",
"sliceName": "description",
"short": "STU3: Natural language description of the dynamic value additional types",
"definition": "STU3: `ActivityDefinition.dynamicValue.description` additional types (string) additional types from child elements (value)",
"comment": "Element `ActivityDefinition.dynamicValue.description` is mapped to FHIR R4B element `ActivityDefinition.dynamicValue.expression` as `SourceIsBroaderThanTarget`.\nThe mappings for `ActivityDefinition.dynamicValue.description` do not cover the following types: string.\nThe mappings for `ActivityDefinition.dynamicValue.description` do not cover the following types based on type expansion: value.",
"min": 0,
"max": "1",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.dynamicValue.description|0.1.0"
]
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.dynamicValue.expression.extension:language",
"path": "ActivityDefinition.dynamicValue.expression.extension",
"sliceName": "language",
"short": "STU3: Language of the expression additional types",
"definition": "STU3: `ActivityDefinition.dynamicValue.language` additional types (string) additional types from child elements (value)",
"comment": "Element `ActivityDefinition.dynamicValue.language` is mapped to FHIR R4B element `ActivityDefinition.dynamicValue.expression` as `SourceIsBroaderThanTarget`.\nThe mappings for `ActivityDefinition.dynamicValue.language` do not cover the following types: string.\nThe mappings for `ActivityDefinition.dynamicValue.language` do not cover the following types based on type expansion: value.",
"min": 0,
"max": "1",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.dynamicValue.language|0.1.0"
]
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.dynamicValue.expression.extension:expression",
"path": "ActivityDefinition.dynamicValue.expression.extension",
"sliceName": "expression",
"short": "STU3: expression additional types",
"definition": "STU3: `ActivityDefinition.dynamicValue.expression` additional types (string) additional types from child elements (value)",
"comment": "Element `ActivityDefinition.dynamicValue.expression` is mapped to FHIR R4B element `ActivityDefinition.dynamicValue.expression` as `SourceIsBroaderThanTarget`.\nThe mappings for `ActivityDefinition.dynamicValue.expression` do not cover the following types: string.\nThe mappings for `ActivityDefinition.dynamicValue.expression` do not cover the following types based on type expansion: value.\nThe expression may be inlined, or may be a reference to a named expression within a logic library referenced by the library element.",
"min": 0,
"max": "1",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.dynamicValue.expression|0.1.0"
]
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "ActivityDefinition.dynamicValue.expression.description",
"path": "ActivityDefinition.dynamicValue.expression.description",
"short": "Natural language description of the condition",
"definition": "A brief, natural language description of the condition that effectively communicates the intended semantics.",
"min": 0,
"max": "1",
"base": {
"path": "Expression.description",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true
},
{
"id": "ActivityDefinition.dynamicValue.expression.name",
"path": "ActivityDefinition.dynamicValue.expression.name",
"short": "Short name assigned to expression for reuse",
"definition": "A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.",
"min": 0,
"max": "1",
"base": {
"path": "Expression.name",
"min": 0,
"max": "1"
},
"type": [
{
"code": "id"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true
},
{
"id": "ActivityDefinition.dynamicValue.expression.language",
"path": "ActivityDefinition.dynamicValue.expression.language",
"short": "text/cql | text/fhirpath | application/x-fhir-query | text/cql-identifier | text/cql-expression | etc.",
"definition": "The media type of the language for the expression.",
"min": 1,
"max": "1",
"base": {
"path": "Expression.language",
"min": 1,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true,
"binding": {
"extension": [
{
"url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
"valueString": "The media type of the expression language."
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
"valueCanonical": "http://hl7.org/fhir/ValueSet/mimetypes|4.3.0"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "ExpressionLanguage"
}
],
"strength": "extensible",
"valueSet": "http://hl7.org/fhir/ValueSet/expression-language|4.3.0"
}
},
{
"id": "ActivityDefinition.dynamicValue.expression.expression",
"path": "ActivityDefinition.dynamicValue.expression.expression",
"short": "Expression in specified language",
"definition": "An expression in the specified language that returns a value.",
"min": 0,
"max": "1",
"base": {
"path": "Expression.expression",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true
},
{
"id": "ActivityDefinition.dynamicValue.expression.reference",
"path": "ActivityDefinition.dynamicValue.expression.reference",
"short": "Where the expression is found",
"definition": "A URI that defines where the expression is found.",
"comment": "If both a reference and an expression is found, the reference SHALL point to the same expression.",
"min": 0,
"max": "1",
"base": {
"path": "Expression.reference",
"min": 0,
"max": "1"
},
"type": [
{
"code": "uri"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
}
],
"isModifier": false,
"isSummary": true
}
]
},
"differential": {
"element": [
{
"id": "ActivityDefinition",
"path": "ActivityDefinition"
},
{
"id": "ActivityDefinition.meta.extension",
"path": "ActivityDefinition.meta.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"ordered": false,
"rules": "open"
},
"min": 0,
"max": "*"
},
{
"id": "ActivityDefinition.meta.extension:meta",
"path": "ActivityDefinition.meta.extension",
"sliceName": "meta",
"short": "STU3: meta additional types",
"definition": "STU3: `ActivityDefinition.meta` additional types (Meta) additional types from child elements (lastUpdated, profile, security, tag, versionId)",
"comment": "Element `ActivityDefinition.meta` is mapped to FHIR R4B element `ActivityDefinition.meta` as `SourceIsBroaderThanTarget`.\nThe mappings for `ActivityDefinition.meta` do not cover the following types: Meta.\nThe mappings for `ActivityDefinition.meta` do not cover the following types based on type expansion: lastUpdated, profile, security, tag, versionId.",
"min": 0,
"max": "1",
"base": {
"path": "DomainResource.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.meta|0.1.0"
]
}
]
},
{
"id": "ActivityDefinition.text.extension",
"path": "ActivityDefinition.text.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"ordered": false,
"rules": "open"
},
"min": 0,
"max": "*"
},
{
"id": "ActivityDefinition.text.extension:text",
"path": "ActivityDefinition.text.extension",
"sliceName": "text",
"short": "STU3: text additional types",
"definition": "STU3: `ActivityDefinition.text` additional types (Narrative) additional types from child elements (div, status)",
"comment": "Element `ActivityDefinition.text` is mapped to FHIR R4B element `ActivityDefinition.text` as `SourceIsBroaderThanTarget`.\nThe mappings for `ActivityDefinition.text` do not cover the following types: Narrative.\nThe mappings for `ActivityDefinition.text` do not cover the following types based on type expansion: div, status.\nContained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded in formation is added later.",
"min": 0,
"max": "1",
"base": {
"path": "DomainResource.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.text|0.1.0"
]
}
]
},
{
"id": "ActivityDefinition.extension",
"path": "ActivityDefinition.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"ordered": false,
"rules": "open"
},
"min": 0,
"max": "*"
},
{
"id": "ActivityDefinition.extension:contributor",
"path": "ActivityDefinition.extension",
"sliceName": "contributor",
"short": "STU3: A content contributor (new)",
"definition": "STU3: `ActivityDefinition.contributor` (new:Contributor)",
"comment": "Element `ActivityDefinition.contributor` has a context of ActivityDefinition based on following the parent source element upwards and mapping to `ActivityDefinition`.\nElement `ActivityDefinition.contributor` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element).",
"min": 0,
"max": "*",
"base": {
"path": "DomainResource.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.contributor|0.1.0"
]
}
]
},
{
"id": "ActivityDefinition.extension:timing",
"path": "ActivityDefinition.extension",
"sliceName": "timing",
"short": "STU3: timing additional types",
"definition": "STU3: `ActivityDefinition.timing[x]` additional types (Timing, Period, Range)",
"comment": "Element `ActivityDefinition.timing[x]` is mapped to FHIR R4B element `ActivityDefinition.timing[x]` as `SourceIsBroaderThanTarget`.\nThe mappings for `ActivityDefinition.timing[x]` do not cover the following types: Period, Range, Timing.\nThe target context `ActivityDefinition.timing[x]` is a choice-type element and cannot directly hold extensions. The context is moved up to parent element `ActivityDefinition`.",
"min": 0,
"max": "1",
"base": {
"path": "DomainResource.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.timing|0.1.0"
]
}
]
},
{
"id": "ActivityDefinition.identifier.extension",
"path": "ActivityDefinition.identifier.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"ordered": false,
"rules": "open"
},
"min": 0,
"max": "*"
},
{
"id": "ActivityDefinition.identifier.extension:identifier",
"path": "ActivityDefinition.identifier.extension",
"sliceName": "identifier",
"short": "STU3: identifier additional types",
"definition": "STU3: `ActivityDefinition.identifier` additional types (Identifier) additional types from child elements (assigner, period, system, type, use, value)",
"comment": "Element `ActivityDefinition.identifier` is mapped to FHIR R4B element `ActivityDefinition.identifier` as `SourceIsBroaderThanTarget`.\nThe mappings for `ActivityDefinition.identifier` do not cover the following types: Identifier.\nThe mappings for `ActivityDefinition.identifier` do not cover the following types based on type expansion: assigner, period, system, type, use, value.\nTypically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, e.g., to identify this activity definition outside of FHIR, where it is not possible to use the logical URI.",
"min": 0,
"max": "*",
"base": {
"path": "DomainResource.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.identifier|0.1.0"
]
}
]
},
{
"id": "ActivityDefinition.contact.extension",
"path": "ActivityDefinition.contact.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"ordered": false,
"rules": "open"
},
"min": 0,
"max": "*"
},
{
"id": "ActivityDefinition.contact.extension:contact",
"path": "ActivityDefinition.contact.extension",
"sliceName": "contact",
"short": "STU3: contact additional types",
"definition": "STU3: `ActivityDefinition.contact` additional types (ContactDetail) additional types from child elements (name, telecom)",
"comment": "Element `ActivityDefinition.contact` is mapped to FHIR R4B element `ActivityDefinition.contact` as `SourceIsBroaderThanTarget`.\nThe mappings for `ActivityDefinition.contact` do not cover the following types: ContactDetail.\nThe mappings for `ActivityDefinition.contact` do not cover the following types based on type expansion: name, telecom.\nMay be a web site, an email address, a telephone number, etc.",
"min": 0,
"max": "*",
"base": {
"path": "DomainResource.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.contact|0.1.0"
]
}
]
},
{
"id": "ActivityDefinition.useContext.extension",
"path": "ActivityDefinition.useContext.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"ordered": false,
"rules": "open"
},
"min": 0,
"max": "*"
},
{
"id": "ActivityDefinition.useContext.extension:useContext",
"path": "ActivityDefinition.useContext.extension",
"sliceName": "useContext",
"short": "STU3: Context the content is intended to support additional types",
"definition": "STU3: `ActivityDefinition.useContext` additional types (UsageContext) additional types from child elements (code, value[x])",
"comment": "Element `ActivityDefinition.useContext` is mapped to FHIR R4B element `ActivityDefinition.useContext` as `SourceIsBroaderThanTarget`.\nThe mappings for `ActivityDefinition.useContext` do not cover the following types: UsageContext.\nThe mappings for `ActivityDefinition.useContext` do not cover the following types based on type expansion: code, value[x].\nWhen multiple useContexts are specified, there is no expectation whether all or any of the contexts apply.",
"min": 0,
"max": "*",
"base": {
"path": "DomainResource.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.useContext|0.1.0"
]
}
]
},
{
"id": "ActivityDefinition.effectivePeriod.extension",
"path": "ActivityDefinition.effectivePeriod.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"ordered": false,
"rules": "open"
},
"min": 0,
"max": "*"
},
{
"id": "ActivityDefinition.effectivePeriod.extension:effectivePeriod",
"path": "ActivityDefinition.effectivePeriod.extension",
"sliceName": "effectivePeriod",
"short": "STU3: effectivePeriod additional types",
"definition": "STU3: `ActivityDefinition.effectivePeriod` additional types (Period) additional types from child elements (end, start)",
"comment": "Element `ActivityDefinition.effectivePeriod` is mapped to FHIR R4B element `ActivityDefinition.effectivePeriod` as `SourceIsBroaderThanTarget`.\nThe mappings for `ActivityDefinition.effectivePeriod` do not cover the following types: Period.\nThe mappings for `ActivityDefinition.effectivePeriod` do not cover the following types based on type expansion: end, start.\nThe effective period for a activity definition determines when the content is applicable for usage and is independent of publication and review dates. For example, a measure intended to be used for the year 2016 might be published in 2015.",
"min": 0,
"max": "1",
"base": {
"path": "DomainResource.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.effectivePeriod|0.1.0"
]
}
]
},
{
"id": "ActivityDefinition.relatedArtifact.extension",
"path": "ActivityDefinition.relatedArtifact.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"ordered": false,
"rules": "open"
},
"min": 0,
"max": "*"
},
{
"id": "ActivityDefinition.relatedArtifact.extension:relatedArtifact",
"path": "ActivityDefinition.relatedArtifact.extension",
"sliceName": "relatedArtifact",
"short": "STU3: Additional documentation, citations, etc additional types",
"definition": "STU3: `ActivityDefinition.relatedArtifact` additional types (RelatedArtifact) additional types from child elements (citation, display, document, resource, type, url)",
"comment": "Element `ActivityDefinition.relatedArtifact` is mapped to FHIR R4B element `ActivityDefinition.relatedArtifact` as `SourceIsBroaderThanTarget`.\nThe mappings for `ActivityDefinition.relatedArtifact` do not cover the following types: RelatedArtifact.\nThe mappings for `ActivityDefinition.relatedArtifact` do not cover the following types based on type expansion: citation, display, document, resource, type, url.\nEach related artifact is either an attachment, or a reference to another resource, but not both.",
"min": 0,
"max": "*",
"base": {
"path": "DomainResource.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.relatedArtifact|0.1.0"
]
}
]
},
{
"id": "ActivityDefinition.library.extension",
"path": "ActivityDefinition.library.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"ordered": false,
"rules": "open"
},
"min": 0,
"max": "*"
},
{
"id": "ActivityDefinition.library.extension:library",
"path": "ActivityDefinition.library.extension",
"sliceName": "library",
"short": "STU3: Logic used by the asset additional types",
"definition": "STU3: `ActivityDefinition.library` additional types (Reference(http://hl7.org/fhir/StructureDefinition/Library)) additional types from child elements (display, identifier, reference)",
"comment": "Element `ActivityDefinition.library` is mapped to FHIR R4B element `ActivityDefinition.library` as `SourceIsBroaderThanTarget`.\nThe mappings for `ActivityDefinition.library` do not cover the following types: Reference.\nThe mappings for `ActivityDefinition.library` do not cover the following types based on type expansion: display, identifier, reference.",
"min": 0,
"max": "*",
"base": {
"path": "DomainResource.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.library|0.1.0"
]
}
]
},
{
"id": "ActivityDefinition.location.extension",
"path": "ActivityDefinition.location.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"ordered": false,
"rules": "open"
},
"min": 0,
"max": "*"
},
{
"id": "ActivityDefinition.location.extension:location",
"path": "ActivityDefinition.location.extension",
"sliceName": "location",
"short": "STU3: location additional types",
"definition": "STU3: `ActivityDefinition.location` additional types from child elements (display, identifier, reference)",
"comment": "Element `ActivityDefinition.location` is mapped to FHIR R4B element `ActivityDefinition.location` as `SourceIsBroaderThanTarget`.\nThe mappings for `ActivityDefinition.location` do not cover the following types based on type expansion: display, identifier, reference.\nThe standard extension `alternate-reference` has been mapped as the representation of FHIR STU3 element `ActivityDefinition.location` with unmapped reference targets: Location.\nMay reference a specific clinical location or may just identify a type of location.",
"min": 0,
"max": "1",
"base": {
"path": "DomainResource.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/StructureDefinition/alternate-reference|5.2.0"
]
}
]
},
{
"id": "ActivityDefinition.productReference.extension",
"path": "ActivityDefinition.productReference.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"ordered": false,
"rules": "open"
},
"min": 0,
"max": "*"
},
{
"id": "ActivityDefinition.productReference.extension:alternateReference",
"path": "ActivityDefinition.productReference.extension",
"sliceName": "alternateReference",
"short": "STU3: product",
"definition": "STU3: `ActivityDefinition.product[x]`",
"comment": "Element `ActivityDefinition.product[x]` is mapped to FHIR R4B element `ActivityDefinition.product[x]` as `SourceIsBroaderThanTarget`.\nThe standard extension `alternate-reference` has been mapped as the representation of FHIR STU3 element `ActivityDefinition.product[x]` with unmapped reference targets: Medication, Substance.\nSource element `ActivityDefinition.product[x]` has unmapped reference types. While the target element `ActivityDefinition.product[x]` is a choice type and does not allow extensions, the `alternate-reference` extension can be applied to Reference values within it.",
"base": {
"path": "DomainResource.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/StructureDefinition/alternate-reference|5.2.0"
]
}
]
},
{
"id": "ActivityDefinition.dosage.extension",
"path": "ActivityDefinition.dosage.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"ordered": false,
"rules": "open"
},
"min": 0,
"max": "*"
},
{
"id": "ActivityDefinition.dosage.extension:dosage",
"path": "ActivityDefinition.dosage.extension",
"sliceName": "dosage",
"short": "STU3: dosage additional types",
"definition": "STU3: `ActivityDefinition.dosage` additional types (Dosage) additional types from child elements (additionalInstruction, asNeeded[x], dose[x], maxDosePerAdministration, maxDosePerLifetime, maxDosePerPeriod, method, patientInstruction, rate[x], route, sequence, site, text, timing)",
"comment": "Element `ActivityDefinition.dosage` is mapped to FHIR R4B element `ActivityDefinition.dosage` as `SourceIsBroaderThanTarget`.\nThe mappings for `ActivityDefinition.dosage` do not cover the following types: Dosage.\nThe mappings for `ActivityDefinition.dosage` do not cover the following types based on type expansion: additionalInstruction, asNeeded[x], dose[x], maxDosePerAdministration, maxDosePerLifetime, maxDosePerPeriod, method, patientInstruction, rate[x], route, sequence, site, text, timing.\nIf a dosage instruction is used, the definition should not specify timing or quantity.",
"min": 0,
"max": "*",
"base": {
"path": "DomainResource.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.dosage|0.1.0"
]
}
]
},
{
"id": "ActivityDefinition.transform.extension",
"path": "ActivityDefinition.transform.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"ordered": false,
"rules": "open"
},
"min": 0,
"max": "*"
},
{
"id": "ActivityDefinition.transform.extension:transform",
"path": "ActivityDefinition.transform.extension",
"sliceName": "transform",
"short": "STU3: transform additional types",
"definition": "STU3: `ActivityDefinition.transform` additional types (Reference(http://hl7.org/fhir/StructureDefinition/StructureMap)) additional types from child elements (display, identifier, reference)",
"comment": "Element `ActivityDefinition.transform` is mapped to FHIR R4B element `ActivityDefinition.transform` as `SourceIsBroaderThanTarget`.\nThe mappings for `ActivityDefinition.transform` do not cover the following types: Reference.\nThe mappings for `ActivityDefinition.transform` do not cover the following types based on type expansion: display, identifier, reference.",
"min": 0,
"max": "1",
"base": {
"path": "DomainResource.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.transform|0.1.0"
]
}
]
},
{
"id": "ActivityDefinition.dynamicValue.expression.extension",
"path": "ActivityDefinition.dynamicValue.expression.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"ordered": false,
"rules": "open"
},
"min": 0,
"max": "*"
},
{
"id": "ActivityDefinition.dynamicValue.expression.extension:description",
"path": "ActivityDefinition.dynamicValue.expression.extension",
"sliceName": "description",
"short": "STU3: Natural language description of the dynamic value additional types",
"definition": "STU3: `ActivityDefinition.dynamicValue.description` additional types (string) additional types from child elements (value)",
"comment": "Element `ActivityDefinition.dynamicValue.description` is mapped to FHIR R4B element `ActivityDefinition.dynamicValue.expression` as `SourceIsBroaderThanTarget`.\nThe mappings for `ActivityDefinition.dynamicValue.description` do not cover the following types: string.\nThe mappings for `ActivityDefinition.dynamicValue.description` do not cover the following types based on type expansion: value.",
"min": 0,
"max": "1",
"base": {
"path": "DomainResource.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.dynamicValue.description|0.1.0"
]
}
]
},
{
"id": "ActivityDefinition.dynamicValue.expression.extension:language",
"path": "ActivityDefinition.dynamicValue.expression.extension",
"sliceName": "language",
"short": "STU3: Language of the expression additional types",
"definition": "STU3: `ActivityDefinition.dynamicValue.language` additional types (string) additional types from child elements (value)",
"comment": "Element `ActivityDefinition.dynamicValue.language` is mapped to FHIR R4B element `ActivityDefinition.dynamicValue.expression` as `SourceIsBroaderThanTarget`.\nThe mappings for `ActivityDefinition.dynamicValue.language` do not cover the following types: string.\nThe mappings for `ActivityDefinition.dynamicValue.language` do not cover the following types based on type expansion: value.",
"min": 0,
"max": "1",
"base": {
"path": "DomainResource.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.dynamicValue.language|0.1.0"
]
}
]
},
{
"id": "ActivityDefinition.dynamicValue.expression.extension:expression",
"path": "ActivityDefinition.dynamicValue.expression.extension",
"sliceName": "expression",
"short": "STU3: expression additional types",
"definition": "STU3: `ActivityDefinition.dynamicValue.expression` additional types (string) additional types from child elements (value)",
"comment": "Element `ActivityDefinition.dynamicValue.expression` is mapped to FHIR R4B element `ActivityDefinition.dynamicValue.expression` as `SourceIsBroaderThanTarget`.\nThe mappings for `ActivityDefinition.dynamicValue.expression` do not cover the following types: string.\nThe mappings for `ActivityDefinition.dynamicValue.expression` do not cover the following types based on type expansion: value.\nThe expression may be inlined, or may be a reference to a named expression within a logic library referenced by the library element.",
"min": 0,
"max": "1",
"base": {
"path": "DomainResource.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/3.0/StructureDefinition/extension-ActivityDefinition.dynamicValue.expression|0.1.0"
]
}
]
}
]
}
}