Release 5 Preview #3

This page is part of the FHIR Specification (v4.5.0: R5 Preview #3). 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/AStandards Status: Informative

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

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 "extensions" ]
  ];
  fhir:CanonicalResource.url [ fhir:value "http://hl7.org/fhir/CompartmentDefinition/encounter"];
  fhir:CanonicalResource.version [ fhir:value "4.5.0"];
  fhir:CanonicalResource.name [ fhir:value "Base FHIR compartment definition for Encounter"];
  fhir:CanonicalResource.status [ fhir:value "draft"];
  fhir:CanonicalResource.experimental [ fhir:value "true"];
  fhir:CanonicalResource.date [ fhir:value "2020-08-20T17:41:31+10: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 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.url [ fhir:value "http://hl7.org/fhir/CompartmentDefinition/encounter"];
  fhir:CompartmentDefinition.version [ fhir:value "4.5.0"];
  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 "2020-08-20T17:41:31+10: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 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:CompartmentDefinitionResourceComponent.code [ fhir:value "Account" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ActivityDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "AdministrableProductDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "AdverseEvent" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "AllergyIntolerance" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Appointment" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "AppointmentResponse" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "AuditEvent" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Basic" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Binary" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "BiologicallyDerivedProduct" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "BodyStructure" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Bundle" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "CapabilityStatement" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "CapabilityStatement2" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "CarePlan" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "encounter" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "CareTeam" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "CatalogEntry" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ChargeItem" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "context" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ChargeItemDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Citation" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Claim" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "encounter" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ClaimResponse" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ClinicalImpression" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "encounter" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ClinicalUseIssue" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "CodeSystem" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Communication" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "encounter" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "CommunicationRequest" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "encounter" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "CompartmentDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Composition" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "encounter" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ConceptMap" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Condition" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "encounter" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ConditionDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Consent" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Contract" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Coverage" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "CoverageEligibilityRequest" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "CoverageEligibilityResponse" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "DetectedIssue" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Device" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "DeviceDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "DeviceMetric" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "DeviceRequest" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "encounter" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "DeviceUseStatement" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "DiagnosticReport" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "encounter" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "DocumentManifest" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "related-ref" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "DocumentReference" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "encounter" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Encounter" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "{def}" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Endpoint" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "EnrollmentRequest" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "EnrollmentResponse" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "EpisodeOfCare" ]
  ], [
     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 "encounter" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "FamilyMemberHistory" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Flag" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Goal" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "GraphDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Group" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "GuidanceResponse" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "HealthcareService" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ImagingStudy" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Immunization" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ImmunizationEvaluation" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ImmunizationRecommendation" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ImplementationGuide" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Ingredient" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "InsurancePlan" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Invoice" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Library" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Linkage" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "List" ]
  ], [
     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.code [ fhir:value "Medication" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "MedicationAdministration" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "encounter" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "MedicationDispense" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "encounter" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "MedicationKnowledge" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "MedicationRequest" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "encounter" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "MedicationUsage" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "encounter" ]
  ], [
     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.code [ fhir:value "NamingSystem" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "NutritionIntake" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "encounter" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "NutritionOrder" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "encounter" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "NutritionProduct" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Observation" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "encounter" ]
  ], [
     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.code [ fhir:value "PaymentNotice" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "PaymentReconciliation" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Permission" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Person" ]
  ], [
     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 "encounter" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Provenance" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Questionnaire" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "QuestionnaireResponse" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "encounter" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "RegulatedAuthorization" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "RelatedPerson" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "RequestGroup" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "encounter" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ResearchStudy" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ResearchSubject" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "RiskAssessment" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Schedule" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "SearchParameter" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ServiceRequest" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "encounter" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Slot" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Specimen" ]
  ], [
     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.code [ fhir:value "SupplyRequest" ]
  ], [
     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 "ValueSet" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "VerificationResult" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "VisionPrescription" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "encounter" ]
  ] .

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


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.