STU3 Candidate

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

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.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.date [ fhir:value "2016-12-06T12:22:34+11:00"];
  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 "AllergyIntolerance" ]
  ], [
     fhir:index 3;
     fhir:CompartmentDefinition.code [ fhir:value "Appointment" ]
  ], [
     fhir:index 4;
     fhir:CompartmentDefinition.code [ fhir:value "AppointmentResponse" ]
  ], [
     fhir:index 5;
     fhir:CompartmentDefinition.code [ fhir:value "AuditEvent" ]
  ], [
     fhir:index 6;
     fhir:CompartmentDefinition.code [ fhir:value "Basic" ]
  ], [
     fhir:index 7;
     fhir:CompartmentDefinition.code [ fhir:value "Binary" ]
  ], [
     fhir:index 8;
     fhir:CompartmentDefinition.code [ fhir:value "BodySite" ]
  ], [
     fhir:index 9;
     fhir:CompartmentDefinition.code [ fhir:value "Bundle" ]
  ], [
     fhir:index 10;
     fhir:CompartmentDefinition.code [ fhir:value "CapabilityStatement" ]
  ], [
     fhir:index 11;
     fhir:CompartmentDefinition.code [ fhir:value "CarePlan" ]
  ], [
     fhir:index 12;
     fhir:CompartmentDefinition.code [ fhir:value "CareTeam" ]
  ], [
     fhir:index 13;
     fhir:CompartmentDefinition.code [ fhir:value "Claim" ]
  ], [
     fhir:index 14;
     fhir:CompartmentDefinition.code [ fhir:value "ClaimResponse" ]
  ], [
     fhir:index 15;
     fhir:CompartmentDefinition.code [ fhir:value "ClinicalImpression" ];
     fhir:CompartmentDefinition.param [
       fhir:value "context";
       fhir:index 0
     ]
  ], [
     fhir:index 16;
     fhir:CompartmentDefinition.code [ fhir:value "CodeSystem" ]
  ], [
     fhir:index 17;
     fhir:CompartmentDefinition.code [ fhir:value "Communication" ];
     fhir:CompartmentDefinition.param [
       fhir:value "context";
       fhir:index 0
     ]
  ], [
     fhir:index 18;
     fhir:CompartmentDefinition.code [ fhir:value "CommunicationRequest" ];
     fhir:CompartmentDefinition.param [
       fhir:value "context";
       fhir:index 0
     ]
  ], [
     fhir:index 19;
     fhir:CompartmentDefinition.code [ fhir:value "CompartmentDefinition" ]
  ], [
     fhir:index 20;
     fhir:CompartmentDefinition.code [ fhir:value "Composition" ];
     fhir:CompartmentDefinition.param [
       fhir:value "encounter";
       fhir:index 0
     ]
  ], [
     fhir:index 21;
     fhir:CompartmentDefinition.code [ fhir:value "ConceptMap" ]
  ], [
     fhir:index 22;
     fhir:CompartmentDefinition.code [ fhir:value "Condition" ];
     fhir:CompartmentDefinition.param [
       fhir:value "context";
       fhir:index 0
     ]
  ], [
     fhir:index 23;
     fhir:CompartmentDefinition.code [ fhir:value "Consent" ]
  ], [
     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 "DetectedIssue" ]
  ], [
     fhir:index 28;
     fhir:CompartmentDefinition.code [ fhir:value "Device" ]
  ], [
     fhir:index 29;
     fhir:CompartmentDefinition.code [ fhir:value "DeviceComponent" ]
  ], [
     fhir:index 30;
     fhir:CompartmentDefinition.code [ fhir:value "DeviceMetric" ]
  ], [
     fhir:index 31;
     fhir:CompartmentDefinition.code [ fhir:value "DeviceUseRequest" ];
     fhir:CompartmentDefinition.param [
       fhir:value "encounter";
       fhir:index 0
     ]
  ], [
     fhir:index 32;
     fhir:CompartmentDefinition.code [ fhir:value "DeviceUseStatement" ]
  ], [
     fhir:index 33;
     fhir:CompartmentDefinition.code [ fhir:value "DiagnosticReport" ];
     fhir:CompartmentDefinition.param [
       fhir:value "encounter";
       fhir:index 0
     ]
  ], [
     fhir:index 34;
     fhir:CompartmentDefinition.code [ fhir:value "DiagnosticRequest" ];
     fhir:CompartmentDefinition.param [
       fhir:value "encounter";
       fhir:index 0
     ]
  ], [
     fhir:index 35;
     fhir:CompartmentDefinition.code [ fhir:value "DocumentManifest" ]
  ], [
     fhir:index 36;
     fhir:CompartmentDefinition.code [ fhir:value "DocumentReference" ]
  ], [
     fhir:index 37;
     fhir:CompartmentDefinition.code [ fhir:value "EligibilityRequest" ]
  ], [
     fhir:index 38;
     fhir:CompartmentDefinition.code [ fhir:value "EligibilityResponse" ]
  ], [
     fhir:index 39;
     fhir:CompartmentDefinition.code [ fhir:value "Encounter" ];
     fhir:CompartmentDefinition.param [
       fhir:value "{def}";
       fhir:index 0
     ]
  ], [
     fhir:index 40;
     fhir:CompartmentDefinition.code [ fhir:value "Endpoint" ]
  ], [
     fhir:index 41;
     fhir:CompartmentDefinition.code [ fhir:value "EnrollmentRequest" ]
  ], [
     fhir:index 42;
     fhir:CompartmentDefinition.code [ fhir:value "EnrollmentResponse" ]
  ], [
     fhir:index 43;
     fhir:CompartmentDefinition.code [ fhir:value "EpisodeOfCare" ]
  ], [
     fhir:index 44;
     fhir:CompartmentDefinition.code [ fhir:value "ExpansionProfile" ]
  ], [
     fhir:index 45;
     fhir:CompartmentDefinition.code [ fhir:value "ExplanationOfBenefit" ]
  ], [
     fhir:index 46;
     fhir:CompartmentDefinition.code [ fhir:value "FamilyMemberHistory" ]
  ], [
     fhir:index 47;
     fhir:CompartmentDefinition.code [ fhir:value "Flag" ]
  ], [
     fhir:index 48;
     fhir:CompartmentDefinition.code [ fhir:value "Goal" ]
  ], [
     fhir:index 49;
     fhir:CompartmentDefinition.code [ fhir:value "Group" ]
  ], [
     fhir:index 50;
     fhir:CompartmentDefinition.code [ fhir:value "GuidanceResponse" ]
  ], [
     fhir:index 51;
     fhir:CompartmentDefinition.code [ fhir:value "HealthcareService" ]
  ], [
     fhir:index 52;
     fhir:CompartmentDefinition.code [ fhir:value "ImagingManifest" ]
  ], [
     fhir:index 53;
     fhir:CompartmentDefinition.code [ fhir:value "ImagingStudy" ]
  ], [
     fhir:index 54;
     fhir:CompartmentDefinition.code [ fhir:value "Immunization" ]
  ], [
     fhir:index 55;
     fhir:CompartmentDefinition.code [ fhir:value "ImmunizationRecommendation" ]
  ], [
     fhir:index 56;
     fhir:CompartmentDefinition.code [ fhir:value "ImplementationGuide" ]
  ], [
     fhir:index 57;
     fhir:CompartmentDefinition.code [ fhir:value "Library" ]
  ], [
     fhir:index 58;
     fhir:CompartmentDefinition.code [ fhir:value "Linkage" ]
  ], [
     fhir:index 59;
     fhir:CompartmentDefinition.code [ fhir:value "List" ]
  ], [
     fhir:index 60;
     fhir:CompartmentDefinition.code [ fhir:value "Location" ]
  ], [
     fhir:index 61;
     fhir:CompartmentDefinition.code [ fhir:value "Measure" ]
  ], [
     fhir:index 62;
     fhir:CompartmentDefinition.code [ fhir:value "MeasureReport" ]
  ], [
     fhir:index 63;
     fhir:CompartmentDefinition.code [ fhir:value "Media" ]
  ], [
     fhir:index 64;
     fhir:CompartmentDefinition.code [ fhir:value "Medication" ]
  ], [
     fhir:index 65;
     fhir:CompartmentDefinition.code [ fhir:value "MedicationAdministration" ];
     fhir:CompartmentDefinition.param [
       fhir:value "encounter";
       fhir:index 0
     ]
  ], [
     fhir:index 66;
     fhir:CompartmentDefinition.code [ fhir:value "MedicationDispense" ]
  ], [
     fhir:index 67;
     fhir:CompartmentDefinition.code [ fhir:value "MedicationRequest" ];
     fhir:CompartmentDefinition.param [
       fhir:value "context";
       fhir:index 0
     ]
  ], [
     fhir:index 68;
     fhir:CompartmentDefinition.code [ fhir:value "MedicationStatement" ]
  ], [
     fhir:index 69;
     fhir:CompartmentDefinition.code [ fhir:value "MessageDefinition" ]
  ], [
     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 "encounter";
       fhir:index 0
     ]
  ], [
     fhir:index 73;
     fhir:CompartmentDefinition.code [ fhir:value "Observation" ];
     fhir:CompartmentDefinition.param [
       fhir:value "encounter";
       fhir:index 0
     ]
  ], [
     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: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: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 "encounter";
       fhir:index 0
     ]
  ], [
     fhir:index 85;
     fhir:CompartmentDefinition.code [ fhir:value "ProcedureRequest" ];
     fhir:CompartmentDefinition.param [
       fhir:value "encounter";
       fhir:index 0
     ]
  ], [
     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:index 89;
     fhir:CompartmentDefinition.code [ fhir:value "Questionnaire" ]
  ], [
     fhir:index 90;
     fhir:CompartmentDefinition.code [ fhir:value "QuestionnaireResponse" ];
     fhir:CompartmentDefinition.param [
       fhir:value "context";
       fhir:index 0
     ]
  ], [
     fhir:index 91;
     fhir:CompartmentDefinition.code [ fhir:value "ReferralRequest" ]
  ], [
     fhir:index 92;
     fhir:CompartmentDefinition.code [ fhir:value "RelatedPerson" ]
  ], [
     fhir:index 93;
     fhir:CompartmentDefinition.code [ fhir:value "RequestGroup" ];
     fhir:CompartmentDefinition.param [
       fhir:value "encounter";
       fhir:index 0
     ]
  ], [
     fhir:index 94;
     fhir:CompartmentDefinition.code [ fhir:value "ResearchStudy" ]
  ], [
     fhir:index 95;
     fhir:CompartmentDefinition.code [ fhir:value "ResearchSubject" ]
  ], [
     fhir:index 96;
     fhir:CompartmentDefinition.code [ fhir:value "RiskAssessment" ]
  ], [
     fhir:index 97;
     fhir:CompartmentDefinition.code [ fhir:value "Schedule" ]
  ], [
     fhir:index 98;
     fhir:CompartmentDefinition.code [ fhir:value "SearchParameter" ]
  ], [
     fhir:index 99;
     fhir:CompartmentDefinition.code [ fhir:value "Sequence" ]
  ], [
     fhir:index 100;
     fhir:CompartmentDefinition.code [ fhir:value "ServiceDefinition" ]
  ], [
     fhir:index 101;
     fhir:CompartmentDefinition.code [ fhir:value "Slot" ]
  ], [
     fhir:index 102;
     fhir:CompartmentDefinition.code [ fhir:value "Specimen" ]
  ], [
     fhir:index 103;
     fhir:CompartmentDefinition.code [ fhir:value "StructureDefinition" ]
  ], [
     fhir:index 104;
     fhir:CompartmentDefinition.code [ fhir:value "StructureMap" ]
  ], [
     fhir:index 105;
     fhir:CompartmentDefinition.code [ fhir:value "Subscription" ]
  ], [
     fhir:index 106;
     fhir:CompartmentDefinition.code [ fhir:value "Substance" ]
  ], [
     fhir:index 107;
     fhir:CompartmentDefinition.code [ fhir:value "SupplyDelivery" ]
  ], [
     fhir:index 108;
     fhir:CompartmentDefinition.code [ fhir:value "SupplyRequest" ]
  ], [
     fhir:index 109;
     fhir:CompartmentDefinition.code [ fhir:value "Task" ]
  ], [
     fhir:index 110;
     fhir:CompartmentDefinition.code [ fhir:value "TestReport" ]
  ], [
     fhir:index 111;
     fhir:CompartmentDefinition.code [ fhir:value "TestScript" ]
  ], [
     fhir:index 112;
     fhir:CompartmentDefinition.code [ fhir:value "ValueSet" ]
  ], [
     fhir:index 113;
     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.