use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern "C" {
pub static HKPredicateKeyPathClinicalRecordFHIRResourceIdentifier: &'static NSString;
}
extern "C" {
pub static HKPredicateKeyPathClinicalRecordFHIRResourceType: &'static NSString;
}
extern_class!(
#[unsafe(super(HKSample, HKObject, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(all(feature = "HKObject", feature = "HKSample"))]
pub struct HKClinicalRecord;
);
#[cfg(all(feature = "HKObject", feature = "HKSample"))]
unsafe impl Send for HKClinicalRecord {}
#[cfg(all(feature = "HKObject", feature = "HKSample"))]
unsafe impl Sync for HKClinicalRecord {}
#[cfg(all(feature = "HKObject", feature = "HKSample"))]
extern_conformance!(
unsafe impl NSCoding for HKClinicalRecord {}
);
#[cfg(all(feature = "HKObject", feature = "HKSample"))]
extern_conformance!(
unsafe impl NSCopying for HKClinicalRecord {}
);
#[cfg(all(feature = "HKObject", feature = "HKSample"))]
unsafe impl CopyingHelper for HKClinicalRecord {
type Result = Self;
}
#[cfg(all(feature = "HKObject", feature = "HKSample"))]
extern_conformance!(
unsafe impl NSObjectProtocol for HKClinicalRecord {}
);
#[cfg(all(feature = "HKObject", feature = "HKSample"))]
extern_conformance!(
unsafe impl NSSecureCoding for HKClinicalRecord {}
);
#[cfg(all(feature = "HKObject", feature = "HKSample"))]
impl HKClinicalRecord {
extern_methods!(
#[cfg(all(feature = "HKClinicalType", feature = "HKObjectType"))]
#[unsafe(method(clinicalType))]
#[unsafe(method_family = none)]
pub unsafe fn clinicalType(&self) -> Retained<HKClinicalType>;
#[unsafe(method(displayName))]
#[unsafe(method_family = none)]
pub unsafe fn displayName(&self) -> Retained<NSString>;
#[cfg(feature = "HKFHIRResource")]
#[unsafe(method(FHIRResource))]
#[unsafe(method_family = none)]
pub unsafe fn FHIRResource(&self) -> Option<Retained<HKFHIRResource>>;
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}