DSTU2

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

StructureDefinition: DAF-Procedure - JSON

StructureDefinition for Defines constraints and extensions on the Procedure resource for use in querying and retrieving procedure information.

Raw JSON

{
  "resourceType": "StructureDefinition",
  "id": "daf-procedure",
  "text": {
    "status": "generated",
    "div": "<div>!-- Snipped for Brevity --></div>"
  },
  "url": "http://hl7.org/fhir/StructureDefinition/daf-procedure",
  "name": "U.S. Data Access Framework (DAF) Procedure Profile",
  "display": "DAF-Procedure",
  "status": "draft",
  "publisher": "Health Level Seven International (Infrastructure and Messaging - Data Access Framework)",
  "contact": [
    {
      "telecom": [
        {
          "system": "other",
          "value": "http://www.healthit.gov"
        }
      ]
    }
  ],
  "date": "2014-08-21",
  "description": "Defines constraints and extensions on the Procedure resource for use in querying and retrieving procedure information.",
  "fhirVersion": "1.0.2",
  "kind": "resource",
  "constrainedType": "Procedure",
  "abstract": false,
  "base": "http://hl7.org/fhir/StructureDefinition/Procedure",
  "snapshot": {
    "element": [
      {
        "path": "Procedure",
        "name": "DAF-Procedure",
        "short": "An action that is being or was performed on a patient",
        "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"
          }
        ],
        "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()"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "Procedure[moodCode=EVN]"
          },
          {
            "identity": "w5",
            "map": "clinical.general"
          }
        ]
      },
      {
        "path": "Procedure.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"
          }
        ],
        "isSummary": true
      },
      {
        "path": "Procedure.meta",
        "short": "Metadata about the resource",
        "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Procedure.meta",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Meta"
          }
        ],
        "isSummary": true
      },
      {
        "path": "Procedure.implicitRules",
        "short": "A set of rules under which this content was created",
        "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.",
        "comments": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element as much as possible.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Procedure.implicitRules",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "isModifier": true,
        "isSummary": true
      },
      {
        "path": "Procedure.language",
        "short": "Language of the resource content",
        "definition": "The base language in which the resource is written.",
        "comments": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource  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"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "A human language.",
          "valueSetUri": "http://tools.ietf.org/html/bcp47"
        }
      },
      {
        "path": "Procedure.text",
        "short": "Text summary of the resource, for human interpretation",
        "definition": "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
        "comments": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative.",
        "alias": [
          "narrative",
          "html",
          "xhtml",
          "display"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "Procedure.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Narrative"
          }
        ],
        "condition": [
          "dom-1"
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "Act.text?"
          }
        ]
      },
      {
        "path": "Procedure.contained",
        "short": "Contained, inline Resources",
        "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
        "comments": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.",
        "alias": [
          "inline resources",
          "anonymous resources",
          "contained resources"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Procedure.contained",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Resource"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Procedure.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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Procedure.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Procedure.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Procedure.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": 1,
        "max": "*",
        "base": {
          "path": "Procedure.identifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mustSupport": true,
        "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"
          }
        ]
      },
      {
        "path": "Procedure.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://hl7.org/fhir/StructureDefinition/daf-patient"
            ]
          }
        ],
        "mustSupport": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "PID-3"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role"
          },
          {
            "identity": "w5",
            "map": "who.focus"
          }
        ]
      },
      {
        "path": "Procedure.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"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "binding": {
          "strength": "required",
          "description": "A code specifying the state of the procedure.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/procedure-status"
          }
        }
      },
      {
        "path": "Procedure.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"
          }
        ],
        "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"
          }
        ]
      },
      {
        "path": "Procedure.code",
        "short": "SNOMED-CT | ICD-10 | CPT-4",
        "definition": "SNOMED-CT | ICD-10 | CPT-4.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Procedure.code",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true,
        "isSummary": true,
        "binding": {
          "strength": "preferred",
          "description": "Codes describing the Procedure Type",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/daf-procedure-type"
          }
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "OBR-44/OBR-45"
          },
          {
            "identity": "rim",
            "map": ".code"
          },
          {
            "identity": "w5",
            "map": "class"
          }
        ]
      },
      {
        "path": "Procedure.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,
        "isModifier": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".actionNegationInd"
          }
        ]
      },
      {
        "path": "Procedure.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"
          }
        ],
        "condition": [
          "pro-1"
        ],
        "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"
          }
        ]
      },
      {
        "path": "Procedure.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"
          }
        ],
        "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"
          }
        ]
      },
      {
        "path": "Procedure.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"
            ]
          }
        ],
        "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"
          }
        ]
      },
      {
        "path": "Procedure.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"
          }
        ],
        "mustSupport": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation[typeCode=PFM]"
          }
        ]
      },
      {
        "path": "Procedure.performer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Procedure.performer.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Procedure.performer.extension",
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Procedure.performer.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Procedure.performer.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Procedure.performer.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Procedure.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/daf-pract"
            ]
          }
        ],
        "mustSupport": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "ORC-19/PRT-5"
          },
          {
            "identity": "rim",
            "map": ".role"
          },
          {
            "identity": "w5",
            "map": "who.actor"
          }
        ]
      },
      {
        "path": "Procedure.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"
          }
        ],
        "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"
          }
        ]
      },
      {
        "path": "Procedure.performed[x]",
        "short": "Date/Period the procedure was performed",
        "definition": "The date(time)/period over which the procedure was performed. Allows a period to support complex procedures that span more than one date, and also allows for the length of the procedure to be captured.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Procedure.performed[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          },
          {
            "code": "Period"
          }
        ],
        "mustSupport": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "OBR-7"
          },
          {
            "identity": "rim",
            "map": ".effectiveTime"
          },
          {
            "identity": "w5",
            "map": "when.done"
          }
        ]
      },
      {
        "path": "Procedure.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/daf-encounter"
            ]
          }
        ],
        "mustSupport": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "PV1-19"
          },
          {
            "identity": "rim",
            "map": ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"
          },
          {
            "identity": "w5",
            "map": "context"
          }
        ]
      },
      {
        "path": "Procedure.location",
        "short": "Where the procedure happened",
        "definition": "The location where the procedure actually happened.  E.g. a newborn at home, a tracheostomy at a restaurant.",
        "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"
            ]
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "w5",
            "map": "where"
          }
        ]
      },
      {
        "path": "Procedure.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"
          }
        ],
        "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"
          }
        ]
      },
      {
        "path": "Procedure.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"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "path": "Procedure.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"
          }
        ],
        "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."
          }
        ]
      },
      {
        "path": "Procedure.followUp",
        "short": "Instructions for follow up",
        "definition": "If the procedure required specific follow up - e.g. removal of sutures. The followup may be represented as a simple note, or 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"
          }
        ],
        "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"
          }
        ]
      },
      {
        "path": "Procedure.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"
            ]
          }
        ]
      },
      {
        "path": "Procedure.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"
          }
        ],
        "mapping": [
          {
            "identity": "v2",
            "map": "NTE"
          },
          {
            "identity": "rim",
            "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value"
          }
        ]
      },
      {
        "path": "Procedure.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"
          }
        ]
      },
      {
        "path": "Procedure.focalDevice.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Procedure.focalDevice.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Procedure.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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Procedure.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"
          }
        ],
        "isModifier": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Procedure.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"
          }
        ],
        "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"
          }
        }
      },
      {
        "path": "Procedure.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"
            ]
          }
        ]
      },
      {
        "path": "Procedure.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"
            ]
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "path": "Procedure",
        "name": "DAF-Procedure",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Procedure"
          }
        ]
      },
      {
        "path": "Procedure.identifier",
        "min": 1,
        "max": "*",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mustSupport": true
      },
      {
        "path": "Procedure.subject",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/daf-patient"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "path": "Procedure.code",
        "short": "SNOMED-CT | ICD-10 | CPT-4",
        "definition": "SNOMED-CT | ICD-10 | CPT-4.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "preferred",
          "description": "Codes describing the Procedure Type",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/daf-procedure-type"
          }
        }
      },
      {
        "path": "Procedure.performer",
        "min": 0,
        "max": "*",
        "mustSupport": true
      },
      {
        "path": "Procedure.performer.actor",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/daf-pract"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "path": "Procedure.performed[x]",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          },
          {
            "code": "Period"
          }
        ],
        "mustSupport": true
      },
      {
        "path": "Procedure.encounter",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/daf-encounter"
            ]
          }
        ],
        "mustSupport": true
      }
    ]
  }
}