<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "HealthKit",
  "identifier" : "/documentation/HealthKit/HKMedicationGeneralForm",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "HealthKit"
    ],
    "preciseIdentifier" : "c:@T@HKMedicationGeneralForm"
  },
  "title" : "HKMedicationGeneralForm"
}
-->

# HKMedicationGeneralForm

The manufactured form of a medication.

```
struct HKMedicationGeneralForm
```

## Topics

### Initializers

[`init(rawValue: String)`](/documentation/HealthKit/HKMedicationGeneralForm/init(rawValue:))

### Type Properties

[`static let capsule: HKMedicationGeneralForm`](/documentation/HealthKit/HKMedicationGeneralForm/capsule)

The medication comes in capsule form, such as a hard-shell capsule or softgel.

[`static let cream: HKMedicationGeneralForm`](/documentation/HealthKit/HKMedicationGeneralForm/cream)

The medication is applied as a cream.

[`static let device: HKMedicationGeneralForm`](/documentation/HealthKit/HKMedicationGeneralForm/device)

The medication is administered through a device, such as an infusion pump for controlled fluid delivery.

[`static let drops: HKMedicationGeneralForm`](/documentation/HealthKit/HKMedicationGeneralForm/drops)

The medication is taken as drops, for example eye drops or ear drops.

[`static let foam: HKMedicationGeneralForm`](/documentation/HealthKit/HKMedicationGeneralForm/foam)

The medication is applied as a foam.

[`static let gel: HKMedicationGeneralForm`](/documentation/HealthKit/HKMedicationGeneralForm/gel)

The medication is applied as a gel.

[`static let inhaler: HKMedicationGeneralForm`](/documentation/HealthKit/HKMedicationGeneralForm/inhaler)

The medication is delivered through an inhaler.

[`static let injection: HKMedicationGeneralForm`](/documentation/HealthKit/HKMedicationGeneralForm/injection)

The medication is given as an injection.

[`static let liquid: HKMedicationGeneralForm`](/documentation/HealthKit/HKMedicationGeneralForm/liquid)

The medication is taken as a liquid, such as a syrup.

[`static let lotion: HKMedicationGeneralForm`](/documentation/HealthKit/HKMedicationGeneralForm/lotion)

The medication is applied as a lotion.

[`static let ointment: HKMedicationGeneralForm`](/documentation/HealthKit/HKMedicationGeneralForm/ointment)

The medication is applied as an ointment.

[`static let patch: HKMedicationGeneralForm`](/documentation/HealthKit/HKMedicationGeneralForm/patch)

The medication is applied as a patch worn on the skin.

[`static let powder: HKMedicationGeneralForm`](/documentation/HealthKit/HKMedicationGeneralForm/powder)

The medication is taken as a powder.

[`static let spray: HKMedicationGeneralForm`](/documentation/HealthKit/HKMedicationGeneralForm/spray)

The medication is delivered as a spray, for example a nasal spray or throat spray.

[`static let suppository: HKMedicationGeneralForm`](/documentation/HealthKit/HKMedicationGeneralForm/suppository)

The medication is delivered as a suppository.

[`static let tablet: HKMedicationGeneralForm`](/documentation/HealthKit/HKMedicationGeneralForm/tablet)

The medication comes in tablet form, such as a pill or caplet.

[`static let topical: HKMedicationGeneralForm`](/documentation/HealthKit/HKMedicationGeneralForm/topical)

The medication is applied topically in a form that wasn’t specified.

[`static let unknown: HKMedicationGeneralForm`](/documentation/HealthKit/HKMedicationGeneralForm/unknown)

The system doesn’t know the general form of the medication.

## Relationships

### Conforms To

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)