{
  "resourceType": "PlanDefinition",
  "identifier": [
    {
      "system": "http://someIdentifier.com",
      "value": "LungDiagnosis_PD"
    }
  ],
  "name": "LungCancerDiagnosis",
  "title": "Lung Cancer Diagnosis",
  "type": {
    "coding": [
      {
        "code": "workflow-definition"
      }
    ]
  },
  "status": "active",
  "action": [
    {
      "title": "LDCT Lung",
      "trigger": [
        {
          "type": "data-added",
          "data": [
            {
              "type": "Observation",
              "codeFilter": [
                {
                  "code": [
                    {
                      "system": "http://snomed.org",
                      "code": "66857006",
                      "display": "Hemoptysis"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "condition": [
        {
          "kind": "start",
          "expression": {
            "expression": "START EXP TO BE FILLED IN"
          }
        },
        {
          "kind": "stop",
          "expression": {
            "expression": "STOP EXP TO BE FILLED IN"
          }
        }
      ],
      "definitionCanonical": "ActivityDefinition/LDCTLungActDef1"
    },
    {
      "title": "Lung Rads 1",
      "trigger": [
        {
          "type": "data-added",
          "data": [
            {
              "type": "Observation",
              "codeFilter": [
                {
                  "code": [
                    {
                      "system": "http://snomed.org",
                      "code": "16334891000119106",
                      "display": "Low dose computed tomography of chest without contrast (procedure)"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "condition": [
        {
          "kind": "start",
          "expression": {
            "language": "application/x-fhir-query",
            "expression": "/Observation?subject:Patient/{id}/&value-concept=http://radlex.org|RID50136"
          }
        },
        {
          "kind": "stop",
          "expression": {
            "language": "text/cql",
            "expression": "TO BE FILLED IN - 5 years of follow up"
          }
        }
      ],
      "definitionCanonical": "PlanDefinition/LungDiagnosis_PD1"
    },
    {
      "title": "Lung Rads 2",
      "trigger": [
        {
          "type": "data-added",
          "data": [
            {
              "type": "Observation",
              "codeFilter": [
                {
                  "code": [
                    {
                      "system": "http://snomed.org",
                      "code": "16334891000119106",
                      "display": "Low dose computed tomography of chest without contrast (procedure)"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "condition": [
        {
          "kind": "start",
          "expression": {
            "language": "application/x-fhir-query",
            "expression": "/Observation?subject:Patient/{id}/&value-concept=http://radlex.org|RID50137"
          }
        },
        {
          "kind": "stop",
          "expression": {
            "language": "text/cql",
            "expression": "Low Dose Chest CT Within 5 Years"
          }
        }
      ],
      "definitionCanonical": "PlanDefinition/LungDiagnosis_PD2"
    },
    {
      "title": "Lung Rads 3",
      "trigger": [
        {
          "type": "data-added",
          "data": [
            {
              "type": "Observation",
              "codeFilter": [
                {
                  "code": [
                    {
                      "system": "http://snomed.org",
                      "code": "16334891000119106",
                      "display": "Low dose computed tomography of chest without contrast (procedure)"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "condition": [
        {
          "kind": "start",
          "expression": {
            "language": "application/x-fhir-query",
            "expression": "/Observation?subject:Patient/{id}/&value-concept=http://radlex.org|RID50138"
          }
        }
      ],
      "definitionCanonical": "PlanDefinition/LungDiagnosis_PD3"
    },
    {
      "title": "Lung Rads 4A",
      "trigger": [
        {
          "type": "data-added",
          "data": [
            {
              "type": "Observation",
              "codeFilter": [
                {
                  "code": [
                    {
                      "system": "http://snomed.org",
                      "code": "16334891000119106",
                      "display": "Low dose computed tomography of chest without contrast (procedure)"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "condition": [
        {
          "kind": "start",
          "expression": {
            "language": "application/x-fhir-query",
            "expression": "/Observation?subject:Patient/{id}/&value-concept=http://radlex.org|RID50139"
          }
        }
      ],
      "definitionCanonical": "PlanDefinition/LungDiagnosis_PD4A"
    },
    {
      "title": "Lung Rads 4B",
      "trigger": [
        {
          "type": "data-added",
          "data": [
            {
              "type": "Observation",
              "codeFilter": [
                {
                  "code": [
                    {
                      "system": "http://snomed.org",
                      "code": "16334891000119106",
                      "display": "Low dose computed tomography of chest without contrast (procedure)"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "condition": [
        {
          "kind": "start",
          "expression": {
            "language": "application/x-fhir-query",
            "expression": "/Observation?subject:Patient/{id}/&value-concept=http://radlex.org|RID50140"
          }
        }
      ],
      "definitionCanonical": "PlanDefinition/LungDiagnosis_PD4B"
    },
    {
      "title": "Lung Rads 4X",
      "trigger": [
        {
          "type": "data-added",
          "data": [
            {
              "type": "Observation",
              "codeFilter": [
                {
                  "code": [
                    {
                      "system": "http://snomed.org",
                      "code": "16334891000119106",
                      "display": "Low dose computed tomography of chest without contrast (procedure)"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "condition": [
        {
          "kind": "start",
          "expression": {
            "language": "application/x-fhir-query",
            "expression": "/Observation?subject:Patient/{id}/&value-concept=http://radlex.org|RID50141"
          }
        }
      ],
      "definitionCanonical": "PlanDefinition/LungDiagnosis_PD4X"
    }
  ]
}