This page is part of the Order Catalog Implementation Guide (v0.1.0: STU 1 Ballot 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions
This profile constrains ActivityDefinition to represent the definition of a laboratory diagnostic procedure (test or panel) to be performed on one or more biological/digital specimens. The ActivityDefinition resource declares the observations that are expected as input to the procedure, the kinds of specimens to be collected, and the observations produced as output. Such a definition can be used in a laboratory compendium as well as in other contexts.
The official URL for this profile is:
http://hl7.org/fhir/uv/order-catalog/StructureDefinition/LabProcedureDefinition
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from ActivityDefinition
Summary
Mandatory: 2 elements
Must-Support: 14 elements
Fixed Value: 2 elements
Prohibited: 1 element
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
This structure is derived from ActivityDefinition
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
ActivityDefinition | 0..* | ActivityDefinition | The definition of a specific activity to be taken, independent of any particular patient or context | |
url | 1..1 | uri | Canonical identifier for this activity definition, represented as a URI (globally unique) | |
title | S | 0..1 | string | Name for this activity definition (human friendly) |
extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
translation | 0..* | (Complex) | Language Translation (Localization) URL: http://hl7.org/fhir/StructureDefinition/translation | |
date | S | 0..1 | dateTime | Date last changed |
publisher | S | 0..1 | string | Name of the publisher (organization or individual) |
contact | ||||
telecom | S | 0..* | ContactPoint | Contact details for individual or organization |
description | S | 0..1 | markdown | Natural language description of the activity definition |
effectivePeriod | ||||
start | S | 0..1 | dateTime | Starting time with inclusive boundary |
end | S | 0..1 | dateTime | End time with inclusive boundary, if not ongoing |
topic | S | 0..* | CodeableConcept | Categorization of the laboratory procedure |
kind | 1..1 | code | Kind of resource Fixed Value: ServiceRequest | |
code | S | 0..1 | CodeableConcept | Detail type of activity |
coding | 0..* | (Slice Definition) | Code for the laboratory procedure Slice: Unordered, Open by value:system | |
coding:orderCodeLOINC | S | 0..1 | Coding | LOINC code for the laboratory procedure |
system | S | 0..1 | uri | LOINC test code for this activity Fixed Value: http://loinc.org |
doNotPerform | 0..0 | |||
location | 0..1 | Reference(Location) | The physical sector of the laboratory performing the procedure | |
specimenRequirement | S | 0..* | Reference(Laboratory IVD Specimen Definition) | What specimens are required to perform this laboratory procedure |
observationRequirement | S | 0..* | Reference(Input Observation) | What observations are required to perform this laboratory procedure |
observationResultRequirement | S | 0..* | Reference(Laboratory Observation Definition) | What observations are produced by this laboratory procedure |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
ActivityDefinition | I | 0..* | ActivityDefinition | The definition of a specific activity to be taken, independent of any particular patient or context |
id | Σ | 0..1 | string | Logical id of this artifact |
meta | ΣI | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!ΣI | 0..1 | uri | A set of rules under which this content was created |
language | I | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!I | 0..* | Extension | Extensions that cannot be ignored |
url | ΣI | 1..1 | uri | Canonical identifier for this activity definition, represented as a URI (globally unique) |
identifier | ΣI | 0..* | Identifier | Additional identifier for the activity definition |
version | ΣI | 0..1 | string | Business version of the activity definition |
name | ΣI | 0..1 | string | Name for this activity definition (computer friendly) |
title | SΣI | 0..1 | string | Name for this activity definition (human friendly) |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | I | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
translation | I | 0..* | (Complex) | Language Translation (Localization) URL: http://hl7.org/fhir/StructureDefinition/translation |
value | 0..1 | string | Primitive value for string Max Length: 1048576 | |
subtitle | I | 0..1 | string | Subordinate title of the activity definition |
status | ?!ΣI | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required) |
experimental | ΣI | 0..1 | boolean | For testing purposes, not real usage |
subject[x] | I | 0..1 | Type of individual the activity definition is intended for Binding: SubjectType (extensible) | |
subjectCodeableConcept | CodeableConcept | |||
subjectReference | Reference(Group) | |||
date | SΣI | 0..1 | dateTime | Date last changed |
publisher | SΣI | 0..1 | string | Name of the publisher (organization or individual) |
contact | ΣI | 0..* | ContactDetail | Contact details for the publisher |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
name | ΣI | 0..1 | string | Name of an individual to contact |
telecom | SΣI | 0..* | ContactPoint | Contact details for individual or organization |
description | SΣI | 0..1 | markdown | Natural language description of the activity definition |
useContext | ΣI | 0..* | UsageContext | The context that the content is intended to support |
jurisdiction | ΣI | 0..* | CodeableConcept | Intended jurisdiction for activity definition (if applicable) Binding: Jurisdiction ValueSet (extensible) |
purpose | I | 0..1 | markdown | Why this activity definition is defined |
usage | I | 0..1 | string | Describes the clinical usage of the activity definition |
copyright | I | 0..1 | markdown | Use and/or publishing restrictions |
approvalDate | I | 0..1 | date | When the activity definition was approved by publisher |
lastReviewDate | I | 0..1 | date | When the activity definition was last reviewed |
effectivePeriod | ΣI | 0..1 | Period | When the activity definition is expected to be used |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
start | SΣI | 0..1 | dateTime | Starting time with inclusive boundary |
end | SΣI | 0..1 | dateTime | End time with inclusive boundary, if not ongoing |
topic | SI | 0..* | CodeableConcept | Categorization of the laboratory procedure Binding: DefinitionTopic (example) |
author | I | 0..* | ContactDetail | Who authored the content |
editor | I | 0..* | ContactDetail | Who edited the content |
reviewer | I | 0..* | ContactDetail | Who reviewed the content |
endorser | I | 0..* | ContactDetail | Who endorsed the content |
relatedArtifact | I | 0..* | RelatedArtifact | Additional documentation, citations, etc. |
library | I | 0..* | canonical(Library) | Logic used by the activity definition |
kind | ΣI | 1..1 | code | Kind of resource Binding: RequestResourceType (required) Fixed Value: ServiceRequest |
profile | I | 0..1 | canonical(StructureDefinition) | What profile the resource needs to conform to |
code | SΣI | 0..1 | CodeableConcept | Detail type of activity Binding: ProcedureCodes(SNOMEDCT) (example) |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
coding | ΣI | 0..* | (Slice Definition) | Code for the laboratory procedure Slice: Unordered, Open by value:system |
coding:orderCodeLOINC | SΣI | 0..1 | Coding | LOINC code for the laboratory procedure |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
system | SΣI | 0..1 | uri | LOINC test code for this activity Fixed Value: http://loinc.org |
version | ΣI | 0..1 | string | Version of the system - if relevant |
code | ΣI | 0..1 | code | Symbol in syntax defined by the system |
display | ΣI | 0..1 | string | Representation defined by the system |
userSelected | ΣI | 0..1 | boolean | If this coding was chosen directly by the user |
text | ΣI | 0..1 | string | Plain text representation of the concept |
intent | I | 0..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Binding: RequestIntent (required) |
priority | I | 0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required) |
timing[x] | I | 0..1 | When activity is to occur | |
timingTiming | Timing | |||
timingDateTime | dateTime | |||
timingAge | Age | |||
timingPeriod | Period | |||
timingRange | Range | |||
timingDuration | Duration | |||
location | I | 0..1 | Reference(Location) | The physical sector of the laboratory performing the procedure |
participant | I | 0..* | BackboneElement | Who should participate in the action |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
type | I | 1..1 | code | patient | practitioner | related-person | device Binding: ActionParticipantType (required) |
role | I | 0..1 | CodeableConcept | E.g. Nurse, Surgeon, Parent, etc. Binding: ActionParticipantRole (example) |
product[x] | I | 0..1 | What's administered/supplied Binding: SNOMEDCTMedicationCodes (example) | |
productReference | Reference(Medication | Substance) | |||
productCodeableConcept | CodeableConcept | |||
quantity | I | 0..1 | SimpleQuantity | How much is administered/consumed/supplied |
dosage | I | 0..* | Dosage | Detailed dosage instructions |
bodySite | I | 0..* | CodeableConcept | What part of body to perform on Binding: SNOMEDCTBodyStructures (example) |
specimenRequirement | SI | 0..* | Reference(Laboratory IVD Specimen Definition) | What specimens are required to perform this laboratory procedure |
observationRequirement | SI | 0..* | Reference(Input Observation) | What observations are required to perform this laboratory procedure |
observationResultRequirement | SI | 0..* | Reference(Laboratory Observation Definition) | What observations are produced by this laboratory procedure |
transform | I | 0..1 | canonical(StructureMap) | Transform to apply the template |
dynamicValue | I | 0..* | BackboneElement | Dynamic aspects of the definition |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
path | I | 1..1 | string | The path to the element to be set dynamically |
expression | I | 1..1 | Expression | An expression that provides the dynamic value for the customization |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
ActivityDefinition | I | 0..* | ActivityDefinition | The definition of a specific activity to be taken, independent of any particular patient or context |
title | ΣI | 0..1 | string | Name for this activity definition (human friendly) |
date | ΣI | 0..1 | dateTime | Date last changed |
publisher | ΣI | 0..1 | string | Name of the publisher (organization or individual) |
contact | ΣI | 0..* | ContactDetail | Contact details for the publisher |
telecom | ΣI | 0..* | ContactPoint | Contact details for individual or organization |
description | ΣI | 0..1 | markdown | Natural language description of the activity definition |
effectivePeriod | ΣI | 0..1 | Period | When the activity definition is expected to be used |
start | ΣI | 0..1 | dateTime | Starting time with inclusive boundary |
end | ΣI | 0..1 | dateTime | End time with inclusive boundary, if not ongoing |
topic | I | 0..* | CodeableConcept | Categorization of the laboratory procedure Binding: DefinitionTopic (example) |
code | ΣI | 0..1 | CodeableConcept | Detail type of activity Binding: ProcedureCodes(SNOMEDCT) (example) |
coding:orderCodeLOINC | ΣI | 0..1 | Coding | LOINC code for the laboratory procedure |
system | ΣI | 0..1 | uri | LOINC test code for this activity Fixed Value: http://loinc.org |
specimenRequirement | I | 0..* | Reference(Laboratory IVD Specimen Definition) | What specimens are required to perform this laboratory procedure |
observationRequirement | I | 0..* | Reference(Input Observation) | What observations are required to perform this laboratory procedure |
observationResultRequirement | I | 0..* | Reference(Laboratory Observation Definition) | What observations are produced by this laboratory procedure |
Documentation for this format |
This structure is derived from ActivityDefinition
Summary
Mandatory: 2 elements
Must-Support: 14 elements
Fixed Value: 2 elements
Prohibited: 1 element
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Differential View
This structure is derived from ActivityDefinition
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
ActivityDefinition | 0..* | ActivityDefinition | The definition of a specific activity to be taken, independent of any particular patient or context | |
url | 1..1 | uri | Canonical identifier for this activity definition, represented as a URI (globally unique) | |
title | S | 0..1 | string | Name for this activity definition (human friendly) |
extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
translation | 0..* | (Complex) | Language Translation (Localization) URL: http://hl7.org/fhir/StructureDefinition/translation | |
date | S | 0..1 | dateTime | Date last changed |
publisher | S | 0..1 | string | Name of the publisher (organization or individual) |
contact | ||||
telecom | S | 0..* | ContactPoint | Contact details for individual or organization |
description | S | 0..1 | markdown | Natural language description of the activity definition |
effectivePeriod | ||||
start | S | 0..1 | dateTime | Starting time with inclusive boundary |
end | S | 0..1 | dateTime | End time with inclusive boundary, if not ongoing |
topic | S | 0..* | CodeableConcept | Categorization of the laboratory procedure |
kind | 1..1 | code | Kind of resource Fixed Value: ServiceRequest | |
code | S | 0..1 | CodeableConcept | Detail type of activity |
coding | 0..* | (Slice Definition) | Code for the laboratory procedure Slice: Unordered, Open by value:system | |
coding:orderCodeLOINC | S | 0..1 | Coding | LOINC code for the laboratory procedure |
system | S | 0..1 | uri | LOINC test code for this activity Fixed Value: http://loinc.org |
doNotPerform | 0..0 | |||
location | 0..1 | Reference(Location) | The physical sector of the laboratory performing the procedure | |
specimenRequirement | S | 0..* | Reference(Laboratory IVD Specimen Definition) | What specimens are required to perform this laboratory procedure |
observationRequirement | S | 0..* | Reference(Input Observation) | What observations are required to perform this laboratory procedure |
observationResultRequirement | S | 0..* | Reference(Laboratory Observation Definition) | What observations are produced by this laboratory procedure |
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
ActivityDefinition | I | 0..* | ActivityDefinition | The definition of a specific activity to be taken, independent of any particular patient or context |
id | Σ | 0..1 | string | Logical id of this artifact |
meta | ΣI | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!ΣI | 0..1 | uri | A set of rules under which this content was created |
language | I | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!I | 0..* | Extension | Extensions that cannot be ignored |
url | ΣI | 1..1 | uri | Canonical identifier for this activity definition, represented as a URI (globally unique) |
identifier | ΣI | 0..* | Identifier | Additional identifier for the activity definition |
version | ΣI | 0..1 | string | Business version of the activity definition |
name | ΣI | 0..1 | string | Name for this activity definition (computer friendly) |
title | SΣI | 0..1 | string | Name for this activity definition (human friendly) |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | I | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
translation | I | 0..* | (Complex) | Language Translation (Localization) URL: http://hl7.org/fhir/StructureDefinition/translation |
value | 0..1 | string | Primitive value for string Max Length: 1048576 | |
subtitle | I | 0..1 | string | Subordinate title of the activity definition |
status | ?!ΣI | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required) |
experimental | ΣI | 0..1 | boolean | For testing purposes, not real usage |
subject[x] | I | 0..1 | Type of individual the activity definition is intended for Binding: SubjectType (extensible) | |
subjectCodeableConcept | CodeableConcept | |||
subjectReference | Reference(Group) | |||
date | SΣI | 0..1 | dateTime | Date last changed |
publisher | SΣI | 0..1 | string | Name of the publisher (organization or individual) |
contact | ΣI | 0..* | ContactDetail | Contact details for the publisher |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
name | ΣI | 0..1 | string | Name of an individual to contact |
telecom | SΣI | 0..* | ContactPoint | Contact details for individual or organization |
description | SΣI | 0..1 | markdown | Natural language description of the activity definition |
useContext | ΣI | 0..* | UsageContext | The context that the content is intended to support |
jurisdiction | ΣI | 0..* | CodeableConcept | Intended jurisdiction for activity definition (if applicable) Binding: Jurisdiction ValueSet (extensible) |
purpose | I | 0..1 | markdown | Why this activity definition is defined |
usage | I | 0..1 | string | Describes the clinical usage of the activity definition |
copyright | I | 0..1 | markdown | Use and/or publishing restrictions |
approvalDate | I | 0..1 | date | When the activity definition was approved by publisher |
lastReviewDate | I | 0..1 | date | When the activity definition was last reviewed |
effectivePeriod | ΣI | 0..1 | Period | When the activity definition is expected to be used |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
start | SΣI | 0..1 | dateTime | Starting time with inclusive boundary |
end | SΣI | 0..1 | dateTime | End time with inclusive boundary, if not ongoing |
topic | SI | 0..* | CodeableConcept | Categorization of the laboratory procedure Binding: DefinitionTopic (example) |
author | I | 0..* | ContactDetail | Who authored the content |
editor | I | 0..* | ContactDetail | Who edited the content |
reviewer | I | 0..* | ContactDetail | Who reviewed the content |
endorser | I | 0..* | ContactDetail | Who endorsed the content |
relatedArtifact | I | 0..* | RelatedArtifact | Additional documentation, citations, etc. |
library | I | 0..* | canonical(Library) | Logic used by the activity definition |
kind | ΣI | 1..1 | code | Kind of resource Binding: RequestResourceType (required) Fixed Value: ServiceRequest |
profile | I | 0..1 | canonical(StructureDefinition) | What profile the resource needs to conform to |
code | SΣI | 0..1 | CodeableConcept | Detail type of activity Binding: ProcedureCodes(SNOMEDCT) (example) |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
coding | ΣI | 0..* | (Slice Definition) | Code for the laboratory procedure Slice: Unordered, Open by value:system |
coding:orderCodeLOINC | SΣI | 0..1 | Coding | LOINC code for the laboratory procedure |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
system | SΣI | 0..1 | uri | LOINC test code for this activity Fixed Value: http://loinc.org |
version | ΣI | 0..1 | string | Version of the system - if relevant |
code | ΣI | 0..1 | code | Symbol in syntax defined by the system |
display | ΣI | 0..1 | string | Representation defined by the system |
userSelected | ΣI | 0..1 | boolean | If this coding was chosen directly by the user |
text | ΣI | 0..1 | string | Plain text representation of the concept |
intent | I | 0..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Binding: RequestIntent (required) |
priority | I | 0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required) |
timing[x] | I | 0..1 | When activity is to occur | |
timingTiming | Timing | |||
timingDateTime | dateTime | |||
timingAge | Age | |||
timingPeriod | Period | |||
timingRange | Range | |||
timingDuration | Duration | |||
location | I | 0..1 | Reference(Location) | The physical sector of the laboratory performing the procedure |
participant | I | 0..* | BackboneElement | Who should participate in the action |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
type | I | 1..1 | code | patient | practitioner | related-person | device Binding: ActionParticipantType (required) |
role | I | 0..1 | CodeableConcept | E.g. Nurse, Surgeon, Parent, etc. Binding: ActionParticipantRole (example) |
product[x] | I | 0..1 | What's administered/supplied Binding: SNOMEDCTMedicationCodes (example) | |
productReference | Reference(Medication | Substance) | |||
productCodeableConcept | CodeableConcept | |||
quantity | I | 0..1 | SimpleQuantity | How much is administered/consumed/supplied |
dosage | I | 0..* | Dosage | Detailed dosage instructions |
bodySite | I | 0..* | CodeableConcept | What part of body to perform on Binding: SNOMEDCTBodyStructures (example) |
specimenRequirement | SI | 0..* | Reference(Laboratory IVD Specimen Definition) | What specimens are required to perform this laboratory procedure |
observationRequirement | SI | 0..* | Reference(Input Observation) | What observations are required to perform this laboratory procedure |
observationResultRequirement | SI | 0..* | Reference(Laboratory Observation Definition) | What observations are produced by this laboratory procedure |
transform | I | 0..1 | canonical(StructureMap) | Transform to apply the template |
dynamicValue | I | 0..* | BackboneElement | Dynamic aspects of the definition |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
path | I | 1..1 | string | The path to the element to be set dynamically |
expression | I | 1..1 | Expression | An expression that provides the dynamic value for the customization |
Documentation for this format |
Other representations of profile: Schematron
Path | Conformance | ValueSet / Code |
ActivityDefinition.language | preferred | CommonLanguages Max Binding: AllLanguages |
ActivityDefinition.status | required | PublicationStatus |
ActivityDefinition.subject[x] | extensible | SubjectType |
ActivityDefinition.jurisdiction | extensible | Jurisdiction ValueSet |
ActivityDefinition.topic | example | DefinitionTopic |
ActivityDefinition.kind | required | Fixed Value: ServiceRequest |
ActivityDefinition.code | example | ProcedureCodes(SNOMEDCT) |
ActivityDefinition.intent | required | RequestIntent |
ActivityDefinition.priority | required | RequestPriority |
ActivityDefinition.participant.type | required | ActionParticipantType |
ActivityDefinition.participant.role | example | ActionParticipantRole |
ActivityDefinition.product[x] | example | SNOMEDCTMedicationCodes |
ActivityDefinition.bodySite | example | SNOMEDCTBodyStructures |
Id | Path | Details | Requirements |
adf-0 | ActivityDefinition | Name should be usable as an identifier for the module by machine processing applications such as code generation : name.matches('[A-Z]([A-Za-z0-9_]){0,254}') | |
dom-2 | ActivityDefinition | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | ActivityDefinition | 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 : contained.where((('#'+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(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | ActivityDefinition | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | ActivityDefinition | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | ActivityDefinition | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | ActivityDefinition.meta | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.implicitRules | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.language | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | ActivityDefinition.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | ActivityDefinition.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | ActivityDefinition.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | ActivityDefinition.url | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.version | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.name | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.title | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.title.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | ActivityDefinition.title.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | ActivityDefinition.title.extension:OtherTitle | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | ActivityDefinition.title.extension:OtherTitle | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | ActivityDefinition.subtitle | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.status | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.experimental | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.subject[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.date | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.publisher | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.contact | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.contact.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | ActivityDefinition.contact.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | ActivityDefinition.contact.name | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.contact.telecom | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.description | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.useContext | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.jurisdiction | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.purpose | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.usage | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.copyright | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.approvalDate | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.lastReviewDate | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.effectivePeriod | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.effectivePeriod.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | ActivityDefinition.effectivePeriod.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | ActivityDefinition.effectivePeriod.start | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.effectivePeriod.end | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.topic | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.author | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.editor | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.reviewer | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.endorser | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.relatedArtifact | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.library | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.kind | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.profile | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.code | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.code.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | ActivityDefinition.code.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | ActivityDefinition.code.coding | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.code.coding:orderCodeLOINC | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.code.coding:orderCodeLOINC.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | ActivityDefinition.code.coding:orderCodeLOINC.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | ActivityDefinition.code.coding:orderCodeLOINC.system | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.code.coding:orderCodeLOINC.version | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.code.coding:orderCodeLOINC.code | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.code.coding:orderCodeLOINC.display | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.code.coding:orderCodeLOINC.userSelected | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.code.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.intent | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.priority | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.timing[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.location | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.participant | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.participant.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | ActivityDefinition.participant.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | ActivityDefinition.participant.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | ActivityDefinition.participant.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | ActivityDefinition.participant.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.participant.role | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.product[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.quantity | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.dosage | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.bodySite | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.specimenRequirement | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.observationRequirement | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.observationResultRequirement | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.transform | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.dynamicValue | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.dynamicValue.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | ActivityDefinition.dynamicValue.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | ActivityDefinition.dynamicValue.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | ActivityDefinition.dynamicValue.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | ActivityDefinition.dynamicValue.path | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ActivityDefinition.dynamicValue.expression | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |