us-core-procedure
type: StructureDefinition
node role: treeRoot
resource.id:
  value: us-core-procedure
domain resource.text:
  narrative.status:
    value: generated
  narrative.div: Name Flags Card. Type Description & Constraints Procedure 0..* US Core Procedure Profile status S 1..1 code Binding: EventStatus (required) code S 1..1 CodeableConcept SNOMED-CT | ICD-10 | CPT-4 Binding: US Core Procedure Codes (extensible) subject S 1..1 Reference(US Core Patient Profile) performed[x] S 1..1 dateTime, Period Documentation for this format
structure definition.url:
  value: http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure
structure definition.version:
  value: 1.0.1
structure definition.name:
  value: US Core Procedure Profile
structure definition.status:
  value: draft
structure definition.date:
  value: 2016-08-01T00:00:00+10:00
structure definition.publisher:
  value: HL7 US Realm Steering Committee
structure definition.contact:
  index: 0
  contact detail.telecom:
    index: 0
    contact point.system:
      value: url
    contact point.value:
      value: http://www.healthit.gov
structure definition.jurisdiction:
  index: 0
  codeable concept.coding:
    index: 0
    coding.system:
      value: urn:iso:std:iso:3166
    coding.code:
      value: US
    coding.display:
      value: United States Minor Outlying Islands (the)
structure definition.fhir version:
  value: 3.0.1
structure definition.mapping:
  index: 0
  structure definition.mapping.identity:
    value: argonaut-dq-dstu2
  structure definition.mapping.uri:
    value: http://unknown.org/Argonaut DQ DSTU2
  structure definition.mapping.name:
    value: Argonaut DQ DSTU2
structure definition.mapping:
  index: 1
  structure definition.mapping.identity:
    value: rim
  structure definition.mapping.uri:
    value: http://hl7.org/v3
  structure definition.mapping.name:
    value: RIM Mapping
structure definition.mapping:
  index: 2
  structure definition.mapping.identity:
    value: w5
  structure definition.mapping.uri:
    value: http://hl7.org/fhir/w5
  structure definition.mapping.name:
    value: W5 Mapping
structure definition.mapping:
  index: 3
  structure definition.mapping.identity:
    value: v2
  structure definition.mapping.uri:
    value: http://hl7.org/v2
  structure definition.mapping.name:
    value: HL7 v2 Mapping
structure definition.kind:
  value: resource
structure definition.abstract:
  value: false
structure definition.type:
  value: Procedure
structure definition.base definition:
  value: http://hl7.org/fhir/StructureDefinition/Procedure
structure definition.derivation:
  value: constraint
