Nationella informationsmängder
0.1 - draft
Nationella informationsmängder - Local Development build (v0.1). See the Directory of published versions
| Defining URL: | https://informationsstruktur.socialstyrelsen.se/nim/hos/fhir/StructureDefinition/NIMProvocationTest | 
| Version: | 0.1 | 
| Name: | NIMProvocationTest | 
| Title: | ProvocationTest | 
| Status: | Active as of 2021-03-30T19:36:18+02:00 | 
| Publisher: | Socialstyrelsen | 
| Source Resource: | XML / JSON / Turtle | 
The official URL for this profile is:
https://informationsstruktur.socialstyrelsen.se/nim/hos/fhir/StructureDefinition/NIMProvocationTest
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from Procedure
| Name | Flags | Card. | Type | Description & Constraints![]()  | 
|---|---|---|---|---|
![]()  | 0..* | Procedure | An action that is being or was performed on a patient | |
![]() ![]()  | 1..1 | code | preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown Required Pattern: completed  | |
![]() ![]()  | S | 0..1 | CodeableConcept | Classification of the procedure Required Pattern: At least the following  | 
![]() ![]() ![]()  | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex)  | |
![]() ![]() ![]() ![]()  | 1..1 | uri | Identity of the terminology system Fixed Value: http://snomed.info/sct  | |
![]() ![]() ![]() ![]()  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 103693007  | |
![]() ![]()  | S | 0..1 | CodeableConcept | Identification of the procedure Required Pattern: At least the following  | 
![]() ![]() ![]()  | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex)  | |
![]() ![]() ![]() ![]()  | 1..1 | uri | Identity of the terminology system Fixed Value: http://snomed.info/sct  | |
![]() ![]() ![]() ![]()  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 52424002  | |
![]() ![]()  | 0..1 | (Slice Definition) | When the procedure was performed Slice: Unordered, Open by type:$this  | |
![]() ![]()  | S | 0..1 | dateTime | When the procedure was performed | 
![]() ![]()  | S | 0..* | Reference(Substans) | Items used during procedure | 
  Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints![]()  | 
