Argonaut Data Query Implementation Guide Version 1.0.0

This page is part of the Argonaut Data Query Implementation Guide (v1.0.0: Release) based on FHIR R2. This is the current published version. For a full list of available versions, see the Directory of published versions

Argonaut Procedure Profile

{
  "resourceType" : "StructureDefinition",
  "id" : "argo-procedure",
  "text" : {
    "status" : "generated"
  },
  "url" : "http://fhir.org/guides/argonaut/StructureDefinition/argo-procedure",
  "name" : "Argonaut Procedure Profile",
  "status" : "draft",
  "publisher" : "Argonaut Project",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "other",
          "value" : "http://argonautwiki.hl7.org",
          "rank" : 0
        }
      ]
    }
  ],
  "date" : "2016-10-18T00:00:00+11:00",
  "fhirVersion" : "1.0.2",
  "mapping" : [
    {
      "identity" : "rim",
      "uri" : "http://hl7.org/v3",
      "name" : "RIM"
    },
    {
      "identity" : "w5",
      "uri" : "http://hl7.org/fhir/w5",
      "name" : "W5 Mapping"
    },
    {
      "identity" : "v2",
      "uri" : "http://hl7.org/v2",
      "name" : "HL7 v2"
    }
  ],
  "kind" : "resource",
  "constrainedType" : "Procedure",
  "abstract" : false,
  "base" : "http://hl7.org/fhir/StructureDefinition/Procedure",
  "snapshot" : {
    "element" : [
      {
        "id" : "Procedure:argoprofile",
        "path" : "Procedure",
        "name" : "argoprofile",
        "short" : "Argonaut Procedure Profile",
        "definition" : "An action that is or was performed on a patient. This can be a physical intervention like an operation, or less invasive like counseling or hypnotherapy.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Procedure",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Procedure"
          }
        ],
        "maxLength" : 0,
        "constraint" : [
          {
            "key" : "pro-1",
            "severity" : "error",
            "human" : "Reason not performed is only permitted if notPerformed indicator is true",
            "xpath" : "not(exists(f:reasonNotPerformed)) or f:notPerformed/@value=true()"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "Procedure[moodCode=EVN]"
          },
          {
            "identity" : "w5",
            "map" : "clinical.general"
          }
        ]
      },
      {
        "id" : "Procedure:argoprofile.id",
        "path" : "Procedure.id",
        "name" : "Procedure:argoprofile.id",
        "short" : "Logical id of this artifact",
        "definition" : "The logical id of the resource, as used in the URL for the resource. 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",
        "base" : {
          "path" : "Procedure.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "id"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true
      },
      {
        "id" : "Procedure:argoprofile.meta",
        "path" : "Procedure.meta",
        "name" : "Procedure:argoprofile.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",
        "base" : {
          "path" : "Procedure.meta",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Meta"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true
      },
      {
        "id" : "Procedure:argoprofile.implicitRules",
        "path" : "Procedure.implicitRules",
        "name" : "Procedure:argoprofile.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",
        "base" : {
          "path" : "Procedure.implicitRules",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : true,
        "isSummary" : true
      },
      {
        "id" : "Procedure:argoprofile.language",
        "path" : "Procedure.language",
        "name" : "Procedure:argoprofile.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  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).",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Procedure.language",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "required",
          "description" : "A human language.",
          "valueSetUri" : "http://tools.ietf.org/html/bcp47"
        }
      },
      {
        "id" : "Procedure:argoprofile.text",
        "path" : "Procedure.text",
        "name" : "Procedure:argoprofile.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",
        "base" : {
          "path" : "Procedure.text",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Narrative"
          }
        ],
        "maxLength" : 0,
        "condition" : [
          "dom-1"
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "Act.text?"
          }
        ]
      },
      {
        "id" : "Procedure:argoprofile.contained",
        "path" : "Procedure.contained",
        "name" : "Procedure:argoprofile.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" : "*",
        "base" : {
          "path" : "Procedure.contained",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Resource"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Procedure:argoprofile.extension",
        "path" : "Procedure.extension",
        "name" : "Procedure:argoprofile.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 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.",
        "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" : "*",
        "base" : {
          "path" : "Procedure.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Procedure:argoprofile.modifierExtension",
        "path" : "Procedure.modifierExtension",
        "name" : "Procedure:argoprofile.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" : "*",
        "base" : {
          "path" : "Procedure.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : true,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Procedure:argoprofile.identifier",
        "path" : "Procedure.identifier",
        "name" : "Procedure:argoprofile.identifier",
        "short" : "External Identifiers for this procedure",
        "definition" : "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).",
        "requirements" : "Need to allow connection to a wider workflow.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Procedure.identifier",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Identifier"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "Some combination of ORC-2 / ORC-3 / OBR-2 / OBR-3 / IPC-1 / IPC-2 / IPC-3 / IPC-4"
          },
          {
            "identity" : "rim",
            "map" : ".id"
          },
          {
            "identity" : "w5",
            "map" : "id"
          }
        ]
      },
      {
        "id" : "Procedure:argoprofile.subject",
        "path" : "Procedure.subject",
        "name" : "Procedure:argoprofile.subject",
        "short" : "Who the procedure was performed on",
        "definition" : "The person, animal or group on which the procedure was performed.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Procedure.subject",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : [
              "http://fhir.org/guides/argonaut/StructureDefinition/argo-patient"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PID-3"
          },
          {
            "identity" : "rim",
            "map" : ".participation[typeCode=SBJ].role"
          },
          {
            "identity" : "w5",
            "map" : "who.focus"
          }
        ]
      },
      {
        "id" : "Procedure:argoprofile.status",
        "path" : "Procedure.status",
        "name" : "Procedure:argoprofile.status",
        "short" : "in-progress | aborted | completed | entered-in-error",
        "definition" : "A code specifying the state of the procedure. Generally this will be in-progress or completed state.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Procedure.status",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : true,
        "isModifier" : true,
        "isSummary" : false,
        "binding" : {
          "strength" : "required",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/procedure-status"
          }
        }
      },
      {
        "id" : "Procedure:argoprofile.category",
        "path" : "Procedure.category",
        "name" : "Procedure:argoprofile.category",
        "short" : "Classification of the procedure",
        "definition" : "A code that classifies the procedure for searching, sorting and display purposes (e.g. "Surgical Procedure").",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Procedure.category",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "binding" : {
          "strength" : "example",
          "description" : "A code that classifies a procedure for searching, sorting and display purposes.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/procedure-category"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="EVN"].code"
          }
        ]
      },
      {
        "id" : "Procedure:argoprofile.code",
        "path" : "Procedure.code",
        "name" : "Procedure:argoprofile.code",
        "short" : "SNOMED-CT | ICD-10 | CPT-4",
        "definition" : "The specific procedure that is performed. Use text if the exact nature of the procedure cannot be coded (e.g. "Laparoscopic Appendectomy").",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Procedure.code",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
              "valueReference" : {
                "reference" : "http://fhir.org/guides/argonaut/ValueSet/procedure-type"
              }
            }
          ],
          "strength" : "extensible",
          "description" : "Codes describing the Procedure Type",
          "valueSetReference" : {
            "reference" : "http://fhir.org/guides/argonaut/ValueSet/procedure-type"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "OBR-44/OBR-45"
          },
          {
            "identity" : "rim",
            "map" : ".code"
          },
          {
            "identity" : "w5",
            "map" : "class"
          }
        ]
      },
      {
        "id" : "Procedure:argoprofile.notPerformed",
        "path" : "Procedure.notPerformed",
        "name" : "Procedure:argoprofile.notPerformed",
        "short" : "True if procedure was not performed as scheduled",
        "definition" : "Set this to true if the record is saying that the procedure was NOT performed.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Procedure.notPerformed",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "boolean"
          }
        ],
        "defaultValueBoolean" : false,
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : true,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".actionNegationInd"
          }
        ]
      },
      {
        "id" : "Procedure:argoprofile.reasonNotPerformed",
        "path" : "Procedure.reasonNotPerformed",
        "name" : "Procedure:argoprofile.reasonNotPerformed",
        "short" : "Reason procedure was not performed",
        "definition" : "A code indicating why the procedure was not performed.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Procedure.reasonNotPerformed",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "maxLength" : 0,
        "condition" : [
          "pro-1"
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "example",
          "description" : "A code that identifies the reason a procedure was not performed.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/procedure-not-performed-reason"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".reason.Observation.value"
          }
        ]
      },
      {
        "id" : "Procedure:argoprofile.bodySite",
        "path" : "Procedure.bodySite",
        "name" : "Procedure:argoprofile.bodySite",
        "short" : "Target body sites",
        "definition" : "Detailed and structured anatomical location information. Multiple locations are allowed - e.g. multiple punch biopsies of a lesion.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Procedure.bodySite",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "binding" : {
          "strength" : "example",
          "description" : "Codes describing anatomical locations. May include laterality.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/body-site"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "OBX-20"
          },
          {
            "identity" : "rim",
            "map" : ".targetSiteCode"
          }
        ]
      },
      {
        "id" : "Procedure:argoprofile.reason[x]",
        "path" : "Procedure.reason[x]",
        "name" : "Procedure:argoprofile.reason[x]",
        "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 therapeutic.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Procedure.reason[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Reference",
            "profile" : [
              "http://hl7.org/fhir/StructureDefinition/Condition"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "binding" : {
          "strength" : "example",
          "description" : "A code that identifies the reason a procedure is  required.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/procedure-reason"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".reasonCode"
          }
        ]
      },
      {
        "id" : "Procedure:argoprofile.performer",
        "path" : "Procedure.performer",
        "name" : "Procedure:argoprofile.performer",
        "short" : "The people who performed the procedure",
        "definition" : "Limited to 'real' people rather than equipment.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Procedure.performer",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".participation[typeCode=PFM]"
          }
        ]
      },
      {
        "id" : "Procedure:argoprofile.performer.id",
        "path" : "Procedure.performer.id",
        "representation" : [
          "xmlAttr"
        ],
        "name" : "Procedure:argoprofile.performer.id",
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references).",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Procedure.performer.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "id"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Procedure:argoprofile.performer.extension",
        "path" : "Procedure.performer.extension",
        "name" : "Procedure:argoprofile.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" : "*",
        "base" : {
          "path" : "Procedure.performer.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Procedure:argoprofile.performer.modifierExtension",
        "path" : "Procedure.performer.modifierExtension",
        "name" : "Procedure:argoprofile.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" : "*",
        "base" : {
          "path" : "Procedure.performer.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : true,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Procedure:argoprofile.performer.actor",
        "path" : "Procedure.performer.actor",
        "name" : "Procedure:argoprofile.performer.actor",
        "short" : "The reference to the practitioner",
        "definition" : "The practitioner who was involved in the procedure.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Procedure.performer.actor",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : [
              "http://hl7.org/fhir/StructureDefinition/Practitioner"
            ]
          },
          {
            "code" : "Reference",
            "profile" : [
              "http://hl7.org/fhir/StructureDefinition/Organization"
            ]
          },
          {
            "code" : "Reference",
            "profile" : [
              "http://hl7.org/fhir/StructureDefinition/Patient"
            ]
          },
          {
            "code" : "Reference",
            "profile" : [
              "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "ORC-19/PRT-5"
          },
          {
            "identity" : "rim",
            "map" : ".role"
          },
          {
            "identity" : "w5",
            "map" : "who.actor"
          }
        ]
      },
      {
        "id" : "Procedure:argoprofile.performer.role",
        "path" : "Procedure.performer.role",
        "name" : "Procedure:argoprofile.performer.role",
        "short" : "The role the actor was in",
        "definition" : "For example: surgeon, anaethetist, endoscopist.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Procedure.performer.role",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "binding" : {
          "strength" : "example",
          "description" : "A code that identifies the role of a performer of the procedure.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/performer-role"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "Some combination of STF-18 / PRA-3 / PRT-4 / ROL-3 / ORC-12 / OBR-16 / PV1-7 / PV1-8 / PV1-9 / PV1-17 / OBX-25"
          },
          {
            "identity" : "rim",
            "map" : ".functionCode"
          }
        ]
      },
      {
        "id" : "Procedure:argoprofile.performed[x]",
        "path" : "Procedure.performed[x]",
        "name" : "Procedure:argoprofile.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" : 1,
        "max" : "1",
        "base" : {
          "path" : "Procedure.performed[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "dateTime"
          },
          {
            "code" : "Period"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "OBR-7"
          },
          {
            "identity" : "rim",
            "map" : ".effectiveTime"
          },
          {
            "identity" : "w5",
            "map" : "when.done"
          }
        ]
      },
      {
        "id" : "Procedure:argoprofile.encounter",
        "path" : "Procedure.encounter",
        "name" : "Procedure:argoprofile.encounter",
        "short" : "The encounter associated with the procedure",
        "definition" : "The encounter during which the procedure was performed.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Procedure.encounter",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : [
              "http://hl7.org/fhir/StructureDefinition/Encounter"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PV1-19"
          },
          {
            "identity" : "rim",
            "map" : ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"
          },
          {
            "identity" : "w5",
            "map" : "context"
          }
        ]
      },
      {
        "id" : "Procedure:argoprofile.location",
        "path" : "Procedure.location",
        "name" : "Procedure:argoprofile.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.",
        "requirements" : "Ties a procedure to where the records are likely kept.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Procedure.location",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : [
              "http://hl7.org/fhir/StructureDefinition/Location"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "w5",
            "map" : "where"
          }
        ]
      },
      {
        "id" : "Procedure:argoprofile.outcome",
        "path" : "Procedure.outcome",
        "name" : "Procedure:argoprofile.outcome",
        "short" : "The result of procedure",
        "definition" : "The outcome of the procedure - did it resolve reasons for the procedure being performed?",
        "comments" : "If outcome contains narrative text only, it can be captured using the CodeableConcept.text.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Procedure.outcome",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "binding" : {
          "strength" : "example",
          "description" : "An outcome of a procedure - whether it was resolved or otherwise.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/procedure-outcome"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".outboundRelationship[typeCode=OUT].target.text"
          }
        ]
      },
      {
        "id" : "Procedure:argoprofile.report",
        "path" : "Procedure.report",
        "name" : "Procedure:argoprofile.report",
        "short" : "Any report resulting from the procedure",
        "definition" : "This could be a histology result, pathology report, surgical report, etc..",
        "comments" : "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.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Procedure.report",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : [
              "http://hl7.org/fhir/StructureDefinition/DiagnosticReport"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id" : "Procedure:argoprofile.complication",
        "path" : "Procedure.complication",
        "name" : "Procedure:argoprofile.complication",
        "short" : "Complication following the procedure",
        "definition" : "Any complications that occurred during the procedure, or in the immediate post-performance period. These are generally tracked separately from the notes, which will typically describe the procedure itself rather than any 'post procedure' issues.",
        "comments" : "If complications are only expressed by the narrative text, they can be captured using the CodeableConcept.text.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Procedure.complication",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "example",
          "description" : "Codes describing complications that resulted from a procedure.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/condition-code"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "Need specialization of OUT for this."
          }
        ]
      },
      {
        "id" : "Procedure:argoprofile.followUp",
        "path" : "Procedure.followUp",
        "name" : "Procedure:argoprofile.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 could potentially be more complex in which case the CarePlan resource can be used.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Procedure.followUp",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "example",
          "description" : "Specific follow up required for a procedure e.g. removal of sutures.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/procedure-followup"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".outboundRelationship[typeCode=COMP].target[classCode=ACT, moodCode=INT].code"
          }
        ]
      },
      {
        "id" : "Procedure:argoprofile.request",
        "path" : "Procedure.request",
        "name" : "Procedure:argoprofile.request",
        "short" : "A request for this procedure",
        "definition" : "A reference to a resource that contains details of the request for this procedure.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Procedure.request",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : [
              "http://hl7.org/fhir/StructureDefinition/CarePlan"
            ]
          },
          {
            "code" : "Reference",
            "profile" : [
              "http://hl7.org/fhir/StructureDefinition/DiagnosticOrder"
            ]
          },
          {
            "code" : "Reference",
            "profile" : [
              "http://hl7.org/fhir/StructureDefinition/ProcedureRequest"
            ]
          },
          {
            "code" : "Reference",
            "profile" : [
              "http://hl7.org/fhir/StructureDefinition/ReferralRequest"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Procedure:argoprofile.notes",
        "path" : "Procedure.notes",
        "name" : "Procedure:argoprofile.notes",
        "short" : "Additional information about the procedure",
        "definition" : "Any other notes about the procedure.  E.g. the operative notes.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Procedure.notes",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Annotation"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "NTE"
          },
          {
            "identity" : "rim",
            "map" : ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="annotation"].value"
          }
        ]
      },
      {
        "id" : "Procedure:argoprofile.focalDevice",
        "path" : "Procedure.focalDevice",
        "name" : "Procedure:argoprofile.focalDevice",
        "short" : "Device changed in procedure",
        "definition" : "A device that is implanted, removed or otherwise manipulated (calibration, battery replacement, fitting a prosthesis, attaching a wound-vac, etc.) as a focal portion of the Procedure.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Procedure.focalDevice",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Procedure:argoprofile.focalDevice.id",
        "path" : "Procedure.focalDevice.id",
        "representation" : [
          "xmlAttr"
        ],
        "name" : "Procedure:argoprofile.focalDevice.id",
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references).",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Procedure.focalDevice.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "id"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Procedure:argoprofile.focalDevice.extension",
        "path" : "Procedure.focalDevice.extension",
        "name" : "Procedure:argoprofile.focalDevice.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" : "*",
        "base" : {
          "path" : "Procedure.focalDevice.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Procedure:argoprofile.focalDevice.modifierExtension",
        "path" : "Procedure.focalDevice.modifierExtension",
        "name" : "Procedure:argoprofile.focalDevice.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" : "*",
        "base" : {
          "path" : "Procedure.focalDevice.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : true,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Procedure:argoprofile.focalDevice.action",
        "path" : "Procedure.focalDevice.action",
        "name" : "Procedure:argoprofile.focalDevice.action",
        "short" : "Kind of change to device",
        "definition" : "The kind of change that happened to the device during the procedure.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Procedure.focalDevice.action",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "required",
          "description" : "A kind of change that happened to the device during the procedure.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/device-action"
          }
        }
      },
      {
        "id" : "Procedure:argoprofile.focalDevice.manipulated",
        "path" : "Procedure.focalDevice.manipulated",
        "name" : "Procedure:argoprofile.focalDevice.manipulated",
        "short" : "Device that was changed",
        "definition" : "The device that was manipulated (changed) during the procedure.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Procedure.focalDevice.manipulated",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : [
              "http://hl7.org/fhir/StructureDefinition/Device"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Procedure:argoprofile.used",
        "path" : "Procedure.used",
        "name" : "Procedure:argoprofile.used",
        "short" : "Items used during procedure",
        "definition" : "Identifies medications, devices and any other substance used as part of the procedure.",
        "comments" : "For devices actually implanted or removed, use Procedure.device.",
        "requirements" : "Used for tracking contamination, etc.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Procedure.used",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : [
              "http://hl7.org/fhir/StructureDefinition/Device"
            ]
          },
          {
            "code" : "Reference",
            "profile" : [
              "http://hl7.org/fhir/StructureDefinition/Medication"
            ]
          },
          {
            "code" : "Reference",
            "profile" : [
              "http://hl7.org/fhir/StructureDefinition/Substance"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      }
    ]
  },
  "differential" : {
    "element" : [
      {
        "id" : "Procedure:argoprofile",
        "path" : "Procedure",
        "name" : "argoprofile",
        "short" : "Argonaut Procedure Profile",
        "min" : 0,
        "type" : [
          {
            "code" : "Procedure"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Procedure:argoprofile.subject",
        "path" : "Procedure.subject",
        "name" : "Procedure:argoprofile.subject",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "Reference",
            "profile" : [
              "http://fhir.org/guides/argonaut/StructureDefinition/argo-patient"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Procedure:argoprofile.status",
        "path" : "Procedure.status",
        "name" : "Procedure:argoprofile.status",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "code"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "required",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/procedure-status"
          }
        }
      },
      {
        "id" : "Procedure:argoprofile.code",
        "path" : "Procedure.code",
        "name" : "Procedure:argoprofile.code",
        "short" : "SNOMED-CT | ICD-10 | CPT-4",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
              "valueReference" : {
                "reference" : "http://fhir.org/guides/argonaut/ValueSet/procedure-type"
              }
            }
          ],
          "strength" : "extensible",
          "description" : "Codes describing the Procedure Type",
          "valueSetReference" : {
            "reference" : "http://fhir.org/guides/argonaut/ValueSet/procedure-type"
          }
        }
      },
      {
        "id" : "Procedure:argoprofile.performed[x]",
        "path" : "Procedure.performed[x]",
        "name" : "Procedure:argoprofile.performed[x]",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "dateTime"
          },
          {
            "code" : "Period"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : false
      }
    ]
  }
}