STU 3 Ballot

This page is part of the FHIR Specification (v1.6.0: STU 3 Ballot 4). 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

Raw Turtle, JSON-LD

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.name [ fhir:value "Base FHIR compartment definition for Patient"];
  fhir:CompartmentDefinition.status [ fhir:value "draft"];
  fhir:CompartmentDefinition.experimental [ fhir:value "true"];
  fhir:CompartmentDefinition.publisher [ fhir:value "FHIR Project Team"];
  fhir:CompartmentDefinition.contact [
     fhir:index 0;
     fhir:CompartmentDefinition.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "other" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ]
  ];
  fhir:CompartmentDefinition.date [ fhir:value "2016-08-11T17:02:54+10:00"];
  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 "AllergyIntolerance" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ], [
       fhir:value "recorder";
       fhir:index 1
     ], [
       fhir:value "reporter";
       fhir:index 2
     ]
  ], [
     fhir:index 3;
     fhir:CompartmentDefinition.code [ fhir:value "Appointment" ];
     fhir:CompartmentDefinition.param [
       fhir:value "actor";
       fhir:index 0
     ]
  ], [
     fhir:index 4;
     fhir:CompartmentDefinition.code [ fhir:value "AppointmentResponse" ];
     fhir:CompartmentDefinition.param [
       fhir:value "actor";
       fhir:index 0
     ]
  ], [
     fhir:index 5;
     fhir:CompartmentDefinition.code [ fhir:value "AuditEvent" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ], [
       fhir:value "agent.patient";
       fhir:index 1
     ], [
       fhir:value "entity.patient";
       fhir:index 2
     ]
  ], [
     fhir:index 6;
     fhir:CompartmentDefinition.code [ fhir:value "Basic" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ], [
       fhir:value "author";
       fhir:index 1
     ]
  ], [
     fhir:index 7;
     fhir:CompartmentDefinition.code [ fhir:value "Binary" ]
  ], [
     fhir:index 8;
     fhir:CompartmentDefinition.code [ fhir:value "BodySite" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 9;
     fhir:CompartmentDefinition.code [ fhir:value "Bundle" ]
  ], [
     fhir:index 10;
     fhir:CompartmentDefinition.code [ fhir:value "CarePlan" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ], [
       fhir:value "performer";
       fhir:index 1
     ]
  ], [
     fhir:index 11;
     fhir:CompartmentDefinition.code [ fhir:value "CareTeam" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ], [
       fhir:value "participant";
       fhir:index 1
     ]
  ], [
     fhir:index 12;
     fhir:CompartmentDefinition.code [ fhir:value "Claim" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient-identifier";
       fhir:index 0
     ], [
       fhir:value "patient-reference";
       fhir:index 1
     ]
  ], [
     fhir:index 13;
     fhir:CompartmentDefinition.code [ fhir:value "ClaimResponse" ]
  ], [
     fhir:index 14;
     fhir:CompartmentDefinition.code [ fhir:value "ClinicalImpression" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ]
  ], [
     fhir:index 15;
     fhir:CompartmentDefinition.code [ fhir:value "CodeSystem" ]
  ], [
     fhir:index 16;
     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 17;
     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 18;
     fhir:CompartmentDefinition.code [ fhir:value "CompartmentDefinition" ]
  ], [
     fhir:index 19;
     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 20;
     fhir:CompartmentDefinition.code [ fhir:value "ConceptMap" ]
  ], [
     fhir:index 21;
     fhir:CompartmentDefinition.code [ fhir:value "Condition" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 22;
     fhir:CompartmentDefinition.code [ fhir:value "Conformance" ]
  ], [
     fhir:index 23;
     fhir:CompartmentDefinition.code [ fhir:value "Consent" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 24;
     fhir:CompartmentDefinition.code [ fhir:value "Contract" ]
  ], [
     fhir:index 25;
     fhir:CompartmentDefinition.code [ fhir:value "Coverage" ]
  ], [
     fhir:index 26;
     fhir:CompartmentDefinition.code [ fhir:value "DataElement" ]
  ], [
     fhir:index 27;
     fhir:CompartmentDefinition.code [ fhir:value "DecisionSupportServiceModule" ]
  ], [
     fhir:index 28;
     fhir:CompartmentDefinition.code [ fhir:value "DetectedIssue" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 29;
     fhir:CompartmentDefinition.code [ fhir:value "Device" ]
  ], [
     fhir:index 30;
     fhir:CompartmentDefinition.code [ fhir:value "DeviceComponent" ]
  ], [
     fhir:index 31;
     fhir:CompartmentDefinition.code [ fhir:value "DeviceMetric" ]
  ], [
     fhir:index 32;
     fhir:CompartmentDefinition.code [ fhir:value "DeviceUseRequest" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ], [
       fhir:value "requester";
       fhir:index 1
     ], [
       fhir:value "filler";
       fhir:index 2
     ]
  ], [
     fhir:index 33;
     fhir:CompartmentDefinition.code [ fhir:value "DeviceUseStatement" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ]
  ], [
     fhir:index 34;
     fhir:CompartmentDefinition.code [ fhir:value "DiagnosticReport" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ]
  ], [
     fhir:index 35;
     fhir:CompartmentDefinition.code [ fhir:value "DiagnosticRequest" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ], [
       fhir:value "filler";
       fhir:index 1
     ]
  ], [
     fhir:index 36;
     fhir:CompartmentDefinition.code [ fhir:value "DocumentManifest" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ], [
       fhir:value "author";
       fhir:index 1
     ], [
       fhir:value "recipient";
       fhir:index 2
     ]
  ], [
     fhir:index 37;
     fhir:CompartmentDefinition.code [ fhir:value "DocumentReference" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ], [
       fhir:value "author";
       fhir:index 1
     ]
  ], [
     fhir:index 38;
     fhir:CompartmentDefinition.code [ fhir:value "EligibilityRequest" ]
  ], [
     fhir:index 39;
     fhir:CompartmentDefinition.code [ fhir:value "EligibilityResponse" ]
  ], [
     fhir:index 40;
     fhir:CompartmentDefinition.code [ fhir:value "Encounter" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 41;
     fhir:CompartmentDefinition.code [ fhir:value "Endpoint" ]
  ], [
     fhir:index 42;
     fhir:CompartmentDefinition.code [ fhir:value "EnrollmentRequest" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject-reference";
       fhir:index 0
     ]
  ], [
     fhir:index 43;
     fhir:CompartmentDefinition.code [ fhir:value "EnrollmentResponse" ]
  ], [
     fhir:index 44;
     fhir:CompartmentDefinition.code [ fhir:value "EpisodeOfCare" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 45;
     fhir:CompartmentDefinition.code [ fhir:value "ExpansionProfile" ]
  ], [
     fhir:index 46;
     fhir:CompartmentDefinition.code [ fhir:value "ExplanationOfBenefit" ]
  ], [
     fhir:index 47;
     fhir:CompartmentDefinition.code [ fhir:value "FamilyMemberHistory" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 48;
     fhir:CompartmentDefinition.code [ fhir:value "Flag" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 49;
     fhir:CompartmentDefinition.code [ fhir:value "Goal" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 50;
     fhir:CompartmentDefinition.code [ fhir:value "Group" ];
     fhir:CompartmentDefinition.param [
       fhir:value "member";
       fhir:index 0
     ]
  ], [
     fhir:index 51;
     fhir:CompartmentDefinition.code [ fhir:value "GuidanceResponse" ]
  ], [
     fhir:index 52;
     fhir:CompartmentDefinition.code [ fhir:value "HealthcareService" ]
  ], [
     fhir:index 53;
     fhir:CompartmentDefinition.code [ fhir:value "ImagingManifest" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ], [
       fhir:value "author";
       fhir:index 1
     ]
  ], [
     fhir:index 54;
     fhir:CompartmentDefinition.code [ fhir:value "ImagingStudy" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 55;
     fhir:CompartmentDefinition.code [ fhir:value "Immunization" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 56;
     fhir:CompartmentDefinition.code [ fhir:value "ImmunizationRecommendation" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 57;
     fhir:CompartmentDefinition.code [ fhir:value "ImplementationGuide" ]
  ], [
     fhir:index 58;
     fhir:CompartmentDefinition.code [ fhir:value "Library" ]
  ], [
     fhir:index 59;
     fhir:CompartmentDefinition.code [ fhir:value "Linkage" ]
  ], [
     fhir:index 60;
     fhir:CompartmentDefinition.code [ fhir:value "List" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ], [
       fhir:value "source";
       fhir:index 1
     ]
  ], [
     fhir:index 61;
     fhir:CompartmentDefinition.code [ fhir:value "Location" ]
  ], [
     fhir:index 62;
     fhir:CompartmentDefinition.code [ fhir:value "Measure" ]
  ], [
     fhir:index 63;
     fhir:CompartmentDefinition.code [ fhir:value "MeasureReport" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 64;
     fhir:CompartmentDefinition.code [ fhir:value "Media" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ]
  ], [
     fhir:index 65;
     fhir:CompartmentDefinition.code [ fhir:value "Medication" ]
  ], [
     fhir:index 66;
     fhir:CompartmentDefinition.code [ fhir:value "MedicationAdministration" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ], [
       fhir:value "performer";
       fhir:index 1
     ]
  ], [
     fhir:index 67;
     fhir:CompartmentDefinition.code [ fhir:value "MedicationDispense" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 68;
     fhir:CompartmentDefinition.code [ fhir:value "MedicationOrder" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 69;
     fhir:CompartmentDefinition.code [ fhir:value "MedicationStatement" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ], [
       fhir:value "source";
       fhir:index 1
     ]
  ], [
     fhir:index 70;
     fhir:CompartmentDefinition.code [ fhir:value "MessageHeader" ]
  ], [
     fhir:index 71;
     fhir:CompartmentDefinition.code [ fhir:value "NamingSystem" ]
  ], [
     fhir:index 72;
     fhir:CompartmentDefinition.code [ fhir:value "NutritionRequest" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 73;
     fhir:CompartmentDefinition.code [ fhir:value "Observation" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ], [
       fhir:value "performer";
       fhir:index 1
     ]
  ], [
     fhir:index 74;
     fhir:CompartmentDefinition.code [ fhir:value "OperationDefinition" ]
  ], [
     fhir:index 75;
     fhir:CompartmentDefinition.code [ fhir:value "OperationOutcome" ]
  ], [
     fhir:index 76;
     fhir:CompartmentDefinition.code [ fhir:value "Organization" ]
  ], [
     fhir:index 77;
     fhir:CompartmentDefinition.code [ fhir:value "Patient" ];
     fhir:CompartmentDefinition.param [
       fhir:value "link";
       fhir:index 0
     ]
  ], [
     fhir:index 78;
     fhir:CompartmentDefinition.code [ fhir:value "PaymentNotice" ]
  ], [
     fhir:index 79;
     fhir:CompartmentDefinition.code [ fhir:value "PaymentReconciliation" ]
  ], [
     fhir:index 80;
     fhir:CompartmentDefinition.code [ fhir:value "Person" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 81;
     fhir:CompartmentDefinition.code [ fhir:value "PlanDefinition" ]
  ], [
     fhir:index 82;
     fhir:CompartmentDefinition.code [ fhir:value "Practitioner" ]
  ], [
     fhir:index 83;
     fhir:CompartmentDefinition.code [ fhir:value "PractitionerRole" ]
  ], [
     fhir:index 84;
     fhir:CompartmentDefinition.code [ fhir:value "Procedure" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ], [
       fhir:value "performer";
       fhir:index 1
     ]
  ], [
     fhir:index 85;
     fhir:CompartmentDefinition.code [ fhir:value "ProcedureRequest" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ], [
       fhir:value "orderer";
       fhir:index 1
     ], [
       fhir:value "performer";
       fhir:index 2
     ]
  ], [
     fhir:index 86;
     fhir:CompartmentDefinition.code [ fhir:value "ProcessRequest" ]
  ], [
     fhir:index 87;
     fhir:CompartmentDefinition.code [ fhir:value "ProcessResponse" ]
  ], [
     fhir:index 88;
     fhir:CompartmentDefinition.code [ fhir:value "Provenance" ];
     fhir:CompartmentDefinition.param [
       fhir:value "target.subject";
       fhir:index 0
     ], [
       fhir:value "target.patient";
       fhir:index 1
     ], [
       fhir:value "patient";
       fhir:index 2
     ]
  ], [
     fhir:index 89;
     fhir:CompartmentDefinition.code [ fhir:value "Questionnaire" ]
  ], [
     fhir:index 90;
     fhir:CompartmentDefinition.code [ fhir:value "QuestionnaireResponse" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ], [
       fhir:value "author";
       fhir:index 1
     ]
  ], [
     fhir:index 91;
     fhir:CompartmentDefinition.code [ fhir:value "ReferralRequest" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ], [
       fhir:value "requester";
       fhir:index 1
     ]
  ], [
     fhir:index 92;
     fhir:CompartmentDefinition.code [ fhir:value "RelatedPerson" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 93;
     fhir:CompartmentDefinition.code [ fhir:value "RiskAssessment" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ]
  ], [
     fhir:index 94;
     fhir:CompartmentDefinition.code [ fhir:value "Schedule" ];
     fhir:CompartmentDefinition.param [
       fhir:value "actor";
       fhir:index 0
     ]
  ], [
     fhir:index 95;
     fhir:CompartmentDefinition.code [ fhir:value "SearchParameter" ]
  ], [
     fhir:index 96;
     fhir:CompartmentDefinition.code [ fhir:value "Sequence" ]
  ], [
     fhir:index 97;
     fhir:CompartmentDefinition.code [ fhir:value "Slot" ]
  ], [
     fhir:index 98;
     fhir:CompartmentDefinition.code [ fhir:value "Specimen" ];
     fhir:CompartmentDefinition.param [
       fhir:value "subject";
       fhir:index 0
     ]
  ], [
     fhir:index 99;
     fhir:CompartmentDefinition.code [ fhir:value "StructureDefinition" ]
  ], [
     fhir:index 100;
     fhir:CompartmentDefinition.code [ fhir:value "StructureMap" ]
  ], [
     fhir:index 101;
     fhir:CompartmentDefinition.code [ fhir:value "Subscription" ]
  ], [
     fhir:index 102;
     fhir:CompartmentDefinition.code [ fhir:value "Substance" ]
  ], [
     fhir:index 103;
     fhir:CompartmentDefinition.code [ fhir:value "SupplyDelivery" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 104;
     fhir:CompartmentDefinition.code [ fhir:value "SupplyRequest" ];
     fhir:CompartmentDefinition.param [
       fhir:value "patient";
       fhir:index 0
     ]
  ], [
     fhir:index 105;
     fhir:CompartmentDefinition.code [ fhir:value "Task" ]
  ], [
     fhir:index 106;
     fhir:CompartmentDefinition.code [ fhir:value "TestScript" ]
  ], [
     fhir:index 107;
     fhir:CompartmentDefinition.code [ fhir:value "ValueSet" ]
  ], [
     fhir:index 108;
     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.