FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example CompartmentDefinition/encounter (Turtle)

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:id [ fhir:v "encounter"] ;
  fhir:text [
     fhir:status [ fhir:v "generated" ]
  ] ;
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ] ;
     fhir:value [ fhir:v "fhir" ]
  ] ) ;
  fhir:url [ fhir:v "http://hl7.org/fhir/CompartmentDefinition/encounter"], [ fhir:v "http://hl7.org/fhir/CompartmentDefinition/encounter"] ;
  fhir:version [ fhir:v "6.0.0-ballot2"], [ fhir:v "6.0.0-ballot2"] ;
  fhir:name [ fhir:v "Base FHIR compartment definition for Encounter"], [ fhir:v "Base FHIR compartment definition for Encounter"] ;
  fhir:status [ fhir:v "draft"], [ fhir:v "draft"] ;
  fhir:experimental [ fhir:v "true"], [ fhir:v "true"] ;
  fhir:date [ fhir:v "2024-11-06T22:11:43+00:00"], [ fhir:v "2024-11-06T22:11:43+00:00"] ;
  fhir:publisher [ fhir:v "HL7 International / FHIR Infrastructure"], [ fhir:v "HL7 International / FHIR Infrastructure"] ;
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ]
     ] )
  ] [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ]
     ] )
  ] ) ;
  fhir:description [ fhir:v "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:v "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:code [ fhir:v "Encounter"] ;
  fhir:search [ fhir:v "true"] ;
  fhir:resource ( [
     fhir:code [ fhir:v "Account" ]
  ] [
     fhir:code [ fhir:v "ActivityDefinition" ]
  ] [
     fhir:code [ fhir:v "ActorDefinition" ]
  ] [
     fhir:code [ fhir:v "AdministrableProductDefinition" ]
  ] [
     fhir:code [ fhir:v "AdverseEvent" ]
  ] [
     fhir:code [ fhir:v "AllergyIntolerance" ]
  ] [
     fhir:code [ fhir:v "Appointment" ]
  ] [
     fhir:code [ fhir:v "AppointmentResponse" ]
  ] [
     fhir:code [ fhir:v "ArtifactAssessment" ]
  ] [
     fhir:code [ fhir:v "AuditEvent" ]
  ] [
     fhir:code [ fhir:v "Basic" ]
  ] [
     fhir:code [ fhir:v "Binary" ]
  ] [
     fhir:code [ fhir:v "BiologicallyDerivedProduct" ]
  ] [
     fhir:code [ fhir:v "BiologicallyDerivedProductDispense" ]
  ] [
     fhir:code [ fhir:v "BodyStructure" ]
  ] [
     fhir:code [ fhir:v "Bundle" ]
  ] [
     fhir:code [ fhir:v "CapabilityStatement" ]
  ] [
     fhir:code [ fhir:v "CarePlan" ] ;
     fhir:param ( [ fhir:v "encounter" ] )
  ] [
     fhir:code [ fhir:v "CareTeam" ]
  ] [
     fhir:code [ fhir:v "ChargeItem" ] ;
     fhir:param ( [ fhir:v "encounter" ] )
  ] [
     fhir:code [ fhir:v "ChargeItemDefinition" ]
  ] [
     fhir:code [ fhir:v "Citation" ]
  ] [
     fhir:code [ fhir:v "Claim" ] ;
     fhir:param ( [ fhir:v "encounter" ] )
  ] [
     fhir:code [ fhir:v "ClaimResponse" ]
  ] [
     fhir:code [ fhir:v "ClinicalImpression" ] ;
     fhir:param ( [ fhir:v "encounter" ] )
  ] [
     fhir:code [ fhir:v "ClinicalUseDefinition" ]
  ] [
     fhir:code [ fhir:v "CodeSystem" ]
  ] [
     fhir:code [ fhir:v "Communication" ] ;
     fhir:param ( [ fhir:v "encounter" ] )
  ] [
     fhir:code [ fhir:v "CommunicationRequest" ] ;
     fhir:param ( [ fhir:v "encounter" ] )
  ] [
     fhir:code [ fhir:v "CompartmentDefinition" ]
  ] [
     fhir:code [ fhir:v "Composition" ] ;
     fhir:param ( [ fhir:v "encounter" ] )
  ] [
     fhir:code [ fhir:v "ConceptMap" ]
  ] [
     fhir:code [ fhir:v "Condition" ] ;
     fhir:param ( [ fhir:v "encounter" ] )
  ] [
     fhir:code [ fhir:v "ConditionDefinition" ]
  ] [
     fhir:code [ fhir:v "Consent" ]
  ] [
     fhir:code [ fhir:v "Contract" ]
  ] [
     fhir:code [ fhir:v "Coverage" ]
  ] [
     fhir:code [ fhir:v "CoverageEligibilityRequest" ]
  ] [
     fhir:code [ fhir:v "CoverageEligibilityResponse" ]
  ] [
     fhir:code [ fhir:v "DetectedIssue" ]
  ] [
     fhir:code [ fhir:v "Device" ]
  ] [
     fhir:code [ fhir:v "DeviceAlert" ]
  ] [
     fhir:code [ fhir:v "DeviceAssociation" ]
  ] [
     fhir:code [ fhir:v "DeviceDefinition" ]
  ] [
     fhir:code [ fhir:v "DeviceDispense" ]
  ] [
     fhir:code [ fhir:v "DeviceMetric" ]
  ] [
     fhir:code [ fhir:v "DeviceRequest" ] ;
     fhir:param ( [ fhir:v "encounter" ] )
  ] [
     fhir:code [ fhir:v "DeviceUsage" ]
  ] [
     fhir:code [ fhir:v "DiagnosticReport" ] ;
     fhir:param ( [ fhir:v "encounter" ] )
  ] [
     fhir:code [ fhir:v "DocumentReference" ] ;
     fhir:param ( [ fhir:v "context" ] )
  ] [
     fhir:code [ fhir:v "Encounter" ] ;
     fhir:param ( [ fhir:v "{def}" ] )
  ] [
     fhir:code [ fhir:v "EncounterHistory" ] ;
     fhir:param ( [ fhir:v "encounter" ] )
  ] [
     fhir:code [ fhir:v "Endpoint" ]
  ] [
     fhir:code [ fhir:v "EnrollmentRequest" ]
  ] [
     fhir:code [ fhir:v "EnrollmentResponse" ]
  ] [
     fhir:code [ fhir:v "EpisodeOfCare" ]
  ] [
     fhir:code [ fhir:v "EventDefinition" ]
  ] [
     fhir:code [ fhir:v "Evidence" ]
  ] [
     fhir:code [ fhir:v "EvidenceReport" ]
  ] [
     fhir:code [ fhir:v "EvidenceVariable" ]
  ] [
     fhir:code [ fhir:v "ExampleScenario" ]
  ] [
     fhir:code [ fhir:v "ExplanationOfBenefit" ] ;
     fhir:param ( [ fhir:v "encounter" ] )
  ] [
     fhir:code [ fhir:v "FamilyMemberHistory" ]
  ] [
     fhir:code [ fhir:v "Flag" ]
  ] [
     fhir:code [ fhir:v "FormularyItem" ]
  ] [
     fhir:code [ fhir:v "GenomicStudy" ]
  ] [
     fhir:code [ fhir:v "Goal" ]
  ] [
     fhir:code [ fhir:v "GraphDefinition" ]
  ] [
     fhir:code [ fhir:v "Group" ]
  ] [
     fhir:code [ fhir:v "GuidanceResponse" ]
  ] [
     fhir:code [ fhir:v "HealthcareService" ]
  ] [
     fhir:code [ fhir:v "ImagingSelection" ]
  ] [
     fhir:code [ fhir:v "ImagingStudy" ]
  ] [
     fhir:code [ fhir:v "Immunization" ]
  ] [
     fhir:code [ fhir:v "ImmunizationEvaluation" ]
  ] [
     fhir:code [ fhir:v "ImmunizationRecommendation" ]
  ] [
     fhir:code [ fhir:v "ImplementationGuide" ]
  ] [
     fhir:code [ fhir:v "Ingredient" ]
  ] [
     fhir:code [ fhir:v "InsurancePlan" ]
  ] [
     fhir:code [ fhir:v "InsuranceProduct" ]
  ] [
     fhir:code [ fhir:v "InventoryItem" ]
  ] [
     fhir:code [ fhir:v "InventoryReport" ]
  ] [
     fhir:code [ fhir:v "Invoice" ]
  ] [
     fhir:code [ fhir:v "Library" ]
  ] [
     fhir:code [ fhir:v "Linkage" ]
  ] [
     fhir:code [ fhir:v "List" ]
  ] [
     fhir:code [ fhir:v "Location" ]
  ] [
     fhir:code [ fhir:v "ManufacturedItemDefinition" ]
  ] [
     fhir:code [ fhir:v "Measure" ]
  ] [
     fhir:code [ fhir:v "MeasureReport" ]
  ] [
     fhir:code [ fhir:v "Medication" ]
  ] [
     fhir:code [ fhir:v "MedicationAdministration" ] ;
     fhir:param ( [ fhir:v "encounter" ] )
  ] [
     fhir:code [ fhir:v "MedicationDispense" ] ;
     fhir:param ( [ fhir:v "encounter" ] )
  ] [
     fhir:code [ fhir:v "MedicationKnowledge" ]
  ] [
     fhir:code [ fhir:v "MedicationRequest" ] ;
     fhir:param ( [ fhir:v "encounter" ] )
  ] [
     fhir:code [ fhir:v "MedicationStatement" ] ;
     fhir:param ( [ fhir:v "encounter" ] )
  ] [
     fhir:code [ fhir:v "MedicinalProductDefinition" ]
  ] [
     fhir:code [ fhir:v "MessageDefinition" ]
  ] [
     fhir:code [ fhir:v "MessageHeader" ]
  ] [
     fhir:code [ fhir:v "MolecularDefinition" ]
  ] [
     fhir:code [ fhir:v "MolecularSequence" ]
  ] [
     fhir:code [ fhir:v "NamingSystem" ]
  ] [
     fhir:code [ fhir:v "NutritionIntake" ] ;
     fhir:param ( [ fhir:v "encounter" ] )
  ] [
     fhir:code [ fhir:v "NutritionOrder" ] ;
     fhir:param ( [ fhir:v "encounter" ] )
  ] [
     fhir:code [ fhir:v "NutritionProduct" ]
  ] [
     fhir:code [ fhir:v "Observation" ] ;
     fhir:param ( [ fhir:v "encounter" ] )
  ] [
     fhir:code [ fhir:v "ObservationDefinition" ]
  ] [
     fhir:code [ fhir:v "OperationDefinition" ]
  ] [
     fhir:code [ fhir:v "OperationOutcome" ]
  ] [
     fhir:code [ fhir:v "Organization" ]
  ] [
     fhir:code [ fhir:v "OrganizationAffiliation" ]
  ] [
     fhir:code [ fhir:v "PackagedProductDefinition" ]
  ] [
     fhir:code [ fhir:v "Patient" ]
  ] [
     fhir:code [ fhir:v "PaymentNotice" ]
  ] [
     fhir:code [ fhir:v "PaymentReconciliation" ]
  ] [
     fhir:code [ fhir:v "Permission" ]
  ] [
     fhir:code [ fhir:v "Person" ]
  ] [
     fhir:code [ fhir:v "PersonalRelationship" ]
  ] [
     fhir:code [ fhir:v "PlanDefinition" ]
  ] [
     fhir:code [ fhir:v "Practitioner" ]
  ] [
     fhir:code [ fhir:v "PractitionerRole" ]
  ] [
     fhir:code [ fhir:v "Procedure" ] ;
     fhir:param ( [ fhir:v "encounter" ] )
  ] [
     fhir:code [ fhir:v "Provenance" ]
  ] [
     fhir:code [ fhir:v "Questionnaire" ]
  ] [
     fhir:code [ fhir:v "QuestionnaireResponse" ] ;
     fhir:param ( [ fhir:v "encounter" ] )
  ] [
     fhir:code [ fhir:v "RegulatedAuthorization" ]
  ] [
     fhir:code [ fhir:v "RelatedPerson" ]
  ] [
     fhir:code [ fhir:v "RequestOrchestration" ] ;
     fhir:param ( [ fhir:v "encounter" ] )
  ] [
     fhir:code [ fhir:v "Requirements" ]
  ] [
     fhir:code [ fhir:v "ResearchStudy" ]
  ] [
     fhir:code [ fhir:v "ResearchSubject" ]
  ] [
     fhir:code [ fhir:v "RiskAssessment" ]
  ] [
     fhir:code [ fhir:v "Schedule" ]
  ] [
     fhir:code [ fhir:v "SearchParameter" ]
  ] [
     fhir:code [ fhir:v "ServiceRequest" ] ;
     fhir:param ( [ fhir:v "encounter" ] )
  ] [
     fhir:code [ fhir:v "Slot" ]
  ] [
     fhir:code [ fhir:v "Specimen" ]
  ] [
     fhir:code [ fhir:v "SpecimenDefinition" ]
  ] [
     fhir:code [ fhir:v "StructureDefinition" ]
  ] [
     fhir:code [ fhir:v "StructureMap" ]
  ] [
     fhir:code [ fhir:v "Subscription" ]
  ] [
     fhir:code [ fhir:v "SubscriptionStatus" ]
  ] [
     fhir:code [ fhir:v "SubscriptionTopic" ]
  ] [
     fhir:code [ fhir:v "Substance" ]
  ] [
     fhir:code [ fhir:v "SubstanceDefinition" ]
  ] [
     fhir:code [ fhir:v "SubstanceNucleicAcid" ]
  ] [
     fhir:code [ fhir:v "SubstancePolymer" ]
  ] [
     fhir:code [ fhir:v "SubstanceProtein" ]
  ] [
     fhir:code [ fhir:v "SubstanceReferenceInformation" ]
  ] [
     fhir:code [ fhir:v "SubstanceSourceMaterial" ]
  ] [
     fhir:code [ fhir:v "SupplyDelivery" ]
  ] [
     fhir:code [ fhir:v "SupplyRequest" ]
  ] [
     fhir:code [ fhir:v "Task" ]
  ] [
     fhir:code [ fhir:v "TerminologyCapabilities" ]
  ] [
     fhir:code [ fhir:v "TestPlan" ]
  ] [
     fhir:code [ fhir:v "TestReport" ]
  ] [
     fhir:code [ fhir:v "TestScript" ]
  ] [
     fhir:code [ fhir:v "Transport" ]
  ] [
     fhir:code [ fhir:v "ValueSet" ]
  ] [
     fhir:code [ fhir:v "VerificationResult" ]
  ] [
     fhir:code [ fhir:v "VisionPrescription" ] ;
     fhir:param ( [ fhir:v "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.