{ "description": null, "_filename": "GastronetColonoscopy.json", "package_name": "colonoscopyreport.no", "date": "2021-09-07T12:29:19.1230905+00:00", "derivation": "constraint", "meta": { "lastUpdated": "2021-09-07T12:30:49.451+00:00" }, "publisher": null, "fhirVersion": "4.0.1", "name": "GastronetColonoscopy", "mapping": [ { "name": "Norwegian Colonoscopy Report", "identity": "no-colonoscopy-report" } ], "abstract": false, "type": "Procedure", "experimental": null, "resourceType": "StructureDefinition", "title": "Gastronet Colonoscopy", "package_version": "0.7.1", "snapshot": { "element": [ { "constraint": [ { "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-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-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-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()" }, { "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()" } ], "path": "Procedure", "min": 0, "definition": "An action that is or was performed on or for a patient. This can be a physical intervention like an operation, or less invasive like long term services, counseling, or hypnotherapy.", "short": "An action that is being or was performed on a patient", "mapping": [ { "map": "Entity. Role, or Act", "identity": "rim" }, { "map": "Event", "identity": "workflow" }, { "map": "Procedure[moodCode=EVN]", "identity": "rim" } ], "max": "*", "id": "Procedure", "base": { "max": "*", "min": 0, "path": "Procedure" } }, { "path": "Procedure.id", "min": 0, "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", "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": "Resource.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": "Procedure.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.", "short": "Metadata about the resource", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Meta" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "max": "1", "id": "Resource.meta", "condition": [ "ele-1" ], "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": "Procedure.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", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "uri" } ], "max": "1", "id": "Resource.implicitRules", "condition": [ "ele-1" ], "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": "Procedure.language", "min": 0, "definition": "The base language in which the resource is written.", "short": "Language of the resource content", "mapping": [ { "map": "n/a", "identity": "rim" } ], "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": "Resource.language", "condition": [ "ele-1" ], "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" } }, { "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": "Procedure.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.", "short": "Text summary of the resource, for human interpretation", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "N/A", "identity": "rim" }, { "map": "Act.text?", "identity": "rim" } ], "type": [ { "code": "Narrative" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "narrative", "html", "xhtml", "display" ], "max": "1", "id": "DomainResource.text", "condition": [ "ele-1" ], "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" } }, { "path": "Procedure.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.", "short": "Contained, inline Resources", "mapping": [ { "map": "Entity. Role, or Act", "identity": "rim" }, { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Resource" } ], "alias": [ "inline resources", "anonymous resources", "contained resources" ], "max": "*", "id": "DomainResource.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" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.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.", "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" }, { "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" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "*", "condition": [ "ele-1" ], "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" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.extension", "min": 0, "definition": "The concequence of the complications that have occured during the procedure", "short": "The concequence of the complications that have occured during the procedure", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension", "profile": [ "http://kreftregisteret.no/fhir/StructureDefinition/colonoscopyreport-complicationconsequence-extension" ] } ], "mustSupport": true, "sliceName": "complicationConsequence", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "1", "id": "Procedure.extension:complicationConsequence", "condition": [ "ele-1" ], "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" } }, { "path": "Procedure.extension.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.", "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": "Element.id", "base": { "max": "1", "min": 0, "path": "Element.id" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.extension.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.", "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" }, { "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" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "*", "condition": [ "ele-1" ], "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" } }, { "path": "Procedure.extension.url", "min": 1, "definition": "Source of the definition for the extension code - a logical name or a URL.", "short": "identifies the meaning of the extension", "fixedUri": "http://kreftregisteret.no/fhir/StructureDefinition/colonoscopyreport-complicationconsequence-extension", "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": "uri" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "Extension.url", "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", "base": { "max": "1", "min": 1, "path": "Extension.url" } }, { "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": "Procedure.extension.value[x]", "min": 0, "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "short": "Value of extension", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "N/A", "identity": "rim" }, { "map": "54", "comment": "Konsekvens av komplikasjon (flervalg tillatt, kun mulig å velge dersom valgt noe annet enn \"Ingen\" på forrige elemement, og da må det velges minst én)", "identity": "no-colonoscopy-report" } ], "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "valueSet": "http://ehelse.no/fhir/ValueSet/no-colonoscopy-complication-consequence" }, "max": "1", "id": "Procedure.extension:complicationConsequence.value[x]", "condition": [ "ele-1" ], "base": { "max": "1", "min": 0, "path": "Extension.value[x]" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.extension", "min": 0, "definition": "The furthest part of the bowel is that was reached during the colonoscopy", "short": "The furthest part of the bowel is that was reached during the colonoscopy", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension", "profile": [ "http://kreftregisteret.no/fhir/StructureDefinition/colonoscopyreport-partofbowelreached-extension" ] } ], "mustSupport": true, "sliceName": "partOfBowelReached", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "1", "id": "Procedure.extension:partOfBowelReached", "condition": [ "ele-1" ], "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" } }, { "path": "Procedure.extension.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.", "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": "Element.id", "base": { "max": "1", "min": 0, "path": "Element.id" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.extension.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.", "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" }, { "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" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "*", "condition": [ "ele-1" ], "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" } }, { "path": "Procedure.extension.url", "min": 1, "definition": "Source of the definition for the extension code - a logical name or a URL.", "short": "identifies the meaning of the extension", "fixedUri": "http://kreftregisteret.no/fhir/StructureDefinition/colonoscopyreport-partofbowelreached-extension", "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": "uri" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "Extension.url", "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", "base": { "max": "1", "min": 1, "path": "Extension.url" } }, { "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": "Procedure.extension.value[x]", "min": 0, "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "short": "Value of extension", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "N/A", "identity": "rim" }, { "map": "21", "comment": "Undersøkt til og med angitt segment", "identity": "no-colonoscopy-report" }, { "map": "segmentUndersokt_M", "identity": "krg-tech-name" } ], "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "valueSet": "http://ehelse.no/fhir/ValueSet/no-colonoscopy-segment-reached", "description": "Can be used to indicate which segment (part) of colon that has been examined" }, "max": "1", "id": "Procedure.extension:partOfBowelReached.value[x]", "condition": [ "ele-1" ], "base": { "max": "1", "min": 0, "path": "Extension.value[x]" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.extension", "min": 0, "definition": "Specifies if the caecum was intubated during the colonoscopy", "short": "Specifies if the caecum was intubated during the colonoscopy", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension", "profile": [ "http://kreftregisteret.no/fhir/StructureDefinition/colonoscopyreport-caecumintubated-extension" ] } ], "mustSupport": true, "sliceName": "caecumIntubated", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "0", "id": "Procedure.extension:caecumIntubated", "condition": [ "ele-1" ], "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" } }, { "path": "Procedure.extension.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.", "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": "Element.id", "base": { "max": "1", "min": 0, "path": "Element.id" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.extension.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.", "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" }, { "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" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "*", "condition": [ "ele-1" ], "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" } }, { "path": "Procedure.extension.url", "min": 1, "definition": "Source of the definition for the extension code - a logical name or a URL.", "short": "identifies the meaning of the extension", "fixedUri": "http://kreftregisteret.no/fhir/StructureDefinition/colonoscopyreport-caecumintubated-extension", "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": "uri" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "Extension.url", "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", "base": { "max": "1", "min": 1, "path": "Extension.url" } }, { "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": "Procedure.extension.value[x]", "min": 0, "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "short": "Value of extension", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "N/A", "identity": "rim" }, { "map": "22", "comment": "Var det indisert å intubere cøkum", "identity": "no-colonoscopy-report" }, { "map": "intubereCokumIndisert_M", "identity": "krg-tech-name" } ], "type": [ { "code": "boolean" } ], "max": "1", "id": "Procedure.extension:caecumIntubated.value[x]", "condition": [ "ele-1" ], "base": { "max": "1", "min": 0, "path": "Extension.value[x]" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.extension", "min": 0, "definition": "The duration of the procedure", "short": "The duration of the procedure", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension", "profile": [ "http://kreftregisteret.no/fhir/StructureDefinition/colonoscopyreport-procedureduration-extension" ] } ], "mustSupport": true, "sliceName": "duration", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "0", "id": "Procedure.extension:duration", "condition": [ "ele-1" ], "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" } }, { "path": "Procedure.extension.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.", "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": "Element.id", "base": { "max": "1", "min": 0, "path": "Element.id" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.extension.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.", "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" }, { "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" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "*", "condition": [ "ele-1" ], "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" } }, { "path": "Procedure.extension.url", "min": 1, "definition": "Source of the definition for the extension code - a logical name or a URL.", "short": "identifies the meaning of the extension", "fixedUri": "http://kreftregisteret.no/fhir/StructureDefinition/colonoscopyreport-procedureduration-extension", "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": "uri" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "Extension.url", "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", "base": { "max": "1", "min": 1, "path": "Extension.url" } }, { "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": "Procedure.extension.value[x]", "min": 0, "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "short": "Value of extension", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "N/A", "identity": "rim" }, { "map": "19", "comment": "Totaltid for undersøkelsen", "identity": "no-colonoscopy-report" }, { "map": "totaltidKoloskopi_M", "identity": "krg-tech-name" } ], "type": [ { "code": "Duration" } ], "max": "1", "id": "Procedure.extension:duration.value[x]", "condition": [ "ele-1" ], "base": { "max": "1", "min": 0, "path": "Extension.value[x]" } }, { "path": "Procedure.extension.value[x].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.", "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": "Element.id", "base": { "max": "1", "min": 0, "path": "Element.id" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.extension.value[x].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.", "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" }, { "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" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "Element.extension", "condition": [ "ele-1" ], "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" } }, { "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": "Procedure.extension.value[x].value", "requirements": "Precision is handled implicitly in almost all cases of measurement.", "min": 1, "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", "short": "Numerical value (with implicit precision)", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "SN.2 / CQ - N/A", "identity": "v2" }, { "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value", "identity": "rim" } ], "type": [ { "code": "decimal" } ], "max": "1", "id": "Procedure.extension:duration.value[x].value", "condition": [ "ele-1" ], "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", "base": { "max": "1", "min": 0, "path": "Quantity.value" }, "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": "Procedure.extension.value[x].comparator", "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", "min": 0, "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", "isModifier": true, "short": "< | <= | >= | > - how to understand the value", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "SN.1 / CQ.1", "identity": "v2" }, { "map": "IVL properties", "identity": "rim" } ], "type": [ { "code": "code" } ], "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "QuantityComparator" } ], "description": "How the Quantity should be understood and represented." }, "max": "1", "id": "Quantity.comparator", "condition": [ "ele-1" ], "comment": "Note that FHIR strings SHALL NOT exceed 1MB in size", "base": { "max": "1", "min": 0, "path": "Quantity.comparator" }, "isModifierReason": "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", "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": "Procedure.extension.value[x].unit", "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", "min": 1, "definition": "A human-readable form of the unit.", "short": "Unit representation", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "(see OBX.6 etc.) / CQ.2", "identity": "v2" }, { "map": "PQ.unit", "identity": "rim" } ], "type": [ { "code": "string" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true } ], "max": "1", "fixedString": "min", "id": "Procedure.extension:duration.value[x].unit", "condition": [ "ele-1" ], "comment": "Note that FHIR strings SHALL NOT exceed 1MB in size", "base": { "max": "1", "min": 0, "path": "Quantity.unit" }, "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": "Procedure.extension.value[x].system", "requirements": "Need to know the system that defines the coded form of the unit.", "min": 0, "definition": "The identification of the system that provides the coded form of the unit.", "short": "System that defines coded unit form", "fixedUri": "http://unitsofmeasure.org", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "(see OBX.6 etc.) / CQ.2", "identity": "v2" }, { "map": "CO.codeSystem, PQ.translation.codeSystem", "identity": "rim" } ], "type": [ { "code": "uri" } ], "max": "1", "id": "Procedure.extension:duration.value[x].system", "condition": [ "ele-1", "qty-3" ], "comment": "see http://en.wikipedia.org/wiki/Uniform_resource_identifier", "base": { "max": "1", "min": 0, "path": "Quantity.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": "Procedure.extension.value[x].code", "fixedCode": "min", "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", "min": 0, "definition": "A computer processable form of the unit in some unit representation system.", "short": "Coded form of the unit", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "(see OBX.6 etc.) / CQ.2", "identity": "v2" }, { "map": "PQ.code, MO.currency, PQ.translation.code", "identity": "rim" } ], "type": [ { "code": "code" } ], "max": "1", "id": "Procedure.extension:duration.value[x].code", "condition": [ "ele-1" ], "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", "base": { "max": "1", "min": 0, "path": "Quantity.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())" }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.extension", "min": 0, "definition": "Time from withdrawal from the caecum until the end of the procedure.", "short": "Time from withdrawal from the caecum until the end of the procedure.", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension", "profile": [ "http://kreftregisteret.no/fhir/StructureDefinition/colonoscopyreport-withdrawaltime" ] } ], "mustSupport": true, "sliceName": "withdrawalTime", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "1", "id": "Procedure.extension:withdrawalTime", "condition": [ "ele-1" ], "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" } }, { "path": "Procedure.extension.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.", "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": "Element.id", "base": { "max": "1", "min": 0, "path": "Element.id" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.extension.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.", "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" }, { "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" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "*", "condition": [ "ele-1" ], "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" } }, { "path": "Procedure.extension.url", "min": 1, "definition": "Source of the definition for the extension code - a logical name or a URL.", "short": "identifies the meaning of the extension", "fixedUri": "http://kreftregisteret.no/fhir/StructureDefinition/colonoscopyreport-withdrawaltime", "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": "uri" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "Extension.url", "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", "base": { "max": "1", "min": 1, "path": "Extension.url" } }, { "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": "Procedure.extension.value[x]", "min": 0, "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "short": "Value of extension", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "N/A", "identity": "rim" }, { "map": "24", "comment": "Tilbaketrekkingstid fra cøkum til avsluttet undersøkelse", "identity": "no-colonoscopy-report" }, { "map": "tilbaketrekkingstid_M", "identity": "krg-tech-name" } ], "type": [ { "code": "Duration" } ], "max": "1", "id": "Procedure.extension:withdrawalTime.value[x]", "condition": [ "ele-1" ], "base": { "max": "1", "min": 0, "path": "Extension.value[x]" } }, { "path": "Procedure.extension.value[x].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.", "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": "Element.id", "base": { "max": "1", "min": 0, "path": "Element.id" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.extension.value[x].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.", "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" }, { "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" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "Element.extension", "condition": [ "ele-1" ], "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" } }, { "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": "Procedure.extension.value[x].value", "requirements": "Precision is handled implicitly in almost all cases of measurement.", "min": 1, "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", "short": "Numerical value (with implicit precision)", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "SN.2 / CQ - N/A", "identity": "v2" }, { "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value", "identity": "rim" } ], "type": [ { "code": "decimal" } ], "mustSupport": true, "max": "1", "id": "Procedure.extension:withdrawalTime.value[x].value", "condition": [ "ele-1" ], "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", "base": { "max": "1", "min": 0, "path": "Quantity.value" }, "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": "Procedure.extension.value[x].comparator", "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", "min": 0, "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", "isModifier": true, "short": "< | <= | >= | > - how to understand the value", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "SN.1 / CQ.1", "identity": "v2" }, { "map": "IVL properties", "identity": "rim" } ], "type": [ { "code": "code" } ], "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "QuantityComparator" } ], "description": "How the Quantity should be understood and represented." }, "max": "1", "id": "Quantity.comparator", "condition": [ "ele-1" ], "comment": "Note that FHIR strings SHALL NOT exceed 1MB in size", "base": { "max": "1", "min": 0, "path": "Quantity.comparator" }, "isModifierReason": "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", "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": "Procedure.extension.value[x].unit", "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", "min": 1, "definition": "A human-readable form of the unit.", "short": "Unit representation", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "(see OBX.6 etc.) / CQ.2", "identity": "v2" }, { "map": "PQ.unit", "identity": "rim" } ], "type": [ { "code": "string" } ], "mustSupport": true, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true } ], "max": "1", "fixedString": "min", "id": "Procedure.extension:withdrawalTime.value[x].unit", "condition": [ "ele-1" ], "comment": "Note that FHIR strings SHALL NOT exceed 1MB in size", "base": { "max": "1", "min": 0, "path": "Quantity.unit" }, "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": "Procedure.extension.value[x].system", "requirements": "Need to know the system that defines the coded form of the unit.", "min": 0, "definition": "The identification of the system that provides the coded form of the unit.", "short": "System that defines coded unit form", "fixedUri": "http://unitsofmeasure.org", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "(see OBX.6 etc.) / CQ.2", "identity": "v2" }, { "map": "CO.codeSystem, PQ.translation.codeSystem", "identity": "rim" } ], "type": [ { "code": "uri" } ], "max": "1", "id": "Procedure.extension:withdrawalTime.value[x].system", "condition": [ "ele-1", "qty-3" ], "comment": "see http://en.wikipedia.org/wiki/Uniform_resource_identifier", "base": { "max": "1", "min": 0, "path": "Quantity.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": "Procedure.extension.value[x].code", "fixedCode": "min", "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", "min": 0, "definition": "A computer processable form of the unit in some unit representation system.", "short": "Coded form of the unit", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "(see OBX.6 etc.) / CQ.2", "identity": "v2" }, { "map": "PQ.code, MO.currency, PQ.translation.code", "identity": "rim" } ], "type": [ { "code": "code" } ], "max": "1", "id": "Procedure.extension:withdrawalTime.value[x].code", "condition": [ "ele-1" ], "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", "base": { "max": "1", "min": 0, "path": "Quantity.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())" }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.extension", "min": 0, "definition": "Indicates if all detected polyps are removed", "short": "Indicates if all detected polyps are removed", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension", "profile": [ "http://kreftregisteret.no/fhir/StructureDefinition/colonoscopyreport-polypsremoved" ] } ], "mustSupport": true, "sliceName": "polypsRemoved", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "0", "id": "Procedure.extension:polypsRemoved", "condition": [ "ele-1" ], "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" } }, { "path": "Procedure.extension.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.", "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": "Element.id", "base": { "max": "1", "min": 0, "path": "Element.id" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.extension.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.", "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" }, { "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" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "*", "condition": [ "ele-1" ], "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" } }, { "path": "Procedure.extension.url", "min": 1, "definition": "Source of the definition for the extension code - a logical name or a URL.", "short": "identifies the meaning of the extension", "fixedUri": "http://kreftregisteret.no/fhir/StructureDefinition/colonoscopyreport-polypsremoved", "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": "uri" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "Extension.url", "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", "base": { "max": "1", "min": 1, "path": "Extension.url" } }, { "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": "Procedure.extension.value[x]", "min": 0, "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "short": "Value of extension (yes/no/unsure)", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "N/A", "identity": "rim" }, { "map": "58", "comment": "Alle påviste polypper fjernet (Clean colon) ?", "identity": "no-colonoscopy-report" }, { "map": "polypperFjernet_M", "identity": "krg-tech-name" } ], "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "valueSet": "http://ehelse.no/fhir/ValueSet/no-colonoscopy-all-polyps-removed" }, "max": "1", "id": "Procedure.extension:polypsRemoved.value[x]", "condition": [ "ele-1" ], "base": { "max": "1", "min": 0, "path": "Extension.value[x]" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.extension", "min": 0, "definition": "Explicitly indicates if there was any medication given during the procedure .", "short": "Explicitly indicates if there was any medication given during the procedure .", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension", "profile": [ "http://kreftregisteret.no/fhir/StructureDefinition/colonoscopyreport-medicationgiven-extension" ] } ], "mustSupport": true, "sliceName": "medicationGiven", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "1", "id": "Procedure.extension:medicationGiven", "condition": [ "ele-1" ], "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" } }, { "path": "Procedure.extension.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.", "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": "Element.id", "base": { "max": "1", "min": 0, "path": "Element.id" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.extension.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.", "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" }, { "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" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "*", "condition": [ "ele-1" ], "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" } }, { "path": "Procedure.extension.url", "min": 1, "definition": "Source of the definition for the extension code - a logical name or a URL.", "short": "identifies the meaning of the extension", "fixedUri": "http://kreftregisteret.no/fhir/StructureDefinition/colonoscopyreport-medicationgiven-extension", "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": "uri" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "Extension.url", "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", "base": { "max": "1", "min": 1, "path": "Extension.url" } }, { "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": "Procedure.extension.value[x]", "min": 0, "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "short": "Value of extension", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "N/A", "identity": "rim" }, { "map": "26", "comment": "Medikament gitt før eller under undersøkelsen (ja/nei)", "identity": "no-colonoscopy-report" } ], "type": [ { "code": "boolean" } ], "max": "1", "id": "Procedure.extension:medicationGiven.value[x]", "condition": [ "ele-1" ], "base": { "max": "1", "min": 0, "path": "Extension.value[x]" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.extension", "min": 0, "definition": "Explicitly indicates if there were any anesthetics (deep sedation) given during the procedure .", "short": "Explicitly indicates if there were any anesthetics (deep sedation) given during the procedure .", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension", "profile": [ "http://kreftregisteret.no/fhir/StructureDefinition/colonoscopyreport-sedationlevel-extension" ] } ], "mustSupport": true, "sliceName": "sedationLevel", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "1", "id": "Procedure.extension:sedationLevel", "condition": [ "ele-1" ], "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" } }, { "path": "Procedure.extension.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.", "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": "Element.id", "base": { "max": "1", "min": 0, "path": "Element.id" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.extension.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.", "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" }, { "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" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "*", "condition": [ "ele-1" ], "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" } }, { "path": "Procedure.extension.url", "min": 1, "definition": "Source of the definition for the extension code - a logical name or a URL.", "short": "identifies the meaning of the extension", "fixedUri": "http://kreftregisteret.no/fhir/StructureDefinition/colonoscopyreport-sedationlevel-extension", "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": "uri" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "Extension.url", "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", "base": { "max": "1", "min": 1, "path": "Extension.url" } }, { "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": "Procedure.extension.value[x]", "min": 0, "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "short": "Value of extension", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "N/A", "identity": "rim" }, { "map": "26", "comment": "Narkose/dyp sedasjon (anstesistøtte)", "identity": "no-colonoscopy-report" } ], "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "valueSet": "http://ehelse.no/fhir/ValueSet/no-colonoscopy-sedation-level" }, "max": "1", "id": "Procedure.extension:sedationLevel.value[x]", "condition": [ "ele-1" ], "base": { "max": "1", "min": 0, "path": "Extension.value[x]" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.extension", "min": 0, "definition": "Describes what kind of laxatives were used to empty the bowel before a colonoscopy, and if the laxatives were taken as a split dose or not.", "short": "Describes what kind of laxatives were used to empty the bowel before a colonoscopy, and if the laxatives were taken as a split dose or not.", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension", "profile": [ "http://kreftregisteret.no/fhir/StructureDefinition/colonoscopyreport-laxatives-extension" ] } ], "mustSupport": true, "sliceName": "laxatives", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "1", "id": "Procedure.extension:laxatives", "condition": [ "ele-1" ], "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" } }, { "path": "Procedure.extension.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.", "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": "Element.id", "base": { "max": "1", "min": 0, "path": "Element.id" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.extension.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.", "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" }, { "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" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "*", "condition": [ "ele-1" ], "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" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.extension.extension", "min": 0, "definition": "what kind of laxatives were used to empty the bowel before a colonoscopy", "short": "what kind of laxatives were used to empty the bowel before a colonoscopy", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "mustSupport": true, "sliceName": "type", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "1", "id": "Procedure.extension:laxatives.extension:type", "condition": [ "ele-1" ], "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" } }, { "path": "Procedure.extension.extension.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.", "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": "Element.id", "base": { "max": "1", "min": 0, "path": "Element.id" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.extension.extension.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.", "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" }, { "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" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "*", "condition": [ "ele-1" ], "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" } }, { "path": "Procedure.extension.extension.url", "min": 1, "definition": "Source of the definition for the extension code - a logical name or a URL.", "short": "identifies the meaning of the extension", "fixedUri": "type", "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": "uri" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "Extension.extension:type.url", "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", "base": { "max": "1", "min": 1, "path": "Extension.url" } }, { "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": "Procedure.extension.extension.value[x]", "min": 0, "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "short": "Value of extension", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "N/A", "identity": "rim" }, { "map": "17", "comment": "Tømmingsmiddel", "identity": "no-colonoscopy-report" } ], "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "valueSet": "http://ehelse.no/fhir/ValueSet/no-colonoscopy-laxatives" }, "max": "1", "id": "Procedure.extension:laxatives.extension:type.value[x]", "condition": [ "ele-1" ], "base": { "max": "1", "min": 0, "path": "Extension.value[x]" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.extension.extension", "min": 0, "definition": "If the laxatives were taken as a split dose or not.", "short": "If the laxatives were taken as a split dose or not.", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "mustSupport": true, "sliceName": "takenAsSplitDose", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "1", "id": "Procedure.extension:laxatives.extension:takenAsSplitDose", "condition": [ "ele-1" ], "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" } }, { "path": "Procedure.extension.extension.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.", "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": "Element.id", "base": { "max": "1", "min": 0, "path": "Element.id" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.extension.extension.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.", "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" }, { "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" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "*", "condition": [ "ele-1" ], "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" } }, { "path": "Procedure.extension.extension.url", "min": 1, "definition": "Source of the definition for the extension code - a logical name or a URL.", "short": "identifies the meaning of the extension", "fixedUri": "takenAsSplitDose", "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": "uri" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "Extension.extension:takenAsSplitDose.url", "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", "base": { "max": "1", "min": 1, "path": "Extension.url" } }, { "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": "Procedure.extension.extension.value[x]", "min": 0, "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "short": "Value of extension", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "N/A", "identity": "rim" }, { "map": "18", "comment": "Tømmingsmiddel ble tatt som \"splittdosering\"", "identity": "no-colonoscopy-report" } ], "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "valueSet": "http://ehelse.no/fhir/ValueSet/no-colonoscopy-laxatives-split-dose" }, "max": "1", "id": "Procedure.extension:laxatives.extension:takenAsSplitDose.value[x]", "condition": [ "ele-1" ], "base": { "max": "1", "min": 0, "path": "Extension.value[x]" } }, { "path": "Procedure.extension.url", "min": 1, "definition": "Source of the definition for the extension code - a logical name or a URL.", "short": "identifies the meaning of the extension", "fixedUri": "http://kreftregisteret.no/fhir/StructureDefinition/colonoscopyreport-laxatives-extension", "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": "uri" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "Extension.url", "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", "base": { "max": "1", "min": 1, "path": "Extension.url" } }, { "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": "Procedure.extension.value[x]", "min": 0, "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "short": "Value of extension", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "base64Binary" }, { "code": "boolean" }, { "code": "canonical" }, { "code": "code" }, { "code": "date" }, { "code": "dateTime" }, { "code": "decimal" }, { "code": "id" }, { "code": "instant" }, { "code": "integer" }, { "code": "markdown" }, { "code": "oid" }, { "code": "positiveInt" }, { "code": "string" }, { "code": "time" }, { "code": "unsignedInt" }, { "code": "uri" }, { "code": "url" }, { "code": "uuid" }, { "code": "Address" }, { "code": "Age" }, { "code": "Annotation" }, { "code": "Attachment" }, { "code": "CodeableConcept" }, { "code": "Coding" }, { "code": "ContactPoint" }, { "code": "Count" }, { "code": "Distance" }, { "code": "Duration" }, { "code": "HumanName" }, { "code": "Identifier" }, { "code": "Money" }, { "code": "Period" }, { "code": "Quantity" }, { "code": "Range" }, { "code": "Ratio" }, { "code": "Reference" }, { "code": "SampledData" }, { "code": "Signature" }, { "code": "Timing" }, { "code": "ContactDetail" }, { "code": "Contributor" }, { "code": "DataRequirement" }, { "code": "Expression" }, { "code": "ParameterDefinition" }, { "code": "RelatedArtifact" }, { "code": "TriggerDefinition" }, { "code": "UsageContext" }, { "code": "Dosage" }, { "code": "Meta" } ], "max": "0", "id": "Extension.value[x]", "condition": [ "ele-1" ], "base": { "max": "1", "min": 0, "path": "Extension.value[x]" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.extension", "min": 0, "definition": "Indicated if there is any phot documentation that the caecum has been reached during the colonoscopy", "short": "Indicated if there is any phot documentation that the caecum has been reached during the colonoscopy", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension", "profile": [ "http://kreftregisteret.no/fhir/StructureDefinition/colonoscopyreport-caecumreacheddocumentation-extension" ] } ], "mustSupport": true, "sliceName": "photoDocumenationOfCaecumReached", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "1", "id": "Procedure.extension:photoDocumenationOfCaecumReached", "condition": [ "ele-1" ], "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" } }, { "path": "Procedure.extension.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.", "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": "Element.id", "base": { "max": "1", "min": 0, "path": "Element.id" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.extension.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.", "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" }, { "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" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "*", "condition": [ "ele-1" ], "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" } }, { "path": "Procedure.extension.url", "min": 1, "definition": "Source of the definition for the extension code - a logical name or a URL.", "short": "identifies the meaning of the extension", "fixedUri": "http://kreftregisteret.no/fhir/StructureDefinition/colonoscopyreport-caecumreacheddocumentation-extension", "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": "uri" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "Extension.url", "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", "base": { "max": "1", "min": 1, "path": "Extension.url" } }, { "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": "Procedure.extension.value[x]", "min": 0, "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "short": "Value of extension", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "boolean" } ], "mustSupport": true, "max": "1", "id": "Procedure.extension:photoDocumenationOfCaecumReached.value[x]", "condition": [ "ele-1" ], "base": { "max": "1", "min": 0, "path": "Extension.value[x]" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.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](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" }, { "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" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "DomainResource.modifierExtension", "condition": [ "ele-1" ], "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" }, { "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": "Procedure.identifier", "requirements": "Allows identification of the procedure as it is known by various participating systems and in a way that remains consistent across servers.", "min": 0, "definition": "Business identifiers assigned to this procedure by the performer or other systems which remain constant as the resource is updated and is propagated from server to server.", "short": "External Identifiers for this procedure", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "CX / EI (occasionally, more often EI maps to a resource id or a URL)", "identity": "v2" }, { "map": "II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]", "identity": "rim" }, { "map": "Identifier", "identity": "servd" }, { "map": "Event.identifier", "identity": "workflow" }, { "map": "FiveWs.identifier", "identity": "w5" }, { "map": "Some combination of ORC-2 / ORC-3 / OBR-2 / OBR-3 / IPC-1 / IPC-2 / IPC-3 / IPC-4", "identity": "v2" }, { "map": ".id", "identity": "rim" } ], "type": [ { "code": "Identifier" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "max": "*", "id": "Procedure.identifier", "condition": [ "ele-1" ], "comment": "This is a business identifier, not a resource identifier (see [discussion](resource.html#identifiers)). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For example, multiple Patient and Person resource instances might share the same social insurance number.", "base": { "max": "*", "min": 0, "path": "Procedure.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": "Procedure.instantiatesCanonical", "min": 0, "definition": "The URL pointing to a FHIR-defined protocol, guideline, order set or other definition that is adhered to in whole or in part by this Procedure.", "short": "Instantiates FHIR protocol or definition", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "Event.instantiatesCanonical", "identity": "workflow" }, { "map": ".outboundRelationship[typeCode=DEFN].target", "identity": "rim" } ], "type": [ { "code": "canonical", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/PlanDefinition", "http://hl7.org/fhir/StructureDefinition/ActivityDefinition", "http://hl7.org/fhir/StructureDefinition/Measure", "http://hl7.org/fhir/StructureDefinition/OperationDefinition", "http://hl7.org/fhir/StructureDefinition/Questionnaire" ] } ], "max": "0", "id": "Procedure.instantiatesCanonical", "condition": [ "ele-1" ], "comment": "see [Canonical References](references.html#canonical)", "base": { "max": "*", "min": 0, "path": "Procedure.instantiatesCanonical" }, "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": "Procedure.instantiatesUri", "min": 0, "definition": "The URL pointing to an externally maintained protocol, guideline, order set or other definition that is adhered to in whole or in part by this Procedure.", "short": "Instantiates external protocol or definition", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "Event.instantiatesUri", "identity": "workflow" }, { "map": ".outboundRelationship[typeCode=DEFN].target", "identity": "rim" } ], "type": [ { "code": "uri" } ], "max": "0", "id": "Procedure.instantiatesUri", "condition": [ "ele-1" ], "comment": "This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.", "base": { "max": "*", "min": 0, "path": "Procedure.instantiatesUri" }, "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())" }, { "key": "ref-1", "human": "SHALL have a contained resource if a local reference is provided", "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])", "source": "http://hl7.org/fhir/StructureDefinition/Observation", "severity": "error", "expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" } ], "path": "Procedure.basedOn", "min": 0, "definition": "A reference to a resource that contains details of the request for this procedure.", "short": "A request for this procedure", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)", "identity": "rim" }, { "map": "Event.basedOn", "identity": "workflow" }, { "map": ".outboundRelationship[typeCode=FLFS].target[classCode=(various e.g. PROC, OBS, PCPR, ACT, moodCode=RQO].code", "identity": "rim" } ], "type": [ { "code": "Reference", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/CarePlan", "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ] } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "fulfills" ], "max": "0", "id": "Procedure.basedOn", "condition": [ "ele-1" ], "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.", "base": { "max": "*", "min": 0, "path": "Procedure.basedOn" }, "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())" }, { "key": "ref-1", "human": "SHALL have a contained resource if a local reference is provided", "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])", "source": "http://hl7.org/fhir/StructureDefinition/Observation", "severity": "error", "expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" } ], "path": "Procedure.partOf", "min": 0, "definition": "A larger event of which this particular procedure is a component or step.", "short": "Part of referenced event", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)", "identity": "rim" }, { "map": "Event.partOf", "identity": "workflow" }, { "map": ".inboundRelationship[typeCode=COMP].source[classCode=SBADM or PROC or OBS, moodCode=EVN]", "identity": "rim" } ], "type": [ { "code": "Reference", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Procedure", "http://hl7.org/fhir/StructureDefinition/Observation", "http://hl7.org/fhir/StructureDefinition/MedicationAdministration" ] } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "container" ], "max": "0", "id": "Procedure.partOf", "condition": [ "ele-1" ], "comment": "The MedicationAdministration resource has a partOf reference to Procedure, but this is not a circular reference. For example, the anesthesia MedicationAdministration is part of the surgical Procedure (MedicationAdministration.partOf = Procedure). For example, the procedure to insert the IV port for an IV medication administration is part of the medication administration (Procedure.partOf = MedicationAdministration).", "base": { "max": "*", "min": 0, "path": "Procedure.partOf" }, "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": "Procedure.status", "fixedCode": "completed", "min": 1, "definition": "A code specifying the state of the procedure. Generally, this will be the in-progress or completed state.", "isModifier": true, "short": "preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "Event.status", "identity": "workflow" }, { "map": "FiveWs.status", "identity": "w5" }, { "map": "statusCode", "identity": "rim" } ], "type": [ { "code": "code" } ], "mustSupport": true, "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/event-status|4.0.1", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "ProcedureStatus" } ], "description": "A code specifying the state of the procedure." }, "max": "1", "id": "Procedure.status", "condition": [ "ele-1" ], "comment": "The \"unknown\" code is not to be used to convey other statuses. The \"unknown\" code should be used when one of the statuses applies, but the authoring system doesn't know the current state of the procedure.\n\nThis element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", "base": { "max": "1", "min": 1, "path": "Procedure.status" }, "isModifierReason": "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", "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": "Procedure.statusReason", "min": 0, "definition": "Captures the reason for the current state of the procedure.", "short": "Reason for current status", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "CE/CNE/CWE", "identity": "v2" }, { "map": "CD", "identity": "rim" }, { "map": "fhir:CodeableConcept rdfs:subClassOf dt:CD", "identity": "orim" }, { "map": "Event.statusReason", "identity": "workflow" }, { "map": ".reason.Observation.value", "identity": "rim" } ], "type": [ { "code": "CodeableConcept" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "binding": { "strength": "example", "valueSet": "http://hl7.org/fhir/ValueSet/procedure-not-performed-reason", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "ProcedureNegationReason" } ], "description": "A code that identifies the reason a procedure was not performed." }, "alias": [ "Suspended Reason", "Cancelled Reason" ], "max": "0", "id": "Procedure.statusReason", "condition": [ "ele-1" ], "comment": "This is generally only used for \"exception\" statuses such as \"not-done\", \"suspended\" or \"aborted\". The reason for performing the event at all is captured in reasonCode, not here.", "base": { "max": "1", "min": 0, "path": "Procedure.statusReason" }, "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": "Procedure.category", "min": 0, "definition": "A code that classifies the procedure for searching, sorting and display purposes (e.g. \"Surgical Procedure\").", "short": "Classification of the procedure", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "CE/CNE/CWE", "identity": "v2" }, { "map": "CD", "identity": "rim" }, { "map": "fhir:CodeableConcept rdfs:subClassOf dt:CD", "identity": "orim" }, { "map": "FiveWs.class", "identity": "w5" }, { "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code", "identity": "rim" }, { "map": "20", "comment": "Type koloskopi", "identity": "no-colonoscopy-report" } ], "type": [ { "code": "CodeableConcept" } ], "mustSupport": true, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "binding": { "strength": "required", "valueSet": "http://ehelse.no/fhir/ValueSet/no-colonoscopy-type", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "ProcedureCategory" } ], "description": "A code that classifies a procedure for searching, sorting and display purposes." }, "max": "1", "id": "Procedure.category", "condition": [ "ele-1" ], "comment": "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.", "base": { "max": "1", "min": 0, "path": "Procedure.category" }, "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": "Procedure.code", "requirements": "0..1 to account for primarily narrative only resources.", "min": 0, "definition": "The specific procedure that is performed. Use text if the exact nature of the procedure cannot be coded (e.g. \"Laparoscopic Appendectomy\").", "short": "Identification of the procedure", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "CE/CNE/CWE", "identity": "v2" }, { "map": "CD", "identity": "rim" }, { "map": "fhir:CodeableConcept rdfs:subClassOf dt:CD", "identity": "orim" }, { "map": "Event.code", "identity": "workflow" }, { "map": "FiveWs.what[x]", "identity": "w5" }, { "map": "OBR-44/OBR-45", "identity": "v2" }, { "map": ".code", "identity": "rim" }, { "map": "61", "comment": "Prosedyrekoder (NCMP-NCSP-NCRP)", "identity": "no-colonoscopy-report" }, { "map": "prosedyrekoder_M", "identity": "krg-tech-name" } ], "type": [ { "code": "CodeableConcept" } ], "mustSupport": true, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "binding": { "strength": "example", "valueSet": "http://hl7.org/fhir/ValueSet/procedure-code", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "ProcedureCode" } ], "description": "A code to identify a specific procedure ." }, "alias": [ "type" ], "max": "1", "id": "Procedure.code", "condition": [ "ele-1" ], "comment": "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.", "base": { "max": "1", "min": 0, "path": "Procedure.code" }, "isSummary": true }, { "path": "Procedure.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.", "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": "Element.id", "base": { "max": "1", "min": 0, "path": "Element.id" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.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.", "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" }, { "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" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "Element.extension", "condition": [ "ele-1" ], "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" } }, { "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": "Procedure.code.coding", "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", "min": 1, "definition": "A reference to a code defined by a terminology system.", "short": "Code defined by a terminology system", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6", "identity": "v2" }, { "map": "CV", "identity": "rim" }, { "map": "fhir:Coding rdfs:subClassOf dt:CDCoding", "identity": "orim" }, { "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", "discriminator": [ { "path": "$this", "type": "value" } ] }, "type": [ { "code": "Coding" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "max": "*", "id": "Procedure.code.coding", "condition": [ "ele-1" ], "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": "Procedure.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 Norsk Klinisk Prosedyrekodeverk (NCMP, NCSP og NCRP)", "short": "Codes defined by Norsk Klinisk Prosedyrekodeverk (NCMP, NCSP og NCRP)", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6", "identity": "v2" }, { "map": "CV", "identity": "rim" }, { "map": "fhir:Coding rdfs:subClassOf dt:CDCoding", "identity": "orim" }, { "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": "NKPK", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "max": "1", "id": "Procedure.code.coding:NKPK", "condition": [ "ele-1" ], "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.", "patternCoding": { "system": "urn:oid:2.16.578.1.12.4.1.1.7275" }, "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": "Procedure.code.coding", "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", "min": 1, "definition": "A reference to a code defined SNOMED CT.", "short": "Code defined by SNOMED CT", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6", "identity": "v2" }, { "map": "CV", "identity": "rim" }, { "map": "fhir:Coding rdfs:subClassOf dt:CDCoding", "identity": "orim" }, { "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": "SNOMED-CT", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "max": "1", "id": "Procedure.code.coding:SNOMED-CT", "condition": [ "ele-1" ], "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.", "patternCoding": { "code": "73761001", "system": "http://snomed.info/sct" }, "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": "Procedure.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 ICPC-2", "short": "Code defined by a ICPC-2", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6", "identity": "v2" }, { "map": "CV", "identity": "rim" }, { "map": "fhir:Coding rdfs:subClassOf dt:CDCoding", "identity": "orim" }, { "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" } ], "sliceName": "ICPC-2", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "max": "1", "id": "Procedure.code.coding:ICPC-2", "condition": [ "ele-1" ], "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.", "patternCoding": { "system": "http://hl7.org/fhir/sid/icpc-2" }, "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": "Procedure.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.", "short": "Plain text representation of the concept", "mapping": [ { "map": "n/a", "identity": "rim" }, { "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": "CodeableConcept.text", "condition": [ "ele-1" ], "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())" }, { "key": "ref-1", "human": "SHALL have a contained resource if a local reference is provided", "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])", "source": "http://hl7.org/fhir/StructureDefinition/Observation", "severity": "error", "expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" } ], "path": "Procedure.subject", "min": 1, "definition": "The person, animal or group on which the procedure was performed.", "short": "Who the procedure was performed on", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)", "identity": "rim" }, { "map": "Event.subject", "identity": "workflow" }, { "map": "FiveWs.subject[x]", "identity": "w5" }, { "map": "PID-3", "identity": "v2" }, { "map": ".participation[typeCode=SBJ].role", "identity": "rim" }, { "map": "FiveWs.subject", "identity": "w5" } ], "type": [ { "code": "Reference", "targetProfile": [ "http://kvalitetsregistre.no/fhir/StructureDefinition/colonoscopyreport-patient-gastronet" ] } ], "mustSupport": true, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "patient" ], "max": "1", "id": "Procedure.subject", "condition": [ "ele-1" ], "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.", "base": { "max": "1", "min": 1, "path": "Procedure.subject" }, "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())" }, { "key": "ref-1", "human": "SHALL have a contained resource if a local reference is provided", "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])", "source": "http://hl7.org/fhir/StructureDefinition/Observation", "severity": "error", "expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" } ], "path": "Procedure.encounter", "min": 0, "definition": "The Encounter during which this Procedure was created or performed or to which the creation of this record is tightly associated.", "short": "Encounter created as part of", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)", "identity": "rim" }, { "map": "Event.context", "identity": "workflow" }, { "map": "FiveWs.context", "identity": "w5" }, { "map": "PV1-19", "identity": "v2" }, { "map": ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]", "identity": "rim" } ], "type": [ { "code": "Reference", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Encounter" ] } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "max": "0", "id": "Procedure.encounter", "condition": [ "ele-1" ], "comment": "This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter.", "base": { "max": "1", "min": 0, "path": "Procedure.encounter" }, "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": "Procedure.performed[x]", "min": 0, "definition": "Estimated or actual date, date-time, period, or age when the procedure was performed. Allows a period to support complex procedures that span more than one date, and also allows for the length of the procedure to be captured.", "short": "When the procedure was performed", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "Event.occurrence[x]", "identity": "workflow" }, { "map": "FiveWs.done[x]", "identity": "w5" }, { "map": "OBR-7", "identity": "v2" }, { "map": ".effectiveTime", "identity": "rim" }, { "map": "5", "comment": "Dato for u.s.", "identity": "no-colonoscopy-report" }, { "map": "meldingsdato_M", "identity": "krg-tech-name" } ], "type": [ { "code": "dateTime" } ], "mustSupport": true, "max": "1", "id": "Procedure.performed[x]", "condition": [ "ele-1" ], "comment": "Age is generally used when the patient reports an age at which the procedure was performed. Range is generally used when the patient reports an age range when the procedure was performed, such as sometime between 20-25 years old. dateTime supports a range of precision due to some procedures being reported as past procedures that might not have millisecond precision while other procedures performed and documented during the encounter might have more precise UTC timestamps with timezone.", "base": { "max": "1", "min": 0, "path": "Procedure.performed[x]" }, "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())" }, { "key": "ref-1", "human": "SHALL have a contained resource if a local reference is provided", "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])", "source": "http://hl7.org/fhir/StructureDefinition/Observation", "severity": "error", "expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" } ], "path": "Procedure.recorder", "min": 0, "definition": "Individual who recorded the record and takes responsibility for its content.", "short": "Who recorded the procedure", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)", "identity": "rim" }, { "map": "FiveWs.author", "identity": "w5" }, { "map": ".participation[typeCode=AUT].role", "identity": "rim" } ], "type": [ { "code": "Reference", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole" ] } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "max": "0", "id": "Procedure.recorder", "condition": [ "ele-1" ], "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.", "base": { "max": "1", "min": 0, "path": "Procedure.recorder" }, "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())" }, { "key": "ref-1", "human": "SHALL have a contained resource if a local reference is provided", "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])", "source": "http://hl7.org/fhir/StructureDefinition/Observation", "severity": "error", "expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" } ], "path": "Procedure.asserter", "min": 0, "definition": "Individual who is making the procedure statement.", "short": "Person who asserts this procedure", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)", "identity": "rim" }, { "map": "FiveWs.source", "identity": "w5" }, { "map": ".participation[typeCode=INF].role", "identity": "rim" } ], "type": [ { "code": "Reference", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole" ] } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "max": "0", "id": "Procedure.asserter", "condition": [ "ele-1" ], "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.", "base": { "max": "1", "min": 0, "path": "Procedure.asserter" }, "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": "Procedure.performer", "min": 0, "definition": "Limited to \"real\" people rather than equipment.", "short": "The people who performed the procedure", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "Event.performer", "identity": "workflow" }, { "map": ".participation[typeCode=PRF]", "identity": "rim" }, { "map": "6", "comment": "Hovedskopør", "identity": "no-colonoscopy-report" }, { "map": "8", "comment": "Sykepleier", "identity": "no-colonoscopy-report" }, { "map": "9", "comment": "Assisterende sykepleiere", "identity": "no-colonoscopy-report" }, { "map": "7", "comment": "Sykepleier", "identity": "no-colonoscopy-report" }, { "map": "hovedskopor_M", "identity": "krg-tech-name" } ], "type": [ { "code": "BackboneElement" } ], "mustSupport": true, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "max": "*", "id": "Procedure.performer", "condition": [ "ele-1" ], "base": { "max": "*", "min": 0, "path": "Procedure.performer" }, "isSummary": true }, { "path": "Procedure.performer.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.", "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": "Element.id", "base": { "max": "1", "min": 0, "path": "Element.id" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.performer.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.", "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" }, { "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" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "Element.extension", "condition": [ "ele-1" ], "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" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.performer.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](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" }, { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content", "modifiers" ], "max": "*", "id": "BackboneElement.modifierExtension", "condition": [ "ele-1" ], "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": "Procedure.performer.function", "requirements": "Allows disambiguation of the types of involvement of different performers.", "min": 0, "definition": "Distinguishes the type of involvement of the performer in the procedure. For example, surgeon, anaesthetist, endoscopist.", "short": "Type of performance", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "CE/CNE/CWE", "identity": "v2" }, { "map": "CD", "identity": "rim" }, { "map": "fhir:CodeableConcept rdfs:subClassOf dt:CD", "identity": "orim" }, { "map": "Event.performer.function", "identity": "workflow" }, { "map": "Some combination of STF-18 / PRA-3 / PRT-4 / ROL-3 / ORC-12 / OBR-16 / PV1-7 / PV1-8 / PV1-9 / PV1-17 / OBX-25", "identity": "v2" }, { "map": ".functionCode", "identity": "rim" } ], "type": [ { "code": "CodeableConcept" } ], "mustSupport": true, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "binding": { "strength": "required", "valueSet": "http://ehelse.no/fhir/ValueSet/no-procedure-performer-function", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "ProcedurePerformerRole" } ], "description": "A code that identifies the role of a performer of the procedure." }, "max": "1", "id": "Procedure.performer.function", "condition": [ "ele-1" ], "comment": "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.", "base": { "max": "1", "min": 0, "path": "Procedure.performer.function" }, "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())" }, { "key": "ref-1", "human": "SHALL have a contained resource if a local reference is provided", "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])", "source": "http://hl7.org/fhir/StructureDefinition/Observation", "severity": "error", "expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" } ], "path": "Procedure.performer.actor", "requirements": "A reference to Device supports use cases, such as pacemakers.", "min": 1, "definition": "The practitioner who was involved in the procedure.", "short": "The reference to the practitioner", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)", "identity": "rim" }, { "map": "Event.performer.actor", "identity": "workflow" }, { "map": "FiveWs.actor", "identity": "w5" }, { "map": "ORC-19/PRT-5", "identity": "v2" }, { "map": ".role", "identity": "rim" } ], "type": [ { "code": "Reference", "targetProfile": [ "http://hl7.no/fhir/StructureDefinition/no-basis-Practitioner" ] } ], "mustSupport": true, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "max": "1", "id": "Procedure.performer.actor", "condition": [ "ele-1" ], "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.", "base": { "max": "1", "min": 1, "path": "Procedure.performer.actor" }, "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())" }, { "key": "ref-1", "human": "SHALL have a contained resource if a local reference is provided", "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])", "source": "http://hl7.org/fhir/StructureDefinition/Observation", "severity": "error", "expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" } ], "path": "Procedure.performer.onBehalfOf", "requirements": "Practitioners and Devices can be associated with multiple organizations. This element indicates which organization they were acting on behalf of when performing the action.", "min": 0, "definition": "The organization the device or practitioner was acting on behalf of.", "short": "Organization the device or practitioner was acting for", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)", "identity": "rim" }, { "map": ".scoper", "identity": "rim" } ], "type": [ { "code": "Reference", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Organization" ] } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "max": "1", "id": "Procedure.performer.onBehalfOf", "condition": [ "ele-1" ], "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.", "base": { "max": "1", "min": 0, "path": "Procedure.performer.onBehalfOf" } }, { "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": "ref-1", "human": "SHALL have a contained resource if a local reference is provided", "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])", "source": "http://hl7.org/fhir/StructureDefinition/Observation", "severity": "error", "expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" } ], "path": "Procedure.location", "requirements": "Ties a procedure to where the records are likely kept.", "min": 0, "definition": "The location where the procedure actually happened. E.g. a newborn at home, a tracheostomy at a restaurant.", "short": "Where the procedure happened", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)", "identity": "rim" }, { "map": "FiveWs.where[x]", "identity": "w5" }, { "map": ".participation[typeCode=LOC].role[classCode=SDLOC]", "identity": "rim" }, { "map": "3", "comment": "Helseforetak/screeningsenter/sykehus RESH id", "identity": "no-colonoscopy-report" } ], "type": [ { "code": "Reference", "targetProfile": [ "http://hl7.no/fhir/StructureDefinition/no-basis-Location" ] } ], "mustSupport": true, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "max": "1", "id": "Procedure.location", "condition": [ "ele-1" ], "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.", "base": { "max": "1", "min": 0, "path": "Procedure.location" }, "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": "Procedure.reasonCode", "min": 0, "definition": "The coded reason why the procedure was performed. This may be a coded entity of some type, or may simply be present as text.", "short": "Coded reason procedure performed", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "CE/CNE/CWE", "identity": "v2" }, { "map": "CD", "identity": "rim" }, { "map": "fhir:CodeableConcept rdfs:subClassOf dt:CD", "identity": "orim" }, { "map": "Event.reasonCode", "identity": "workflow" }, { "map": "FiveWs.why[x]", "identity": "w5" }, { "map": ".reasonCode", "identity": "rim" }, { "map": "11", "comment": "Indikasjon for undersøkelse", "identity": "no-colonoscopy-report" }, { "map": "indikasjonPolyppkontroll_M", "identity": "krg-tech-name" }, { "map": "indikasjonFunnKoloskopi_M", "identity": "krg-tech-name" }, { "map": "indikasjonPrimarScreening_M", "identity": "krg-tech-name" }, { "map": "indikasjonPositivIfobt_M", "identity": "krg-tech-name" }, { "map": "indikasjonUfullstendig_M", "identity": "krg-tech-name" } ], "type": [ { "code": "CodeableConcept" } ], "mustSupport": true, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "binding": { "strength": "required", "valueSet": "http://ehelse.no/fhir/valueset/no-colonoscopy-procedure-reason", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "ProcedureReason" } ], "description": "A code that identifies the reason a procedure is required." }, "max": "*", "id": "Procedure.reasonCode", "condition": [ "ele-1" ], "comment": "Use Procedure.reasonCode when a code sufficiently describes the reason. Use Procedure.reasonReference when referencing a resource, which allows more information to be conveyed, such as onset date. Procedure.reasonCode and Procedure.reasonReference are not meant to be duplicative. For a single reason, either Procedure.reasonCode or Procedure.reasonReference can be used. Procedure.reasonCode may be a summary code, or Procedure.reasonReference may be used to reference a very precise definition of the reason using Condition | Observation | Procedure | DiagnosticReport | DocumentReference. Both Procedure.reasonCode and Procedure.reasonReference can be used if they are describing different reasons for the procedure.", "base": { "max": "*", "min": 0, "path": "Procedure.reasonCode" }, "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())" }, { "key": "ref-1", "human": "SHALL have a contained resource if a local reference is provided", "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])", "source": "http://hl7.org/fhir/StructureDefinition/Observation", "severity": "error", "expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" } ], "path": "Procedure.reasonReference", "min": 0, "definition": "The justification of why the procedure was performed.", "short": "The justification that the procedure was performed", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)", "identity": "rim" }, { "map": "Event.reasonReference", "identity": "workflow" }, { "map": "FiveWs.why[x]", "identity": "w5" }, { "map": ".reasonCode", "identity": "rim" } ], "type": [ { "code": "Reference", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Condition", "http://hl7.org/fhir/StructureDefinition/Observation", "http://hl7.org/fhir/StructureDefinition/Procedure", "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", "http://hl7.org/fhir/StructureDefinition/DocumentReference" ] } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "max": "0", "id": "Procedure.reasonReference", "condition": [ "ele-1" ], "comment": "It is possible for a procedure to be a reason (such as C-Section) for another procedure (such as an epidural). Other examples include endoscopy for dilatation and biopsy (a combination of diagnostic and therapeutic use). \nUse Procedure.reasonCode when a code sufficiently describes the reason. Use Procedure.reasonReference when referencing a resource, which allows more information to be conveyed, such as onset date. Procedure.reasonCode and Procedure.reasonReference are not meant to be duplicative. For a single reason, either Procedure.reasonCode or Procedure.reasonReference can be used. Procedure.reasonCode may be a summary code, or Procedure.reasonReference may be used to reference a very precise definition of the reason using Condition | Observation | Procedure | DiagnosticReport | DocumentReference. Both Procedure.reasonCode and Procedure.reasonReference can be used if they are describing different reasons for the procedure.", "base": { "max": "*", "min": 0, "path": "Procedure.reasonReference" }, "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": "Procedure.bodySite", "min": 0, "definition": "Detailed and structured anatomical location information. Multiple locations are allowed - e.g. multiple punch biopsies of a lesion.", "short": "Target body sites", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "CE/CNE/CWE", "identity": "v2" }, { "map": "CD", "identity": "rim" }, { "map": "fhir:CodeableConcept rdfs:subClassOf dt:CD", "identity": "orim" }, { "map": "OBX-20", "identity": "v2" }, { "map": ".targetSiteCode", "identity": "rim" } ], "type": [ { "code": "CodeableConcept" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "binding": { "strength": "preferred", "valueSet": "http://hl7.org/fhir/ValueSet/body-site", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "BodySite" } ], "description": "Codes describing anatomical locations. May include laterality." }, "max": "0", "id": "Procedure.bodySite", "condition": [ "ele-1" ], "comment": "If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [procedure-targetbodystructure](extension-procedure-targetbodystructure.html).", "base": { "max": "*", "min": 0, "path": "Procedure.bodySite" }, "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": "Procedure.outcome", "min": 0, "definition": "The outcome of the procedure - did it resolve the reasons for the procedure being performed?", "short": "The result of procedure", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "CE/CNE/CWE", "identity": "v2" }, { "map": "CD", "identity": "rim" }, { "map": "fhir:CodeableConcept rdfs:subClassOf dt:CD", "identity": "orim" }, { "map": ".outboundRelationship[typeCode=OUT].target.text", "identity": "rim" } ], "type": [ { "code": "CodeableConcept" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "binding": { "strength": "example", "valueSet": "http://hl7.org/fhir/ValueSet/procedure-outcome", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "ProcedureOutcome" } ], "description": "An outcome of a procedure - whether it was resolved or otherwise." }, "max": "0", "id": "Procedure.outcome", "condition": [ "ele-1" ], "comment": "If outcome contains narrative text only, it can be captured using the CodeableConcept.text.", "base": { "max": "1", "min": 0, "path": "Procedure.outcome" }, "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())" }, { "key": "ref-1", "human": "SHALL have a contained resource if a local reference is provided", "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])", "source": "http://hl7.org/fhir/StructureDefinition/Observation", "severity": "error", "expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" } ], "path": "Procedure.report", "min": 0, "definition": "This could be a histology result, pathology report, surgical report, etc.", "short": "Any report resulting from the procedure", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)", "identity": "rim" }, { "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN]", "identity": "rim" } ], "type": [ { "code": "Reference", "targetProfile": [ "http://kvalitetsregistre.no/fhir/StructureDefinition/colonoscopyreport-diagnosticreport-gastronet" ] } ], "mustSupport": true, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "max": "*", "id": "Procedure.report", "condition": [ "ele-1" ], "comment": "There could potentially be multiple reports - e.g. if this was a procedure which took multiple biopsies resulting in a number of anatomical pathology reports.", "base": { "max": "*", "min": 0, "path": "Procedure.report" } }, { "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": "Procedure.complication", "min": 0, "definition": "Any complications that occurred during the procedure, or in the immediate post-performance period. These are generally tracked separately from the notes, which will typically describe the procedure itself rather than any 'post procedure' issues.", "short": "Complication following the procedure", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "CE/CNE/CWE", "identity": "v2" }, { "map": "CD", "identity": "rim" }, { "map": "fhir:CodeableConcept rdfs:subClassOf dt:CD", "identity": "orim" }, { "map": ".outboundRelationship[typeCode=OUTC].target[classCode=OBS, code=\"complication\", moodCode=EVN].value", "identity": "rim" }, { "map": "55", "comment": "Komplikasjoner under undersøkelsen (flervalg tillatt, minst ett må velges)", "identity": "no-colonoscopy-report" }, { "map": "komplikasjonIngen_M", "identity": "krg-tech-name" }, { "map": "komplikasjonBlodning_M", "identity": "krg-tech-name" }, { "map": "komplikasjonPerforasjon_M", "identity": "krg-tech-name" }, { "map": "komplikasjonVasovagal_M", "identity": "krg-tech-name" }, { "map": "komplikasjonRespSvikt_M", "identity": "krg-tech-name" }, { "map": "komplikasjonKardiovaskular_M", "identity": "krg-tech-name" }, { "map": "komplikasjonAllergi_M", "identity": "krg-tech-name" }, { "map": "komplikasjonAnnet_M", "identity": "krg-tech-name" } ], "type": [ { "code": "CodeableConcept" } ], "mustSupport": true, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "binding": { "strength": "required", "valueSet": "http://ehelse.no/fhir/ValueSet/no-colonoscopy-complication", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "ProcedureComplication" } ], "description": "Codes describing complications that resulted from a procedure." }, "max": "*", "id": "Procedure.complication", "condition": [ "ele-1" ], "comment": "If complications are only expressed by the narrative text, they can be captured using the CodeableConcept.text.", "base": { "max": "*", "min": 0, "path": "Procedure.complication" } }, { "path": "Procedure.complication.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.", "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": "Element.id", "base": { "max": "1", "min": 0, "path": "Element.id" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.complication.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.", "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" }, { "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" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "Element.extension", "condition": [ "ele-1" ], "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" } }, { "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": "Procedure.complication.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.", "short": "Code defined by a terminology system", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6", "identity": "v2" }, { "map": "CV", "identity": "rim" }, { "map": "fhir:Coding rdfs:subClassOf dt:CDCoding", "identity": "orim" }, { "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, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "max": "*", "id": "Procedure.complication.coding", "condition": [ "ele-1" ], "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": "Procedure.complication.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.", "short": "Plain text representation of the concept", "mapping": [ { "map": "n/a", "identity": "rim" }, { "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": "CodeableConcept.text", "condition": [ "ele-1" ], "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())" }, { "key": "ref-1", "human": "SHALL have a contained resource if a local reference is provided", "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])", "source": "http://hl7.org/fhir/StructureDefinition/Observation", "severity": "error", "expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" } ], "path": "Procedure.complicationDetail", "requirements": "This is used to document a condition that is a result of the procedure, not the condition that was the reason for the procedure.", "min": 0, "definition": "Any complications that occurred during the procedure, or in the immediate post-performance period.", "short": "A condition that is a result of the procedure", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)", "identity": "rim" }, { "map": ".outboundRelationship[typeCode=OUTC].target[classCode=OBS, code=\"complication\", moodCode=EVN].value", "identity": "rim" } ], "type": [ { "code": "Reference", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Condition" ] } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "max": "0", "id": "Procedure.complicationDetail", "condition": [ "ele-1" ], "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.", "base": { "max": "*", "min": 0, "path": "Procedure.complicationDetail" } }, { "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": "Procedure.followUp", "min": 0, "definition": "If the procedure required specific follow up - e.g. removal of sutures. The follow up may be represented as a simple note or could potentially be more complex, in which case the CarePlan resource can be used.", "short": "Instructions for follow up", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "CE/CNE/CWE", "identity": "v2" }, { "map": "CD", "identity": "rim" }, { "map": "fhir:CodeableConcept rdfs:subClassOf dt:CD", "identity": "orim" }, { "map": ".outboundRelationship[typeCode=COMP].target[classCode=ACT, moodCode=INT].code", "identity": "rim" }, { "map": "62", "comment": "Videre oppfølging", "identity": "no-colonoscopy-report" }, { "map": "oppfolgingIngen_M", "identity": "krg-tech-name" }, { "map": "oppfolgingAvventerHist_M", "identity": "krg-tech-name" }, { "map": "oppfolgingAvventerHist_M", "identity": "krg-tech-name" }, { "map": "oppfolgingNyKoloskopi_M", "identity": "krg-tech-name" }, { "map": "oppfolgingHenvist_M", "identity": "krg-tech-name" }, { "map": "oppfolgingCtKolografi_M", "identity": "krg-tech-name" }, { "map": "oppfolgingAnnet_M", "identity": "krg-tech-name" } ], "type": [ { "code": "CodeableConcept" } ], "mustSupport": true, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "binding": { "strength": "required", "valueSet": "http://ehelse.no/fhir/ValueSet/no-colonoscopy-followup", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "ProcedureFollowUp" } ], "description": "Specific follow up required for a procedure e.g. removal of sutures." }, "max": "0", "id": "Procedure.followUp", "condition": [ "ele-1" ], "comment": "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.", "base": { "max": "*", "min": 0, "path": "Procedure.followUp" } }, { "path": "Procedure.followUp.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.", "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": "Element.id", "base": { "max": "1", "min": 0, "path": "Element.id" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.followUp.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.", "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" }, { "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" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "*", "condition": [ "ele-1" ], "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" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.followUp.extension", "min": 0, "definition": "Number of months until next colonoscopy", "short": "Number of months until next colonoscopy", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension", "profile": [ "http://kreftregisteret.no/fhir/StructureDefinition/colonoscopyreport-monthsuntilnextcolonoscopy-extension" ] } ], "mustSupport": true, "sliceName": "monthsUntilNextColonoscopy", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "1", "id": "Procedure.followUp.extension:monthsUntilNextColonoscopy", "condition": [ "ele-1" ], "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" } }, { "path": "Procedure.followUp.extension.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.", "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": "Element.id", "base": { "max": "1", "min": 0, "path": "Element.id" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.followUp.extension.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.", "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" }, { "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" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "*", "condition": [ "ele-1" ], "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" } }, { "path": "Procedure.followUp.extension.url", "min": 1, "definition": "Source of the definition for the extension code - a logical name or a URL.", "short": "identifies the meaning of the extension", "fixedUri": "http://kreftregisteret.no/fhir/StructureDefinition/colonoscopyreport-monthsuntilnextcolonoscopy-extension", "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": "uri" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "Extension.url", "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", "base": { "max": "1", "min": 1, "path": "Extension.url" } }, { "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": "Procedure.followUp.extension.value[x]", "min": 0, "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "short": "Value of extension", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "N/A", "identity": "rim" }, { "map": "63", "comment": "Antall måneder til ny koloskopi", "identity": "no-colonoscopy-report" }, { "map": "koloskopiAntMnd_M", "identity": "krg-tech-name" } ], "type": [ { "code": "integer" } ], "max": "1", "id": "Procedure.followUp.extension:monthsUntilNextColonoscopy.value[x]", "condition": [ "ele-1" ], "base": { "max": "1", "min": 0, "path": "Extension.value[x]" } }, { "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": "Procedure.followUp.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.", "short": "Code defined by a terminology system", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6", "identity": "v2" }, { "map": "CV", "identity": "rim" }, { "map": "fhir:Coding rdfs:subClassOf dt:CDCoding", "identity": "orim" }, { "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" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "max": "*", "id": "CodeableConcept.coding", "condition": [ "ele-1" ], "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": "Procedure.followUp.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.", "short": "Plain text representation of the concept", "mapping": [ { "map": "n/a", "identity": "rim" }, { "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": "CodeableConcept.text", "condition": [ "ele-1" ], "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": "Procedure.note", "min": 0, "definition": "Any other notes and comments about the procedure.", "short": "Additional information about the procedure", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "N/A", "identity": "v2" }, { "map": "Act", "identity": "rim" }, { "map": "Event.note", "identity": "workflow" }, { "map": "NTE", "identity": "v2" }, { "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value", "identity": "rim" } ], "type": [ { "code": "Annotation" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "max": "0", "id": "Procedure.note", "condition": [ "ele-1" ], "comment": "For systems that do not have structured annotations, they can simply communicate a single annotation with no author or time. This element may need to be included in narrative because of the potential for modifying information. *Annotations SHOULD NOT* be used to communicate \"modifying\" information that could be computable. (This is a SHOULD because enforcing user behavior is nearly impossible).", "base": { "max": "*", "min": 0, "path": "Procedure.note" } }, { "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": "Procedure.focalDevice", "min": 0, "definition": "A device that is implanted, removed or otherwise manipulated (calibration, battery replacement, fitting a prosthesis, attaching a wound-vac, etc.) as a focal portion of the Procedure.", "short": "Manipulated, implanted, or removed device", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": ".participation[typeCode=DEV].role[classCode=MANU]", "identity": "rim" } ], "type": [ { "code": "BackboneElement" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "max": "0", "id": "Procedure.focalDevice", "condition": [ "ele-1" ], "base": { "max": "*", "min": 0, "path": "Procedure.focalDevice" } }, { "path": "Procedure.focalDevice.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.", "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": "Element.id", "base": { "max": "1", "min": 0, "path": "Element.id" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.focalDevice.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.", "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" }, { "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" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "Element.extension", "condition": [ "ele-1" ], "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" } }, { "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/DomainResource", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Procedure.focalDevice.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](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" }, { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "alias": [ "extensions", "user content", "modifiers" ], "max": "*", "id": "BackboneElement.modifierExtension", "condition": [ "ele-1" ], "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": "Procedure.focalDevice.action", "min": 0, "definition": "The kind of change that happened to the device during the procedure.", "short": "Kind of change to device", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "CE/CNE/CWE", "identity": "v2" }, { "map": "CD", "identity": "rim" }, { "map": "fhir:CodeableConcept rdfs:subClassOf dt:CD", "identity": "orim" }, { "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"procedure device action\"].value=:procedure device action codes", "identity": "rim" } ], "type": [ { "code": "CodeableConcept" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "binding": { "strength": "preferred", "valueSet": "http://hl7.org/fhir/ValueSet/device-action", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "DeviceActionKind" } ], "description": "A kind of change that happened to the device during the procedure." }, "max": "1", "id": "Procedure.focalDevice.action", "condition": [ "ele-1" ], "comment": "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.", "base": { "max": "1", "min": 0, "path": "Procedure.focalDevice.action" } }, { "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": "ref-1", "human": "SHALL have a contained resource if a local reference is provided", "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])", "source": "http://hl7.org/fhir/StructureDefinition/Observation", "severity": "error", "expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" } ], "path": "Procedure.focalDevice.manipulated", "min": 1, "definition": "The device that was manipulated (changed) during the procedure.", "short": "Device that was changed", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)", "identity": "rim" }, { "map": ".participation[typeCode=DEV].role[classCode=SDLOC]", "identity": "rim" } ], "type": [ { "code": "Reference", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Device" ] } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "max": "1", "id": "Procedure.focalDevice.manipulated", "condition": [ "ele-1" ], "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.", "base": { "max": "1", "min": 1, "path": "Procedure.focalDevice.manipulated" } }, { "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": "ref-1", "human": "SHALL have a contained resource if a local reference is provided", "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])", "source": "http://hl7.org/fhir/StructureDefinition/Observation", "severity": "error", "expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" } ], "path": "Procedure.usedReference", "requirements": "Used for tracking contamination, etc.", "min": 0, "definition": "Identifies medications, devices and any other substance used as part of the procedure.", "short": "Items used during procedure", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)", "identity": "rim" }, { "map": ".participation[typeCode=DEV].role[classCode=MANU] or\n.participation[typeCode=CSM].role[classCode=ADMM] (for Medication or Substance)", "identity": "rim" } ], "type": [ { "code": "Reference", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Device", "http://hl7.org/fhir/StructureDefinition/Medication", "http://hl7.org/fhir/StructureDefinition/Substance" ] } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "max": "0", "id": "Procedure.usedReference", "condition": [ "ele-1" ], "comment": "For devices actually implanted or removed, use Procedure.device.", "base": { "max": "*", "min": 0, "path": "Procedure.usedReference" } }, { "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": "Procedure.usedCode", "min": 0, "definition": "Identifies coded items that were used as part of the procedure.", "short": "Coded items used during the procedure", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "CE/CNE/CWE", "identity": "v2" }, { "map": "CD", "identity": "rim" }, { "map": "fhir:CodeableConcept rdfs:subClassOf dt:CD", "identity": "orim" }, { "map": "participation[typeCode=Dev].role[classCode=MANU]", "identity": "rim" } ], "type": [ { "code": "CodeableConcept" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "binding": { "strength": "example", "valueSet": "http://hl7.org/fhir/ValueSet/device-kind", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "ProcedureUsed" } ], "description": "Codes describing items used during a procedure." }, "max": "0", "id": "Procedure.usedCode", "condition": [ "ele-1" ], "comment": "For devices actually implanted or removed, use Procedure.device.", "base": { "max": "*", "min": 0, "path": "Procedure.usedCode" } } ] }, "status": "draft", "id": "104aa6aa-b139-494c-a4f1-9c40104a1627", "kind": "resource", "url": "http://kvalitetsregistre.no/fhir/StructureDefinition/colonoscopyreport-colonoscopy-gastronet", "version": null, "differential": { "element": [ { "id": "Procedure.extension", "path": "Procedure.extension", "slicing": { "rules": "open", "discriminator": [ { "path": "url", "type": "value" } ] } }, { "id": "Procedure.extension:caecumIntubated", "max": "0", "path": "Procedure.extension", "sliceName": "caecumIntubated" }, { "id": "Procedure.extension:duration", "max": "0", "path": "Procedure.extension", "sliceName": "duration" }, { "id": "Procedure.extension:polypsRemoved", "max": "0", "path": "Procedure.extension", "sliceName": "polypsRemoved" }, { "id": "Procedure.instantiatesCanonical", "max": "0", "path": "Procedure.instantiatesCanonical" }, { "id": "Procedure.instantiatesUri", "max": "0", "path": "Procedure.instantiatesUri" }, { "id": "Procedure.basedOn", "max": "0", "path": "Procedure.basedOn" }, { "id": "Procedure.partOf", "max": "0", "path": "Procedure.partOf" }, { "id": "Procedure.statusReason", "max": "0", "path": "Procedure.statusReason" }, { "id": "Procedure.subject", "path": "Procedure.subject", "type": [ { "code": "Reference", "targetProfile": [ "http://kvalitetsregistre.no/fhir/StructureDefinition/colonoscopyreport-patient-gastronet" ] } ] }, { "id": "Procedure.encounter", "max": "0", "path": "Procedure.encounter" }, { "id": "Procedure.recorder", "max": "0", "path": "Procedure.recorder" }, { "id": "Procedure.asserter", "max": "0", "path": "Procedure.asserter" }, { "id": "Procedure.reasonReference", "max": "0", "path": "Procedure.reasonReference" }, { "id": "Procedure.bodySite", "max": "0", "path": "Procedure.bodySite" }, { "id": "Procedure.outcome", "max": "0", "path": "Procedure.outcome" }, { "id": "Procedure.report", "path": "Procedure.report", "type": [ { "code": "Reference", "targetProfile": [ "http://kvalitetsregistre.no/fhir/StructureDefinition/colonoscopyreport-diagnosticreport-gastronet" ] } ] }, { "id": "Procedure.complicationDetail", "max": "0", "path": "Procedure.complicationDetail" }, { "id": "Procedure.followUp", "max": "0", "path": "Procedure.followUp" }, { "id": "Procedure.note", "max": "0", "path": "Procedure.note" }, { "id": "Procedure.focalDevice", "max": "0", "path": "Procedure.focalDevice" }, { "id": "Procedure.usedReference", "max": "0", "path": "Procedure.usedReference" }, { "id": "Procedure.usedCode", "max": "0", "path": "Procedure.usedCode" } ] }, "baseDefinition": "http://kreftregisteret.no/fhir/StructureDefinition/colonoscopyreport-colonoscopy" }