structure definition.snapshot:
  structure definition.snapshot.element:
    index: 0
    element.id:
      value: Procedure
    element definition.path:
      value: Procedure
    element definition.short:
      value: US Core Procedure Profile
    element definition.definition:
      value: The US Core Condition Profile is based upon the core FHIR Procedure Resource and created to meet the 2015 Edition Common Clinical Data Set 'Procedures' requirements.
    element definition.min:
      value: 0
    element definition.max:
      value: *
    element definition.base:
      element definition.base.path:
        value: Procedure
      element definition.base.min:
        value: 0
      element definition.base.max:
        value: *
    element definition.constraint:
      index: 0
      element definition.constraint.key:
        value: dom-2
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: If the resource is contained in another resource, it SHALL NOT contain nested Resources
      element definition.constraint.expression:
        value: contained.contained.empty()
      element definition.constraint.xpath:
        value: not(parent::f:contained and f:contained)
      element definition.constraint.source:
        value: DomainResource
    element definition.constraint:
      index: 1
      element definition.constraint.key:
        value: dom-1
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: If the resource is contained in another resource, it SHALL NOT contain any narrative
      element definition.constraint.expression:
        value: contained.text.empty()
      element definition.constraint.xpath:
        value: not(parent::f:contained and f:text)
      element definition.constraint.source:
        value: DomainResource
    element definition.constraint:
      index: 2
      element definition.constraint.key:
        value: dom-4
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
      element definition.constraint.expression:
        value: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
      element definition.constraint.xpath:
        value: not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))
      element definition.constraint.source:
        value: DomainResource
    element definition.constraint:
      index: 3
      element definition.constraint.key:
        value: dom-3
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
      element definition.constraint.expression:
        value: contained.where(('#'+id in %resource.descendants().reference).not()).empty()
      element definition.constraint.xpath:
        value: not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))
      element definition.constraint.source:
        value: DomainResource
    element definition.constraint:
      index: 4
      element definition.constraint.key:
        value: pro-1
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: Reason not done is only permitted if notDone indicator is true
      element definition.constraint.expression:
        value: notDoneReason.empty() or notDone = true
      element definition.constraint.xpath:
        value: not(exists(f:notDoneReason)) or f:notDone/@value=true()
      element definition.constraint.source:
        value: Procedure
    element definition.must support:
      value: false
    element definition.mapping:
      index: 0
      element definition.mapping.identity:
        value: rim
      element definition.mapping.map:
        value: Entity. Role, or Act
    element definition.mapping:
      index: 1
      element definition.mapping.identity:
        value: rim
      element definition.mapping.map:
        value: Procedure[moodCode=EVN]
    element definition.mapping:
      index: 2
      element definition.mapping.identity:
        value: w5
      element definition.mapping.map:
        value: clinical.general
    element definition.mapping:
      index: 3
      element definition.mapping.identity:
        value: argonaut-dq-dstu2
      element definition.mapping.map:
        value: Procedure
  structure definition.snapshot.element:
    index: 1

value: Procedure.id

value: Procedure.id

value: Logical id of this artifact

value: The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.

value: The only time that a resource does not have an id is when it is being submitted to the server using a create operation.

value: 0

value: 1

element definition.base.path:
  value: Resource.id
element definition.base.min:
  value: 0
element definition.base.max:
  value: 1

index: 0
element definition.type.code:
  value: id

value: true

index: 2
element.id:
  value: Procedure.meta
element definition.path:
  value: Procedure.meta
element definition.short:
  value: Metadata about the resource
element definition.definition:
  value: 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.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Resource.meta
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Meta
element definition.is summary:
  value: true

index: 3
element.id:
  value: Procedure.implicitRules
element definition.path:
  value: Procedure.implicitRules
element definition.short:
  value: A set of rules under which this content was created
element definition.definition:
  value: A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.
element definition.comment:
  value: 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. This element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Resource.implicitRules
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: uri
element definition.is modifier:
  value: true
element definition.is summary:
  value: true

index: 4
element.id:
  value: Procedure.language
element definition.path:
  value: Procedure.language
element definition.short:
  value: Language of the resource content
element definition.definition:
  value: The base language in which the resource is written.
element definition.comment:
  value: Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Resource.language
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: code
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet
    extension.value reference:
      link: http://hl7.org/fhir/ValueSet/all-languages
      reference.reference:
        value: http://hl7.org/fhir/ValueSet/all-languages
  element.extension:
    index: 1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: Language
  element.extension:
    index: 2
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding
    extension.value boolean:
      value: true
  element definition.binding.strength:
    value: extensible
  element definition.binding.description:
    value: A human language.
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/languages
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/languages

index: 5
element.id:
  value: Procedure.text
element definition.path:
  value: Procedure.text
element definition.short:
  value: Text summary of the resource, for human interpretation
element definition.definition:
  value: 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.
element definition.comment:
  value: Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded in formation is added later.
element definition.alias:
  value: narrative
  index: 0
element definition.alias:
  value: html
  index: 1
element definition.alias:
  value: xhtml
  index: 2
element definition.alias:
  value: display
  index: 3
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DomainResource.text
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Narrative
element definition.condition:
  value: dom-1
  index: 0
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: Act.text?

index: 6
element.id:
  value: Procedure.contained
element definition.path:
  value: Procedure.contained
element definition.short:
  value: Contained, inline Resources
element definition.definition:
  value: 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.
