//! Resource definitions.

#[rustfmt::skip] // Too much for rustfmt
#[allow(clippy::doc_lazy_continuation, reason = "Comments from FHIR spec")]
mod generated;

pub use generated::*;

use crate::identifiable_resource::identifiable_resource_code;

identifiable_resource_code!(
	r4b,
	[
		Account,
		ActivityDefinition,
		AdministrableProductDefinition,
		AllergyIntolerance,
		Appointment,
		AppointmentResponse,
		Basic,
		BiologicallyDerivedProduct,
		BodyStructure,
		CarePlan,
		CareTeam,
		CatalogEntry,
		ChargeItem,
		ChargeItemDefinition,
		Citation,
		Claim,
		ClaimResponse,
		ClinicalImpression,
		ClinicalUseDefinition,
		CodeSystem,
		Communication,
		CommunicationRequest,
		Condition,
		Consent,
		Contract,
		Coverage,
		CoverageEligibilityRequest,
		CoverageEligibilityResponse,
		DetectedIssue,
		Device,
		DeviceDefinition,
		DeviceMetric,
		DeviceRequest,
		DeviceUseStatement,
		DiagnosticReport,
		DocumentManifest,
		DocumentReference,
		Encounter,
		Endpoint,
		EnrollmentRequest,
		EnrollmentResponse,
		EpisodeOfCare,
		EventDefinition,
		Evidence,
		EvidenceReport,
		EvidenceVariable,
		ExampleScenario,
		ExplanationOfBenefit,
		FamilyMemberHistory,
		Flag,
		Goal,
		Group,
		GuidanceResponse,
		HealthcareService,
		ImagingStudy,
		Immunization,
		ImmunizationEvaluation,
		ImmunizationRecommendation,
		InsurancePlan,
		Invoice,
		Library,
		List,
		Location,
		ManufacturedItemDefinition,
		Measure,
		MeasureReport,
		Media,
		Medication,
		MedicationAdministration,
		MedicationDispense,
		MedicationRequest,
		MedicationStatement,
		MedicinalProductDefinition,
		MessageDefinition,
		MolecularSequence,
		NutritionOrder,
		Observation,
		ObservationDefinition,
		Organization,
		OrganizationAffiliation,
		PackagedProductDefinition,
		Patient,
		PaymentNotice,
		PaymentReconciliation,
		Person,
		PlanDefinition,
		Practitioner,
		PractitionerRole,
		Procedure,
		Questionnaire,
		RegulatedAuthorization,
		RelatedPerson,
		RequestGroup,
		ResearchDefinition,
		ResearchElementDefinition,
		ResearchStudy,
		ResearchSubject,
		RiskAssessment,
		Schedule,
		ServiceRequest,
		Slot,
		Specimen,
		StructureDefinition,
		StructureMap,
		SubscriptionTopic,
		Substance,
		SubstanceDefinition,
		SupplyDelivery,
		SupplyRequest,
		Task,
		ValueSet,
		VisionPrescription
	]
);
