Extensions for Using Data Elements from FHIR R5 in FHIR STU3 - Downloaded Version null See the Directory of published versions
| Page standards status: Trial-use | Maturity Level: 0 |
Definitions for the ext-R5-ActivityDefinition.subject extension.
Guidance on how to interpret the contents of this table can be foundhere
| 0. Extension | |
| Definition | R5: Optional Extension Element - found in all resources. |
| Short | R5: Type of individual the activity definition is intended for (new)Optional Extensions Element |
| Comments | Element |
| Control | 0..1* This element is affected by the following invariants: ele-1 |
| Is Modifier | false |
| Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() | (children().count() > id.count()))ext-1: Must have either extensions or value[x], not both ( extension.exists() != value.exists())ele-1: All FHIR elements must have a @value or children (hasValue() | (children().count() > id.count())) ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists()) |
| 2. Extension.url | |
| Definition | Source of the definition for the extension code - a logical name or a URL. |
| Short | identifies the meaning of the extension |
| Comments | The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension. |
| Control | 1..1 |
| Type | uri |
| Primitive Value | This primitive element may be present, or absent, or replaced by an extension |
| XML Format | In the XML format, this property is represented as an attribute. |
| Fixed Value | http://hl7.org/fhir/5.0/StructureDefinition/extension-ActivityDefinition.subject |
| 4. Extension.value[x] | |
| 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. Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list). |
| Short | Type of individual the activity definition is intended forValue of extension |
| Comments | 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. |
| Control | 0..1 |
| Binding | Unless not suitable, these codes SHALL be taken from For codes, see R5ParticipantResourceTypesForR3 (0.1.0) (extensible to http://hl7.org/fhir/uv/xver/ValueSet/R5-participant-resource-types-for-R3|0.1.0)The possible types of subjects for an activity (E.g. Patient, Practitioner, Organization, Location, etc.). |
| Type | Choice of: CodeableConcept, Reference(Cross-version Profile for R5.Group for use in FHIR STU3, Group, Cross-version Profile for R5.MedicinalProductDefinition for use in FHIR STU3, Basic, Cross-version Profile for R5.SubstanceDefinition for use in FHIR STU3, Basic, Cross-version Profile for R5.AdministrableProductDefinition for use in FHIR STU3, Basic, Cross-version Profile for R5.ManufacturedItemDefinition for use in FHIR STU3, Basic, Cross-version Profile for R5.PackagedProductDefinition for use in FHIR STU3, Basic), uri(Cross-version Profile for R5.EvidenceVariable for use in FHIR STU3, Basic), date, dateTime, Meta, code, string, Address, Attachment, integer, oid, Count, instant, ContactPoint, HumanName, Money, Identifier, Coding, markdown, SampledData, Ratio, id, positiveInt, Age, Distance, Period, Quantity, Duration, Range, Annotation, boolean, base64Binary, Signature, unsignedInt, time, Timing, decimal |
| [x] Note | SeeChoice of Data Typesfor further information about how to use [x] |
| Primitive Value | This primitive element may be present, or absent, or replaced by an extension |
Guidance on how to interpret the contents of this table can be foundhere
| 0. Extension | |
| Definition | R5: |
| Short | R5: Type of individual the activity definition is intended for (new) |
| Comments | Element |
| Control | 0..1 |
| Is Modifier | false |
| 2. Extension.url | |
| Control | 1..1 |
| Fixed Value | http://hl7.org/fhir/5.0/StructureDefinition/extension-ActivityDefinition.subject |
| 4. Extension.value[x] | |
| 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. |
| Short | Type of individual the activity definition is intended for |
| Comments | 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. |
| Control | 0..1 |
| Binding | Unless not suitable, these codes SHALL be taken from R5ParticipantResourceTypesForR3 (0.1.0) (extensible to http://hl7.org/fhir/uv/xver/ValueSet/R5-participant-resource-types-for-R3|0.1.0)The possible types of subjects for an activity (E.g. Patient, Practitioner, Organization, Location, etc.). |
| Type | Choice of: CodeableConcept, Reference(Cross-version Profile for R5.Group for use in FHIR STU3, Group, Cross-version Profile for R5.MedicinalProductDefinition for use in FHIR STU3, Basic, Cross-version Profile for R5.SubstanceDefinition for use in FHIR STU3, Basic, Cross-version Profile for R5.AdministrableProductDefinition for use in FHIR STU3, Basic, Cross-version Profile for R5.ManufacturedItemDefinition for use in FHIR STU3, Basic, Cross-version Profile for R5.PackagedProductDefinition for use in FHIR STU3, Basic), uri(Cross-version Profile for R5.EvidenceVariable for use in FHIR STU3, Basic), date, dateTime, Meta, code, string, Address, Attachment, integer, oid, Count, instant, ContactPoint, HumanName, Money, Identifier, Coding, markdown, SampledData, Ratio, id, positiveInt, Age, Distance, Period, Quantity, Duration, Range, Annotation, boolean, base64Binary, Signature, unsignedInt, time, Timing, decimal |
| [x] Note | SeeChoice of Data Typesfor further information about how to use [x] |
| Primitive Value | This primitive element may be present, or absent, or replaced by an extension |
Guidance on how to interpret the contents of this table can be foundhere
| 0. Extension | |
| Definition | R5: |
| Short | R5: Type of individual the activity definition is intended for (new) |
| Comments | Element |
| Control | 0..1 This element is affected by the following invariants: ele-1 |
| Is Modifier | false |
| Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() | (children().count() > id.count()))ext-1: Must have either extensions or value[x], not both ( extension.exists() != value.exists()) |
| 2. Extension.id | |
| Definition | unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. |
| Short | xml:id (or equivalent in JSON) |
| Control | 0..1 |
| Type | string |
| Primitive Value | This primitive element may be present, or absent, or replaced by an extension |
| XML Format | In the XML format, this property is represented as an attribute. |
| 4. Extension.extension | |
| Definition | May be used to represent additional information that is not part of the basic definition of the element. In order 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. |
| Short | Additional Content defined by implementations |
| Comments | 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. |
| Control | 0..* |
| Type | Extension |
| Alternate Names | extensions, user content |
| Slicing | This element introduces a set of slices on Extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators: |
| 6. Extension.url | |
| Definition | Source of the definition for the extension code - a logical name or a URL. |
| Short | identifies the meaning of the extension |
| Comments | The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension. |
| Control | 1..1 |
| Type | uri |
| Primitive Value | This primitive element may be present, or absent, or replaced by an extension |
| XML Format | In the XML format, this property is represented as an attribute. |
| Fixed Value | http://hl7.org/fhir/5.0/StructureDefinition/extension-ActivityDefinition.subject |
| 8. Extension.value[x] | |
| 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. |
| Short | Type of individual the activity definition is intended for |
| Comments | 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. |
| Control | 0..1 |
| Binding | Unless not suitable, these codes SHALL be taken from R5ParticipantResourceTypesForR3 (0.1.0) (extensible to http://hl7.org/fhir/uv/xver/ValueSet/R5-participant-resource-types-for-R3|0.1.0)The possible types of subjects for an activity (E.g. Patient, Practitioner, Organization, Location, etc.). |
| Type | Choice of: CodeableConcept, Reference(Cross-version Profile for R5.Group for use in FHIR STU3, Group, Cross-version Profile for R5.MedicinalProductDefinition for use in FHIR STU3, Basic, Cross-version Profile for R5.SubstanceDefinition for use in FHIR STU3, Basic, Cross-version Profile for R5.AdministrableProductDefinition for use in FHIR STU3, Basic, Cross-version Profile for R5.ManufacturedItemDefinition for use in FHIR STU3, Basic, Cross-version Profile for R5.PackagedProductDefinition for use in FHIR STU3, Basic), uri(Cross-version Profile for R5.EvidenceVariable for use in FHIR STU3, Basic) |
| [x] Note | SeeChoice of Data Typesfor further information about how to use [x] |
| Primitive Value | This primitive element may be present, or absent, or replaced by an extension |