element definition.comment:
  value: 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.
element definition.alias:
  value: inline resources
  index: 0
element definition.alias:
  value: anonymous resources
  index: 1
element definition.alias:
  value: contained resources
  index: 2
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: DomainResource.contained
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Resource
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 7
element.id:
  value: Procedure.extension
element definition.path:
  value: Procedure.extension
element definition.short:
  value: Additional Content defined by implementations
element definition.definition:
  value: May be used to represent additional information that is not part of the basic definition of the resource. 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.
element definition.comment:
  value: 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.
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: DomainResource.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 8
element.id:
  value: Procedure.modifierExtension
element definition.path:
  value: Procedure.modifierExtension
element definition.short:
  value: Extensions that cannot be ignored
element definition.definition:
  value: 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.
element definition.comment:
  value: 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.
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: DomainResource.modifierExtension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.is modifier:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 9
element.id:
  value: Procedure.identifier
element definition.path:
  value: Procedure.identifier
element definition.short:
  value: External Identifiers for this procedure
element definition.definition:
  value: This records identifiers associated with this procedure that are defined by business processes 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).
element definition.requirements:
  value: Need to allow connection to a wider workflow.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Procedure.identifier
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Identifier
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: Some combination of ORC-2 / ORC-3 / OBR-2 / OBR-3 / IPC-1 / IPC-2 / IPC-3 / IPC-4
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .id
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: id

index: 10
element.id:
  value: Procedure.definition
element definition.path:
  value: Procedure.definition
element definition.short:
  value: Instantiates protocol or definition
element definition.definition:
  value: A protocol, guideline, orderset or other definition that was adhered to in whole or in part by this procedure.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Procedure.definition
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/PlanDefinition
element definition.type:
  index: 1
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/ActivityDefinition
element definition.type:
  index: 2
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/HealthcareService
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .outboundRelationship[typeCode=DEFN].target

index: 11
element.id:
  value: Procedure.basedOn
element definition.path:
  value: Procedure.basedOn
element definition.short:
  value: A request for this procedure
element definition.definition:
  value: A reference to a resource that contains details of the request for this procedure.
