Onconova Implementation Guide
0.2.0 - ci-build
Onconova Implementation Guide - Local Development build (v0.2.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: http://onconova.github.io/fhir/StructureDefinition/onconova-surgical-procedure | Version: 0.2.0 | |||
| Active as of 2026-03-18 | Computable Name: OnconovaSurgicalProcedure | |||
A profile representing a surgical procedure performed on a cancer patient, including details about the procedure, its intent, and relevant dates.
It extends the base mCODE CancerRelatedSurgicalProcedure profile to include specific constraints and requirements for Onconova.
Conformance:
Procedure resources representing a surgery in the scope of Onconova SHALL conform to this profile. Any resource intended to conform to this profile SHOULD populate meta.profile accordingly.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | CancerRelatedSurgicalProcedure | An action that is being or was performed on a patient Constraints: us-core-7, mcode-reason-required, o-sur-req-1, o-sur-req-2, o-sur-req-3, o-sur-req-4 | ||||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||||
![]() ![]() |
S | 1..* | Extension | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() |
SO | 1..1 | (Complex) | Procedure Intent Extension URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-procedure-intent
| ||||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-procedure-intent" | |||||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Value of extension Binding: Treatment Intents Value Set (required) | |||||||
![]() ![]() ![]() |
SO | 0..1 | Reference(Therapy Line Profile) | Reference to the therapy line associated with this treatment URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-reference
| ||||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||||
![]() ![]() |
Σ | 0..* | Reference(US Core CarePlan Profile | US Core ServiceRequest Profile) | Not used in this profile | ||||||
![]() ![]() |
Σ | 0..* | Reference(Procedure | Observation | MedicationAdministration) | Not used in this profile | ||||||
![]() ![]() |
?!SΣC | 1..1 | code | Not used in this profile Binding: EventStatus (required) | ||||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | Not used in this profile Binding: ProcedureNotPerformedReason(SNOMED-CT) (example): A code that identifies the reason a procedure was not performed. | ||||||
![]() ![]() |
SOΣ | 1..1 | CodeableConcept | (USCDI) Identification of the procedure Binding: Surgical Procedures Value Set (required)
| ||||||
![]() ![]() |
SOΣ | 1..1 | Reference(Cancer Patient Profile) | (USCDI) Who the procedure was performed on
| ||||||
![]() ![]() |
Σ | 0..1 | Reference(Encounter) | Not used in this profile | ||||||
![]() ![]() |
SOΣC | 0..1 | dateTime S | The date on which the surgical procedure was performed
| ||||||
![]() ![]() |
Σ | 0..1 | Reference(Patient | RelatedPerson | Practitioner | PractitionerRole) | Not used in this profile | ||||||
![]() ![]() |
Σ | 0..1 | Reference(Patient | RelatedPerson | Practitioner | PractitionerRole) | Not used in this profile | ||||||
![]() ![]() |
Σ | 0..* | BackboneElement | Not used in this profile | ||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) | The reference to the practitioner | ||||||
![]() ![]() |
Σ | 0..1 | Reference(Location) | Not used in this profile | ||||||
![]() ![]() |
SΣ | 0..* | CodeableConcept | Not used in this profile Binding: Cancer Disorder Value Set (extensible) | ||||||
![]() ![]() |
SOΣ | 1..* | Reference(Primary Cancer Condition Profile | Secondary Cancer Condition Profile) | The condition(s) that motivated the surgical procedure
| ||||||
![]() ![]() |
SΣ | 0..* | CodeableConcept | Target body sites Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality. | ||||||
![]() ![]() ![]() |
S | 0..* | Extension | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() |
S | 0..* | CodeableConcept | General location qualifier (excluding laterality) for this bodySite URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-body-location-qualifier Binding: Body Location Qualifier Value Set (required) | ||||||
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Laterality qualifier for this bodySite URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-laterality-qualifier Binding: Laterality Qualifier Value Set (required) | ||||||
![]() ![]() |
SOΣ | 0..1 | CodeableConcept | The result of procedure Binding: ProcedureOutcomeCodes(SNOMEDCT) (required)
| ||||||
![]() ![]() |
0..* | Reference(DiagnosticReport | DocumentReference | Composition) | Not used in this profile | |||||||
![]() ![]() |
0..* | CodeableConcept | Not used in this profile Binding: Condition/Problem/DiagnosisCodes (example): Codes describing complications that resulted from a procedure. | |||||||
![]() ![]() |
0..* | Reference(Condition) | Not used in this profile | |||||||
![]() ![]() |
0..* | CodeableConcept | Not used in this profile Binding: ProcedureFollowUpCodes(SNOMEDCT) (example): Specific follow up required for a procedure e.g. removal of sutures. | |||||||
![]() ![]() |
0..* | BackboneElement | Not used in this profile | |||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||
![]() ![]() ![]() |
1..1 | Reference(Device) | Device that was changed | |||||||
![]() ![]() |
0..* | Reference(Device | Medication | Substance) | Not used in this profile | |||||||
![]() ![]() |
0..* | CodeableConcept | Not used in this profile Binding: FHIRDeviceTypes (example): Codes describing items used during a procedure. | |||||||
Documentation for this format | ||||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Procedure.extension:treatmentIntent.value[x] | Base | required | Treatment Intents Value Set | 📦0.2.0 | This IG |
| Procedure.status | Base | required | EventStatus | 📦4.0.1 | FHIR Std. |
| Procedure.statusReason | Base | example | Procedure Not Performed Reason (SNOMED-CT) | 📦4.0.1 | FHIR Std. |
| Procedure.code | Base | required | Surgical Procedures Value Set | 📦0.2.0 | This IG |
| Procedure.reasonCode | Base | extensible | Cancer Disorder Value Set | 📦4.0.0 | minimal Common Oncology Data Elements v4.0 |
| Procedure.bodySite | Base | example | SNOMED CT Body Structures | 📦4.0.1 | FHIR Std. |
| Procedure.outcome | Base | required | Procedure Outcome Codes (SNOMED CT) | 📦4.0.1 | FHIR Std. |
| Procedure.complication | Base | example | Condition/Problem/Diagnosis Codes | 📦4.0.1 | FHIR Std. |
| Procedure.followUp | Base | example | Procedure Follow up Codes (SNOMED CT) | 📦4.0.1 | FHIR Std. |
| Procedure.usedCode | Base | example | FHIR Device Types | 📦4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Procedure | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Procedure | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Procedure | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Procedure | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Procedure | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| mcode-reason-required | warning | Procedure | One of reasonCode or reasonReference SHALL be present |
reasonCode.exists() or reasonReference.exists()
|
| o-sur-req-1 | error | Procedure | The subject element is required and must be provided. |
subject.exists()
|
| o-sur-req-2 | error | Procedure | The performedDateTime element is required and must be provided. |
performedDateTime.exists() and performedDateTime.hasValue()
|
| o-sur-req-3 | error | Procedure | The code element is required and must be provided. |
code.exists() and code.coding.exists()
|
| o-sur-req-4 | error | Procedure | The treatmentIntent extension is required and must be provided. |
extension('http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-procedure-intent').exists()
|
| us-core-7 | error | Procedure | Performed SHALL be present if the status is 'completed' or 'in-progress' |
(status='completed' or status='in-progress') implies performed.exists()
|
This structure is derived from CancerRelatedSurgicalProcedure
| Path | Status | Usage | ValueSet | Version | Source |
| Procedure.extension:treatmentIntent.value[x] | Base | required | Treatment Intents Value Set | 📦0.2.0 | This IG |
| Procedure.code | Base | required | Surgical Procedures Value Set | 📦0.2.0 | This IG |
| Procedure.outcome | Base | required | Procedure Outcome Codes (SNOMED CT) | 📦4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| o-sur-req-1 | error | Procedure | The subject element is required and must be provided. |
subject.exists()
|
| o-sur-req-2 | error | Procedure | The performedDateTime element is required and must be provided. |
performedDateTime.exists() and performedDateTime.hasValue()
|
| o-sur-req-3 | error | Procedure | The code element is required and must be provided. |
code.exists() and code.coding.exists()
|
| o-sur-req-4 | error | Procedure | The treatmentIntent extension is required and must be provided. |
extension('http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-procedure-intent').exists()
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | CancerRelatedSurgicalProcedure | An action that is being or was performed on a patient Constraints: us-core-7, mcode-reason-required, o-sur-req-1, o-sur-req-2, o-sur-req-3, o-sur-req-4 | ||||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||||
![]() ![]() |
S | 1..* | Extension | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() |
SO | 1..1 | (Complex) | Procedure Intent Extension URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-procedure-intent
| ||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-procedure-intent" | |||||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Value of extension Binding: Treatment Intents Value Set (required) | |||||||
![]() ![]() ![]() |
SO | 0..1 | Reference(Therapy Line Profile) | Reference to the therapy line associated with this treatment URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-reference
| ||||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||||
![]() ![]() |
Σ | 0..* | Identifier | External Identifiers for this procedure | ||||||
![]() ![]() |
Σ | 0..* | canonical(PlanDefinition | ActivityDefinition | Measure | OperationDefinition | Questionnaire) | Instantiates FHIR protocol or definition | ||||||
![]() ![]() |
Σ | 0..* | uri | Instantiates external protocol or definition | ||||||
![]() ![]() |
Σ | 0..* | Reference(US Core CarePlan Profile | US Core ServiceRequest Profile) | Not used in this profile | ||||||
![]() ![]() |
Σ | 0..* | Reference(Procedure | Observation | MedicationAdministration) | Not used in this profile | ||||||
![]() ![]() |
?!SΣC | 1..1 | code | Not used in this profile Binding: EventStatus (required) | ||||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | Not used in this profile Binding: ProcedureNotPerformedReason(SNOMED-CT) (example): A code that identifies the reason a procedure was not performed. | ||||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | Classification of the procedure Binding: ProcedureCategoryCodes(SNOMEDCT) (example): A code that classifies a procedure for searching, sorting and display purposes. | ||||||
![]() ![]() |
SOΣ | 1..1 | CodeableConcept | (USCDI) Identification of the procedure Binding: Surgical Procedures Value Set (required)
| ||||||
![]() ![]() |
SOΣ | 1..1 | Reference(Cancer Patient Profile) | (USCDI) Who the procedure was performed on
| ||||||
![]() ![]() |
Σ | 0..1 | Reference(Encounter) | Not used in this profile | ||||||
![]() ![]() |
SOΣC | 0..1 | dateTime S | The date on which the surgical procedure was performed
| ||||||
![]() ![]() |
Σ | 0..1 | Reference(Patient | RelatedPerson | Practitioner | PractitionerRole) | Not used in this profile | ||||||
![]() ![]() |
Σ | 0..1 | Reference(Patient | RelatedPerson | Practitioner | PractitionerRole) | Not used in this profile | ||||||
![]() ![]() |
Σ | 0..* | BackboneElement | Not used in this profile | ||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Type of performance Binding: ProcedurePerformerRoleCodes (example): A code that identifies the role of a performer of the procedure. | ||||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) | The reference to the practitioner | ||||||
![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization the device or practitioner was acting for | |||||||
![]() ![]() |
Σ | 0..1 | Reference(Location) | Not used in this profile | ||||||
![]() ![]() |
SΣ | 0..* | CodeableConcept | Not used in this profile Binding: Cancer Disorder Value Set (extensible) | ||||||
![]() ![]() |
SOΣ | 1..* | Reference(Primary Cancer Condition Profile | Secondary Cancer Condition Profile) | The condition(s) that motivated the surgical procedure
| ||||||
![]() ![]() |
SΣ | 0..* | CodeableConcept | Target body sites Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality. | ||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
S | 0..* | Extension | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() |
S | 0..* | CodeableConcept | General location qualifier (excluding laterality) for this bodySite URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-body-location-qualifier Binding: Body Location Qualifier Value Set (required) | ||||||
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Laterality qualifier for this bodySite URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-laterality-qualifier Binding: Laterality Qualifier Value Set (required) | ||||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system | ||||||
![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||||
![]() ![]() |
SOΣ | 0..1 | CodeableConcept | The result of procedure Binding: ProcedureOutcomeCodes(SNOMEDCT) (required)
| ||||||
![]() ![]() |
0..* | Reference(DiagnosticReport | DocumentReference | Composition) | Not used in this profile | |||||||
![]() ![]() |
0..* | CodeableConcept | Not used in this profile Binding: Condition/Problem/DiagnosisCodes (example): Codes describing complications that resulted from a procedure. | |||||||
![]() ![]() |
0..* | Reference(Condition) | Not used in this profile | |||||||
![]() ![]() |
0..* | CodeableConcept | Not used in this profile Binding: ProcedureFollowUpCodes(SNOMEDCT) (example): Specific follow up required for a procedure e.g. removal of sutures. | |||||||
![]() ![]() |
0..* | Annotation | Additional information about the procedure | |||||||
![]() ![]() |
0..* | BackboneElement | Not used in this profile | |||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Kind of change to device Binding: ProcedureDeviceActionCodes (preferred): A kind of change that happened to the device during the procedure. | |||||||
![]() ![]() ![]() |
1..1 | Reference(Device) | Device that was changed | |||||||
![]() ![]() |
0..* | Reference(Device | Medication | Substance) | Not used in this profile | |||||||
![]() ![]() |
0..* | CodeableConcept | Not used in this profile Binding: FHIRDeviceTypes (example): Codes describing items used during a procedure. | |||||||
Documentation for this format | ||||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Procedure.language | Base | preferred | Common Languages | 📦4.0.1 | FHIR Std. |
| Procedure.extension:treatmentIntent.value[x] | Base | required | Treatment Intents Value Set | 📦0.2.0 | This IG |
| Procedure.status | Base | required | EventStatus | 📦4.0.1 | FHIR Std. |
| Procedure.statusReason | Base | example | Procedure Not Performed Reason (SNOMED-CT) | 📦4.0.1 | FHIR Std. |
| Procedure.category | Base | example | Procedure Category Codes (SNOMED CT) | 📦4.0.1 | FHIR Std. |
| Procedure.code | Base | required | Surgical Procedures Value Set | 📦0.2.0 | This IG |
| Procedure.performer.function | Base | example | Procedure Performer Role Codes | 📦4.0.1 | FHIR Std. |
| Procedure.reasonCode | Base | extensible | Cancer Disorder Value Set | 📦4.0.0 | minimal Common Oncology Data Elements v4.0 |
| Procedure.bodySite | Base | example | SNOMED CT Body Structures | 📦4.0.1 | FHIR Std. |
| Procedure.outcome | Base | required | Procedure Outcome Codes (SNOMED CT) | 📦4.0.1 | FHIR Std. |
| Procedure.complication | Base | example | Condition/Problem/Diagnosis Codes | 📦4.0.1 | FHIR Std. |
| Procedure.followUp | Base | example | Procedure Follow up Codes (SNOMED CT) | 📦4.0.1 | FHIR Std. |
| Procedure.focalDevice.action | Base | preferred | Procedure Device Action Codes | 📦4.0.1 | FHIR Std. |
| Procedure.usedCode | Base | example | FHIR Device Types | 📦4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Procedure | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Procedure | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Procedure | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Procedure | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Procedure | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| mcode-reason-required | warning | Procedure | One of reasonCode or reasonReference SHALL be present |
reasonCode.exists() or reasonReference.exists()
|
| o-sur-req-1 | error | Procedure | The subject element is required and must be provided. |
subject.exists()
|
| o-sur-req-2 | error | Procedure | The performedDateTime element is required and must be provided. |
performedDateTime.exists() and performedDateTime.hasValue()
|
| o-sur-req-3 | error | Procedure | The code element is required and must be provided. |
code.exists() and code.coding.exists()
|
| o-sur-req-4 | error | Procedure | The treatmentIntent extension is required and must be provided. |
extension('http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-procedure-intent').exists()
|
| us-core-7 | error | Procedure | Performed SHALL be present if the status is 'completed' or 'in-progress' |
(status='completed' or status='in-progress') implies performed.exists()
|
This structure is derived from CancerRelatedSurgicalProcedure
Summary
Mandatory: 3 elements
Must-Support: 1 element
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | CancerRelatedSurgicalProcedure | An action that is being or was performed on a patient Constraints: us-core-7, mcode-reason-required, o-sur-req-1, o-sur-req-2, o-sur-req-3, o-sur-req-4 | ||||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||||
![]() ![]() |
S | 1..* | Extension | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() |
SO | 1..1 | (Complex) | Procedure Intent Extension URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-procedure-intent
| ||||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-procedure-intent" | |||||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Value of extension Binding: Treatment Intents Value Set (required) | |||||||
![]() ![]() ![]() |
SO | 0..1 | Reference(Therapy Line Profile) | Reference to the therapy line associated with this treatment URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-reference
| ||||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||||
![]() ![]() |
Σ | 0..* | Reference(US Core CarePlan Profile | US Core ServiceRequest Profile) | Not used in this profile | ||||||
![]() ![]() |
Σ | 0..* | Reference(Procedure | Observation | MedicationAdministration) | Not used in this profile | ||||||
![]() ![]() |
?!SΣC | 1..1 | code | Not used in this profile Binding: EventStatus (required) | ||||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | Not used in this profile Binding: ProcedureNotPerformedReason(SNOMED-CT) (example): A code that identifies the reason a procedure was not performed. | ||||||
![]() ![]() |
SOΣ | 1..1 | CodeableConcept | (USCDI) Identification of the procedure Binding: Surgical Procedures Value Set (required)
| ||||||
![]() ![]() |
SOΣ | 1..1 | Reference(Cancer Patient Profile) | (USCDI) Who the procedure was performed on
| ||||||
![]() ![]() |
Σ | 0..1 | Reference(Encounter) | Not used in this profile | ||||||
![]() ![]() |
SOΣC | 0..1 | dateTime S | The date on which the surgical procedure was performed
| ||||||
![]() ![]() |
Σ | 0..1 | Reference(Patient | RelatedPerson | Practitioner | PractitionerRole) | Not used in this profile | ||||||
![]() ![]() |
Σ | 0..1 | Reference(Patient | RelatedPerson | Practitioner | PractitionerRole) | Not used in this profile | ||||||
![]() ![]() |
Σ | 0..* | BackboneElement | Not used in this profile | ||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) | The reference to the practitioner | ||||||
![]() ![]() |
Σ | 0..1 | Reference(Location) | Not used in this profile | ||||||
![]() ![]() |
SΣ | 0..* | CodeableConcept | Not used in this profile Binding: Cancer Disorder Value Set (extensible) | ||||||
![]() ![]() |
SOΣ | 1..* | Reference(Primary Cancer Condition Profile | Secondary Cancer Condition Profile) | The condition(s) that motivated the surgical procedure
| ||||||
![]() ![]() |
SΣ | 0..* | CodeableConcept | Target body sites Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality. | ||||||
![]() ![]() ![]() |
S | 0..* | Extension | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() |
S | 0..* | CodeableConcept | General location qualifier (excluding laterality) for this bodySite URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-body-location-qualifier Binding: Body Location Qualifier Value Set (required) | ||||||
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Laterality qualifier for this bodySite URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-laterality-qualifier Binding: Laterality Qualifier Value Set (required) | ||||||
![]() ![]() |
SOΣ | 0..1 | CodeableConcept | The result of procedure Binding: ProcedureOutcomeCodes(SNOMEDCT) (required)
| ||||||
![]() ![]() |
0..* | Reference(DiagnosticReport | DocumentReference | Composition) | Not used in this profile | |||||||
![]() ![]() |
0..* | CodeableConcept | Not used in this profile Binding: Condition/Problem/DiagnosisCodes (example): Codes describing complications that resulted from a procedure. | |||||||
![]() ![]() |
0..* | Reference(Condition) | Not used in this profile | |||||||
![]() ![]() |
0..* | CodeableConcept | Not used in this profile Binding: ProcedureFollowUpCodes(SNOMEDCT) (example): Specific follow up required for a procedure e.g. removal of sutures. | |||||||
![]() ![]() |
0..* | BackboneElement | Not used in this profile | |||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||
![]() ![]() ![]() |
1..1 | Reference(Device) | Device that was changed | |||||||
![]() ![]() |
0..* | Reference(Device | Medication | Substance) | Not used in this profile | |||||||
![]() ![]() |
0..* | CodeableConcept | Not used in this profile Binding: FHIRDeviceTypes (example): Codes describing items used during a procedure. | |||||||
Documentation for this format | ||||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Procedure.extension:treatmentIntent.value[x] | Base | required | Treatment Intents Value Set | 📦0.2.0 | This IG |
| Procedure.status | Base | required | EventStatus | 📦4.0.1 | FHIR Std. |
| Procedure.statusReason | Base | example | Procedure Not Performed Reason (SNOMED-CT) | 📦4.0.1 | FHIR Std. |
| Procedure.code | Base | required | Surgical Procedures Value Set | 📦0.2.0 | This IG |
| Procedure.reasonCode | Base | extensible | Cancer Disorder Value Set | 📦4.0.0 | minimal Common Oncology Data Elements v4.0 |
| Procedure.bodySite | Base | example | SNOMED CT Body Structures | 📦4.0.1 | FHIR Std. |
| Procedure.outcome | Base | required | Procedure Outcome Codes (SNOMED CT) | 📦4.0.1 | FHIR Std. |
| Procedure.complication | Base | example | Condition/Problem/Diagnosis Codes | 📦4.0.1 | FHIR Std. |
| Procedure.followUp | Base | example | Procedure Follow up Codes (SNOMED CT) | 📦4.0.1 | FHIR Std. |
| Procedure.usedCode | Base | example | FHIR Device Types | 📦4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Procedure | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Procedure | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Procedure | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Procedure | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Procedure | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| mcode-reason-required | warning | Procedure | One of reasonCode or reasonReference SHALL be present |
reasonCode.exists() or reasonReference.exists()
|
| o-sur-req-1 | error | Procedure | The subject element is required and must be provided. |
subject.exists()
|
| o-sur-req-2 | error | Procedure | The performedDateTime element is required and must be provided. |
performedDateTime.exists() and performedDateTime.hasValue()
|
| o-sur-req-3 | error | Procedure | The code element is required and must be provided. |
code.exists() and code.coding.exists()
|
| o-sur-req-4 | error | Procedure | The treatmentIntent extension is required and must be provided. |
extension('http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-procedure-intent').exists()
|
| us-core-7 | error | Procedure | Performed SHALL be present if the status is 'completed' or 'in-progress' |
(status='completed' or status='in-progress') implies performed.exists()
|
Differential View
This structure is derived from CancerRelatedSurgicalProcedure
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | CancerRelatedSurgicalProcedure | An action that is being or was performed on a patient Constraints: o-sur-req-1, o-sur-req-2, o-sur-req-3, o-sur-req-4 | ||||||
![]() ![]() |
1..* | Extension | Extension | |||||||
![]() ![]() |
Content/Rules for all slices | |||||||||
![]() ![]() ![]() |
O | 1..1 | ProcedureIntent | Procedure Intent Extension
| ||||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Value of extension Binding: Treatment Intents Value Set (required) | |||||||
![]() ![]() ![]() |
O | 0..1 | Reference(Therapy Line Profile) | Reference to the therapy line associated with this treatment URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-reference
| ||||||
![]() ![]() |
0..* | Reference(US Core CarePlan Profile | US Core ServiceRequest Profile) | Not used in this profile | |||||||
![]() ![]() |
0..* | Reference(Procedure | Observation | MedicationAdministration) | Not used in this profile | |||||||
![]() ![]() |
1..1 | code | Not used in this profile | |||||||
![]() ![]() |
0..1 | CodeableConcept | Not used in this profile | |||||||
![]() ![]() |
O | 1..1 | CodeableConcept | (USCDI) Identification of the procedure Binding: Surgical Procedures Value Set (required)
| ||||||
![]() ![]() |
O | 1..1 | Reference(Cancer Patient Profile) | (USCDI) Who the procedure was performed on
| ||||||
![]() ![]() |
0..1 | Reference(Encounter) | Not used in this profile | |||||||
![]() ![]() |
O | 0..1 | dateTime | The date on which the surgical procedure was performed
| ||||||
![]() ![]() |
0..1 | Reference(Patient | RelatedPerson | Practitioner | PractitionerRole) | Not used in this profile | |||||||
![]() ![]() |
0..1 | Reference(Patient | RelatedPerson | Practitioner | PractitionerRole) | Not used in this profile | |||||||
![]() ![]() |
0..* | BackboneElement | Not used in this profile | |||||||
![]() ![]() |
0..1 | Reference(Location) | Not used in this profile | |||||||
![]() ![]() |
0..* | CodeableConcept | Not used in this profile | |||||||
![]() ![]() |
O | 1..* | Reference(Primary Cancer Condition Profile | Secondary Cancer Condition Profile) | The condition(s) that motivated the surgical procedure
| ||||||
![]() ![]() |
SO | 0..1 | CodeableConcept | The result of procedure Binding: ProcedureOutcomeCodes(SNOMEDCT) (required)
| ||||||
![]() ![]() |
0..* | Reference(DiagnosticReport | DocumentReference | Composition) | Not used in this profile | |||||||
![]() ![]() |
0..* | CodeableConcept | Not used in this profile | |||||||
![]() ![]() |
0..* | Reference(Condition) | Not used in this profile | |||||||
![]() ![]() |
0..* | CodeableConcept | Not used in this profile | |||||||
![]() ![]() |
0..* | BackboneElement | Not used in this profile | |||||||
![]() ![]() |
0..* | Reference(Device | Medication | Substance) | Not used in this profile | |||||||
![]() ![]() |
0..* | CodeableConcept | Not used in this profile | |||||||
Documentation for this format | ||||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Procedure.extension:treatmentIntent.value[x] | Base | required | Treatment Intents Value Set | 📦0.2.0 | This IG |
| Procedure.code | Base | required | Surgical Procedures Value Set | 📦0.2.0 | This IG |
| Procedure.outcome | Base | required | Procedure Outcome Codes (SNOMED CT) | 📦4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| o-sur-req-1 | error | Procedure | The subject element is required and must be provided. |
subject.exists()
|
| o-sur-req-2 | error | Procedure | The performedDateTime element is required and must be provided. |
performedDateTime.exists() and performedDateTime.hasValue()
|
| o-sur-req-3 | error | Procedure | The code element is required and must be provided. |
code.exists() and code.coding.exists()
|
| o-sur-req-4 | error | Procedure | The treatmentIntent extension is required and must be provided. |
extension('http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-procedure-intent').exists()
|
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | CancerRelatedSurgicalProcedure | An action that is being or was performed on a patient Constraints: us-core-7, mcode-reason-required, o-sur-req-1, o-sur-req-2, o-sur-req-3, o-sur-req-4 | ||||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||||
![]() ![]() |
S | 1..* | Extension | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() |
SO | 1..1 | (Complex) | Procedure Intent Extension URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-procedure-intent
| ||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-procedure-intent" | |||||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Value of extension Binding: Treatment Intents Value Set (required) | |||||||
![]() ![]() ![]() |
SO | 0..1 | Reference(Therapy Line Profile) | Reference to the therapy line associated with this treatment URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-reference
| ||||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||||
![]() ![]() |
Σ | 0..* | Identifier | External Identifiers for this procedure | ||||||
![]() ![]() |
Σ | 0..* | canonical(PlanDefinition | ActivityDefinition | Measure | OperationDefinition | Questionnaire) | Instantiates FHIR protocol or definition | ||||||
![]() ![]() |
Σ | 0..* | uri | Instantiates external protocol or definition | ||||||
![]() ![]() |
Σ | 0..* | Reference(US Core CarePlan Profile | US Core ServiceRequest Profile) | Not used in this profile | ||||||
![]() ![]() |
Σ | 0..* | Reference(Procedure | Observation | MedicationAdministration) | Not used in this profile | ||||||
![]() ![]() |
?!SΣC | 1..1 | code | Not used in this profile Binding: EventStatus (required) | ||||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | Not used in this profile Binding: ProcedureNotPerformedReason(SNOMED-CT) (example): A code that identifies the reason a procedure was not performed. | ||||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | Classification of the procedure Binding: ProcedureCategoryCodes(SNOMEDCT) (example): A code that classifies a procedure for searching, sorting and display purposes. | ||||||
![]() ![]() |
SOΣ | 1..1 | CodeableConcept | (USCDI) Identification of the procedure Binding: Surgical Procedures Value Set (required)
| ||||||
![]() ![]() |
SOΣ | 1..1 | Reference(Cancer Patient Profile) | (USCDI) Who the procedure was performed on
| ||||||
![]() ![]() |
Σ | 0..1 | Reference(Encounter) | Not used in this profile | ||||||
![]() ![]() |
SOΣC | 0..1 | dateTime S | The date on which the surgical procedure was performed
| ||||||
![]() ![]() |
Σ | 0..1 | Reference(Patient | RelatedPerson | Practitioner | PractitionerRole) | Not used in this profile | ||||||
![]() ![]() |
Σ | 0..1 | Reference(Patient | RelatedPerson | Practitioner | PractitionerRole) | Not used in this profile | ||||||
![]() ![]() |
Σ | 0..* | BackboneElement | Not used in this profile | ||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Type of performance Binding: ProcedurePerformerRoleCodes (example): A code that identifies the role of a performer of the procedure. | ||||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) | The reference to the practitioner | ||||||
![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization the device or practitioner was acting for | |||||||
![]() ![]() |
Σ | 0..1 | Reference(Location) | Not used in this profile | ||||||
![]() ![]() |
SΣ | 0..* | CodeableConcept | Not used in this profile Binding: Cancer Disorder Value Set (extensible) | ||||||
![]() ![]() |
SOΣ | 1..* | Reference(Primary Cancer Condition Profile | Secondary Cancer Condition Profile) | The condition(s) that motivated the surgical procedure
| ||||||
![]() ![]() |
SΣ | 0..* | CodeableConcept | Target body sites Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality. | ||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
S | 0..* | Extension | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() |
S | 0..* | CodeableConcept | General location qualifier (excluding laterality) for this bodySite URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-body-location-qualifier Binding: Body Location Qualifier Value Set (required) | ||||||
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Laterality qualifier for this bodySite URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-laterality-qualifier Binding: Laterality Qualifier Value Set (required) | ||||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system | ||||||
![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||||
![]() ![]() |
SOΣ | 0..1 | CodeableConcept | The result of procedure Binding: ProcedureOutcomeCodes(SNOMEDCT) (required)
| ||||||
![]() ![]() |
0..* | Reference(DiagnosticReport | DocumentReference | Composition) | Not used in this profile | |||||||
![]() ![]() |
0..* | CodeableConcept | Not used in this profile Binding: Condition/Problem/DiagnosisCodes (example): Codes describing complications that resulted from a procedure. | |||||||
![]() ![]() |
0..* | Reference(Condition) | Not used in this profile | |||||||
![]() ![]() |
0..* | CodeableConcept | Not used in this profile Binding: ProcedureFollowUpCodes(SNOMEDCT) (example): Specific follow up required for a procedure e.g. removal of sutures. | |||||||
![]() ![]() |
0..* | Annotation | Additional information about the procedure | |||||||
![]() ![]() |
0..* | BackboneElement | Not used in this profile | |||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Kind of change to device Binding: ProcedureDeviceActionCodes (preferred): A kind of change that happened to the device during the procedure. | |||||||
![]() ![]() ![]() |
1..1 | Reference(Device) | Device that was changed | |||||||
![]() ![]() |
0..* | Reference(Device | Medication | Substance) | Not used in this profile | |||||||
![]() ![]() |
0..* | CodeableConcept | Not used in this profile Binding: FHIRDeviceTypes (example): Codes describing items used during a procedure. | |||||||
Documentation for this format | ||||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Procedure.language | Base | preferred | Common Languages | 📦4.0.1 | FHIR Std. |
| Procedure.extension:treatmentIntent.value[x] | Base | required | Treatment Intents Value Set | 📦0.2.0 | This IG |
| Procedure.status | Base | required | EventStatus | 📦4.0.1 | FHIR Std. |
| Procedure.statusReason | Base | example | Procedure Not Performed Reason (SNOMED-CT) | 📦4.0.1 | FHIR Std. |
| Procedure.category | Base | example | Procedure Category Codes (SNOMED CT) | 📦4.0.1 | FHIR Std. |
| Procedure.code | Base | required | Surgical Procedures Value Set | 📦0.2.0 | This IG |
| Procedure.performer.function | Base | example | Procedure Performer Role Codes | 📦4.0.1 | FHIR Std. |
| Procedure.reasonCode | Base | extensible | Cancer Disorder Value Set | 📦4.0.0 | minimal Common Oncology Data Elements v4.0 |
| Procedure.bodySite | Base | example | SNOMED CT Body Structures | 📦4.0.1 | FHIR Std. |
| Procedure.outcome | Base | required | Procedure Outcome Codes (SNOMED CT) | 📦4.0.1 | FHIR Std. |
| Procedure.complication | Base | example | Condition/Problem/Diagnosis Codes | 📦4.0.1 | FHIR Std. |
| Procedure.followUp | Base | example | Procedure Follow up Codes (SNOMED CT) | 📦4.0.1 | FHIR Std. |
| Procedure.focalDevice.action | Base | preferred | Procedure Device Action Codes | 📦4.0.1 | FHIR Std. |
| Procedure.usedCode | Base | example | FHIR Device Types | 📦4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Procedure | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Procedure | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Procedure | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Procedure | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Procedure | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| mcode-reason-required | warning | Procedure | One of reasonCode or reasonReference SHALL be present |
reasonCode.exists() or reasonReference.exists()
|
| o-sur-req-1 | error | Procedure | The subject element is required and must be provided. |
subject.exists()
|
| o-sur-req-2 | error | Procedure | The performedDateTime element is required and must be provided. |
performedDateTime.exists() and performedDateTime.hasValue()
|
| o-sur-req-3 | error | Procedure | The code element is required and must be provided. |
code.exists() and code.coding.exists()
|
| o-sur-req-4 | error | Procedure | The treatmentIntent extension is required and must be provided. |
extension('http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-procedure-intent').exists()
|
| us-core-7 | error | Procedure | Performed SHALL be present if the status is 'completed' or 'in-progress' |
(status='completed' or status='in-progress') implies performed.exists()
|
This structure is derived from CancerRelatedSurgicalProcedure
Summary
Mandatory: 3 elements
Must-Support: 1 element
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Other representations of profile: CSV, Excel, Schematron