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/device (Turtle)

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

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

Compartment Definition for device

@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 "device"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ]
  ];
  fhir:CanonicalResource.url [ fhir:value "http://hl7.org/fhir/CompartmentDefinition/device"];
  fhir:CanonicalResource.version [ fhir:value "5.0.0-cibuild"];
  fhir:CanonicalResource.name [ fhir:value "Base FHIR compartment definition for Device"];
  fhir:CanonicalResource.status [ fhir:value "draft"];
  fhir:CanonicalResource.experimental [ fhir:value "true"];
  fhir:CanonicalResource.date [ fhir:value "2023-02-04T22:37:22+00: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 device compartment for each Device resource, and the identity of the compartment is the same as the Device. The set of resources associated with a particular device"];
  fhir:CompartmentDefinition.url [ fhir:value "http://hl7.org/fhir/CompartmentDefinition/device"];
  fhir:CompartmentDefinition.version [ fhir:value "5.0.0-cibuild"];
  fhir:CompartmentDefinition.name [ fhir:value "Base FHIR compartment definition for Device"];
  fhir:CompartmentDefinition.status [ fhir:value "draft"];
  fhir:CompartmentDefinition.experimental [ fhir:value "true"];
  fhir:CompartmentDefinition.date [ fhir:value "2023-02-04T22:37:22+00: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 device compartment for each Device resource, and the identity of the compartment is the same as the Device. The set of resources associated with a particular device"];
  fhir:CompartmentDefinition.code [ fhir:value "Device"];
  fhir:CompartmentDefinition.search [ fhir:value "true"];
  fhir:CompartmentDefinition.resource [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Account" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ActivityDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ActorDefinition" ]
  ], [
     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.param [ fhir:value "actor" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "AppointmentResponse" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "actor" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ArtifactAssessment" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "AuditEvent" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "agent" ]
  ], [
     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 "CarePlan" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "CareTeam" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ChargeItem" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "enterer" ], [ fhir:value "performer-actor" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ChargeItemDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Citation" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Claim" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "procedure-udi" ], [ fhir:value "item-udi" ], [ fhir:value "detail-udi" ], [ fhir:value "subdetail-udi" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ClaimResponse" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ClinicalImpression" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ClinicalUseDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "CodeSystem" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Communication" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "sender" ], [ fhir:value "recipient" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "CommunicationRequest" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "information-provider" ], [ fhir:value "recipient" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "CompartmentDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Composition" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "author" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ConceptMap" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Condition" ]
  ], [
     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.param [ fhir:value "author" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Device" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "DeviceDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "DeviceDispense" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "DeviceMetric" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "DeviceRequest" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ], [ fhir:value "requester" ], [ fhir:value "performer" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "DeviceUsage" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "DiagnosticReport" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "DocumentReference" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ], [ fhir:value "author" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Encounter" ]
  ], [
     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 "procedure-udi" ], [ fhir:value "item-udi" ], [ fhir:value "detail-udi" ], [ fhir:value "subdetail-udi" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "FamilyMemberHistory" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Flag" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "author" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "FormularyItem" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "GenomicStudy" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Goal" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "GraphDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Group" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "member" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "GuidanceResponse" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "HealthcareService" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ImagingSelection" ]
  ], [
     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 "InventoryReport" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Invoice" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "participant" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Library" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Linkage" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "List" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ], [ fhir:value "source" ]
  ], [
     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.code [ fhir:value "MedicationDispense" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "MedicationKnowledge" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "MedicationRequest" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "MedicationStatement" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "MedicinalProductDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "MessageDefinition" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "MessageHeader" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "target" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "MolecularSequence" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "NamingSystem" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "NutritionIntake" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "NutritionOrder" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "NutritionProduct" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Observation" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ], [ fhir:value "device" ]
  ], [
     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.code [ fhir:value "Provenance" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "agent" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Questionnaire" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "QuestionnaireResponse" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "author" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "RegulatedAuthorization" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "RelatedPerson" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "RequestOrchestration" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "author" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Requirements" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ResearchStudy" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ResearchSubject" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "RiskAssessment" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "performer" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Schedule" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "actor" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "SearchParameter" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ServiceRequest" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "performer" ], [ fhir:value "requester" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Slot" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "Specimen" ];
     fhir:CompartmentDefinitionResourceComponent.param [ fhir:value "subject" ]
  ], [
     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.param [ fhir:value "requester" ]
  ], [
     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 "Transport" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "ValueSet" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "VerificationResult" ]
  ], [
     fhir:CompartmentDefinitionResourceComponent.code [ fhir:value "VisionPrescription" ]
  ] .

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


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.