{
  "resourceType": "ActivityDefinition",
  "id": "legs-up-the-wall",
  "url": "https://bodyiq.dev/fhir/ActivityDefinition/legs-up-the-wall",
  "version": "1",
  "name": "LegsUpTheWall",
  "title": "Legs-Up-the-Wall",
  "status": "draft",
  "experimental": true,
  "description": "A restorative pose (Viparita Karani): lie on your back with your buttocks close to a wall and rest your straight legs vertically up the wall, arms relaxed at your sides, breathing slowly for 5-15 minutes. The wall passively supports the legs so no muscular effort is needed.",
  "useContext": [
    {
      "code": {
        "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code": "user"
      },
      "valueCodeableConcept": {
        "text": "difficulty: beginner"
      }
    }
  ],
  "topic": [
    {
      "coding": [
        {
          "system": "https://bodyiq.dev/fhir/CodeSystem/exercise",
          "code": "legs-up-the-wall",
          "display": "Legs-Up-the-Wall"
        }
      ]
    }
  ],
  "bodySite": [
    {
      "coding": [
        {
          "system": "https://bodyiq.dev/fhir/CodeSystem/exercise",
          "code": "hip",
          "display": "Hip"
        },
        {
          "system": "http://snomed.info/sct",
          "code": "24136001",
          "display": "Structure of hip joint"
        }
      ],
      "text": "Hip"
    },
    {
      "coding": [
        {
          "system": "https://bodyiq.dev/fhir/CodeSystem/exercise",
          "code": "knee",
          "display": "Knee"
        },
        {
          "system": "http://snomed.info/sct",
          "code": "129159008",
          "display": "Structure of femorotibial joint"
        }
      ],
      "text": "Knee"
    },
    {
      "coding": [
        {
          "system": "https://bodyiq.dev/fhir/CodeSystem/exercise",
          "code": "ankle",
          "display": "Ankle"
        },
        {
          "system": "http://snomed.info/sct",
          "code": "70258002",
          "display": "Structure of ankle joint"
        }
      ],
      "text": "Ankle"
    }
  ],
  "kind": "ServiceRequest",
  "dosage": [
    {
      "text": "Hold 5-15 minutes, once daily or as needed (e.g., end of day or before sleep). Come out slowly by bending the knees and rolling to one side to avoid dizziness."
    }
  ],
  "usage": "Evidence: limited. Predominantly a passive/restorative posture with very low muscle activation throughout; the legs are supported by the wall rather than by active contraction. No exercise-specific EMG data are established.",
  "note": [
    {
      "text": "Sit sideways with one hip touching the wall, then roll onto your back as you swing both legs up the wall."
    },
    {
      "text": "Slide your buttocks as close to the wall as is comfortable; the closer you are, the more stretch you feel in the backs of the legs."
    },
    {
      "text": "Let the wall do all the work - completely relax your legs, feet, and shoulders so there is no muscular effort."
    },
    {
      "text": "Breathe slowly and low into the belly, making each exhale a little longer than the inhale."
    }
  ],
  "extension": [
    {
      "url": "https://bodyiq.dev/fhir/StructureDefinition/muscle-involvement",
      "extension": [
        {
          "url": "muscle",
          "valueString": "Diaphragm"
        },
        {
          "url": "role",
          "valueCode": "primary"
        },
        {
          "url": "coding",
          "valueCoding": {
            "system": "http://snomed.info/sct",
            "code": "5798000"
          }
        }
      ]
    },
    {
      "url": "https://bodyiq.dev/fhir/StructureDefinition/muscle-involvement",
      "extension": [
        {
          "url": "muscle",
          "valueString": "Hamstrings (Group)"
        },
        {
          "url": "role",
          "valueCode": "lengthening"
        }
      ]
    },
    {
      "url": "https://bodyiq.dev/fhir/StructureDefinition/muscle-involvement",
      "extension": [
        {
          "url": "muscle",
          "valueString": "Gastrocnemius"
        },
        {
          "url": "role",
          "valueCode": "lengthening"
        },
        {
          "url": "coding",
          "valueCoding": {
            "system": "http://snomed.info/sct",
            "code": "35616000"
          }
        }
      ]
    },
    {
      "url": "https://bodyiq.dev/fhir/StructureDefinition/muscle-involvement",
      "extension": [
        {
          "url": "muscle",
          "valueString": "Gluteus Maximus"
        },
        {
          "url": "role",
          "valueCode": "lengthening"
        },
        {
          "url": "coding",
          "valueCoding": {
            "system": "http://snomed.info/sct",
            "code": "206007"
          }
        }
      ]
    },
    {
      "url": "https://bodyiq.dev/fhir/StructureDefinition/muscle-involvement",
      "extension": [
        {
          "url": "muscle",
          "valueString": "Erector Spinae Group"
        },
        {
          "url": "role",
          "valueCode": "lengthening"
        },
        {
          "url": "coding",
          "valueCoding": {
            "system": "http://snomed.info/sct",
            "code": "44947003"
          }
        }
      ]
    }
  ]
}