R4 Draft for Comment

This page is part of the FHIR Specification (v3.2.0: R4 Ballot 1). 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-encounter.ttl

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

Raw Turtle, JSON-LD

Compartment Definition for encounter

@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 "encounter"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:CompartmentDefinition.url [ fhir:value "http://hl7.org/fhir/CompartmentDefinition/encounter"];
  fhir:CompartmentDefinition.name [ fhir:value "Base FHIR compartment definition for Encounter"];
  fhir:CompartmentDefinition.status [ fhir:value "draft"];
  fhir:CompartmentDefinition.experimental [ fhir:value "true"];
  fhir:CompartmentDefinition.date [ fhir:value "2017-12-20T15:52:34+11: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 encounter compartment for each encounter resource, and the identity of the compartment is the same as the encounter. The set of resources associated with a particular encounter"];
  fhir:CompartmentDefinition.code [ fhir:value "Encounter"];
  fhir:CompartmentDefinition.search [ fhir:value "true"];
  fhir:CompartmentDefinition.resource [
     fhir:index 0;
     fhir:CompartmentDefinition.code [ fhir:value "Account" ]
  ], [
     fhir:index 1;
     fhir:CompartmentDefinition.code [ fhir:value "ActivityDefinition" ]
  ], [
     fhir:index 2;
     fhir:CompartmentDefinition.code [ fhir:value "AdverseEvent" ]
  ], [
     fhir:index 3;
     fhir:CompartmentDefinition.code [ fhir:value "AllergyIntolerance" ]
  ], [
     fhir:index 4;
     fhir:CompartmentDefinition.code [ fhir:value "Appointment" ]
  ], [
     fhir:index 5;
     fhir:CompartmentDefinition.code [ fhir:value "AppointmentResponse" ]
  ], [
     fhir:index 6;
     fhir:CompartmentDefinition.code [ fhir:value "AuditEvent" ]
  ], [
     fhir:index 7;
     fhir:CompartmentDefinition.code [ fhir:value "Basic" ]
  ], [
     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: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:index 14;
     fhir:CompartmentDefinition.code [ fhir:value "CareTeam" ]
  ], [
     fhir:index 15;
     fhir:CompartmentDefinition.code [ fhir:value "ChargeItem" ];
     fhir:CompartmentDefinition.param [
       fhir:value "context";
       fhir:index 0
     ]
  ], [
     fhir:index 16;
     fhir:CompartmentDefinition.code [ fhir:value "Claim" ];
     fhir:CompartmentDefinition.param [
       fhir:value "encounter";
       fhir:index 0
     ]
  ], [
     fhir:index 17;
     fhir:CompartmentDefinition.code [ fhir:value "ClaimResponse" ]
  ], [
     fhir:index 18;
     fhir:CompartmentDefinition.code [ fhir:value "ClinicalImpression" ];
     fhir:CompartmentDefinition.param [
       fhir:value "context";
       fhir:index 0
     ]
  ], [
     fhir:index 19;
     fhir:CompartmentDefinition.code [ fhir:value "CodeSystem" ]
  ], [
     fhir:index 20;
     fhir:CompartmentDefinition.code [ fhir:value "Communication" ];
     fhir:CompartmentDefinition.param [
       fhir:value "context";
       fhir:index 0
     ]
  ], [
     fhir:index 21;
     fhir:CompartmentDefinition.code [ fhir:value "CommunicationRequest" ];
     fhir:CompartmentDefinition.param [
       fhir:value "context";
       fhir:index 0
     ]
  ], [
     fhir:index 22;
     fhir:CompartmentDefinition.code [ fhir:value "CompartmentDefinition" ]
  ], [
     fhir:index 23;
     fhir:CompartmentDefinition.code [ fhir:value "Composition" ];
     fhir:CompartmentDefinition.param [
       fhir:value "encounter";
       fhir:index 0
     ]
  ], [
     fhir:index 24;
     fhir:CompartmentDefinition.code [ fhir:value "ConceptMap" ]
  ], [
     fhir:index 25;
     fhir:CompartmentDefinition.code [ fhir:value "Condition" ];
     fhir:CompartmentDefinition.param [
       fhir:value "context";
       fhir:index 0
     ]
  ], [
     fhir:index 26;
     fhir:CompartmentDefinition.code [ fhir:value "Consent" ]
  ], [
     fhir:index 27;
     fhir:CompartmentDefinition.code [ fhir:value "Contract" ]
  ], [
     fhir:index 28;
     fhir:CompartmentDefinition.code [ fhir:value "Coverage" ]
  ], [
     fhir:index 29;
     fhir:CompartmentDefinition.code [ fhir:value "DetectedIssue" ]
  ], [
     fhir:index 30;
     fhir:CompartmentDefinition.code [ fhir:value "Device" ]
  ], [
     fhir:index 31;
     fhir:CompartmentDefinition.code [ fhir:value "DeviceComponent" ]
  ], [
     fhir:index 32;
     fhir:CompartmentDefinition.code [ fhir:value "DeviceMetric" ]
  ], [
     fhir:index 33;
     fhir:CompartmentDefinition.code [ fhir:value "DeviceRequest" ];
     fhir:CompartmentDefinition.param [
       fhir:value "encounter";
       fhir:index 0
     ]
  ], [
     fhir:index 34;
     fhir:CompartmentDefinition.code [ fhir:value "DeviceUseStatement" ]
  ], [
     fhir:index 35;
     fhir:CompartmentDefinition.code [ fhir:value "DiagnosticReport" ];
     fhir:CompartmentDefinition.param [
       fhir:value "encounter";
       fhir:index 0
     ]
  ], [
     fhir:index 36;
     fhir:CompartmentDefinition.code [ fhir:value "DocumentManifest" ];
     fhir:CompartmentDefinition.param [
       fhir:value "related-ref";
       fhir:index 0
     ]
  ], [
     fhir:index 37;
     fhir:CompartmentDefinition.code [ fhir:value "DocumentReference" ];
     fhir:CompartmentDefinition.param [
       fhir:value "encounter";
       fhir:index 0
     ]
  ], [
     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 "{def}";
       fhir:index 0
     ]
  ], [
     fhir:index 41;
     fhir:CompartmentDefinition.code [ fhir:value "Endpoint" ]
  ], [
     fhir:index 42;
     fhir:CompartmentDefinition.code [ fhir:value "EnrollmentRequest" ]
  ], [
     fhir:index 43;
     fhir:CompartmentDefinition.code [ fhir:value "EnrollmentResponse" ]
  ], [
     fhir:index 44;
     fhir:CompartmentDefinition.code [ fhir:value "EntryDefinition" ]
  ], [
     fhir:index 45;
     fhir:CompartmentDefinition.code [ fhir:value "EpisodeOfCare" ]
  ], [
     fhir:index 46;
     fhir:CompartmentDefinition.code [ fhir:value "EventDefinition" ]
  ], [
     fhir:index 47;
     fhir:CompartmentDefinition.code [ fhir:value "ExampleScenario" ]
  ], [
     fhir:index 48;
     fhir:CompartmentDefinition.code [ fhir:value "ExpansionProfile" ]
  ], [
     fhir:index 49;
     fhir:CompartmentDefinition.code [ fhir:value "ExplanationOfBenefit" ];
     fhir:CompartmentDefinition.param [
       fhir:value "encounter";
       fhir:index 0
     ]
  ], [
     fhir:index 50;
     fhir:CompartmentDefinition.code [ fhir:value "FamilyMemberHistory" ]
  ], [
     fhir:index 51;
     fhir:CompartmentDefinition.code [ fhir:value "Flag" ]
  ], [
     fhir:index 52;
     fhir:CompartmentDefinition.code [ fhir:value "Goal" ]
  ], [
     fhir:index 53;
     fhir:CompartmentDefinition.code [ fhir:value "GraphDefinition" ]
  ], [
     fhir:index 54;
     fhir:CompartmentDefinition.code [ fhir:value "Group" ]
  ], [
     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:index 58;
     fhir:CompartmentDefinition.code [ fhir:value "Immunization" ]
  ], [
     fhir:index 59;
     fhir:CompartmentDefinition.code [ fhir:value "ImmunizationEvaluation" ]
  ], [
     fhir:index 60;
     fhir:CompartmentDefinition.code [ fhir:value "ImmunizationRecommendation" ]
  ], [
     fhir:index 61;
     fhir:CompartmentDefinition.code [ fhir:value "ImplementationGuide" ]
  ], [
     fhir:index 62;
     fhir:CompartmentDefinition.code [ fhir:value "ImplementationGuideInput" ]
  ], [
     fhir:index 63;
     fhir:CompartmentDefinition.code [ fhir:value "ImplementationGuideOutput" ]
  ], [
     fhir:index 64;
     fhir:CompartmentDefinition.code [ fhir:value "Invoice" ]
  ], [
     fhir:index 65;
     fhir:CompartmentDefinition.code [ fhir:value "ItemInstance" ]
  ], [
     fhir:index 66;
     fhir:CompartmentDefinition.code [ fhir:value "Library" ]
  ], [
     fhir:index 67;
     fhir:CompartmentDefinition.code [ fhir:value "Linkage" ]
  ], [
     fhir:index 68;
     fhir:CompartmentDefinition.code [ fhir:value "List" ]
  ], [
     fhir:index 69;
     fhir:CompartmentDefinition.code [ fhir:value "Location" ]
  ], [
     fhir:index 70;
     fhir:CompartmentDefinition.code [ fhir:value "Measure" ]
  ], [
     fhir:index 71;
     fhir:CompartmentDefinition.code [ fhir:value "MeasureReport" ]
  ], [
     fhir:index 72;
     fhir:CompartmentDefinition.code [ fhir:value "Media" ]
  ], [
     fhir:index 73;
     fhir:CompartmentDefinition.code [ fhir:value "Medication" ]
  ], [
     fhir:index 74;
     fhir:CompartmentDefinition.code [ fhir:value "MedicationAdministration" ];
     fhir:CompartmentDefinition.param [
       fhir:value "context";
       fhir:index 0
     ]
  ], [
     fhir:index 75;
     fhir:CompartmentDefinition.code [ fhir:value "MedicationDispense" ]
  ], [
     fhir:index 76;
     fhir:CompartmentDefinition.code [ fhir:value "MedicationRequest" ];
     fhir:CompartmentDefinition.param [
       fhir:value "context";
       fhir:index 0
     ]
  ], [
     fhir:index 77;
     fhir:CompartmentDefinition.code [ fhir:value "MedicationStatement" ]
  ], [
     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 "MedicinalProductDeviceSpec" ]
  ], [
     fhir:index 82;
     fhir:CompartmentDefinition.code [ fhir:value "MedicinalProductIngredient" ]
  ], [
     fhir:index 83;
     fhir:CompartmentDefinition.code [ fhir:value "MedicinalProductPackaged" ]
  ], [
     fhir:index 84;
     fhir:CompartmentDefinition.code [ fhir:value "MedicinalProductPharmaceutical" ]
  ], [
     fhir:index 85;
     fhir:CompartmentDefinition.code [ fhir:value "MessageDefinition" ]
  ], [
     fhir:index 86;
     fhir:CompartmentDefinition.code [ fhir:value "MessageHeader" ]
  ], [
     fhir:index 87;
     fhir:CompartmentDefinition.code [ fhir:value "NamingSystem" ]
  ], [
     fhir:index 88;
     fhir:CompartmentDefinition.code [ fhir:value "NutritionOrder" ];
     fhir:CompartmentDefinition.param [
       fhir:value "encounter";
       fhir:index 0
     ]
  ], [
     fhir:index 89;
     fhir:CompartmentDefinition.code [ fhir:value "Observation" ];
     fhir:CompartmentDefinition.param [
       fhir:value "encounter";
       fhir:index 0
     ]
  ], [
     fhir:index 90;
     fhir:CompartmentDefinition.code [ fhir:value "ObservationDefinition" ]
  ], [
     fhir:index 91;
     fhir:CompartmentDefinition.code [ fhir:value "OccupationalData" ]
  ], [
     fhir:index 92;
     fhir:CompartmentDefinition.code [ fhir:value "OperationDefinition" ]
  ], [
     fhir:index 93;
     fhir:CompartmentDefinition.code [ fhir:value "OperationOutcome" ]
  ], [
     fhir:index 94;
     fhir:CompartmentDefinition.code [ fhir:value "Organization" ]
  ], [
     fhir:index 95;
     fhir:CompartmentDefinition.code [ fhir:value "OrganizationRole" ]
  ], [
     fhir:index 96;
     fhir:CompartmentDefinition.code [ fhir:value "Patient" ]
  ], [
     fhir:index 97;
     fhir:CompartmentDefinition.code [ fhir:value "PaymentNotice" ]
  ], [
     fhir:index 98;
     fhir:CompartmentDefinition.code [ fhir:value "PaymentReconciliation" ]
  ], [
     fhir:index 99;
     fhir:CompartmentDefinition.code [ fhir:value "Person" ]
  ], [
     fhir:index 100;
     fhir:CompartmentDefinition.code [ fhir:value "PlanDefinition" ]
  ], [
     fhir:index 101;
     fhir:CompartmentDefinition.code [ fhir:value "Practitioner" ]
  ], [
     fhir:index 102;
     fhir:CompartmentDefinition.code [ fhir:value "PractitionerRole" ]
  ], [
     fhir:index 103;
     fhir:CompartmentDefinition.code [ fhir:value "Procedure" ];
     fhir:CompartmentDefinition.param [
       fhir:value "encounter";
       fhir:index 0
     ]
  ], [
     fhir:index 104;
     fhir:CompartmentDefinition.code [ fhir:value "ProcessRequest" ]
  ], [
     fhir:index 105;
     fhir:CompartmentDefinition.code [ fhir:value "ProcessResponse" ]
  ], [
     fhir:index 106;
     fhir:CompartmentDefinition.code [ fhir:value "ProductPlan" ]
  ], [
     fhir:index 107;
     fhir:CompartmentDefinition.code [ fhir:value "Provenance" ]
  ], [
     fhir:index 108;
     fhir:CompartmentDefinition.code [ fhir:value "Questionnaire" ]
  ], [
     fhir:index 109;
     fhir:CompartmentDefinition.code [ fhir:value "QuestionnaireResponse" ];
     fhir:CompartmentDefinition.param [
       fhir:value "context";
       fhir:index 0
     ]
  ], [
     fhir:index 110;
     fhir:CompartmentDefinition.code [ fhir:value "RelatedPerson" ]
  ], [
     fhir:index 111;
     fhir:CompartmentDefinition.code [ fhir:value "RequestGroup" ];
     fhir:CompartmentDefinition.param [
       fhir:value "encounter";
       fhir:index 0
     ]
  ], [
     fhir:index 112;
     fhir:CompartmentDefinition.code [ fhir:value "ResearchStudy" ]
  ], [
     fhir:index 113;
     fhir:CompartmentDefinition.code [ fhir:value "ResearchSubject" ]
  ], [
     fhir:index 114;
     fhir:CompartmentDefinition.code [ fhir:value "RiskAssessment" ]
  ], [
     fhir:index 115;
     fhir:CompartmentDefinition.code [ fhir:value "Schedule" ]
  ], [
     fhir:index 116;
     fhir:CompartmentDefinition.code [ fhir:value "SearchParameter" ]
  ], [
     fhir:index 117;
     fhir:CompartmentDefinition.code [ fhir:value "Sequence" ]
  ], [
     fhir:index 118;
     fhir:CompartmentDefinition.code [ fhir:value "ServiceDefinition" ]
  ], [
     fhir:index 119;
     fhir:CompartmentDefinition.code [ fhir:value "ServiceRequest" ];
     fhir:CompartmentDefinition.param [
       fhir:value "context";
       fhir:index 0
     ]
  ], [
     fhir:index 120;
     fhir:CompartmentDefinition.code [ fhir:value "Slot" ]
  ], [
     fhir:index 121;
     fhir:CompartmentDefinition.code [ fhir:value "Specimen" ]
  ], [
     fhir:index 122;
     fhir:CompartmentDefinition.code [ fhir:value "SpecimenDefinition" ]
  ], [
     fhir:index 123;
     fhir:CompartmentDefinition.code [ fhir:value "StructureDefinition" ]
  ], [
     fhir:index 124;
     fhir:CompartmentDefinition.code [ fhir:value "StructureMap" ]
  ], [
     fhir:index 125;
     fhir:CompartmentDefinition.code [ fhir:value "Subscription" ]
  ], [
     fhir:index 126;
     fhir:CompartmentDefinition.code [ fhir:value "Substance" ]
  ], [
     fhir:index 127;
     fhir:CompartmentDefinition.code [ fhir:value "SubstancePolymer" ]
  ], [
     fhir:index 128;
     fhir:CompartmentDefinition.code [ fhir:value "SubstanceReferenceInformation" ]
  ], [
     fhir:index 129;
     fhir:CompartmentDefinition.code [ fhir:value "SubstanceSpecification" ]
  ], [
     fhir:index 130;
     fhir:CompartmentDefinition.code [ fhir:value "SupplyDelivery" ]
  ], [
     fhir:index 131;
     fhir:CompartmentDefinition.code [ fhir:value "SupplyRequest" ]
  ], [
     fhir:index 132;
     fhir:CompartmentDefinition.code [ fhir:value "Task" ]
  ], [
     fhir:index 133;
     fhir:CompartmentDefinition.code [ fhir:value "TerminologyCapabilities" ]
  ], [
     fhir:index 134;
     fhir:CompartmentDefinition.code [ fhir:value "TestReport" ]
  ], [
     fhir:index 135;
     fhir:CompartmentDefinition.code [ fhir:value "TestScript" ]
  ], [
     fhir:index 136;
     fhir:CompartmentDefinition.code [ fhir:value "UserSession" ];
     fhir:CompartmentDefinition.param [
       fhir:value "focus";
       fhir:index 0
     ]
  ], [
     fhir:index 137;
     fhir:CompartmentDefinition.code [ fhir:value "ValueSet" ]
  ], [
     fhir:index 138;
     fhir:CompartmentDefinition.code [ fhir:value "VerificationResult" ]
  ], [
     fhir:index 139;
     fhir:CompartmentDefinition.code [ fhir:value "VisionPrescription" ];
     fhir:CompartmentDefinition.param [
       fhir:value "encounter";
       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.