element definition.alias:
  value: fulfills
  index: 0
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Procedure.basedOn
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/CarePlan
element definition.type:
  index: 1
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/ProcedureRequest
element definition.type:
  index: 2
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/ReferralRequest
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .outboundRelationship[typeCode=FLFS].target[classCode=(various e.g. PROC, OBS, PCPR, ACT, moodCode=RQO].code

index: 12
element.id:
  value: Procedure.partOf
element definition.path:
  value: Procedure.partOf
element definition.short:
  value: Part of referenced event
element definition.definition:
  value: A larger event of which this particular procedure is a component or step.
element definition.comment:
  value: The MedicationAdministration has a partOf reference to Procedure, but this is not a circular reference. For a surgical procedure, the anesthesia related medicationAdministration is part of the procedure. For an IV medication administration, the procedure to insert the IV port is part of the medication administration.
element definition.alias:
  value: container
  index: 0
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Procedure.partOf
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Procedure
element definition.type:
  index: 1
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Observation
element definition.type:
  index: 2
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/MedicationAdministration
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .inboundRelationship[typeCode=COMP].source[classCode=SBADM or PROC or OBS, moodCode=EVN]

index: 13
element.id:
  value: Procedure.status
element definition.path:
  value: Procedure.status
element definition.short:
  value: preparation | in-progress | suspended | aborted | completed | entered-in-error | unknown
element definition.definition:
  value: A code specifying the state of the procedure. Generally this will be in-progress or completed state.
element definition.comment:
  value: The unknown code is not to be used to convey other statuses. The unknown code should be used when one of the statuses applies, but the authoring system doesn't know the current state of the procedure. This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Procedure.status
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: code
element definition.must support:
  value: true
element definition.is modifier:
  value: true
element definition.is summary:
  value: true
element definition.binding:
  element definition.binding.strength:
    value: required
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/event-status
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/event-status
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: statusCode
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: status
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: argonaut-dq-dstu2
  element definition.mapping.map:
    value: Procedure.status

index: 14
element.id:
  value: Procedure.notDone
element definition.path:
  value: Procedure.notDone
element definition.short:
  value: True if procedure was not performed as scheduled
element definition.definition:
  value: Set this to true if the record is saying that the procedure was NOT performed.
element definition.comment:
  value: If true, it means the procedure did not occur as described. Typically it would be accompanied by attributes describing the type of activity. It might also be accompanied by body site information or time information (i.e. no procedure was done to the left arm or no procedure was done in this 2-year period). Specifying additional information such as performer, outcome, etc. is generally inappropriate. For example, it's not that useful to say "There was no appendectomy done at 12:03pm June 6th by Dr. Smith with a successful outcome" as it implies that there *could* have been an appendectomy done at any other time, by any other clinician or with any other outcome. This element is labeled as a modifier because it indicates that a procedure didn't happen.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Procedure.notDone
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: boolean
element definition.default value boolean:
  value: false
element definition.is modifier:
  value: true
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .actionNegationInd

index: 15
element.id:
  value: Procedure.notDoneReason
element definition.path:
  value: Procedure.notDoneReason
element definition.short:
  value: Reason procedure was not performed
element definition.definition:
  value: A code indicating why the procedure was not performed.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Procedure.notDoneReason
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.condition:
  value: pro-1
  index: 0
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: ProcedureNegationReason
  element definition.binding.strength:
    value: example
  element definition.binding.description:
    value: A code that identifies the reason a procedure was not performed.
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/procedure-not-performed-reason
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/procedure-not-performed-reason
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .reason.Observation.value

index: 16
element.id:
  value: Procedure.category
element definition.path:
  value: Procedure.category
element definition.short:
  value: Classification of the procedure
element definition.definition:
  value: A code that classifies the procedure for searching, sorting and display purposes (e.g. "Surgical Procedure").
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Procedure.category
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: ProcedureCategory
  element definition.binding.strength:
    value: example
  element definition.binding.description:
    value: A code that classifies a procedure for searching, sorting and display purposes.
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/procedure-category
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/procedure-category
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="EVN"].code
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: class

index: 17
element.id:
  value: Procedure.code
element definition.path:
  value: Procedure.code
element definition.short:
  value: SNOMED-CT | ICD-10 | CPT-4
element definition.definition:
  value: The specific procedure that is performed. Use text if the exact nature of the procedure cannot be coded (e.g. "Laparoscopic Appendectomy").
element definition.requirements:
  value: 0..1 to account for primarily narrative only resources.
element definition.alias:
  value: type
  index: 0
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Procedure.code
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.must support:
  value: true
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet
    extension.value reference:
      link: http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code
      reference.reference:
        value: http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code
  element definition.binding.strength:
    value: extensible
  element definition.binding.description:
    value: Codes describing the type of Procedure
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code
    reference.reference:
      value: http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: OBR-44/OBR-45
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .code
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: what
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: argonaut-dq-dstu2
  element definition.mapping.map:
    value: Procedure.code

index: 18
element.id:
  value: Procedure.subject
element definition.path:
  value: Procedure.subject
element definition.short:
  value: Who the procedure was performed on
element definition.definition:
  value: The person, animal or group on which the procedure was performed.
element definition.alias:
  value: patient
  index: 0
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Procedure.subject
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
element definition.must support:
  value: true
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: PID-3
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .participation[typeCode=SBJ].role
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: who.focus
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: argonaut-dq-dstu2
  element definition.mapping.map:
    value: Procedure.subject

index: 19
element.id:
  value: Procedure.context
element definition.path:
  value: Procedure.context
element definition.short:
  value: Encounter or episode associated with the procedure
element definition.definition:
  value: The encounter during which the procedure was performed.
element definition.alias:
  value: encounter
  index: 0
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Procedure.context
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Encounter
element definition.type:
  index: 1
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/EpisodeOfCare
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: PV1-19
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: context

