{ "description": "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.\\r\\nThe 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.\\r\\nSuch a definition can be used in a laboratory compendium as well as in other contexts.", "_filename": "StructureDefinition-LabProcedureDefinition.json", "package_name": "hl7.fhir.uv.order-catalog", "date": "2020-08-09T15:19:11+00:00", "derivation": "constraint", "meta": { "versionId": "1", "lastUpdated": "2019-10-25T15:36:36.569+00:00" }, "publisher": "HL7 International - Orders and Observations Work Group", "fhirVersion": "4.0.1", "jurisdiction": [ { "coding": [ { "code": "001", "system": "http://unstats.un.org/unsd/methods/m49/m49.htm" } ] } ], "purpose": "ActivityDefinition defines the various pieces of the definition of a laboratory procedure, such as input observations and biological/material specimens and output observations. For this purpose ActivityDefinition references instances of ObservationDefinition and SpecimenDefinition.", "name": "LabProcedureDefinition", "mapping": [ { "uri": "http://hl7.org/fhir/workflow", "name": "Workflow Pattern", "identity": "workflow" }, { "uri": "http://hl7.org/v3", "name": "RIM Mapping", "identity": "rim" }, { "uri": "http://hl7.org/fhir/fivews", "name": "FiveWs Pattern Mapping", "identity": "w5" }, { "uri": "http://hl7.org/fhir/object-implementation", "name": "Object Implementation Information", "identity": "objimpl" } ], "abstract": false, "type": "ActivityDefinition", "experimental": null, "resourceType": "StructureDefinition", "title": "Laboratory Procedure Definition", "package_version": "0.1.0", "snapshot": { "element": [ { "constraint": [ { "key": "adf-0", "human": "Name should be usable as an identifier for the module by machine processing applications such as code generation", "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", "severity": "warning", "expression": "name.matches('[A-Z]([A-Za-z0-9_]){0,254}')" }, { "key": "dom-2", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "xpath": "not(parent::f:contained and f:contained)", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource", "severity": "error", "expression": "contained.contained.empty()" }, { "key": "dom-3", "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", "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource", "severity": "error", "expression": "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()" }, { "key": "dom-4", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "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", "severity": "error", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" }, { "key": "dom-5", "human": "If a resource is contained in another resource, it SHALL NOT have a security label", "xpath": "not(exists(f:contained/*/f:meta/f:security))", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource", "severity": "error", "expression": "contained.meta.security.empty()" }, { "key": "dom-6", "human": "A resource should have narrative for robust management", "xpath": "exists(f:text/h:div)", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource", "severity": "warning", "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." } ], "expression": "text.`div`.exists()" } ], "path": "ActivityDefinition", "min": 0, "definition": "This resource allows for the definition of some activity to be performed, independent of a particular patient, practitioner, or other performance context.", "isModifier": false, "short": "The definition of a specific activity to be taken, independent of any particular patient or context", "mapping": [ { "map": "Entity. Role, or Act", "identity": "rim" }, { "map": "Definition", "identity": "workflow" }, { "map": "Act[classCode=ACT; moodCode=DEFN]", "identity": "rim" } ], "max": "*", "id": "ActivityDefinition", "base": { "max": "*", "min": 0, "path": "ActivityDefinition" }, "isSummary": false }, { "path": "ActivityDefinition.id", "min": 0, "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", "isModifier": false, "short": "Logical id of this artifact", "type": [ { "code": "http://hl7.org/fhirpath/System.String", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string" } ] } ], "max": "1", "id": "ActivityDefinition.id", "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.", "base": { "max": "1", "min": 0, "path": "Resource.id" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.meta", "min": 0, "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.", "isModifier": false, "short": "Metadata about the resource", "type": [ { "code": "Meta" } ], "max": "1", "id": "ActivityDefinition.meta", "base": { "max": "1", "min": 0, "path": "Resource.meta" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.implicitRules", "min": 0, "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.", "isModifier": true, "short": "A set of rules under which this content was created", "type": [ { "code": "uri" } ], "max": "1", "id": "ActivityDefinition.implicitRules", "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.", "base": { "max": "1", "min": 0, "path": "Resource.implicitRules" }, "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 }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.language", "min": 0, "definition": "The base language in which the resource is written.", "isModifier": false, "short": "Language of the resource content", "type": [ { "code": "code" } ], "binding": { "strength": "preferred", "valueSet": "http://hl7.org/fhir/ValueSet/languages", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" }, { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "Language" }, { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", "valueBoolean": true } ], "description": "A human language." }, "max": "1", "id": "ActivityDefinition.language", "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).", "base": { "max": "1", "min": 0, "path": "Resource.language" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.text", "min": 0, "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.", "isModifier": false, "short": "Text summary of the resource, for human interpretation", "mapping": [ { "map": "Act.text?", "identity": "rim" } ], "type": [ { "code": "Narrative" } ], "alias": [ "narrative", "html", "xhtml", "display" ], "max": "1", "id": "ActivityDefinition.text", "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.", "base": { "max": "1", "min": 0, "path": "DomainResource.text" }, "isSummary": false }, { "path": "ActivityDefinition.contained", "min": 0, "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.", "isModifier": false, "short": "Contained, inline Resources", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Resource" } ], "alias": [ "inline resources", "anonymous resources", "contained resources" ], "max": "*", "id": "ActivityDefinition.contained", "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.", "base": { "max": "*", "min": 0, "path": "DomainResource.contained" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "ext-1", "human": "Must have either extensions or value[x], not both", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "ActivityDefinition.extension", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the resource. 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.", "isModifier": false, "short": "Additional content defined by implementations", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "ActivityDefinition.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.", "base": { "max": "*", "min": 0, "path": "DomainResource.extension" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "ext-1", "human": "Must have either extensions or value[x], not both", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "ActivityDefinition.modifierExtension", "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/R4/extensibility.html#modifierExtension).", "min": 0, "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).", "isModifier": true, "short": "Extensions that cannot be ignored", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "ActivityDefinition.modifierExtension", "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.", "base": { "max": "*", "min": 0, "path": "DomainResource.modifierExtension" }, "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.url", "requirements": "Allows the activity definition to be referenced by a single globally unique identifier.", "min": 1, "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.", "isModifier": false, "short": "Canonical identifier for this activity definition, represented as a URI (globally unique)", "mapping": [ { "map": "Definition.url", "identity": "workflow" }, { "map": "FiveWs.identifier", "identity": "w5" }, { "map": ".identifier[scope=BUSN;reliability=ISS]", "identity": "rim" } ], "type": [ { "code": "uri" } ], "max": "1", "id": "ActivityDefinition.url", "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/R4/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/R4/resource.html#meta) element to indicate where the current master source of the resource can be found.", "base": { "max": "1", "min": 0, "path": "ActivityDefinition.url" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.identifier", "requirements": "Allows externally provided and/or usable business identifiers to be easily associated with the module.", "min": 0, "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.", "isModifier": false, "short": "Additional identifier for the activity definition", "mapping": [ { "map": "Definition.identifier", "identity": "workflow" }, { "map": "FiveWs.identifier", "identity": "w5" }, { "map": ".identifier", "identity": "rim" }, { "map": "no-gen-base", "identity": "objimpl" } ], "type": [ { "code": "Identifier" } ], "max": "*", "id": "ActivityDefinition.identifier", "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.", "base": { "max": "*", "min": 0, "path": "ActivityDefinition.identifier" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.version", "min": 0, "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.", "isModifier": false, "short": "Business version of the activity definition", "mapping": [ { "map": "Definition.version", "identity": "workflow" }, { "map": "FiveWs.version", "identity": "w5" }, { "map": "N/A (to add?)", "identity": "rim" } ], "type": [ { "code": "string" } ], "max": "1", "id": "ActivityDefinition.version", "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].", "base": { "max": "1", "min": 0, "path": "ActivityDefinition.version" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.name", "requirements": "Support human navigation and code generation.", "min": 0, "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.", "isModifier": false, "short": "Name for this activity definition (computer friendly)", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "string" } ], "max": "1", "id": "ActivityDefinition.name", "condition": [ "inv-0" ], "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.", "base": { "max": "1", "min": 0, "path": "ActivityDefinition.name" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.title", "min": 0, "definition": "A short, descriptive, user-friendly title for the activity definition.", "isModifier": false, "short": "Name for this activity definition (human friendly)", "mapping": [ { "map": "Definition.title", "identity": "workflow" }, { "map": ".title", "identity": "rim" } ], "type": [ { "code": "string" } ], "mustSupport": true, "max": "1", "id": "ActivityDefinition.title", "comment": "This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.", "base": { "max": "1", "min": 0, "path": "ActivityDefinition.title" }, "isSummary": true }, { "path": "ActivityDefinition.title.id", "min": 0, "definition": "unique id for the element within a resource (for internal references)", "isModifier": false, "short": "xml:id (or equivalent in JSON)", "type": [ { "code": "http://hl7.org/fhirpath/System.String", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "ActivityDefinition.title.id", "base": { "max": "1", "min": 0, "path": "Element.id" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "ext-1", "human": "Must have either extensions or value[x], not both", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "ActivityDefinition.title.extension", "min": 0, "definition": "An Extension", "isModifier": false, "short": "Extension", "slicing": { "rules": "open", "discriminator": [ { "path": "url", "type": "value" } ] }, "type": [ { "code": "Extension" } ], "max": "*", "id": "ActivityDefinition.title.extension", "base": { "max": "*", "min": 0, "path": "Element.extension" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "ext-1", "human": "Must have either extensions or value[x], not both", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "ActivityDefinition.title.extension", "min": 0, "definition": "Language translation from base language of resource to another language.", "isModifier": false, "short": "Language Translation (Localization)", "mapping": [ { "map": "ST.translation", "identity": "rim" } ], "type": [ { "code": "Extension", "profile": [ "http://hl7.org/fhir/StructureDefinition/translation" ] } ], "sliceName": "OtherTitle", "max": "*", "id": "ActivityDefinition.title.extension:OtherTitle", "condition": [ "ele-1" ], "base": { "max": "*", "min": 0, "path": "Element.extension" } }, { "path": "ActivityDefinition.title.value", "min": 0, "definition": "The actual value", "isModifier": false, "short": "Primitive value for string", "type": [ { "code": "http://hl7.org/fhirpath/System.String", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string" }, { "url": "http://hl7.org/fhir/StructureDefinition/regex", "valueString": "[ \\r\\n\\t\\S]+" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "ActivityDefinition.title.value", "maxLength": 1048576, "base": { "max": "1", "min": 0, "path": "string.value" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.subtitle", "min": 0, "definition": "An explanatory or alternate title for the activity definition giving additional information about its content.", "isModifier": false, "short": "Subordinate title of the activity definition", "type": [ { "code": "string" } ], "max": "1", "id": "ActivityDefinition.subtitle", "base": { "max": "1", "min": 0, "path": "ActivityDefinition.subtitle" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.status", "min": 1, "definition": "The status of this activity definition. Enables tracking the life-cycle of the content.", "isModifier": true, "short": "draft | active | retired | unknown", "mapping": [ { "map": "Definition.status {different ValueSet}", "identity": "workflow" }, { "map": "FiveWs.status", "identity": "w5" }, { "map": ".status", "identity": "rim" } ], "type": [ { "code": "code" } ], "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/publication-status|4.0.1", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "PublicationStatus" }, { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", "valueBoolean": true } ], "description": "The lifecycle status of an artifact." }, "max": "1", "id": "ActivityDefinition.status", "comment": "Allows filtering of activity definitions that are appropriate for use versus not.", "base": { "max": "1", "min": 1, "path": "ActivityDefinition.status" }, "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not use a retired {{title}} without due consideration", "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.experimental", "requirements": "Enables experimental content to be developed following the same lifecycle that would be used for a production-level activity definition.", "min": 0, "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.", "isModifier": false, "short": "For testing purposes, not real usage", "mapping": [ { "map": "Definition.experimental", "identity": "workflow" }, { "map": "FiveWs.class", "identity": "w5" }, { "map": "N/A (to add?)", "identity": "rim" } ], "type": [ { "code": "boolean" } ], "max": "1", "id": "ActivityDefinition.experimental", "comment": "Allows filtering of activity definitions that are appropriate for use versus not.", "base": { "max": "1", "min": 0, "path": "ActivityDefinition.experimental" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.subject[x]", "min": 0, "definition": "A code or group definition that describes the intended subject of the activity being defined.", "isModifier": false, "short": "Type of individual the activity definition is intended for", "mapping": [ { "map": "Definition.subject", "identity": "workflow" } ], "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Group" ] } ], "meaningWhenMissing": "Patient", "binding": { "strength": "extensible", "valueSet": "http://hl7.org/fhir/ValueSet/subject-type", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "SubjectType" } ], "description": "The possible types of subjects for an activity (E.g. Patient, Practitioner, Organization, Location, etc.)." }, "max": "1", "id": "ActivityDefinition.subject[x]", "base": { "max": "1", "min": 0, "path": "ActivityDefinition.subject[x]" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.date", "min": 0, "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.", "isModifier": false, "short": "Date last changed", "mapping": [ { "map": "Definition.date", "identity": "workflow" }, { "map": "FiveWs.recorded", "identity": "w5" }, { "map": ".participation[typeCode=AUT].time", "identity": "rim" } ], "type": [ { "code": "dateTime" } ], "mustSupport": true, "alias": [ "Revision Date" ], "max": "1", "id": "ActivityDefinition.date", "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.", "base": { "max": "1", "min": 0, "path": "ActivityDefinition.date" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.publisher", "requirements": "Helps establish the \"authority/credibility\" of the activity definition. May also allow for contact.", "min": 0, "definition": "The name of the organization or individual that published the activity definition.", "isModifier": false, "short": "Name of the publisher (organization or individual)", "mapping": [ { "map": "Definition.publisher {as string instead of CodeableConcept}", "identity": "workflow" }, { "map": "FiveWs.witness", "identity": "w5" }, { "map": ".participation[typeCode=AUT].role", "identity": "rim" } ], "type": [ { "code": "string" } ], "mustSupport": true, "max": "1", "id": "ActivityDefinition.publisher", "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.", "base": { "max": "1", "min": 0, "path": "ActivityDefinition.publisher" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.contact", "min": 0, "definition": "Contact details to assist a user in finding and communicating with the publisher.", "isModifier": false, "short": "Contact details for the publisher", "mapping": [ { "map": "Definition.contact", "identity": "workflow" }, { "map": ".participation[typeCode=CALLBCK].role", "identity": "rim" } ], "type": [ { "code": "ContactDetail" } ], "max": "*", "id": "ActivityDefinition.contact", "comment": "May be a web site, an email address, a telephone number, etc.", "base": { "max": "*", "min": 0, "path": "ActivityDefinition.contact" }, "isSummary": true }, { "path": "ActivityDefinition.contact.id", "min": 0, "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "isModifier": false, "short": "Unique id for inter-element referencing", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "http://hl7.org/fhirpath/System.String", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "ActivityDefinition.contact.id", "base": { "max": "1", "min": 0, "path": "Element.id" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "ext-1", "human": "Must have either extensions or value[x], not both", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "ActivityDefinition.contact.extension", "min": 0, "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.", "isModifier": false, "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" } ], "slicing": { "rules": "open", "description": "Extensions are always sliced by (at least) url", "discriminator": [ { "path": "url", "type": "value" } ] }, "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "ActivityDefinition.contact.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.", "base": { "max": "*", "min": 0, "path": "Element.extension" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.contact.name", "min": 0, "definition": "The name of an individual to contact.", "isModifier": false, "short": "Name of an individual to contact", "type": [ { "code": "string" } ], "max": "1", "id": "ActivityDefinition.contact.name", "comment": "If there is no named individual, the telecom information is for the organization as a whole.", "base": { "max": "1", "min": 0, "path": "ContactDetail.name" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.contact.telecom", "min": 0, "definition": "The contact details for the individual (if a name was provided) or the organization.", "isModifier": false, "short": "Contact details for individual or organization", "type": [ { "code": "ContactPoint" } ], "mustSupport": true, "max": "*", "id": "ActivityDefinition.contact.telecom", "base": { "max": "*", "min": 0, "path": "ContactDetail.telecom" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.description", "min": 0, "definition": "A free text natural language description of the laboratory procedure from a consumer's perspective.", "isModifier": false, "short": "Natural language description of the activity definition", "mapping": [ { "map": "Definition.description", "identity": "workflow" }, { "map": ".text", "identity": "rim" } ], "type": [ { "code": "markdown" } ], "mustSupport": true, "max": "1", "id": "ActivityDefinition.description", "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).", "base": { "max": "1", "min": 0, "path": "ActivityDefinition.description" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.useContext", "requirements": "Assist in searching for appropriate content.", "min": 0, "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.", "isModifier": false, "short": "The context that the content is intended to support", "mapping": [ { "map": "Definition.useContext", "identity": "workflow" }, { "map": "N/A (to add?)", "identity": "rim" } ], "type": [ { "code": "UsageContext" } ], "max": "*", "id": "ActivityDefinition.useContext", "comment": "When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.", "base": { "max": "*", "min": 0, "path": "ActivityDefinition.useContext" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.jurisdiction", "min": 0, "definition": "A legal or geographic region in which the activity definition is intended to be used.", "isModifier": false, "short": "Intended jurisdiction for activity definition (if applicable)", "mapping": [ { "map": "Definition.jurisdiction", "identity": "workflow" }, { "map": "N/A (to add?)", "identity": "rim" } ], "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "extensible", "valueSet": "http://hl7.org/fhir/ValueSet/jurisdiction", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "Jurisdiction" }, { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", "valueBoolean": true } ], "description": "Countries and regions within which this artifact is targeted for use." }, "max": "*", "id": "ActivityDefinition.jurisdiction", "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.", "base": { "max": "*", "min": 0, "path": "ActivityDefinition.jurisdiction" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.purpose", "min": 0, "definition": "Explanation of why this activity definition is needed and why it has been designed as it has.", "isModifier": false, "short": "Why this activity definition is defined", "mapping": [ { "map": "Definition.purpose", "identity": "workflow" }, { "map": "FiveWs.why[x]", "identity": "w5" }, { "map": ".reasonCode.text", "identity": "rim" }, { "map": "no-gen-base", "identity": "objimpl" } ], "type": [ { "code": "markdown" } ], "max": "1", "id": "ActivityDefinition.purpose", "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.", "base": { "max": "1", "min": 0, "path": "ActivityDefinition.purpose" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.usage", "min": 0, "definition": "A detailed description of how the activity definition is used from a clinical perspective.", "isModifier": false, "short": "Describes the clinical usage of the activity definition", "mapping": [ { "map": "N/A (to add?)", "identity": "rim" } ], "type": [ { "code": "string" } ], "max": "1", "id": "ActivityDefinition.usage", "base": { "max": "1", "min": 0, "path": "ActivityDefinition.usage" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.copyright", "requirements": "Consumers must be able to determine any legal restrictions on the use of the activity definition and/or its content.", "min": 0, "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.", "isModifier": false, "short": "Use and/or publishing restrictions", "mapping": [ { "map": "Definition.copyright", "identity": "workflow" }, { "map": "N/A (to add?)", "identity": "rim" }, { "map": "no-gen-base", "identity": "objimpl" } ], "type": [ { "code": "markdown" } ], "alias": [ "License", "Restrictions" ], "max": "1", "id": "ActivityDefinition.copyright", "base": { "max": "1", "min": 0, "path": "ActivityDefinition.copyright" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.approvalDate", "min": 0, "definition": "The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage.", "isModifier": false, "short": "When the activity definition was approved by publisher", "mapping": [ { "map": "Definition.approvalDate", "identity": "workflow" }, { "map": ".outboundRelationship[typeCode=\"SUBJ\"].act[classCode=CACT;moodCode=EVN;code=\"approval\"].effectiveTime", "identity": "rim" }, { "map": "no-gen-base", "identity": "objimpl" } ], "type": [ { "code": "date" } ], "max": "1", "id": "ActivityDefinition.approvalDate", "comment": "The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.", "base": { "max": "1", "min": 0, "path": "ActivityDefinition.approvalDate" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.lastReviewDate", "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, "definition": "The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date.", "isModifier": false, "short": "When the activity definition was last reviewed", "mapping": [ { "map": "Definition.lastReviewDate", "identity": "workflow" }, { "map": ".outboundRelationship[typeCode=\"SUBJ\"; subsetCode=\"RECENT\"].act[classCode=CACT;moodCode=EVN;code=\"review\"].effectiveTime", "identity": "rim" }, { "map": "no-gen-base", "identity": "objimpl" } ], "type": [ { "code": "date" } ], "max": "1", "id": "ActivityDefinition.lastReviewDate", "comment": "If specified, this date follows the original approval date.", "base": { "max": "1", "min": 0, "path": "ActivityDefinition.lastReviewDate" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.effectivePeriod", "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, "definition": "The period during which the activity definition content was or is planned to be in active use.", "isModifier": false, "short": "When the activity definition is expected to be used", "mapping": [ { "map": "Definition.effectivePeriod", "identity": "workflow" }, { "map": "N/A (to add?)", "identity": "rim" }, { "map": "no-gen-base", "identity": "objimpl" } ], "type": [ { "code": "Period" } ], "max": "1", "id": "ActivityDefinition.effectivePeriod", "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.", "base": { "max": "1", "min": 0, "path": "ActivityDefinition.effectivePeriod" }, "isSummary": true }, { "path": "ActivityDefinition.effectivePeriod.id", "min": 0, "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "isModifier": false, "short": "Unique id for inter-element referencing", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "http://hl7.org/fhirpath/System.String", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "ActivityDefinition.effectivePeriod.id", "base": { "max": "1", "min": 0, "path": "Element.id" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "ext-1", "human": "Must have either extensions or value[x], not both", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "ActivityDefinition.effectivePeriod.extension", "min": 0, "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.", "isModifier": false, "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" } ], "slicing": { "rules": "open", "description": "Extensions are always sliced by (at least) url", "discriminator": [ { "path": "url", "type": "value" } ] }, "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "ActivityDefinition.effectivePeriod.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.", "base": { "max": "*", "min": 0, "path": "Element.extension" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.effectivePeriod.start", "min": 0, "definition": "The start of the period. The boundary is inclusive.", "isModifier": false, "short": "Starting time with inclusive boundary", "mapping": [ { "map": "DR.1", "identity": "v2" }, { "map": "./low", "identity": "rim" } ], "type": [ { "code": "dateTime" } ], "mustSupport": true, "max": "1", "id": "ActivityDefinition.effectivePeriod.start", "condition": [ "per-1" ], "comment": "If the low element is missing, the meaning is that the low boundary is not known.", "base": { "max": "1", "min": 0, "path": "Period.start" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.effectivePeriod.end", "min": 0, "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.", "isModifier": false, "short": "End time with inclusive boundary, if not ongoing", "mapping": [ { "map": "DR.2", "identity": "v2" }, { "map": "./high", "identity": "rim" } ], "type": [ { "code": "dateTime" } ], "mustSupport": true, "meaningWhenMissing": "If the end of the period is missing, it means that the period is ongoing", "max": "1", "id": "ActivityDefinition.effectivePeriod.end", "condition": [ "per-1" ], "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.", "base": { "max": "1", "min": 0, "path": "Period.end" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.topic", "requirements": "Repositories must be able to determine how to categorize the activity definition so that it can be found by topical searches.", "min": 0, "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.", "isModifier": false, "short": "Categorization of the laboratory procedure", "mapping": [ { "map": "N/A (to add?)", "identity": "rim" } ], "type": [ { "code": "CodeableConcept" } ], "mustSupport": true, "binding": { "strength": "example", "valueSet": "http://hl7.org/fhir/ValueSet/definition-topic", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "DefinitionTopic" } ], "description": "High-level categorization of the definition, used for searching, sorting, and filtering." }, "max": "*", "id": "ActivityDefinition.topic", "comment": "Examples could be lab specialties: chemistry, hormonology, hematology, bacteriology, virology ..\r\nOther examples might list medical specialty of orderer: cardiology, dermatology, gastroenterology ...", "base": { "max": "*", "min": 0, "path": "ActivityDefinition.topic" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.author", "min": 0, "definition": "An individiual or organization primarily involved in the creation and maintenance of the content.", "isModifier": false, "short": "Who authored the content", "mapping": [ { "map": ".participation[typeCode=AUT]", "identity": "rim" } ], "type": [ { "code": "ContactDetail" } ], "max": "*", "id": "ActivityDefinition.author", "base": { "max": "*", "min": 0, "path": "ActivityDefinition.author" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.editor", "min": 0, "definition": "An individual or organization primarily responsible for internal coherence of the content.", "isModifier": false, "short": "Who edited the content", "type": [ { "code": "ContactDetail" } ], "max": "*", "id": "ActivityDefinition.editor", "base": { "max": "*", "min": 0, "path": "ActivityDefinition.editor" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.reviewer", "min": 0, "definition": "An individual or organization primarily responsible for review of some aspect of the content.", "isModifier": false, "short": "Who reviewed the content", "mapping": [ { "map": ".participation[typeCode=VRF] {not clear whether VRF best corresponds to reviewer or endorser}", "identity": "rim" } ], "type": [ { "code": "ContactDetail" } ], "max": "*", "id": "ActivityDefinition.reviewer", "base": { "max": "*", "min": 0, "path": "ActivityDefinition.reviewer" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.endorser", "min": 0, "definition": "An individual or organization responsible for officially endorsing the content for use in some setting.", "isModifier": false, "short": "Who endorsed the content", "mapping": [ { "map": ".participation[typeCode=VRF] {not clear whether VRF best corresponds to reviewer or endorser}", "identity": "rim" } ], "type": [ { "code": "ContactDetail" } ], "max": "*", "id": "ActivityDefinition.endorser", "base": { "max": "*", "min": 0, "path": "ActivityDefinition.endorser" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.relatedArtifact", "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, "definition": "Related artifacts such as additional documentation, justification, or bibliographic references.", "isModifier": false, "short": "Additional documentation, citations, etc.", "mapping": [ { "map": ".outboundRelationship[typeCode=DOC,RSON,PREV, DRIV, USE, COMP] {successor would be PREV w/ inversionInd=true; No support for citation}", "identity": "rim" } ], "type": [ { "code": "RelatedArtifact" } ], "max": "*", "id": "ActivityDefinition.relatedArtifact", "comment": "Each related artifact is either an attachment, or a reference to another resource, but not both.", "base": { "max": "*", "min": 0, "path": "ActivityDefinition.relatedArtifact" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.library", "min": 0, "definition": "A reference to a Library resource containing any formal logic used by the activity definition.", "isModifier": false, "short": "Logic used by the activity definition", "mapping": [ { "map": ".outboundRelationship[typeCode=USE].target[classCode=GROUPER,moodCode=EVN]", "identity": "rim" } ], "type": [ { "code": "canonical", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Library" ] } ], "max": "*", "id": "ActivityDefinition.library", "base": { "max": "*", "min": 0, "path": "ActivityDefinition.library" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.kind", "fixedCode": "ServiceRequest", "min": 1, "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.", "isModifier": false, "short": "Kind of resource", "mapping": [ { "map": ".classCode", "identity": "rim" } ], "type": [ { "code": "code" } ], "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/request-resource-types|4.0.1", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "ActivityDefinitionKind" } ], "description": "The kind of activity the definition is describing." }, "max": "1", "id": "ActivityDefinition.kind", "comment": "May determine what types of extensions are permitted.", "base": { "max": "1", "min": 0, "path": "ActivityDefinition.kind" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.profile", "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, "definition": "A profile to which the target of the activity definition is expected to conform.", "isModifier": false, "short": "What profile the resource needs to conform to", "type": [ { "code": "canonical", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/StructureDefinition" ] } ], "max": "1", "id": "ActivityDefinition.profile", "base": { "max": "1", "min": 0, "path": "ActivityDefinition.profile" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.code", "requirements": "Allows matching performed to planned as well as validation against protocols.", "min": 0, "definition": "Detailed description of the type of activity; e.g. What lab test, what procedure, what kind of encounter.", "isModifier": false, "short": "Detail type of activity", "mapping": [ { "map": ".code", "identity": "rim" } ], "type": [ { "code": "CodeableConcept" } ], "mustSupport": true, "binding": { "strength": "example", "valueSet": "http://hl7.org/fhir/ValueSet/procedure-code", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "ActivityDefinitionType" } ], "description": "Detailed type of the activity; e.g. CBC." }, "max": "1", "id": "ActivityDefinition.code", "comment": "Tends to be less relevant for activities involving particular products.", "base": { "max": "1", "min": 0, "path": "ActivityDefinition.code" }, "isSummary": true }, { "path": "ActivityDefinition.code.id", "min": 0, "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "isModifier": false, "short": "Unique id for inter-element referencing", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "http://hl7.org/fhirpath/System.String", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "ActivityDefinition.code.id", "base": { "max": "1", "min": 0, "path": "Element.id" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "ext-1", "human": "Must have either extensions or value[x], not both", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "ActivityDefinition.code.extension", "min": 0, "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.", "isModifier": false, "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" } ], "slicing": { "rules": "open", "description": "Extensions are always sliced by (at least) url", "discriminator": [ { "path": "url", "type": "value" } ] }, "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "ActivityDefinition.code.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.", "base": { "max": "*", "min": 0, "path": "Element.extension" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.code.coding", "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", "min": 0, "definition": "A reference to a code defined by a terminology system.", "isModifier": false, "short": "Code for the laboratory procedure", "mapping": [ { "map": "C*E.1-8, C*E.10-22", "identity": "v2" }, { "map": "union(., ./translation)", "identity": "rim" }, { "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding", "identity": "orim" } ], "slicing": { "rules": "open", "ordered": false, "discriminator": [ { "path": "system", "type": "value" } ] }, "type": [ { "code": "Coding" } ], "max": "*", "id": "ActivityDefinition.code.coding", "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", "base": { "max": "*", "min": 0, "path": "CodeableConcept.coding" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.code.coding", "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", "min": 0, "definition": "A reference to a code defined by a terminology system.", "isModifier": false, "short": "LOINC code for the laboratory procedure", "mapping": [ { "map": "C*E.1-8, C*E.10-22", "identity": "v2" }, { "map": "union(., ./translation)", "identity": "rim" }, { "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding", "identity": "orim" } ], "type": [ { "code": "Coding" } ], "mustSupport": true, "sliceName": "orderCodeLOINC", "max": "1", "id": "ActivityDefinition.code.coding:orderCodeLOINC", "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", "base": { "max": "*", "min": 0, "path": "CodeableConcept.coding" }, "isSummary": true }, { "path": "ActivityDefinition.code.coding.id", "min": 0, "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "isModifier": false, "short": "Unique id for inter-element referencing", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "http://hl7.org/fhirpath/System.String", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "ActivityDefinition.code.coding:orderCodeLOINC.id", "base": { "max": "1", "min": 0, "path": "Element.id" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "ext-1", "human": "Must have either extensions or value[x], not both", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "ActivityDefinition.code.coding.extension", "min": 0, "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.", "isModifier": false, "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" } ], "slicing": { "rules": "open", "description": "Extensions are always sliced by (at least) url", "discriminator": [ { "path": "url", "type": "value" } ] }, "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "ActivityDefinition.code.coding:orderCodeLOINC.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.", "base": { "max": "*", "min": 0, "path": "Element.extension" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.code.coding.system", "requirements": "Need to be unambiguous about the source of the definition of the symbol.", "min": 0, "definition": "The identification of the code system that defines the meaning of the symbol in the code.", "isModifier": false, "short": "LOINC test code for this activity", "fixedUri": "http://loinc.org", "mapping": [ { "map": "C*E.3", "identity": "v2" }, { "map": "./codeSystem", "identity": "rim" }, { "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem", "identity": "orim" } ], "type": [ { "code": "uri" } ], "mustSupport": true, "max": "1", "label": "LOINC", "id": "ActivityDefinition.code.coding:orderCodeLOINC.system", "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", "base": { "max": "1", "min": 0, "path": "Coding.system" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.code.coding.version", "min": 0, "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", "isModifier": false, "short": "Version of the system - if relevant", "mapping": [ { "map": "C*E.7", "identity": "v2" }, { "map": "./codeSystemVersion", "identity": "rim" }, { "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion", "identity": "orim" } ], "type": [ { "code": "string" } ], "max": "1", "id": "ActivityDefinition.code.coding:orderCodeLOINC.version", "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", "base": { "max": "1", "min": 0, "path": "Coding.version" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.code.coding.code", "requirements": "Need to refer to a particular code in the system.", "min": 0, "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", "isModifier": false, "short": "Symbol in syntax defined by the system", "mapping": [ { "map": "C*E.1", "identity": "v2" }, { "map": "./code", "identity": "rim" }, { "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code", "identity": "orim" } ], "type": [ { "code": "code" } ], "max": "1", "id": "ActivityDefinition.code.coding:orderCodeLOINC.code", "base": { "max": "1", "min": 0, "path": "Coding.code" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.code.coding.display", "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", "min": 0, "definition": "A representation of the meaning of the code in the system, following the rules of the system.", "isModifier": false, "short": "Representation defined by the system", "mapping": [ { "map": "C*E.2 - but note this is not well followed", "identity": "v2" }, { "map": "CV.displayName", "identity": "rim" }, { "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName", "identity": "orim" } ], "type": [ { "code": "string" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true } ], "max": "1", "id": "ActivityDefinition.code.coding:orderCodeLOINC.display", "base": { "max": "1", "min": 0, "path": "Coding.display" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.code.coding.userSelected", "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", "min": 0, "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", "isModifier": false, "short": "If this coding was chosen directly by the user", "mapping": [ { "map": "Sometimes implied by being first", "identity": "v2" }, { "map": "CD.codingRationale", "identity": "rim" }, { "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]", "identity": "orim" } ], "type": [ { "code": "boolean" } ], "max": "1", "id": "ActivityDefinition.code.coding:orderCodeLOINC.userSelected", "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", "base": { "max": "1", "min": 0, "path": "Coding.userSelected" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.code.text", "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", "min": 0, "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", "isModifier": false, "short": "Plain text representation of the concept", "mapping": [ { "map": "C*E.9. But note many systems use C*E.2 for this", "identity": "v2" }, { "map": "./originalText[mediaType/code=\"text/plain\"]/data", "identity": "rim" }, { "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText", "identity": "orim" } ], "type": [ { "code": "string" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true } ], "max": "1", "id": "ActivityDefinition.code.text", "comment": "Very often the text is the same as a displayName of one of the codings.", "base": { "max": "1", "min": 0, "path": "CodeableConcept.text" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.intent", "min": 0, "definition": "Indicates the level of authority/intentionality associated with the activity and where the request should fit into the workflow chain.", "isModifier": false, "short": "proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option", "type": [ { "code": "code" } ], "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/request-intent|4.0.1", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "RequestIntent" } ], "description": "Codes indicating the degree of authority/intentionality associated with a request." }, "max": "1", "id": "ActivityDefinition.intent", "base": { "max": "1", "min": 0, "path": "ActivityDefinition.intent" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.priority", "min": 0, "definition": "Indicates how quickly the activity should be addressed with respect to other requests.", "isModifier": false, "short": "routine | urgent | asap | stat", "type": [ { "code": "code" } ], "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/request-priority|4.0.1", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "RequestPriority" } ], "description": "Identifies the level of importance to be assigned to actioning the request." }, "max": "1", "id": "ActivityDefinition.priority", "base": { "max": "1", "min": 0, "path": "ActivityDefinition.priority" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.doNotPerform", "min": 0, "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.", "isModifier": true, "short": "True if the activity should not be performed", "type": [ { "code": "boolean" } ], "max": "0", "id": "ActivityDefinition.doNotPerform", "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.", "base": { "max": "1", "min": 0, "path": "ActivityDefinition.doNotPerform" }, "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 }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.timing[x]", "requirements": "Allows prompting for activities and detection of missed planned activities.", "min": 0, "definition": "The period, timing or frequency upon which the described activity is to occur.", "isModifier": false, "short": "When activity is to occur", "mapping": [ { "map": ".effectiveTime", "identity": "rim" } ], "type": [ { "code": "Timing" }, { "code": "dateTime" }, { "code": "Age" }, { "code": "Period" }, { "code": "Range" }, { "code": "Duration" } ], "max": "1", "id": "ActivityDefinition.timing[x]", "base": { "max": "1", "min": 0, "path": "ActivityDefinition.timing[x]" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.location", "requirements": "Helps in planning of activity.", "min": 0, "definition": "Identifies the facility where the laboratory procedure will occur, and where the specimens will be conveyed", "isModifier": false, "short": "The physical sector of the laboratory performing the procedure", "mapping": [ { "map": ".participation[typeCode=LOC].role", "identity": "rim" } ], "type": [ { "code": "Reference", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Location" ] } ], "alias": [ "facility" ], "max": "1", "id": "ActivityDefinition.location", "comment": "May be tha laboratory as a whole or its work area facility or a sector of it", "base": { "max": "1", "min": 0, "path": "ActivityDefinition.location" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.participant", "min": 0, "definition": "Indicates who should participate in performing the action described.", "isModifier": false, "short": "Who should participate in the action", "mapping": [ { "map": ".participation[typeCode=PFM]", "identity": "rim" } ], "type": [ { "code": "BackboneElement" } ], "max": "*", "id": "ActivityDefinition.participant", "base": { "max": "*", "min": 0, "path": "ActivityDefinition.participant" }, "isSummary": false }, { "path": "ActivityDefinition.participant.id", "min": 0, "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "isModifier": false, "short": "Unique id for inter-element referencing", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "http://hl7.org/fhirpath/System.String", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "ActivityDefinition.participant.id", "base": { "max": "1", "min": 0, "path": "Element.id" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "ext-1", "human": "Must have either extensions or value[x], not both", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "ActivityDefinition.participant.extension", "min": 0, "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.", "isModifier": false, "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "ActivityDefinition.participant.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.", "base": { "max": "*", "min": 0, "path": "Element.extension" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "ext-1", "human": "Must have either extensions or value[x], not both", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "ActivityDefinition.participant.modifierExtension", "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/R4/extensibility.html#modifierExtension).", "min": 0, "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).", "isModifier": true, "short": "Extensions that cannot be ignored even if unrecognized", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content", "modifiers" ], "max": "*", "id": "ActivityDefinition.participant.modifierExtension", "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.", "base": { "max": "*", "min": 0, "path": "BackboneElement.modifierExtension" }, "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.participant.type", "min": 1, "definition": "The type of participant in the action.", "isModifier": false, "short": "patient | practitioner | related-person | device", "mapping": [ { "map": ".role.classCode", "identity": "rim" } ], "type": [ { "code": "code" } ], "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/action-participant-type|4.0.1", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "ActivityParticipantType" } ], "description": "The type of participant in the activity." }, "max": "1", "id": "ActivityDefinition.participant.type", "base": { "max": "1", "min": 1, "path": "ActivityDefinition.participant.type" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.participant.role", "min": 0, "definition": "The role the participant should play in performing the described action.", "isModifier": false, "short": "E.g. Nurse, Surgeon, Parent, etc.", "mapping": [ { "map": ".role.code", "identity": "rim" } ], "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "valueSet": "http://hl7.org/fhir/ValueSet/action-participant-role", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "ActivityParticipantRole" } ], "description": "Defines roles played by participants for the action." }, "max": "1", "id": "ActivityDefinition.participant.role", "base": { "max": "1", "min": 0, "path": "ActivityDefinition.participant.role" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.product[x]", "min": 0, "definition": "Identifies the food, drug or other product being consumed or supplied in the activity.", "isModifier": false, "short": "What's administered/supplied", "mapping": [ { "map": ".participation[typeCode=CSM].role", "identity": "rim" } ], "type": [ { "code": "Reference", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Medication", "http://hl7.org/fhir/StructureDefinition/Substance" ] }, { "code": "CodeableConcept" } ], "binding": { "strength": "example", "valueSet": "http://hl7.org/fhir/ValueSet/medication-codes", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "ActivityProduct" } ], "description": "Code describing the type of substance or medication." }, "max": "1", "id": "ActivityDefinition.product[x]", "base": { "max": "1", "min": 0, "path": "ActivityDefinition.product[x]" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.quantity", "min": 0, "definition": "Identifies the quantity expected to be consumed at once (per dose, per meal, etc.).", "isModifier": false, "short": "How much is administered/consumed/supplied", "mapping": [ { "map": ".quantity {for classCode=SPLY}", "identity": "rim" } ], "type": [ { "code": "Quantity", "profile": [ "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ] } ], "alias": [ "dose" ], "max": "1", "id": "ActivityDefinition.quantity", "base": { "max": "1", "min": 0, "path": "ActivityDefinition.quantity" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.dosage", "min": 0, "definition": "Provides detailed dosage instructions in the same way that they are described for MedicationRequest resources.", "isModifier": false, "short": "Detailed dosage instructions", "mapping": [ { "map": ".outboundRelationship[typeCode=COMP].target[classCode=SBADM; moodCode=DEFN]", "identity": "rim" } ], "type": [ { "code": "Dosage" } ], "max": "*", "id": "ActivityDefinition.dosage", "comment": "If a dosage instruction is used, the definition should not specify timing or quantity.", "base": { "max": "*", "min": 0, "path": "ActivityDefinition.dosage" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.bodySite", "requirements": "Knowing where the procedure is made is important for tracking if multiple sites are possible.", "min": 0, "definition": "Indicates the sites on the subject's body where the procedure should be performed (I.e. the target sites).", "isModifier": false, "short": "What part of body to perform on", "mapping": [ { "map": ".targetSiteCode {for classCode=PROC, SBADM}", "identity": "rim" } ], "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "valueSet": "http://hl7.org/fhir/ValueSet/body-site", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "BodySite" } ], "description": "A code that identifies the anatomical location." }, "max": "*", "id": "ActivityDefinition.bodySite", "comment": "Only used if not implicit in the code found in ServiceRequest.type.", "base": { "max": "*", "min": 0, "path": "ActivityDefinition.bodySite" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.specimenRequirement", "requirements": "Needed to represent lab order definitions.", "min": 0, "definition": "Defines specimen requirements for the laboratory procedure (test or panel) to be performed.", "isModifier": false, "short": "What specimens are required to perform this laboratory procedure", "type": [ { "code": "Reference", "targetProfile": [ "http://hl7.org/fhir/uv/order-catalog/StructureDefinition/LabSpecimenDefinition" ] } ], "mustSupport": true, "max": "*", "id": "ActivityDefinition.specimenRequirement", "base": { "max": "*", "min": 0, "path": "ActivityDefinition.specimenRequirement" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.observationRequirement", "requirements": "Needed to represent observation definitions.", "min": 0, "definition": "Defines observation requirements for the laboratory procedure (test or panel) to be performed, such as body weight or surface area.", "isModifier": false, "short": "What observations are required to perform this laboratory procedure", "type": [ { "code": "Reference", "targetProfile": [ "http://hl7.org/fhir/uv/order-catalog/StructureDefinition/InputObservationDefinition" ] } ], "mustSupport": true, "max": "*", "id": "ActivityDefinition.observationRequirement", "base": { "max": "*", "min": 0, "path": "ActivityDefinition.observationRequirement" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.observationResultRequirement", "min": 0, "definition": "Defines the observations that are expected to be produced by the laboratory procedure.", "isModifier": false, "short": "What observations are produced by this laboratory procedure", "type": [ { "code": "Reference", "targetProfile": [ "http://hl7.org/fhir/uv/order-catalog/StructureDefinition/LabObservationDefinition" ] } ], "mustSupport": true, "max": "*", "id": "ActivityDefinition.observationResultRequirement", "base": { "max": "*", "min": 0, "path": "ActivityDefinition.observationResultRequirement" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.transform", "min": 0, "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.", "isModifier": false, "short": "Transform to apply the template", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "canonical", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/StructureMap" ] } ], "max": "1", "id": "ActivityDefinition.transform", "comment": "Note that if both a transform and dynamic values are specified, the dynamic values will be applied to the result of the transform.", "base": { "max": "1", "min": 0, "path": "ActivityDefinition.transform" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.dynamicValue", "min": 0, "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.", "isModifier": false, "short": "Dynamic aspects of the definition", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "BackboneElement" } ], "max": "*", "id": "ActivityDefinition.dynamicValue", "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.", "base": { "max": "*", "min": 0, "path": "ActivityDefinition.dynamicValue" }, "isSummary": false }, { "path": "ActivityDefinition.dynamicValue.id", "min": 0, "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "isModifier": false, "short": "Unique id for inter-element referencing", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "http://hl7.org/fhirpath/System.String", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "ActivityDefinition.dynamicValue.id", "base": { "max": "1", "min": 0, "path": "Element.id" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "ext-1", "human": "Must have either extensions or value[x], not both", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "ActivityDefinition.dynamicValue.extension", "min": 0, "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.", "isModifier": false, "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "ActivityDefinition.dynamicValue.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.", "base": { "max": "*", "min": 0, "path": "Element.extension" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "ext-1", "human": "Must have either extensions or value[x], not both", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "ActivityDefinition.dynamicValue.modifierExtension", "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/R4/extensibility.html#modifierExtension).", "min": 0, "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).", "isModifier": true, "short": "Extensions that cannot be ignored even if unrecognized", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content", "modifiers" ], "max": "*", "id": "ActivityDefinition.dynamicValue.modifierExtension", "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.", "base": { "max": "*", "min": 0, "path": "BackboneElement.modifierExtension" }, "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.dynamicValue.path", "min": 1, "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/R4/fhirpath.html#simple) for full details).", "isModifier": false, "short": "The path to the element to be set dynamically", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "string" } ], "max": "1", "id": "ActivityDefinition.dynamicValue.path", "comment": "The path attribute contains a [Simple FHIRPath Subset](http://hl7.org/fhir/R4/fhirpath.html#simple) that allows path traversal, but not calculation.", "base": { "max": "1", "min": 1, "path": "ActivityDefinition.dynamicValue.path" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ActivityDefinition.dynamicValue.expression", "min": 1, "definition": "An expression specifying the value of the customized element.", "isModifier": false, "short": "An expression that provides the dynamic value for the customization", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Expression" } ], "max": "1", "id": "ActivityDefinition.dynamicValue.expression", "comment": "The expression may be inlined, or may be a reference to a named expression within a logic library referenced by the library element.", "base": { "max": "1", "min": 1, "path": "ActivityDefinition.dynamicValue.expression" }, "isSummary": false } ] }, "status": "draft", "id": "d0a5f590-ebb0-43ee-b450-e9807605d85c", "kind": "resource", "url": "http://hl7.org/fhir/uv/order-catalog/StructureDefinition/LabProcedureDefinition", "version": "0.1.0", "differential": { "element": [ { "id": "ActivityDefinition", "path": "ActivityDefinition" }, { "id": "ActivityDefinition.url", "min": 1, "path": "ActivityDefinition.url" }, { "id": "ActivityDefinition.title", "path": "ActivityDefinition.title", "mustSupport": true }, { "id": "ActivityDefinition.title.extension", "path": "ActivityDefinition.title.extension", "slicing": { "rules": "open", "discriminator": [ { "path": "url", "type": "value" } ] } }, { "id": "ActivityDefinition.title.extension:OtherTitle", "path": "ActivityDefinition.title.extension", "type": [ { "code": "Extension", "profile": [ "http://hl7.org/fhir/StructureDefinition/translation" ] } ], "sliceName": "OtherTitle" }, { "id": "ActivityDefinition.date", "path": "ActivityDefinition.date", "mustSupport": true }, { "id": "ActivityDefinition.publisher", "path": "ActivityDefinition.publisher", "mustSupport": true }, { "id": "ActivityDefinition.contact.telecom", "path": "ActivityDefinition.contact.telecom", "mustSupport": true }, { "id": "ActivityDefinition.description", "path": "ActivityDefinition.description", "definition": "A free text natural language description of the laboratory procedure from a consumer's perspective.", "mustSupport": true }, { "id": "ActivityDefinition.effectivePeriod.start", "path": "ActivityDefinition.effectivePeriod.start", "mustSupport": true }, { "id": "ActivityDefinition.effectivePeriod.end", "path": "ActivityDefinition.effectivePeriod.end", "mustSupport": true }, { "id": "ActivityDefinition.topic", "path": "ActivityDefinition.topic", "short": "Categorization of the laboratory procedure", "comment": "Examples could be lab specialties: chemistry, hormonology, hematology, bacteriology, virology ..\r\nOther examples might list medical specialty of orderer: cardiology, dermatology, gastroenterology ...", "mustSupport": true }, { "id": "ActivityDefinition.kind", "min": 1, "path": "ActivityDefinition.kind", "fixedCode": "ServiceRequest" }, { "id": "ActivityDefinition.code", "path": "ActivityDefinition.code", "mustSupport": true }, { "id": "ActivityDefinition.code.coding", "path": "ActivityDefinition.code.coding", "short": "Code for the laboratory procedure", "slicing": { "rules": "open", "ordered": false, "discriminator": [ { "path": "system", "type": "value" } ] } }, { "id": "ActivityDefinition.code.coding:orderCodeLOINC", "max": "1", "path": "ActivityDefinition.code.coding", "short": "LOINC code for the laboratory procedure", "sliceName": "orderCodeLOINC", "mustSupport": true }, { "id": "ActivityDefinition.code.coding:orderCodeLOINC.system", "path": "ActivityDefinition.code.coding.system", "label": "LOINC", "short": "LOINC test code for this activity", "fixedUri": "http://loinc.org", "mustSupport": true }, { "id": "ActivityDefinition.doNotPerform", "max": "0", "path": "ActivityDefinition.doNotPerform" }, { "id": "ActivityDefinition.location", "path": "ActivityDefinition.location", "short": "The physical sector of the laboratory performing the procedure", "comment": "May be tha laboratory as a whole or its work area facility or a sector of it", "definition": "Identifies the facility where the laboratory procedure will occur, and where the specimens will be conveyed" }, { "id": "ActivityDefinition.specimenRequirement", "path": "ActivityDefinition.specimenRequirement", "type": [ { "code": "Reference", "targetProfile": [ "http://hl7.org/fhir/uv/order-catalog/StructureDefinition/LabSpecimenDefinition" ] } ], "short": "What specimens are required to perform this laboratory procedure", "definition": "Defines specimen requirements for the laboratory procedure (test or panel) to be performed.", "mustSupport": true }, { "id": "ActivityDefinition.observationRequirement", "path": "ActivityDefinition.observationRequirement", "type": [ { "code": "Reference", "targetProfile": [ "http://hl7.org/fhir/uv/order-catalog/StructureDefinition/InputObservationDefinition" ] } ], "short": "What observations are required to perform this laboratory procedure", "definition": "Defines observation requirements for the laboratory procedure (test or panel) to be performed, such as body weight or surface area.", "mustSupport": true }, { "id": "ActivityDefinition.observationResultRequirement", "path": "ActivityDefinition.observationResultRequirement", "type": [ { "code": "Reference", "targetProfile": [ "http://hl7.org/fhir/uv/order-catalog/StructureDefinition/LabObservationDefinition" ] } ], "short": "What observations are produced by this laboratory procedure", "definition": "Defines the observations that are expected to be produced by the laboratory procedure.", "mustSupport": true } ] }, "contact": [ { "telecom": [ { "value": "http://hl7.org/Special/committees/orders", "system": "url" } ] } ], "baseDefinition": "http://hl7.org/fhir/StructureDefinition/ActivityDefinition" }