R4 Ballot #2 (Mixed Normative/Trial use)

This page is part of the FHIR Specification (v3.5.0: R4 Ballot #2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Compartmentdefinition-patient.ttl

FHIR Infrastructure Work GroupMaturity Level: N/ABallot 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 "generated" ]
  ];
  fhir:CompartmentDefinition.url [ fhir:value "http://hl7.org/fhir/CompartmentDefinition/patient"];
  fhir:CompartmentDefinition.version [ fhir:value "3.5.0-14907"];
  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 "2018-08-19T21:48:56+10:00"];
  fhir:CompartmentDefinition.publisher [ fhir:value "FHIR Project Team"];
  fhir:CompartmentDefinition.contact [
     fhir:index 0;
     fhir:ContactDetail.telecom [
       fhir:index 0;
       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, all the records associated with the linked patient are in the compartment associated with the target of the link.. 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:index 0;
     fhir:CompartmentDefinition.code [ fhir:value "Account" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ]
  ], [
     fhir:index 1;
     fhir:CompartmentDefinition.code [ fhir:value "ActivityDefinition" ]
  ], [
     fhir:index 2;
     fhir:CompartmentDefinition.code [ fhir:value "AdverseEvent" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ]
  ], [
     fhir:index 3;
     fhir:CompartmentDefinition.code [ fhir:value "AllergyIntolerance" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ], [
       fhir:value "recorder";
       fhir:index 1
     ], [
       fhir:value "asserter";
       fhir:index 2
     ]
  ], [
     fhir:index 4;
     fhir:CompartmentDefinition.code [ fhir:value "Appointment" ];
     fhir:CompartmentDefinition.param [
       fhir:value "actor";
       fhir:index 0
     ]
  ], [
     fhir:index 5;
     fhir:CompartmentDefinition.code [ fhir:value "AppointmentResponse" ];
     fhir:CompartmentDefinition.param [
       fhir:value "actor";
       fhir:index 0
     ]
  ], [
     fhir:index 6;
     fhir:CompartmentDefinition.code [ fhir:value "AuditEvent" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 7;
     fhir:CompartmentDefinition.code [ fhir:value "Basic" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ], [
       fhir:value "author";
       fhir:index 1
     ]
  ], [
     fhir:index 8;
     fhir:CompartmentDefinition.code [ fhir:value "Binary" ]
  ], [
     fhir:index 9;
     fhir:CompartmentDefinition.code [ fhir:value "BiologicallyDerivedProduct" ]
  ], [
     fhir:index 10;
     fhir:CompartmentDefinition.code [ fhir:value "BodyStructure" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 11;
     fhir:CompartmentDefinition.code [ fhir:value "Bundle" ]
  ], [
     fhir:index 12;
     fhir:CompartmentDefinition.code [ fhir:value "CapabilityStatement" ]
  ], [
     fhir:index 13;
     fhir:CompartmentDefinition.code [ fhir:value "CarePlan" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ], [
       fhir:value "performer";
       fhir:index 1
     ]
  ], [
     fhir:index 14;
     fhir:CompartmentDefinition.code [ fhir:value "CareTeam" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ], [
       fhir:value "participant";
       fhir:index 1
     ]
  ], [
     fhir:index 15;
     fhir:CompartmentDefinition.code [ fhir:value "ChargeItem" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ]
  ], [
     fhir:index 16;
     fhir:CompartmentDefinition.code [ fhir:value "ChargeItemDefinition" ]
  ], [
     fhir:index 17;
     fhir:CompartmentDefinition.code [ fhir:value "Claim" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ], [
       fhir:value "payee";
       fhir:index 1
     ]
  ], [
     fhir:index 18;
     fhir:CompartmentDefinition.code [ fhir:value "ClaimResponse" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 19;
     fhir:CompartmentDefinition.code [ fhir:value "ClinicalImpression" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ]
  ], [
     fhir:index 20;
     fhir:CompartmentDefinition.code [ fhir:value "CodeSystem" ]
  ], [
     fhir:index 21;
     fhir:CompartmentDefinition.code [ fhir:value "Communication" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ], [
       fhir:value "sender";
       fhir:index 1
     ], [
       fhir:value "recipient";
       fhir:index 2
     ]
  ], [
     fhir:index 22;
     fhir:CompartmentDefinition.code [ fhir:value "CommunicationRequest" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ], [
       fhir:value "sender";
       fhir:index 1
     ], [
       fhir:value "recipient";
       fhir:index 2
     ], [
       fhir:value "requester";
       fhir:index 3
     ]
  ], [
     fhir:index 23;
     fhir:CompartmentDefinition.code [ fhir:value "CompartmentDefinition" ]
  ], [
     fhir:index 24;
     fhir:CompartmentDefinition.code [ fhir:value "Composition" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ], [
       fhir:value "author";
       fhir:index 1
     ], [
       fhir:value "attester";
       fhir:index 2
     ]
  ], [
     fhir:index 25;
     fhir:CompartmentDefinition.code [ fhir:value "ConceptMap" ]
  ], [
     fhir:index 26;
     fhir:CompartmentDefinition.code [ fhir:value "Condition" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ], [
       fhir:value "asserter";
       fhir:index 1
     ]
  ], [
     fhir:index 27;
     fhir:CompartmentDefinition.code [ fhir:value "Consent" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 28;
     fhir:CompartmentDefinition.code [ fhir:value "Contract" ]
  ], [
     fhir:index 29;
     fhir:CompartmentDefinition.code [ fhir:value "Coverage" ];
     fhir:CompartmentDefinition.param [
       fhir:value "policy-holder";
       fhir:index 0
     ], [
       fhir:value "subscriber";
       fhir:index 1
     ], [
       fhir:value "beneficiary";
       fhir:index 2
     ], [
       fhir:value "payor";
       fhir:index 3
     ]
  ], [
     fhir:index 30;
     fhir:CompartmentDefinition.code [ fhir:value "CoverageEligibilityRequest" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 31;
     fhir:CompartmentDefinition.code [ fhir:value "CoverageEligibilityResponse" ]
  ], [
     fhir:index 32;
     fhir:CompartmentDefinition.code [ fhir:value "DetectedIssue" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 33;
     fhir:CompartmentDefinition.code [ fhir:value "Device" ]
  ], [
     fhir:index 34;
     fhir:CompartmentDefinition.code [ fhir:value "DeviceDefinition" ]
  ], [
     fhir:index 35;
     fhir:CompartmentDefinition.code [ fhir:value "DeviceMetric" ]
  ], [
     fhir:index 36;
     fhir:CompartmentDefinition.code [ fhir:value "DeviceRequest" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ], [
       fhir:value "performer";
       fhir:index 1
     ]
  ], [
     fhir:index 37;
     fhir:CompartmentDefinition.code [ fhir:value "DeviceUseStatement" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ]
  ], [
     fhir:index 38;
     fhir:CompartmentDefinition.code [ fhir:value "DiagnosticReport" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ]
  ], [
     fhir:index 39;
     fhir:CompartmentDefinition.code [ fhir:value "DocumentManifest" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ], [
       fhir:value "agent";
       fhir:index 1
     ], [
       fhir:value "recipient";
       fhir:index 2
     ]
  ], [
     fhir:index 40;
     fhir:CompartmentDefinition.code [ fhir:value "DocumentReference" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ]
  ], [
     fhir:index 41;
     fhir:CompartmentDefinition.code [ fhir:value "Encounter" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 42;
     fhir:CompartmentDefinition.code [ fhir:value "Endpoint" ]
  ], [
     fhir:index 43;
     fhir:CompartmentDefinition.code [ fhir:value "EnrollmentRequest" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ]
  ], [
     fhir:index 44;
     fhir:CompartmentDefinition.code [ fhir:value "EnrollmentResponse" ]
  ], [
     fhir:index 45;
     fhir:CompartmentDefinition.code [ fhir:value "EntryDefinition" ]
  ], [
     fhir:index 46;
     fhir:CompartmentDefinition.code [ fhir:value "EpisodeOfCare" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 47;
     fhir:CompartmentDefinition.code [ fhir:value "EventDefinition" ]
  ], [
     fhir:index 48;
     fhir:CompartmentDefinition.code [ fhir:value "ExampleScenario" ]
  ], [
     fhir:index 49;
     fhir:CompartmentDefinition.code [ fhir:value "ExplanationOfBenefit" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ], [
       fhir:value "payee";
       fhir:index 1
     ]
  ], [
     fhir:index 50;
     fhir:CompartmentDefinition.code [ fhir:value "FamilyMemberHistory" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 51;
     fhir:CompartmentDefinition.code [ fhir:value "Flag" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 52;
     fhir:CompartmentDefinition.code [ fhir:value "Goal" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 53;
     fhir:CompartmentDefinition.code [ fhir:value "GraphDefinition" ]
  ], [
     fhir:index 54;
     fhir:CompartmentDefinition.code [ fhir:value "Group" ];
     fhir:CompartmentDefinition.param [
       fhir:value "member";
       fhir:index 0
     ]
  ], [
     fhir:index 55;
     fhir:CompartmentDefinition.code [ fhir:value "GuidanceResponse" ]
  ], [
     fhir:index 56;
     fhir:CompartmentDefinition.code [ fhir:value "HealthcareService" ]
  ], [
     fhir:index 57;
     fhir:CompartmentDefinition.code [ fhir:value "ImagingStudy" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 58;
     fhir:CompartmentDefinition.code [ fhir:value "Immunization" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 59;
     fhir:CompartmentDefinition.code [ fhir:value "ImmunizationEvaluation" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 60;
     fhir:CompartmentDefinition.code [ fhir:value "ImmunizationRecommendation" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 61;
     fhir:CompartmentDefinition.code [ fhir:value "ImplementationGuide" ]
  ], [
     fhir:index 62;
     fhir:CompartmentDefinition.code [ fhir:value "InsurancePlan" ]
  ], [
     fhir:index 63;
     fhir:CompartmentDefinition.code [ fhir:value "Invoice" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ], [
       fhir:value "patient";
       fhir:index 1
     ], [
       fhir:value "recipient";
       fhir:index 2
     ]
  ], [
     fhir:index 64;
     fhir:CompartmentDefinition.code [ fhir:value "ItemInstance" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ]
  ], [
     fhir:index 65;
     fhir:CompartmentDefinition.code [ fhir:value "Library" ]
  ], [
     fhir:index 66;
     fhir:CompartmentDefinition.code [ fhir:value "Linkage" ]
  ], [
     fhir:index 67;
     fhir:CompartmentDefinition.code [ fhir:value "List" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ], [
       fhir:value "source";
       fhir:index 1
     ]
  ], [
     fhir:index 68;
     fhir:CompartmentDefinition.code [ fhir:value "Location" ]
  ], [
     fhir:index 69;
     fhir:CompartmentDefinition.code [ fhir:value "Measure" ]
  ], [
     fhir:index 70;
     fhir:CompartmentDefinition.code [ fhir:value "MeasureReport" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 71;
     fhir:CompartmentDefinition.code [ fhir:value "Media" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ]
  ], [
     fhir:index 72;
     fhir:CompartmentDefinition.code [ fhir:value "Medication" ]
  ], [
     fhir:index 73;
     fhir:CompartmentDefinition.code [ fhir:value "MedicationAdministration" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ], [
       fhir:value "performer";
       fhir:index 1
     ], [
       fhir:value "subject";
       fhir:index 2
     ]
  ], [
     fhir:index 74;
     fhir:CompartmentDefinition.code [ fhir:value "MedicationDispense" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ], [
       fhir:value "patient";
       fhir:index 1
     ], [
       fhir:value "receiver";
       fhir:index 2
     ]
  ], [
     fhir:index 75;
     fhir:CompartmentDefinition.code [ fhir:value "MedicationKnowledge" ]
  ], [
     fhir:index 76;
     fhir:CompartmentDefinition.code [ fhir:value "MedicationRequest" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ]
  ], [
     fhir:index 77;
     fhir:CompartmentDefinition.code [ fhir:value "MedicationStatement" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ]
  ], [
     fhir:index 78;
     fhir:CompartmentDefinition.code [ fhir:value "MedicinalProduct" ]
  ], [
     fhir:index 79;
     fhir:CompartmentDefinition.code [ fhir:value "MedicinalProductAuthorization" ]
  ], [
     fhir:index 80;
     fhir:CompartmentDefinition.code [ fhir:value "MedicinalProductClinicals" ]
  ], [
     fhir:index 81;
     fhir:CompartmentDefinition.code [ fhir:value "MedicinalProductContraindication" ]
  ], [
     fhir:index 82;
     fhir:CompartmentDefinition.code [ fhir:value "MedicinalProductDeviceSpec" ]
  ], [
     fhir:index 83;
     fhir:CompartmentDefinition.code [ fhir:value "MedicinalProductIndication" ]
  ], [
     fhir:index 84;
     fhir:CompartmentDefinition.code [ fhir:value "MedicinalProductIngredient" ]
  ], [
     fhir:index 85;
     fhir:CompartmentDefinition.code [ fhir:value "MedicinalProductInteraction" ]
  ], [
     fhir:index 86;
     fhir:CompartmentDefinition.code [ fhir:value "MedicinalProductManufactured" ]
  ], [
     fhir:index 87;
     fhir:CompartmentDefinition.code [ fhir:value "MedicinalProductPackaged" ]
  ], [
     fhir:index 88;
     fhir:CompartmentDefinition.code [ fhir:value "MedicinalProductPharmaceutical" ]
  ], [
     fhir:index 89;
     fhir:CompartmentDefinition.code [ fhir:value "MedicinalProductUndesirableEffect" ]
  ], [
     fhir:index 90;
     fhir:CompartmentDefinition.code [ fhir:value "MessageDefinition" ]
  ], [
     fhir:index 91;
     fhir:CompartmentDefinition.code [ fhir:value "MessageHeader" ]
  ], [
     fhir:index 92;
     fhir:CompartmentDefinition.code [ fhir:value "NamingSystem" ]
  ], [
     fhir:index 93;
     fhir:CompartmentDefinition.code [ fhir:value "NutritionOrder" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 94;
     fhir:CompartmentDefinition.code [ fhir:value "Observation" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ], [
       fhir:value "performer";
       fhir:index 1
     ]
  ], [
     fhir:index 95;
     fhir:CompartmentDefinition.code [ fhir:value "ObservationDefinition" ]
  ], [
     fhir:index 96;
     fhir:CompartmentDefinition.code [ fhir:value "OperationDefinition" ]
  ], [
     fhir:index 97;
     fhir:CompartmentDefinition.code [ fhir:value "OperationOutcome" ]
  ], [
     fhir:index 98;
     fhir:CompartmentDefinition.code [ fhir:value "Organization" ]
  ], [
     fhir:index 99;
     fhir:CompartmentDefinition.code [ fhir:value "OrganizationAffiliation" ]
  ], [
     fhir:index 100;
     fhir:CompartmentDefinition.code [ fhir:value "Patient" ];
     fhir:CompartmentDefinition.param [
       fhir:value "link";
       fhir:index 0
     ]
  ], [
     fhir:index 101;
     fhir:CompartmentDefinition.code [ fhir:value "PaymentNotice" ]
  ], [
     fhir:index 102;
     fhir:CompartmentDefinition.code [ fhir:value "PaymentReconciliation" ]
  ], [
     fhir:index 103;
     fhir:CompartmentDefinition.code [ fhir:value "Person" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 104;
     fhir:CompartmentDefinition.code [ fhir:value "PlanDefinition" ]
  ], [
     fhir:index 105;
     fhir:CompartmentDefinition.code [ fhir:value "Practitioner" ]
  ], [
     fhir:index 106;
     fhir:CompartmentDefinition.code [ fhir:value "PractitionerRole" ]
  ], [
     fhir:index 107;
     fhir:CompartmentDefinition.code [ fhir:value "Procedure" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ], [
       fhir:value "performer";
       fhir:index 1
     ]
  ], [
     fhir:index 108;
     fhir:CompartmentDefinition.code [ fhir:value "ProcessRequest" ]
  ], [
     fhir:index 109;
     fhir:CompartmentDefinition.code [ fhir:value "ProcessResponse" ]
  ], [
     fhir:index 110;
     fhir:CompartmentDefinition.code [ fhir:value "Provenance" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 111;
     fhir:CompartmentDefinition.code [ fhir:value "Questionnaire" ]
  ], [
     fhir:index 112;
     fhir:CompartmentDefinition.code [ fhir:value "QuestionnaireResponse" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ], [
       fhir:value "author";
       fhir:index 1
     ]
  ], [
     fhir:index 113;
     fhir:CompartmentDefinition.code [ fhir:value "RelatedPerson" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 114;
     fhir:CompartmentDefinition.code [ fhir:value "RequestGroup" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ], [
       fhir:value "participant";
       fhir:index 1
     ]
  ], [
     fhir:index 115;
     fhir:CompartmentDefinition.code [ fhir:value "ResearchStudy" ]
  ], [
     fhir:index 116;
     fhir:CompartmentDefinition.code [ fhir:value "ResearchSubject" ];
     fhir:CompartmentDefinition.param [
       fhir:value "individual";
       fhir:index 0
     ]
  ], [
     fhir:index 117;
     fhir:CompartmentDefinition.code [ fhir:value "RiskAssessment" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ]
  ], [
     fhir:index 118;
     fhir:CompartmentDefinition.code [ fhir:value "Schedule" ];
     fhir:CompartmentDefinition.param [
       fhir:value "actor";
       fhir:index 0
     ]
  ], [
     fhir:index 119;
     fhir:CompartmentDefinition.code [ fhir:value "SearchParameter" ]
  ], [
     fhir:index 120;
     fhir:CompartmentDefinition.code [ fhir:value "Sequence" ]
  ], [
     fhir:index 121;
     fhir:CompartmentDefinition.code [ fhir:value "ServiceRequest" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ], [
       fhir:value "performer";
       fhir:index 1
     ]
  ], [
     fhir:index 122;
     fhir:CompartmentDefinition.code [ fhir:value "Slot" ]
  ], [
     fhir:index 123;
     fhir:CompartmentDefinition.code [ fhir:value "Specimen" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ]
  ], [
     fhir:index 124;
     fhir:CompartmentDefinition.code [ fhir:value "SpecimenDefinition" ]
  ], [
     fhir:index 125;
     fhir:CompartmentDefinition.code [ fhir:value "StructureDefinition" ]
  ], [
     fhir:index 126;
     fhir:CompartmentDefinition.code [ fhir:value "StructureMap" ]
  ], [
     fhir:index 127;
     fhir:CompartmentDefinition.code [ fhir:value "Subscription" ]
  ], [
     fhir:index 128;
     fhir:CompartmentDefinition.code [ fhir:value "Substance" ]
  ], [
     fhir:index 129;
     fhir:CompartmentDefinition.code [ fhir:value "SubstancePolymer" ]
  ], [
     fhir:index 130;
     fhir:CompartmentDefinition.code [ fhir:value "SubstanceReferenceInformation" ]
  ], [
     fhir:index 131;
     fhir:CompartmentDefinition.code [ fhir:value "SubstanceSpecification" ]
  ], [
     fhir:index 132;
     fhir:CompartmentDefinition.code [ fhir:value "SupplyDelivery" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 133;
     fhir:CompartmentDefinition.code [ fhir:value "SupplyRequest" ];
     fhir:CompartmentDefinition.param [
       fhir:value "requester";
       fhir:index 0
     ]
  ], [
     fhir:index 134;
     fhir:CompartmentDefinition.code [ fhir:value "Task" ]
  ], [
     fhir:index 135;
     fhir:CompartmentDefinition.code [ fhir:value "TerminologyCapabilities" ]
  ], [
     fhir:index 136;
     fhir:CompartmentDefinition.code [ fhir:value "TestReport" ]
  ], [
     fhir:index 137;
     fhir:CompartmentDefinition.code [ fhir:value "TestScript" ]
  ], [
     fhir:index 138;
     fhir:CompartmentDefinition.code [ fhir:value "UserSession" ];
     fhir:CompartmentDefinition.param [
       fhir:value "user";
       fhir:index 0
     ], [
       fhir:value "focus";
       fhir:index 1
     ]
  ], [
     fhir:index 139;
     fhir:CompartmentDefinition.code [ fhir:value "ValueSet" ]
  ], [
     fhir:index 140;
     fhir:CompartmentDefinition.code [ fhir:value "VerificationResult" ]
  ], [
     fhir:index 141;
     fhir:CompartmentDefinition.code [ fhir:value "VisionPrescription" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ] .

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


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.