index: 20
element.id:
  value: Procedure.performed[x]
element definition.path:
  value: Procedure.performed[x]
element definition.short:
  value: Date/Period the procedure was performed
element definition.definition:
  value: 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.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Procedure.performed[x]
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: dateTime
element definition.type:
  index: 1
  element definition.type.code:
    value: Period
element definition.must support:
  value: true
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: OBR-7
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .effectiveTime
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: when.done
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: argonaut-dq-dstu2
  element definition.mapping.map:
    value: Procedure.performed[x]

index: 21
element.id:
  value: Procedure.performer
element definition.path:
  value: Procedure.performer
element definition.short:
  value: The people who performed the procedure
element definition.definition:
  value: Limited to 'real' people rather than equipment.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Procedure.performer
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: BackboneElement
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() | (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: Element
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .participation[typeCode=PRF]

index: 22
element.id:
  value: Procedure.performer.id
element definition.path:
  value: Procedure.performer.id
element definition.representation:
  value: xmlAttr
  index: 0
element definition.short:
  value: xml:id (or equivalent in JSON)
element definition.definition:
  value: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Element.id
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 23
element.id:
  value: Procedure.performer.extension
element definition.path:
  value: Procedure.performer.extension
element definition.short:
  value: Additional Content defined by implementations
element definition.definition:
  value: 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.
element definition.comment:
  value: 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.
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 24
element.id:
  value: Procedure.performer.modifierExtension
element definition.path:
  value: Procedure.performer.modifierExtension
element definition.short:
  value: Extensions that cannot be ignored
element definition.definition:
  value: 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.
element definition.comment:
  value: 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.
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.alias:
  value: modifiers
  index: 2
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: BackboneElement.modifierExtension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.is modifier:
  value: true
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 25
element.id:
  value: Procedure.performer.role
element definition.path:
  value: Procedure.performer.role
element definition.short:
  value: The role the actor was in
element definition.definition:
  value: For example: surgeon, anaethetist, endoscopist.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Procedure.performer.role
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: ProcedurePerformerRole
  element definition.binding.strength:
    value: example
  element definition.binding.description:
    value: A code that identifies the role of a performer of the procedure.
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/performer-role
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/performer-role
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: Some combination of STF-18 / PRA-3 / PRT-4 / ROL-3 / ORC-12 / OBR-16 / PV1-7 / PV1-8 / PV1-9 / PV1-17 / OBX-25
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .functionCode

index: 26
element.id:
  value: Procedure.performer.actor
element definition.path:
  value: Procedure.performer.actor
element definition.short:
  value: The reference to the practitioner
element definition.definition:
  value: The practitioner who was involved in the procedure.
element definition.requirements:
  value: A reference to Device supports use cases, such as pacemakers.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Procedure.performer.actor
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Practitioner
element definition.type:
  index: 1
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Organization
element definition.type:
  index: 2
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Patient
element definition.type:
  index: 3
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/RelatedPerson
element definition.type:
  index: 4
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Device
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: ORC-19/PRT-5
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .role
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: who.actor

index: 27
element.id:
  value: Procedure.performer.onBehalfOf
element definition.path:
  value: Procedure.performer.onBehalfOf
element definition.short:
  value: Organization the device or practitioner was acting for
element definition.definition:
  value: The organization the device or practitioner was acting on behalf of.
element definition.requirements:
  value: Practitioners and Devices can be associated with multiple organizations. This element indicates which organization they were acting on behalf of when performing the action.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Procedure.performer.onBehalfOf
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Organization
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .scoper

index: 28
element.id:
  value: Procedure.location
element definition.path:
  value: Procedure.location
element definition.short:
  value: Where the procedure happened
element definition.definition:
  value: The location where the procedure actually happened. E.g. a newborn at home, a tracheostomy at a restaurant.
element definition.requirements:
  value: Ties a procedure to where the records are likely kept.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Procedure.location
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Location
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .participation[typeCode=LOC].role[classCode=SDLOC]
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: where

index: 29
element.id:
  value: Procedure.reasonCode
element definition.path:
  value: Procedure.reasonCode
element definition.short:
  value: Coded reason procedure performed
element definition.definition:
  value: The coded reason why the procedure was performed. This may be coded entity of some type, or may simply be present as text.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Procedure.reasonCode
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: ProcedureReason
  element definition.binding.strength:
    value: example
  element definition.binding.description:
    value: A code that identifies the reason a procedure is required.
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/procedure-reason
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/procedure-reason
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .reasonCode
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: why

index: 30
element.id:
  value: Procedure.reasonReference
element definition.path:
  value: Procedure.reasonReference
element definition.short:
  value: Condition that is the reason the procedure performed
element definition.definition:
  value: The condition that is the reason why the procedure was performed.
element definition.comment:
  value: e.g. endoscopy for dilatation and biopsy, combination diagnosis and therapeutic.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Procedure.reasonReference
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Condition
element definition.type:
  index: 1
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Observation
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .reasonCode
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: why

index: 31
element.id:
  value: Procedure.bodySite
element definition.path:
  value: Procedure.bodySite
element definition.short:
  value: Target body sites
element definition.definition:
  value: Detailed and structured anatomical location information. Multiple locations are allowed - e.g. multiple punch biopsies of a lesion.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Procedure.bodySite
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: BodySite
  element definition.binding.strength:
    value: example
  element definition.binding.description:
    value: Codes describing anatomical locations. May include laterality.
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/body-site
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/body-site
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: OBX-20
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .targetSiteCode

index: 32
element.id:
  value: Procedure.outcome
element definition.path:
  value: Procedure.outcome
element definition.short:
  value: The result of procedure
element definition.definition:
  value: The outcome of the procedure - did it resolve reasons for the procedure being performed?
element definition.comment:
  value: If outcome contains narrative text only, it can be captured using the CodeableConcept.text.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Procedure.outcome
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: ProcedureOutcome
  element definition.binding.strength:
    value: example
  element definition.binding.description:
    value: An outcome of a procedure - whether it was resolved or otherwise.
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/procedure-outcome
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/procedure-outcome
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .outboundRelationship[typeCode=OUT].target.text

index: 33
element.id:
  value: Procedure.report
element definition.path:
  value: Procedure.report
element definition.short:
  value: Any report resulting from the procedure
element definition.definition:
  value: This could be a histology result, pathology report, surgical report, etc..
element definition.comment:
  value: There could potentially be multiple reports - e.g. if this was a procedure which took multiple biopsies resulting in a number of anatomical pathology reports.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Procedure.report
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/DiagnosticReport
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN]