|---|---|---|---|---|
![]()  | 0..* | Procedure | An action that is being or was performed on a patient | |
![]() ![]()  | Σ | 0..1 | string | 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) Max Binding: AllLanguages: A human language.  | |
![]() ![]()  | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
![]() ![]()  | 0..* | Resource | Contained, inline Resources | |
![]() ![]()  | 0..* | Extension | Additional content defined by implementations | |
![]() ![]()  | ?! | 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(CarePlan | ServiceRequest) | A request for this procedure | 
![]() ![]()  | Σ | 0..* | Reference(Procedure | Observation | MedicationAdministration) | Part of referenced event | 
![]() ![]()  | ?!Σ | 1..1 | code | preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown Binding: EventStatus (required): A code specifying the state of the procedure. Required Pattern: completed  | 
![]() ![]()  | Σ | 0..1 | CodeableConcept | Reason for current status Binding: ProcedureNotPerformedReason(SNOMED-CT) (example): A code that identifies the reason a procedure was not performed.  | 
![]() ![]()  | SΣ | 0..1 | CodeableConcept | Classification of the procedure Binding: ProcedureCategoryCodes(SNOMEDCT) (example): A code that classifies a procedure for searching, sorting and display purposes. Required Pattern: At least the following  | 
![]() ![]() ![]()  | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]()  | 0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]()  | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex)  | |
![]() ![]() ![]() ![]()  | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]()  | 0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]()  | 1..1 | uri | Identity of the terminology system Fixed Value: http://snomed.info/sct  | |
![]() ![]() ![]() ![]()  | 0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]()  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 103693007  | |
![]() ![]() ![]() ![]()  | 0..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]()  | 0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]()  | 0..1 | string | Plain text representation of the concept | |
![]() ![]()  | SΣ | 0..1 | CodeableConcept | Identification of the procedure Binding: ProcedureCodes(SNOMEDCT) (example): A code to identify a specific procedure . Required Pattern: At least the following  | 
![]() ![]() ![]()  | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]()  | 0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]()  | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex)  | |
![]() ![]() ![]() ![]()  | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]()  | 0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]()  | 1..1 | uri | Identity of the terminology system Fixed Value: http://snomed.info/sct  | |
![]() ![]() ![]() ![]()  | 0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]()  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 52424002  | |
![]() ![]() ![]() ![]()  | 0..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]()  | 0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]()  | 0..1 | string | Plain text representation of the concept | |
![]() ![]()  | Σ | 1..1 | Reference(Patient | Group) | Who the procedure was performed on | 
![]() ![]()  | Σ | 0..1 | Reference(Encounter) | Encounter created as part of | 
![]() ![]()  | Σ | 0..1 | (Slice Definition) | When the procedure was performed Slice: Unordered, Closed by type:$this  | 
![]() ![]() ![]()  | SΣ | 0..1 | dateTime | When the procedure was performed | 
![]() ![]()  | Σ | 0..1 | Reference(Patient | RelatedPerson | Practitioner | PractitionerRole) | Who recorded the procedure | 
![]() ![]()  | Σ | 0..1 | Reference(Patient | RelatedPerson | Practitioner | PractitionerRole) | Person who asserts this procedure | 
![]() ![]()  | Σ | 0..* | BackboneElement | The people who performed the procedure | 
![]() ![]() ![]()  | 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) | Where the procedure happened | 
![]() ![]()  | Σ | 0..* | CodeableConcept | Coded reason procedure performed Binding: ProcedureReasonCodes (example): A code that identifies the reason a procedure is required.  | 
![]() ![]()  | Σ | 0..* | Reference(Condition | Observation | Procedure | DiagnosticReport | DocumentReference) | The justification that the procedure was performed | 
![]() ![]()  | Σ | 0..* | CodeableConcept | Target body sites Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.  | 
![]() ![]()  | Σ | 0..1 | CodeableConcept | The result of procedure Binding: ProcedureOutcomeCodes(SNOMEDCT) (example): An outcome of a procedure - whether it was resolved or otherwise.  | 
![]() ![]()  | 0..* | Reference(DiagnosticReport | DocumentReference | Composition) | Any report resulting from the procedure | |
![]() ![]()  | 0..* | CodeableConcept | Complication following the procedure Binding: Condition/Problem/DiagnosisCodes (example): Codes describing complications that resulted from a procedure.  | |
![]() ![]()  | 0..* | Reference(Condition) | A condition that is a result of the procedure | |
![]() ![]()  | 0..* | CodeableConcept | Instructions for follow up 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 | Manipulated, implanted, or removed device | |
![]() ![]() ![]()  | 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 | |
![]() ![]()  | S | 0..* | Reference(Substans) | Items used during procedure | 
![]() ![]()  | 0..* | CodeableConcept | Coded items used during the procedure Binding: FHIRDeviceTypes (example): Codes describing items used during a procedure.  | |
  Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints![]()  | 
|---|---|---|---|---|
![]()  | 0..* | Procedure | An action that is being or was performed on a patient | |
![]() ![]()  | Σ | 0..1 | CodeableConcept | Classification of the procedure Binding: ProcedureCategoryCodes(SNOMEDCT) (example): A code that classifies a procedure for searching, sorting and display purposes. Required Pattern: At least the following  | 
![]() ![]() ![]()  | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex)  | |
![]() ![]() ![]() ![]()  | 1..1 | uri | Identity of the terminology system Fixed Value: http://snomed.info/sct  | |
![]() ![]() ![]() ![]()  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 103693007  | |
![]() ![]()  | Σ | 0..1 | CodeableConcept | Identification of the procedure Binding: ProcedureCodes(SNOMEDCT) (example): A code to identify a specific procedure . Required Pattern: At least the following  | 
![]() ![]() ![]()  | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex)  | |
![]() ![]() ![]() ![]()  | 1..1 | uri | Identity of the terminology system Fixed Value: http://snomed.info/sct  | |
![]() ![]() ![]() ![]()  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 52424002  | |
![]() ![]()  | Σ | 0..1 | dateTime | When the procedure was performed | 
![]() ![]()  | 0..* | Reference(Substans) | Items used during procedure | |
  Documentation for this format | ||||
