{
  "resourceType": "StructureDefinition",
  "id": "Procedure-uv-ips",
  "meta": {
    "lastUpdated": "2018-02-20T11:54:56.053+00:00"
  },
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">This profile represents the constraints applied to the Procedure resource by the IPS project, which specifies an entry of the History of Procedure for the international patient summary based on the FHIR standard R4.</div>"
  },
  "url": "http://hl7.org/fhir/uv/ips/StructureDefinition/Procedure-uv-ips",
  "version": "0.2.0",
  "name": "Procedure_uv_ips",
  "title": "Procedure (IPS)",
  "status": "draft",
  "date": "2017-10-27T11:43:30+00:00",
  "description": "This profile represents the constraints applied to the Procedure resource by the IPS project, which specifies an entry of the History of Procedure for the international patient summary based on the FHIR standard R4.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001",
          "display": "World"
        }
      ]
    }
  ],
  "fhirVersion": "4.0.0",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Procedure",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Procedure",
  "derivation": "constraint",
  "snapshot": {},
  "differential": {
    "element": [
      {
        "id": "Procedure",
        "path": "Procedure",
        "mustSupport": true
      },
      {
        "id": "Procedure.id",
        "path": "Procedure.id",
        "mustSupport": true
      },
      {
        "id": "Procedure.meta",
        "path": "Procedure.meta",
        "mustSupport": true
      },
      {
        "id": "Procedure.meta.profile",
        "path": "Procedure.meta.profile",
        "mustSupport": true
      },
      {
        "id": "Procedure.status",
        "path": "Procedure.status",
        "mustSupport": true
      },
      {
        "id": "Procedure.code",
        "path": "Procedure.code",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "coding.system"
            }
          ],
          "description": "Discriminated by code system",
          "rules": "open"
        },
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ],
        "mustSupport": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ProcedureCode"
            }
          ],
          "strength": "preferred",
          "valueSet": "http://hl7.org/fhir/uv/ips/ValueSet/procedures-uv-ips"
        }
      },
      {
        "id": "Procedure.code:absentOrUnknownProcedure",
        "path": "Procedure.code",
        "sliceName": "absentOrUnknownProcedure",
        "short": "Code for absent problem or for unknown procedure",
        "definition": "Code representing the statement \"absent problem\" or the statement \"procedures unknown\"",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ],
        "mustSupport": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "absentOrUnknownProcedure"
            }
          ],
          "strength": "required",
          "description": "A code to identify absent or unknown procedures",
          "valueSet": "http://hl7.org/fhir/uv/ips/ValueSet/absent-or-unknown-procedures-uv-ips"
        }
      },
      {
        "id": "Procedure.code:absentOrUnknownProcedure.coding",
        "path": "Procedure.code.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Procedure.code:absentOrUnknownProcedure.coding.system",
        "path": "Procedure.code.coding.system",
        "min": 1,
        "max": "1",
        "fixedUri": "http://hl7.org/fhir/uv/ips/CodeSystem/absent-unknown-uv-ips",
        "mustSupport": true
      },
      {
        "id": "Procedure.subject",
        "path": "Procedure.subject",
        "definition": "The person on which the procedure was performed.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/Patient-uv-ips"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Procedure.subject.reference",
        "path": "Procedure.subject.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Procedure.performed[x]",
        "path": "Procedure.performed[x]",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Procedure.performed[x].extension:data-absent-reason",
        "path": "Procedure.performed[x].extension",
        "sliceName": "data-absent-reason",
        "short": "performed[x] absence reason",
        "definition": "Provides a reason why the performed is missing.",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Procedure.asserter",
        "path": "Procedure.asserter",
        "mustSupport": false
      },
      {
        "id": "Procedure.performer",
        "path": "Procedure.performer",
        "mustSupport": false
      },
      {
        "id": "Procedure.performer.actor",
        "path": "Procedure.performer.actor",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Patient",
              "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
              "http://hl7.org/fhir/uv/ips/StructureDefinition/Device-observer-uv-ips",
              "http://hl7.org/fhir/uv/ips/StructureDefinition/Practitioner-uv-ips",
              "http://hl7.org/fhir/uv/ips/StructureDefinition/Organization-observation-uv-ips"
            ]
          }
        ],
        "mustSupport": false
      },
      {
        "id": "Procedure.performer.onBehalfOf",
        "path": "Procedure.performer.onBehalfOf",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/Organization-observation-uv-ips"
            ]
          }
        ],
        "mustSupport": false
      },
      {
        "id": "Procedure.bodySite",
        "path": "Procedure.bodySite",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ],
        "mustSupport": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "BodySite"
            }
          ],
          "strength": "example",
          "valueSet": "http://hl7.org/fhir/ValueSet/body-site"
        }
      }
    ]
  }
}