index: 34
element.id:
  value: Procedure.complication
element definition.path:
  value: Procedure.complication
element definition.short:
  value: Complication following the procedure
element definition.definition:
  value: Any complications that occurred during the procedure, or in the immediate post-performance period. These are generally tracked separately from the notes, which will typically describe the procedure itself rather than any 'post procedure' issues.
element definition.comment:
  value: If complications are only expressed by the narrative text, they can be captured using the CodeableConcept.text.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Procedure.complication
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: ProcedureComplication
  element definition.binding.strength:
    value: example
  element definition.binding.description:
    value: Codes describing complications that resulted from a procedure.
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/condition-code
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/condition-code
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .outboundRelationship[typeCode=OUTC].target[classCode=OBS, code="complication", moodCode=EVN].value

index: 35
element.id:
  value: Procedure.complicationDetail
element definition.path:
  value: Procedure.complicationDetail
element definition.short:
  value: A condition that is a result of the procedure
element definition.definition:
  value: Any complications that occurred during the procedure, or in the immediate post-performance period.
element definition.requirements:
  value: This is used to document a condition that is a result of the procedure, not the condition that was the reason for the procedure.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Procedure.complicationDetail
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Condition
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .outboundRelationship[typeCode=OUTC].target[classCode=OBS, code="complication", moodCode=EVN].value

index: 36
element.id:
  value: Procedure.followUp
