{
  "resourceType": "StructureDefinition",
  "id": "5f5012aa-6c1a-458e-a685-f4549d81cb1e",
  "meta": {
    "lastUpdated": "2018-03-05T19:14:23.129+00:00"
  },
  "url": "StructureDefinition/MyTask",
  "name": "MyTask",
  "status": "draft",
  "date": "2017-09-12T15:44:19.012+00:00",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Task",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Task",
  "derivation": "constraint",
  "snapshot": {},
  "differential": {
    "element": [
      {
        "id": "Task.identifier",
        "path": "Task.identifier",
        "max": "0"
      },
      {
        "id": "Task.identifier.assigner",
        "path": "Task.identifier.assigner",
        "type": [
          {
            "code": "Reference",
            "profile": "StructureDefinition/MyOrganization"
          }
        ]
      },
      {
        "id": "Task.definitionUri:definitionUri",
        "path": "Task.definitionUri",
        "sliceName": "definitionUri",
        "max": "0",
        "type": [
          {
            "code": "uri"
          }
        ]
      },
      {
        "id": "Task.basedOn",
        "path": "Task.basedOn",
        "type": [
          {
            "code": "Reference",
            "profile": "StructureDefinition/MyReferralRequest"
          }
        ]
      },
      {
        "id": "Task.groupIdentifier",
        "path": "Task.groupIdentifier",
        "max": "0"
      },
      {
        "id": "Task.partOf",
        "path": "Task.partOf",
        "max": "0",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "StructureDefinition/MyTask"
          }
        ]
      },
      {
        "id": "Task.statusReason",
        "path": "Task.statusReason",
        "max": "0"
      },
      {
        "id": "Task.intent",
        "path": "Task.intent",
        "fixedCode": "Proposal"
      },
      {
        "id": "Task.priority",
        "path": "Task.priority",
        "max": "0"
      },
      {
        "id": "Task.code",
        "path": "Task.code",
        "fixedCodeableConcept": {
          "text": "Process Request"
        }
      },
      {
        "id": "Task.code.coding",
        "path": "Task.code.coding",
        "max": "0"
      },
      {
        "id": "Task.code.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Task.code.text",
        "min": 1
      },
      {
        "id": "Task.description",
        "path": "Task.description",
        "max": "0"
      },
      {
        "id": "Task.focus",
        "path": "Task.focus",
        "max": "0",
        "type": [
          {
            "code": "Reference",
            "profile": "StructureDefinition/MyReferralRequest"
          }
        ]
      },
      {
        "id": "Task.for",
        "path": "Task.for",
        "max": "0",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          },
          {
            "code": "Reference",
            "profile": "StructureDefinition/MyHealthcareService"
          },
          {
            "code": "Reference",
            "profile": "StructureDefinition/MyPractitioner"
          },
          {
            "code": "Reference",
            "profile": "StructureDefinition/MyOrganization"
          },
          {
            "code": "Reference",
            "profile": "StructureDefinition/MyReferralRequest"
          },
          {
            "code": "Reference",
            "profile": "StructureDefinition/MyPatient"
          }
        ]
      },
      {
        "id": "Task.context",
        "path": "Task.context",
        "max": "0"
      },
      {
        "id": "Task.executionPeriod",
        "path": "Task.executionPeriod",
        "max": "0"
      },
      {
        "id": "Task.requester",
        "path": "Task.requester",
        "max": "0"
      },
      {
        "id": "Task.requester.agent",
        "path": "Task.requester.agent",
        "type": [
          {
            "code": "Reference",
            "profile": "StructureDefinition/MyPractitioner"
          },
          {
            "code": "Reference",
            "profile": "StructureDefinition/MyOrganization"
          },
          {
            "code": "Reference",
            "profile": "StructureDefinition/MyPatient"
          }
        ]
      },
      {
        "id": "Task.requester.onBehalfOf",
        "path": "Task.requester.onBehalfOf",
        "type": [
          {
            "code": "Reference",
            "profile": "StructureDefinition/MyOrganization"
          }
        ]
      },
      {
        "id": "Task.performerType",
        "path": "Task.performerType",
        "max": "0"
      },
      {
        "id": "Task.owner",
        "path": "Task.owner",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          }
        ]
      },
      {
        "id": "Task.reason",
        "path": "Task.reason",
        "max": "0"
      },
      {
        "id": "Task.note",
        "path": "Task.note",
        "max": "0"
      },
      {
        "id": "Task.relevantHistory",
        "path": "Task.relevantHistory",
        "max": "0"
      },
      {
        "id": "Task.restriction",
        "path": "Task.restriction",
        "max": "0"
      },
      {
        "id": "Task.restriction.recipient",
        "path": "Task.restriction.recipient",
        "type": [
          {
            "code": "Reference",
            "profile": "StructureDefinition/MyPractitioner"
          },
          {
            "code": "Reference",
            "profile": "StructureDefinition/MyOrganization"
          },
          {
            "code": "Reference",
            "profile": "StructureDefinition/MyPatient"
          }
        ]
      },
      {
        "id": "Task.input",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
            "valueString": "Parameter"
          }
        ],
        "path": "Task.input",
        "max": "0"
      },
      {
        "id": "Task.output",
        "path": "Task.output",
        "max": "1"
      },
      {
        "id": "Task.output.value[x]:valueReference",
        "path": "Task.output.valueReference",
        "sliceName": "valueReference",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "StructureDefinition/MyCommunication"
          }
        ]
      }
    ]
  }
}