This structure is derived from Procedure
Summary
Must-Support: 4 elements
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Differential View
This structure is derived from Procedure
| Name | Flags | Card. | Type | Description & Constraints![]()  | 
|---|---|---|---|---|
![]()  | 0..* | Procedure | An action that is being or was performed on a patient | |
![]() ![]()  | 1..1 | code | preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown Required Pattern: completed  | |
![]() ![]()  | S | 0..1 | CodeableConcept | Classification of the procedure Required Pattern: At least the following  | 
![]() ![]() ![]()  | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex)  | |
![]() ![]() ![]() ![]()  | 1..1 | uri | Identity of the terminology system Fixed Value: http://snomed.info/sct  | |
![]() ![]() ![]() ![]()  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 103693007  | |
![]() ![]()  | S | 0..1 | CodeableConcept | Identification of the procedure Required Pattern: At least the following  | 
![]() ![]() ![]()  | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex)  | |
![]() ![]() ![]() ![]()  | 1..1 | uri | Identity of the terminology system Fixed Value: http://snomed.info/sct  | |
![]() ![]() ![]() ![]()  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 52424002  | |
![]() ![]()  | 0..1 | (Slice Definition) | When the procedure was performed Slice: Unordered, Open by type:$this  | |
![]() ![]()  | S | 0..1 | dateTime | When the procedure was performed | 
![]() ![]()  | S | 0..* | Reference(Substans) | Items used during procedure | 
  Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints![]()  | 
|---|---|---|---|---|
![]()  | 0..* | Procedure | An action that is being or was performed on a patient | |
![]() ![]()  | Σ | 0..1 | string | 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) Max Binding: AllLanguages: A human language.  | |
![]() ![]()  | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
![]() ![]()  | 0..* | Resource | Contained, inline Resources | |
![]() ![]()  | 0..* | Extension | Additional content defined by implementations | |
![]() ![]()  | ?! | 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(CarePlan | ServiceRequest) | A request for this procedure | 
![]() ![]()  | Σ | 0..* | Reference(Procedure | Observation | MedicationAdministration) | Part of referenced event | 
![]() ![]()  | ?!Σ | 1..1 | code | preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown Binding: EventStatus (required): A code specifying the state of the procedure. Required Pattern: completed  | 
![]() ![]()  | Σ | 0..1 | CodeableConcept | Reason for current status Binding: ProcedureNotPerformedReason(SNOMED-CT) (example): A code that identifies the reason a procedure was not performed.  | 
![]() ![]()  | SΣ | 0..1 | CodeableConcept | Classification of the procedure Binding: ProcedureCategoryCodes(SNOMEDCT) (example): A code that classifies a procedure for searching, sorting and display purposes. Required Pattern: At least the following  | 
![]() ![]() ![]()  | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]()  | 0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]()  | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex)  | |
![]() ![]() ![]() ![]()  | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]()  | 0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]()  | 1..1 | uri | Identity of the terminology system Fixed Value: http://snomed.info/sct  | |
![]() ![]() ![]() ![]()  | 0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]()  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 103693007  | |
![]() ![]() ![]() ![]()  | 0..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]()  | 0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]()  | 0..1 | string | Plain text representation of the concept | |
![]() ![]()  | SΣ | 0..1 | CodeableConcept | Identification of the procedure Binding: ProcedureCodes(SNOMEDCT) (example): A code to identify a specific procedure . Required Pattern: At least the following  | 
![]() ![]() ![]()  | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]()  | 0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]()  | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex)  | |
![]() ![]() ![]() ![]()  | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]()  | 0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]()  | 1..1 | uri | Identity of the terminology system Fixed Value: http://snomed.info/sct  | |
![]() ![]() ![]() ![]()  | 0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]()  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 52424002  | |
![]() ![]() ![]() ![]()  | 0..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]()  | 0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]()  | 0..1 | string | Plain text representation of the concept | |
![]() ![]()  | Σ | 1..1 | Reference(Patient | Group) | Who the procedure was performed on | 
![]() ![]()  | Σ | 0..1 | Reference(Encounter) | Encounter created as part of | 
![]() ![]()  | Σ | 0..1 | (Slice Definition) | When the procedure was performed Slice: Unordered, Closed by type:$this  | 
![]() ![]() ![]()  | SΣ | 0..1 | dateTime | When the procedure was performed | 
![]() ![]()  | Σ | 0..1 | Reference(Patient | RelatedPerson | Practitioner | PractitionerRole) | Who recorded the procedure | 
![]() ![]()  | Σ | 0..1 | Reference(Patient | RelatedPerson | Practitioner | PractitionerRole) | Person who asserts this procedure | 
![]() ![]()  | Σ | 0..* | BackboneElement | The people who performed the procedure | 
![]() ![]() ![]()  | 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) | Where the procedure happened | 
![]() ![]()  | Σ | 0..* | CodeableConcept | Coded reason procedure performed Binding: ProcedureReasonCodes (example): A code that identifies the reason a procedure is required.  | 
![]() ![]()  | Σ | 0..* | Reference(Condition | Observation | Procedure | DiagnosticReport | DocumentReference) | The justification that the procedure was performed | 
![]() ![]()  | Σ | 0..* | CodeableConcept | Target body sites Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.  | 
![]() ![]()  | Σ | 0..1 | CodeableConcept | The result of procedure Binding: ProcedureOutcomeCodes(SNOMEDCT) (example): An outcome of a procedure - whether it was resolved or otherwise.  | 
![]() ![]()  | 0..* | Reference(DiagnosticReport | DocumentReference | Composition) | Any report resulting from the procedure | |
![]() ![]()  | 0..* | CodeableConcept | Complication following the procedure Binding: Condition/Problem/DiagnosisCodes (example): Codes describing complications that resulted from a procedure.  | |
![]() ![]()  | 0..* | Reference(Condition) | A condition that is a result of the procedure | |
![]() ![]()  | 0..* | CodeableConcept | Instructions for follow up 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 | Manipulated, implanted, or removed device | |
![]() ![]() ![]()  | 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 | |
![]() ![]()  | S | 0..* | Reference(Substans) | Items used during procedure | 
![]() ![]()  | 0..* | CodeableConcept | Coded items used during the procedure Binding: FHIRDeviceTypes (example): Codes describing items used during a procedure.  | |
  Documentation for this format | ||||