element definition.path:
  value: Procedure.followUp
element definition.short:
  value: Instructions for follow up
element definition.definition:
  value: If the procedure required specific follow up - e.g. removal of sutures. The followup may be represented as a simple note, or could potentially be more complex in which case the CarePlan resource can be used.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Procedure.followUp
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: ProcedureFollowUp
  element definition.binding.strength:
    value: example
  element definition.binding.description:
    value: Specific follow up required for a procedure e.g. removal of sutures.
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/procedure-followup
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/procedure-followup
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .outboundRelationship[typeCode=COMP].target[classCode=ACT, moodCode=INT].code

index: 37
element.id:
  value: Procedure.note
element definition.path:
  value: Procedure.note
element definition.short:
  value: Additional information about the procedure
element definition.definition:
  value: Any other notes about the procedure. E.g. the operative notes.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Procedure.note
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Annotation
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: NTE
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="annotation"].value

index: 38
element.id:
  value: Procedure.focalDevice
element definition.path:
  value: Procedure.focalDevice
element definition.short:
  value: Device changed in procedure
element definition.definition:
  value: A device that is implanted, removed or otherwise manipulated (calibration, battery replacement, fitting a prosthesis, attaching a wound-vac, etc.) as a focal portion of the Procedure.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Procedure.focalDevice
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: BackboneElement
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() | (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: Element
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .participation[typeCode=DEV].role[classCode=MANU]

index: 39
element.id:
  value: Procedure.focalDevice.id
element definition.path:
  value: Procedure.focalDevice.id
element definition.representation:
  value: xmlAttr
  index: 0
element definition.short:
  value: xml:id (or equivalent in JSON)
element definition.definition:
  value: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Element.id
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 40
element.id:
  value: Procedure.focalDevice.extension
element definition.path:
  value: Procedure.focalDevice.extension
element definition.short:
  value: Additional Content defined by implementations
element definition.definition:
  value: 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.
element definition.comment:
  value: 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.
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 41
element.id:
  value: Procedure.focalDevice.modifierExtension
element definition.path:
  value: Procedure.focalDevice.modifierExtension
element definition.short:
  value: Extensions that cannot be ignored
element definition.definition:
  value: 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.
element definition.comment:
  value: 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.
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.alias:
  value: modifiers
  index: 2
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: BackboneElement.modifierExtension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.is modifier:
  value: true
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 42
element.id:
  value: Procedure.focalDevice.action
element definition.path:
  value: Procedure.focalDevice.action
element definition.short:
  value: Kind of change to device
element definition.definition:
  value: The kind of change that happened to the device during the procedure.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Procedure.focalDevice.action
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: DeviceActionKind
  element definition.binding.strength:
    value: preferred
  element definition.binding.description:
    value: A kind of change that happened to the device during the procedure.
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/device-action
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/device-action
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="procedure device action"].value=:procedure device action codes

index: 43
element.id:
  value: Procedure.focalDevice.manipulated
element definition.path:
  value: Procedure.focalDevice.manipulated
element definition.short:
  value: Device that was changed
element definition.definition:
  value: The device that was manipulated (changed) during the procedure.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Procedure.focalDevice.manipulated
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Device
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .participation[typeCode=DEV].role[classCode=SDLOC]

index: 44
element.id:
  value: Procedure.usedReference
element definition.path:
  value: Procedure.usedReference
element definition.short:
  value: Items used during procedure
element definition.definition:
  value: Identifies medications, devices and any other substance used as part of the procedure.
element definition.comment:
  value: For devices actually implanted or removed, use Procedure.device.
element definition.requirements:
  value: Used for tracking contamination, etc.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Procedure.usedReference
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Device
element definition.type:
  index: 1
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Medication
element definition.type:
  index: 2
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Substance
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .participation[typeCode=DEV].role[classCode=MANU] or .participation[typeCode=CSM].role[classCode=ADMM] (for Medication or Substance)

index: 45
element.id:
  value: Procedure.usedCode
element definition.path:
  value: Procedure.usedCode
