{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2017-12-12T13:24:24.825+00:00"
  },
  "url": "http://trilliumbridge.eu/fhir/StructureDefinition/procedure-uv-trillium2",
  "name": "Procedure-uv-trillium2",
  "status": "draft",
  "date": "2017-10-27T11:43:30.381+00:00",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Procedure",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Procedure",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Procedure.definition",
        "path": "Procedure.definition",
        "max": "0"
      },
      {
        "id": "Procedure.basedOn",
        "path": "Procedure.basedOn",
        "max": "0"
      },
      {
        "id": "Procedure.partOf",
        "path": "Procedure.partOf",
        "max": "0"
      },
      {
        "id": "Procedure.status",
        "path": "Procedure.status",
        "comment": "The unknown code is not to be used to convey other statuses.  The unknown code should be used when one of the statuses applies, but the authoring system doesn't know the current state of the procedure.\n\nThis element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.\r\nTRILLIUM II IMPLEMENTATION COMMENTS: We propose to encode it with SNOMED CT."
      },
      {
        "id": "Procedure.notDone",
        "path": "Procedure.notDone",
        "max": "0"
      },
      {
        "id": "Procedure.notDoneReason",
        "path": "Procedure.notDoneReason",
        "max": "0"
      },
      {
        "id": "Procedure.category",
        "path": "Procedure.category",
        "max": "0"
      },
      {
        "id": "Procedure.code",
        "path": "Procedure.code",
        "min": 1
      },
      {
        "id": "Procedure.code.coding.system",
        "path": "Procedure.code.coding.system",
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Procedure.context",
        "path": "Procedure.context",
        "max": "0"
      },
      {
        "id": "Procedure.performed[x]",
        "path": "Procedure.performed[x]",
        "min": 1
      },
      {
        "id": "Procedure.location",
        "path": "Procedure.location",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.\r\n\r\nTRILLIUM II IMPLEMENTATION COMMENTS: We propose to encode it with SNOMED CT.",
        "max": "0"
      },
      {
        "id": "Procedure.reasonCode.coding.system",
        "path": "Procedure.reasonCode.coding.system",
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Procedure.bodySite.extension",
        "path": "Procedure.bodySite.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Procedure.bodySite.extension:laterality",
        "path": "Procedure.bodySite.extension",
        "sliceName": "laterality",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "StructureDefinition/bodysite-laterality"
          }
        ]
      },
      {
        "id": "Procedure.bodySite.coding.system",
        "path": "Procedure.bodySite.coding.system",
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Procedure.outcome",
        "path": "Procedure.outcome",
        "max": "0"
      },
      {
        "id": "Procedure.outcome.coding.system",
        "path": "Procedure.outcome.coding.system",
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Procedure.report",
        "path": "Procedure.report",
        "max": "0"
      },
      {
        "id": "Procedure.complication",
        "path": "Procedure.complication",
        "max": "0"
      },
      {
        "id": "Procedure.complication.coding.system",
        "path": "Procedure.complication.coding.system",
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Procedure.complicationDetail",
        "path": "Procedure.complicationDetail",
        "max": "0"
      },
      {
        "id": "Procedure.followUp",
        "path": "Procedure.followUp",
        "max": "0"
      },
      {
        "id": "Procedure.focalDevice",
        "path": "Procedure.focalDevice",
        "max": "0"
      },
      {
        "id": "Procedure.usedReference",
        "path": "Procedure.usedReference",
        "max": "0"
      },
      {
        "id": "Procedure.usedCode",
        "path": "Procedure.usedCode",
        "max": "0"
      }
    ]
  }
}