Other representations of profile: Schematron
| Path | Conformance | ValueSet / Code | 
| Procedure.language | preferred | CommonLanguages Max Binding: AllLanguages  | 
| Procedure.status | required | Pattern: completed | 
| Procedure.statusReason | example | ProcedureNotPerformedReason(SNOMED-CT) | 
| Procedure.category | example | Pattern: SNOMED CT code 103693007 | 
| Procedure.code | example | Pattern: SNOMED CT code 52424002 | 
| Procedure.performer.function | example | ProcedurePerformerRoleCodes | 
| Procedure.reasonCode | example | ProcedureReasonCodes | 
| Procedure.bodySite | example | SNOMEDCTBodyStructures | 
| Procedure.outcome | example | ProcedureOutcomeCodes(SNOMEDCT) | 
| Procedure.complication | example | Condition/Problem/DiagnosisCodes | 
| Procedure.followUp | example | ProcedureFollowUpCodes(SNOMEDCT) | 
| Procedure.focalDevice.action | preferred | ProcedureDeviceActionCodes | 
| Procedure.usedCode | example | FHIRDeviceTypes | 
| Id | Path | Details | Requirements | 
| dom-2 | Procedure | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty()  | |
| dom-3 | 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 | 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 | Procedure | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty()  | |
| dom-6 | Procedure | A resource should have narrative for robust management : text.`div`.exists()  | |
| ele-1 | Procedure.meta | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.implicitRules | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.language | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ext-1 | Procedure.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists()  | |
| ele-1 | Procedure.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ext-1 | Procedure.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists()  | |
| ele-1 | Procedure.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.instantiatesCanonical | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.instantiatesUri | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.basedOn | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.partOf | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.status | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.statusReason | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.category | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.code | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.subject | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.encounter | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.performed[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.performed[x]:performedDateTime | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.recorder | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.asserter | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.performer | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.performer.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ext-1 | Procedure.performer.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists()  | |
| ele-1 | Procedure.performer.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ext-1 | Procedure.performer.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists()  | |
| ele-1 | Procedure.performer.function | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.performer.actor | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.performer.onBehalfOf | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.location | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.reasonCode | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.reasonReference | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.bodySite | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.outcome | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.report | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.complication | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.complicationDetail | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.followUp | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.note | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.focalDevice | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.focalDevice.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ext-1 | Procedure.focalDevice.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists()  | |
| ele-1 | Procedure.focalDevice.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ext-1 | Procedure.focalDevice.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists()  | |
| ele-1 | Procedure.focalDevice.action | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.focalDevice.manipulated | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.usedReference | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ele-1 | Procedure.usedCode | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  |