{
  "resourceType": "StructureDefinition",
  "id": "CASIDE-CancerDisease",
  "meta": {
    "lastUpdated": "2021-07-16T08:46:13.108+00:00"
  },
  "url": "http://gradiant.org/fhir/StructureDefinition/CASIDECancerDisease",
  "version": "1.0",
  "name": "CASIDECancerDisease",
  "title": "Cancer Disease Profile",
  "status": "draft",
  "publisher": "GRADIANT",
  "contact": [
    {
      "name": "GRADIANT",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.gradiant.org/",
          "use": "work"
        }
      ]
    }
  ],
  "description": "Records the history of malignant tumors suffered by the cancer survivor. Each tumor must be recorded in an independent resource, and must contain references to Observations related to its diagnosis and stage.",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "sct-concept",
      "uri": "http://snomed.info/conceptdomain",
      "name": "SNOMED CT Concept Domain Binding"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "sct-attr",
      "uri": "http://snomed.org/attributebinding",
      "name": "SNOMED CT Attribute Binding"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Condition",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Condition",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Condition.clinicalStatus",
        "path": "Condition.clinicalStatus",
        "min": 1
      },
      {
        "id": "Condition.code",
        "path": "Condition.code",
        "min": 1,
        "binding": {
          "strength": "required",
          "valueSet": "http://gradiant.org/fhir/ValueSet/CASIDEMalignantNeoplasticDiseaseVS"
        }
      },
      {
        "id": "Condition.bodySite",
        "path": "Condition.bodySite",
        "max": "1",
        "binding": {
          "strength": "required",
          "valueSet": "http://gradiant.org/fhir/ValueSet/CASIDEBodyStructureVS"
        }
      },
      {
        "id": "Condition.subject",
        "path": "Condition.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://gradiant.org/fhir/StructureDefinition/CASIDECancerSurvivor"
            ]
          }
        ]
      },
      {
        "id": "Condition.onset[x]",
        "path": "Condition.onset[x]",
        "min": 1,
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "Condition.stage",
        "path": "Condition.stage",
        "max": "0"
      },
      {
        "id": "Condition.evidence.code",
        "path": "Condition.evidence.code",
        "max": "0"
      },
      {
        "id": "Condition.evidence.detail",
        "path": "Condition.evidence.detail",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Observation"
            ]
          }
        ]
      }
    ]
  }
}