This page is part of the FHIR Specification (v0.0.82: DSTU 1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

StructureDefinition: QICore-Procedure

StructureDefinition for Profile of Procedure for decision support/quality metrics. Defines the core set of elements and extensions for quality rule and measure authors.

{
  "resourceType": "StructureDefinition",
  "id": "procedure-qicore-qicore-procedure",
  "text": {
    "status": "generated",
    "div": "<div>!-- Snipped for Brevity --></div>"
  },
  "url": "http://hl7.org/fhir/StructureDefinition/procedure-qicore-qicore-procedure",
  "name": "QICore-Procedure",
  "publisher": "Health Level Seven, Inc. - CQI WG",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://hl7.org/special/committees/CQI"
        }
      ]
    }
  ],
  "description": "Profile of Procedure for decision support/quality metrics. Defines the core set of elements and extensions for quality rule and measure authors.",
  "status": "draft",
  "date": "2015-02-27",
  "mapping": [
    {
      "identity": "qdm",
      "uri": "http://www.healthit.gov/quality-data-model",
      "name": "Quality Data Model"
    }
  ],
  "type": "constraint",
  "abstract": false,
  "base": "http://hl7.org/fhir/StructureDefinition/Procedure",
  "snapshot": {
    "element": [
      {
        "path": "Procedure",
        "name": "QICore-Procedure",
        "short": "An action that is performed on a patient",
        "definition": "An action that is performed on a patient. This can be a physical 'thing' like an operation, or less invasive like counseling or hypnotherapy.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Procedure"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "Procedure[moodCode=EVN]"
          },
          {
            "identity": "qdm",
            "map": "Intervention, performed or Procedure, performed"
          }
        ]
      },
      {
        "path": "Procedure.id",
        "short": "Logical id of this artefact",
        "definition": "The logical id of the resource, as used in the url for the resoure. Once assigned, this value never changes.",
        "comments": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation. Bundles always have an id, though it is usually a generated UUID.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ]
      },
      {
        "path": "Procedure.meta",
        "short": "Metadata about the resource",
        "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Meta"
          }
        ]
      },
      {
        "path": "Procedure.implicitRules",
        "short": "A set of rules under which this content was created",
        "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.",
        "comments": "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 as much as possible.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "isModifier": true
      },
      {
        "path": "Procedure.language",
        "short": "Language of the resource content",
        "definition": "The base language in which the resource is written.",
        "comments": "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\n\nNot 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).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "name": "Language",
          "strength": "required",
          "description": "A human language",
          "valueSetUri": "http://tools.ietf.org/html/bcp47"
        }
      },
      {
        "path": "Procedure.text",
        "short": "Text summary of the resource, for human interpretation",
        "definition": "A human-readable narrative that contains a summary of the resource, and may 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.",
        "comments": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative.",
        "alias": [
          "narrative",
          "html",
          "xhtml",
          "display"
        ],
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Narrative"
          }
        ],
        "condition": [
          "dom-1"
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "Act.text?"
          }
        ]
      },
      {
        "path": "Procedure.contained",
        "short": "Contained, inline Resources",
        "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.",
        "comments": "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.",
        "alias": [
          "inline resources",
          "anonymous resources",
          "contained resources"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Resource"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Procedure.extension",
        "slicing": {
          "discriminator": [
            "url"
          ],
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "path": "Procedure.extension",
        "name": "Procedure.approachBodySite",
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/procedure-approachBodySite"
          }
        ],
        "mapping": [
          {
            "identity": "qdm",
            "map": "anatomical approach site"
          }
        ]
      },
      {
        "path": "Procedure.extension",
        "name": "Procedure.method",
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/procedure-method"
          }
        ],
        "mapping": [
          {
            "identity": "qdm",
            "map": "method"
          }
        ]
      },
      {
        "path": "Procedure.extension",
        "name": "Procedure.incisionDateTime",
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime"
          }
        ],
        "mapping": [
          {
            "identity": "qdm",
            "map": "incision datetime"
          }
        ]
      },
      {
        "path": "Procedure.extension",
        "name": "Procedure.reasonNotPerformed",
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/procedure-reasonNotPerformed"
          }
        ],
        "mapping": [
          {
            "identity": "qdm",
            "map": "negation rationale"
          }
        ]
      },
      {
        "path": "Procedure.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "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. Usually modifier elements provide negation or qualification. In order 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.",
        "comments": "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.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Procedure.identifier",
        "short": "External Ids for this procedure",
        "definition": "This records identifiers associated with this procedure that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).",
        "requirements": "Need to allow connection to a wider workflow.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".id"
          }
        ]
      },
      {
        "path": "Procedure.patient",
        "short": "Who procedure was performed on",
        "definition": "The person on whom the procedure was performed.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/patient-qicore-qicore-patient"
          }
        ],
        "mustSupport": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role"
          }
        ]
      },
      {
        "path": "Procedure.status",
        "short": "in-progress | aborted | completed | entered-in-error",
        "definition": "A code specifying the state of the procedure record. Generally this will be in-progress or completed state.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "isSummary": true,
        "binding": {
          "name": "ProcedureStatus",
          "strength": "required",
          "description": "A code specifying the state of the procedure record",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/vs/procedure-status"
          }
        }
      },
      {
        "path": "Procedure.category",
        "short": "Classification of the procedure",
        "definition": "A code that classifies the procedure for searching, sorting and display purposes.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "name": "ProcedureCategory",
          "strength": "example",
          "description": "A code that classifies a procedure for searching, sorting and display purposes",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/vs/procedure-category"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code"
          }
        ]
      },
      {
        "path": "Procedure.type",
        "short": "Identification of the procedure",
        "definition": "The specific procedure that is performed. Use text if the exact nature of the procedure can't be coded.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true,
        "isSummary": true,
        "binding": {
          "name": "qicore-procedure-type",
          "strength": "preferred",
          "description": "Codes describing the Procedure Type",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/vs/daf-procedure-type"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".code"
          },
          {
            "identity": "qdm",
            "map": "primary code"
          }
        ]
      },
      {
        "path": "Procedure.bodySite",
        "short": "Precise location details",
        "definition": "Detailed and structured anatomical location information. Multiple locations are allowed - e.g. multiple punch biopsies of a lesion.",
        "min": 0,
        "max": "*",
        "mustSupport": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".approachSiteCode"
          },
          {
            "identity": "qdm",
            "map": "anatomical location site"
          }
        ]
      },
      {
        "path": "Procedure.bodySite.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Procedure.bodySite.extension",
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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.",
        "comments": "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.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Procedure.bodySite.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "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 that contains it. Usually modifier elements provide negation or qualification. In order 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.",
        "comments": "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.",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Procedure.bodySite.site[x]",
        "short": "Precise location details",
        "definition": "Detailed and structured anatomical location information. Multiple locations are allowed - e.g. multiple punch biopsies of a lesion.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/BodySite"
          }
        ],
        "isSummary": true
      },
      {
        "path": "Procedure.indication",
        "short": "Reason procedure performed",
        "definition": "The reason why the procedure was performed. This may be due to a Condition, may be coded entity of some type, or may simply be present as text.",
        "comments": "e.g. endoscopy for dilatation and biopsy, combination diagnosis and therapuetic.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".reasonCode"
          },
          {
            "identity": "qdm",
            "map": "reason"
          }
        ]
      },
      {
        "path": "Procedure.performer",
        "short": "The people who performed the procedure",
        "definition": "Limited to 'real' people rather than equipment.",
        "min": 0,
        "max": "*",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation[typeCode=PFM]"
          }
        ]
      },
      {
        "path": "Procedure.performer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Procedure.performer.extension",
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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.",
        "comments": "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.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Procedure.performer.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "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 that contains it. Usually modifier elements provide negation or qualification. In order 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.",
        "comments": "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.",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Procedure.performer.person",
        "short": "The reference to the practitioner",
        "definition": "The practitioner who was involved in the procedure.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/practitioner-qicore-qicore-practitioner"
          },
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/patient-qicore-qicore-patient"
          },
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/relatedperson-qicore-qicore-relatedperson"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".role"
          }
        ]
      },
      {
        "path": "Procedure.performer.role",
        "short": "The role the person was in",
        "definition": "E.g. surgeon, anaethetist, endoscopist.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".functionCode"
          }
        ]
      },
      {
        "path": "Procedure.performed[x]",
        "short": "Date/Period the procedure was performed",
        "definition": "The date(time)/period over which 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.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          },
          {
            "code": "Period"
          }
        ],
        "mustSupport": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".effectiveTime"
          },
          {
            "identity": "qdm",
            "map": "start, stop datetime"
          }
        ]
      },
      {
        "path": "Procedure.encounter",
        "short": "The encounter when procedure performed",
        "definition": "The encounter during which the procedure was performed.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/encounter-qicore-qicore-encounter"
          }
        ],
        "mustSupport": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"
          }
        ]
      },
      {
        "path": "Procedure.location",
        "short": "Where the procedure happened",
        "definition": "The location where the procedure actually happened.  e.g. a newborn at home, a tracheostomy at a restaurant.",
        "comments": "Ties a procedure to where the records are kept.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/location-qicore-qicore-location"
          }
        ],
        "isSummary": true
      },
      {
        "path": "Procedure.outcome",
        "short": "What was result of procedure?",
        "definition": "What was the outcome of the procedure - did it resolve reasons why the procedure was performed?",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "name": "ProcedureOutcome",
          "strength": "example",
          "description": "The outcome of a procedure - whether it resolveed the reasons why the procedure was performed",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/vs/procedure-outcome"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=OUT].target.text"
          }
        ]
      },
      {
        "path": "Procedure.report",
        "short": "Any report that results from the procedure",
        "definition": "This could be a histology result. There could potentially be multiple reports - e.g. if this was a procedure that made multiple biopsies.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/diagnosticreport-qicore-qicore-diagnosticreport"
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN]"
          },
          {
            "identity": "qdm",
            "map": "result"
          }
        ]
      },
      {
        "path": "Procedure.complication",
        "short": "Complication following the procedure",
        "definition": "Any complications that occurred during the procedure, or in the immediate post-operative period. These are generally tracked separately from the notes, which typically will describe the procedure itself rather than any 'post procedure' issues.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "Need specialization of OUT for this."
          }
        ]
      },
      {
        "path": "Procedure.followUp",
        "short": "Instructions for follow up",
        "definition": "If the procedure required specific follow up - e.g. removal of sutures. The followup may be represented as a simple note, or potentially could be more complex in which case the CarePlan resource can be used.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "name": "ProcedureFollowUp",
          "strength": "example",
          "description": "Specific follow up required for a procedure e.g. removal of sutures",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/vs/procedure-followup"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=ACT, moodCode=INT].code"
          }
        ]
      },
      {
        "path": "Procedure.relatedItem",
        "short": "A procedure that is related to this one",
        "definition": "Procedures may be related to other items such as procedures or medications. For example treating wound dehiscence following a previous procedure.",
        "min": 0,
        "max": "*",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=TRIG and target[classCode=PROC, moodCode=EVN]]"
          }
        ]
      },
      {
        "path": "Procedure.relatedItem.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Procedure.relatedItem.extension",
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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.",
        "comments": "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.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Procedure.relatedItem.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "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 that contains it. Usually modifier elements provide negation or qualification. In order 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.",
        "comments": "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.",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Procedure.relatedItem.type",
        "short": "caused-by | because-of",
        "definition": "The nature of the relationship.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "name": "ProcedureRelationshipType",
          "strength": "required",
          "description": "The nature of the relationship with this procedure",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/vs/procedure-relationship-type"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".inversionInd"
          }
        ]
      },
      {
        "path": "Procedure.relatedItem.target",
        "short": "The related item - e.g. a procedure",
        "definition": "The related item - e.g. a procedure.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/CarePlan"
          },
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/allergyintolerance-qicore-qicore-allergyintolerance"
          },
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/condition-qicore-qicore-condition"
          },
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/diagnosticreport-qicore-qicore-diagnosticreport"
          },
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/familyhistory-qicore-qicore-familyhistory"
          },
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/imagingstudy-qicore-qicore-imagingstudy"
          },
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/immunization-qicore-qicore-immunization"
          },
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/immunizationrecommendation-qicore-qicore-immunizationrec"
          },
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/medicationadministration-qicore-qicore-medicationadministration"
          },
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/medicationdispense-qicore-qicore-medicationdispense"
          },
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/medicationprescription-qicore-qicore-medicationprescription"
          },
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/medicationstatement-qicore-qicore-medicationstatement"
          },
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/observation-qicore-qicore-observation"
          },
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/procedure-qicore-qicore-procedure"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".target"
          }
        ]
      },
      {
        "path": "Procedure.notes",
        "short": "Additional information about procedure",
        "definition": "Any other notes about the procedure - e.g. the operative notes.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value"
          }
        ]
      },
      {
        "path": "Procedure.device",
        "short": "Device changed in procedure",
        "definition": "A device change during the procedure.",
        "min": 0,
        "max": "*"
      },
      {
        "path": "Procedure.device.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Procedure.device.extension",
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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.",
        "comments": "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.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Procedure.device.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "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 that contains it. Usually modifier elements provide negation or qualification. In order 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.",
        "comments": "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.",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Procedure.device.action",
        "short": "Kind of change to device",
        "definition": "The kind of change that happened to the device during the procedure.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "name": "DeviceActionKind",
          "strength": "required",
          "description": "The kind of change that happened to the device during the procedure",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/vs/device-action"
          }
        }
      },
      {
        "path": "Procedure.device.manipulated",
        "short": "Device that was changed",
        "definition": "The device that was manipulated (changed) during the procedure.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/device-qicore-qicore-device"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "path": "Procedure",
        "name": "QICore-Procedure",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Procedure"
          }
        ],
        "mapping": [
          {
            "identity": "qdm",
            "map": "Intervention, performed or Procedure, performed"
          }
        ]
      },
      {
        "path": "Procedure.extension",
        "slicing": {
          "discriminator": [
            "url"
          ],
          "ordered": false,
          "rules": "open"
        }
      },
      {
        "path": "Procedure.extension",
        "name": "Procedure.approachBodySite",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/procedure-approachBodySite"
          }
        ],
        "mapping": [
          {
            "identity": "qdm",
            "map": "anatomical approach site"
          }
        ]
      },
      {
        "path": "Procedure.extension",
        "name": "Procedure.method",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/procedure-method"
          }
        ],
        "mapping": [
          {
            "identity": "qdm",
            "map": "method"
          }
        ]
      },
      {
        "path": "Procedure.extension",
        "name": "Procedure.incisionDateTime",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime"
          }
        ],
        "mapping": [
          {
            "identity": "qdm",
            "map": "incision datetime"
          }
        ]
      },
      {
        "path": "Procedure.extension",
        "name": "Procedure.reasonNotPerformed",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/procedure-reasonNotPerformed"
          }
        ],
        "mapping": [
          {
            "identity": "qdm",
            "map": "negation rationale"
          }
        ]
      },
      {
        "path": "Procedure.patient",
        "type": [
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/patient-qicore-qicore-patient"
          }
        ],
        "mustSupport": true
      },
      {
        "path": "Procedure.type",
        "min": 1,
        "max": "1",
        "mustSupport": true,
        "binding": {
          "name": "qicore-procedure-type",
          "strength": "preferred",
          "description": "Codes describing the Procedure Type",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/vs/daf-procedure-type"
          }
        },
        "mapping": [
          {
            "identity": "qdm",
            "map": "primary code"
          }
        ]
      },
      {
        "path": "Procedure.bodySite",
        "min": 0,
        "max": "*",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "qdm",
            "map": "anatomical location site"
          }
        ]
      },
      {
        "path": "Procedure.indication",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "qdm",
            "map": "reason"
          }
        ]
      },
      {
        "path": "Procedure.performer"
      },
      {
        "path": "Procedure.performer.person",
        "type": [
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/practitioner-qicore-qicore-practitioner"
          },
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/patient-qicore-qicore-patient"
          },
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/relatedperson-qicore-qicore-relatedperson"
          }
        ]
      },
      {
        "path": "Procedure.performed[x]",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "qdm",
            "map": "start, stop datetime"
          }
        ]
      },
      {
        "path": "Procedure.encounter",
        "type": [
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/encounter-qicore-qicore-encounter"
          }
        ],
        "mustSupport": true
      },
      {
        "path": "Procedure.location",
        "type": [
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/location-qicore-qicore-location"
          }
        ]
      },
      {
        "path": "Procedure.report",
        "type": [
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/diagnosticreport-qicore-qicore-diagnosticreport"
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "qdm",
            "map": "result"
          }
        ]
      },
      {
        "path": "Procedure.relatedItem"
      },
      {
        "path": "Procedure.relatedItem.target",
        "type": [
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/CarePlan"
          },
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/allergyintolerance-qicore-qicore-allergyintolerance"
          },
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/condition-qicore-qicore-condition"
          },
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/diagnosticreport-qicore-qicore-diagnosticreport"
          },
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/familyhistory-qicore-qicore-familyhistory"
          },
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/imagingstudy-qicore-qicore-imagingstudy"
          },
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/immunization-qicore-qicore-immunization"
          },
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/immunizationrecommendation-qicore-qicore-immunizationrec"
          },
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/medicationadministration-qicore-qicore-medicationadministration"
          },
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/medicationdispense-qicore-qicore-medicationdispense"
          },
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/medicationprescription-qicore-qicore-medicationprescription"
          },
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/medicationstatement-qicore-qicore-medicationstatement"
          },
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/observation-qicore-qicore-observation"
          },
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/procedure-qicore-qicore-procedure"
          }
        ]
      },
      {
        "path": "Procedure.device"
      },
      {
        "path": "Procedure.device.manipulated",
        "type": [
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/device-qicore-qicore-device"
          }
        ]
      }
    ]
  }
}