element definition.short:
  value: Coded items used during the procedure
element definition.definition:
  value: Identifies coded items that were used as part of the procedure.
element definition.comment:
  value: For devices actually implanted or removed, use Procedure.device.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Procedure.usedCode
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: ProcedureUsed
  element definition.binding.strength:
    value: example
  element definition.binding.description:
    value: Codes describing items used during a procedure
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/device-kind
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/device-kind
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: participation[typeCode=Dev].role[classCode=MANU]

structure definition.differential.element:
  index: 0
  element.id:
    value: Procedure
  element definition.path:
    value: Procedure
  element definition.short:
    value: US Core Procedure Profile
  element definition.definition:
    value: The US Core Condition Profile is based upon the core FHIR Procedure Resource and created to meet the 2015 Edition Common Clinical Data Set 'Procedures' requirements.
  element definition.must support:
    value: false
  element definition.is modifier:
    value: false
  element definition.mapping:
    index: 0
    element definition.mapping.identity:
      value: argonaut-dq-dstu2
    element definition.mapping.map:
      value: Procedure
structure definition.differential.element:
  index: 1
  element.id:
    value: Procedure.status
  element definition.path:
    value: Procedure.status
  element definition.min:
    value: 1
  element definition.max:
    value: 1
  element definition.type:
    index: 0
    element definition.type.code:
      value: code
  element definition.must support:
    value: true
  element definition.is modifier:
    value: false
  element definition.binding:
    element definition.binding.strength:
      value: required
    element definition.binding.value set reference:
      link: http://hl7.org/fhir/ValueSet/event-status
      reference.reference:
        value: http://hl7.org/fhir/ValueSet/event-status
  element definition.mapping:
    index: 0
    element definition.mapping.identity:
      value: argonaut-dq-dstu2
    element definition.mapping.map:
      value: Procedure.status
structure definition.differential.element:
  index: 2
  element.id:
    value: Procedure.code
  element definition.path:
    value: Procedure.code
  element definition.short:
    value: SNOMED-CT | ICD-10 | CPT-4
  element definition.min:
    value: 1
  element definition.max:
    value: 1
  element definition.type:
    index: 0
    element definition.type.code:
      value: CodeableConcept
  element definition.must support:
    value: true
  element definition.is modifier:
    value: false
  element definition.binding:
    element.extension:
      index: 0
      extension.url:
        value: http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet
      extension.value reference:
        link: http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code
    element definition.binding.strength:
      value: extensible
    element definition.binding.description:
      value: Codes describing the type of Procedure
    element definition.binding.value set reference:
      link: http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code
      reference.reference:
        value: http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code
  element definition.mapping:
    index: 0
    element definition.mapping.identity:
      value: argonaut-dq-dstu2
    element definition.mapping.map:
      value: Procedure.code
structure definition.differential.element:
  index: 3
  element.id:
    value: Procedure.subject
  element definition.path:
    value: Procedure.subject
  element definition.min:
    value: 1
  element definition.max:
    value: 1
  element definition.type:
    index: 0
    element definition.type.code:
      value: Reference
    element definition.type.target profile:
      value: http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
  element definition.must support:
    value: true
  element definition.is modifier:
    value: false
  element definition.mapping:
    index: 0
    element definition.mapping.identity:
      value: argonaut-dq-dstu2
    element definition.mapping.map:
      value: Procedure.subject
structure definition.differential.element:
  index: 4
  element.id:
    value: Procedure.performed[x]
  element definition.path:
    value: Procedure.performed[x]
  element definition.min:
    value: 1
  element definition.max:
    value: 1
  element definition.type:
    index: 0
    element definition.type.code:
      value: dateTime
  element definition.type:
    index: 1
    element definition.type.code:
      value: Period
  element definition.must support:
    value: true
  element definition.is modifier:
    value: false
  element definition.mapping:
    index: 0
    element definition.mapping.identity:
      value: argonaut-dq-dstu2
    element definition.mapping.map:
      value: Procedure.performed[x]