Snapshot 3: Connectathon 32 Base

This is Snapshot #3 for FHIR R5, released to support Connectathon 32. For a full list of available versions, see the Directory of published versions.

Example CompartmentDefinition/patient (Turtle)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: Informative

Raw Turtle (+ also see Turtle/RDF Format Specification)

Compartment Definition for patient

@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

# - resource -------------------------------------------------------------------

[] a fhir:CompartmentDefinition;
  fhir:Resource.id [ fhir:value "patient"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ]
  ];
  fhir:CanonicalResource.url [ fhir:value "http://hl7.org/fhir/CompartmentDefinition/patient"];
  fhir:CanonicalResource.version [ fhir:value "5.0.0-snapshot3"];
  fhir:CanonicalResource.name [ fhir:value "Base FHIR compartment definition for Patient"];
  fhir:CanonicalResource.status [ fhir:value "draft"];
  fhir:CanonicalResource.experimental [ fhir:value "true"];
  fhir:CanonicalResource.date [ fhir:value "2022-12-14T07:12:54+11:00"];
  fhir:CanonicalResource.publisher [ fhir:value "FHIR Project Team"];
  fhir:CanonicalResource.contact [
     fhir:ContactDetail.telecom [
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ]
  ];
  fhir:CanonicalResource.description [ fhir:value "There is an instance of the patient compartment for each patient resource, and the identity of the compartment is the same as the patient. When a patient is linked to another patient resource, the records associated with the linked patient resource will not be returned as part of the compartment search. Those records will be returned only with another compartment search using the \"id\" for the linked patient resource.\n \nIn cases where two patients have been merged rather than linked, associated resources should be moved to the target patient as part of the merge process, so the patient compartment for the target patient would include all relevant data, and the patient compartment for the source patient would include only the linked Patient and possibly remnant resources like AuditEvent.. The set of resources associated with a particular patient"];
  fhir:CompartmentDefinition.url [ fhir:value "http://hl7.org/fhir/CompartmentDefinition/patient"];
  fhir:CompartmentDefinition.version [ fhir:value "5.0.0-snapshot3"];
  fhir:CompartmentDefinition.name [ fhir:value "Base FHIR compartment definition for Patient"];
  fhir:CompartmentDefinition.status [ fhir:value "draft"];
  fhir:CompartmentDefinition.experimental [ fhir:value "true"];
  fhir:CompartmentDefinition.date [ fhir:value "2022-12-14T07:12:54+11:00"];
  fhir:CompartmentDefinition.publisher [ fhir:value "FHIR Project Team"];
  fhir:CompartmentDefinition.contact [
     fhir:ContactDetail.telecom [
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ]
  ];
  fhir:CompartmentDefinition.description [ fhir:value "There is an instance of the patient compartment for each patient resource, and the identity of the compartment is the same as the patient. When a patient is linked to another patient resource, the records associated with the linked patient resource will not be returned as part of the compartment search. Those records will be returned only with another compartment search using the \"id\" for the linked patient resource.\n \nIn cases where two patients have been merged rather than linked, associated resources should be moved to the target patient as part of the merge process, so the patient compartment for the target patient would include all relevant data, and the patient compartment for the source patient would include only the linked Patient and possibly remnant resources like AuditEvent.. The set of resources associated with a particular patient"];
  fhir:CompartmentDefinition.code [ fhir:value "Patient"];
  fhir:CompartmentDefinition.search [ fhir:value "true"];
  fhir:CompartmentDefinition.resource [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Account" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ActivityDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ActorDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "AdministrableProductDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "AdverseEvent" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "AllergyIntolerance" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "patient" ], [ fhir:value "participant" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Appointment" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "actor" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "AppointmentResponse" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "actor" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ArtifactAssessment" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "AuditEvent" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "patient" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Basic" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "patient" ], [ fhir:value "author" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Binary" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "BiologicallyDerivedProduct" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "BodyStructure" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "patient" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Bundle" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "CapabilityStatement" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "CarePlan" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "patient" ], [ fhir:value "performer" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "CareTeam" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "patient" ], [ fhir:value "participant" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ChargeItem" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ChargeItemDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Citation" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Claim" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "patient" ], [ fhir:value "payee" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ClaimResponse" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "patient" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ClinicalImpression" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ClinicalUseDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "CodeSystem" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Communication" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ], [ fhir:value "sender" ], [ fhir:value "recipient" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "CommunicationRequest" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ], [ fhir:value "information-provider" ], [ fhir:value "recipient" ], [ fhir:value "requester" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "CompartmentDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Composition" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ], [ fhir:value "author" ], [ fhir:value "attester" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ConceptMap" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Condition" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "patient" ], [ fhir:value "participant-actor" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ConditionDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Consent" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Contract" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Coverage" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "policy-holder" ], [ fhir:value "subscriber" ], [ fhir:value "beneficiary" ], [ fhir:value "paymentby-party" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "CoverageEligibilityRequest" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "patient" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "CoverageEligibilityResponse" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "patient" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "DetectedIssue" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "patient" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Device" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "DeviceDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "DeviceDispense" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "DeviceMetric" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "DeviceRequest" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ], [ fhir:value "performer" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "DeviceUsage" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "patient" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "DiagnosticReport" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "DocumentManifest" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ], [ fhir:value "author" ], [ fhir:value "recipient" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "DocumentReference" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ], [ fhir:value "author" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Encounter" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "patient" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Endpoint" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "EnrollmentRequest" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "EnrollmentResponse" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "EpisodeOfCare" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "patient" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "EventDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Evidence" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "EvidenceReport" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "EvidenceVariable" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ExampleScenario" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ExplanationOfBenefit" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "patient" ], [ fhir:value "payee" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "FamilyMemberHistory" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "patient" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Flag" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "patient" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "FormularyItem" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "GenomicStudy" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "patient" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Goal" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "patient" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "GraphDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Group" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "member" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "GuidanceResponse" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "HealthcareService" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ImagingSelection" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "patient" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ImagingStudy" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "patient" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Immunization" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "patient" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ImmunizationEvaluation" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "patient" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ImmunizationRecommendation" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "patient" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ImplementationGuide" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Ingredient" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "InsurancePlan" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "InventoryReport" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Invoice" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ], [ fhir:value "patient" ], [ fhir:value "recipient" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Library" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Linkage" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "List" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ], [ fhir:value "source" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Location" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ManufacturedItemDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Measure" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "MeasureReport" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "patient" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Medication" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "MedicationAdministration" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "patient" ], [ fhir:value "performer" ], [ fhir:value "subject" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "MedicationDispense" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ], [ fhir:value "patient" ], [ fhir:value "receiver" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "MedicationKnowledge" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "MedicationRequest" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "MedicationUsage" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "MedicinalProductDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "MessageDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "MessageHeader" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "MolecularSequence" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "NamingSystem" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "NutritionIntake" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ], [ fhir:value "source" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "NutritionOrder" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "patient" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "NutritionProduct" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Observation" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ], [ fhir:value "performer" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ObservationDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "OperationDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "OperationOutcome" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Organization" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "OrganizationAffiliation" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "PackagedProductDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Patient" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "{def}" ], [ fhir:value "link" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "PaymentNotice" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "PaymentReconciliation" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Permission" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Person" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "patient" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "PlanDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Practitioner" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "PractitionerRole" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Procedure" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "patient" ], [ fhir:value "performer" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Provenance" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "patient" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Questionnaire" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "QuestionnaireResponse" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ], [ fhir:value "author" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "RegulatedAuthorization" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "RelatedPerson" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "patient" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "RequestOrchestration" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ], [ fhir:value "participant" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Requirements" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ResearchStudy" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ResearchSubject" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "RiskAssessment" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Schedule" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "actor" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "SearchParameter" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ServiceRequest" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ], [ fhir:value "performer" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Slot" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Specimen" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "SpecimenDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "StructureDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "StructureMap" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Subscription" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "SubscriptionStatus" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "SubscriptionTopic" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Substance" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "SubstanceDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "SubstanceNucleicAcid" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "SubstancePolymer" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "SubstanceProtein" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "SubstanceReferenceInformation" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "SubstanceSourceMaterial" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "SupplyDelivery" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "patient" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "SupplyRequest" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Task" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "TerminologyCapabilities" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "TestReport" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "TestScript" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Transport" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ValueSet" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "VerificationResult" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "VisionPrescription" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "patient" ]
  ] .

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.