Current Build

Compartmentdefinition-encounter.json

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

Raw JSON (canonical form + also see JSON Format Specification)

Compartment Definition for encounter

{
  "resourceType" : "CompartmentDefinition",
  "id" : "encounter",
  "text" : {
    "status" : "generated",
    "div" : "<div>!-- Snipped for Brevity --></div>"
  },
  "url" : "http://hl7.org/fhir/CompartmentDefinition/encounter",
  "version" : "3.4.0-14554",
  "name" : "Base FHIR compartment definition for Encounter",
  "status" : "draft",
  "experimental" : true,
  "date" : "2018-08-07T14:39:52-04:00",
  "publisher" : "FHIR Project Team",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://hl7.org/fhir"
    }]
  }],
  "description" : "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",
  "code" : "Encounter",
  "search" : true,
  "resource" : [{
    "code" : "Account"
  },
  {
    "code" : "ActivityDefinition"
  },
  {
    "code" : "AdverseEvent"
  },
  {
    "code" : "AllergyIntolerance"
  },
  {
    "code" : "Appointment"
  },
  {
    "code" : "AppointmentResponse"
  },
  {
    "code" : "AuditEvent"
  },
  {
    "code" : "Basic"
  },
  {
    "code" : "Binary"
  },
  {
    "code" : "BiologicallyDerivedProduct"
  },
  {
    "code" : "BodyStructure"
  },
  {
    "code" : "Bundle"
  },
  {
    "code" : "CapabilityStatement"
  },
  {
    "code" : "CarePlan"
  },
  {
    "code" : "CareTeam"
  },
  {
    "code" : "ChargeItem",
    "param" : ["context"]
  },
  {
    "code" : "ChargeItemDefinition"
  },
  {
    "code" : "Claim",
    "param" : ["encounter"]
  },
  {
    "code" : "ClaimResponse"
  },
  {
    "code" : "ClinicalImpression",
    "param" : ["context"]
  },
  {
    "code" : "CodeSystem"
  },
  {
    "code" : "Communication",
    "param" : ["context"]
  },
  {
    "code" : "CommunicationRequest",
    "param" : ["context"]
  },
  {
    "code" : "CompartmentDefinition"
  },
  {
    "code" : "Composition",
    "param" : ["encounter"]
  },
  {
    "code" : "ConceptMap"
  },
  {
    "code" : "Condition",
    "param" : ["context"]
  },
  {
    "code" : "Consent"
  },
  {
    "code" : "Contract"
  },
  {
    "code" : "Coverage"
  },
  {
    "code" : "CoverageEligibilityRequest"
  },
  {
    "code" : "CoverageEligibilityResponse"
  },
  {
    "code" : "DetectedIssue"
  },
  {
    "code" : "Device"
  },
  {
    "code" : "DeviceComponent"
  },
  {
    "code" : "DeviceDefinition"
  },
  {
    "code" : "DeviceMetric"
  },
  {
    "code" : "DeviceRequest",
    "param" : ["encounter"]
  },
  {
    "code" : "DeviceUseStatement"
  },
  {
    "code" : "DiagnosticReport",
    "param" : ["encounter"]
  },
  {
    "code" : "DocumentManifest",
    "param" : ["related-ref"]
  },
  {
    "code" : "DocumentReference",
    "param" : ["encounter"]
  },
  {
    "code" : "Encounter",
    "param" : ["{def}"]
  },
  {
    "code" : "Endpoint"
  },
  {
    "code" : "EnrollmentRequest"
  },
  {
    "code" : "EnrollmentResponse"
  },
  {
    "code" : "EntryDefinition"
  },
  {
    "code" : "EpisodeOfCare"
  },
  {
    "code" : "EventDefinition"
  },
  {
    "code" : "ExampleScenario"
  },
  {
    "code" : "ExplanationOfBenefit",
    "param" : ["encounter"]
  },
  {
    "code" : "FamilyMemberHistory"
  },
  {
    "code" : "Flag"
  },
  {
    "code" : "Goal"
  },
  {
    "code" : "GraphDefinition"
  },
  {
    "code" : "Group"
  },
  {
    "code" : "GuidanceResponse"
  },
  {
    "code" : "HealthcareService"
  },
  {
    "code" : "ImagingStudy"
  },
  {
    "code" : "Immunization"
  },
  {
    "code" : "ImmunizationEvaluation"
  },
  {
    "code" : "ImmunizationRecommendation"
  },
  {
    "code" : "ImplementationGuide"
  },
  {
    "code" : "InsurancePlan"
  },
  {
    "code" : "Invoice"
  },
  {
    "code" : "ItemInstance"
  },
  {
    "code" : "Library"
  },
  {
    "code" : "Linkage"
  },
  {
    "code" : "List"
  },
  {
    "code" : "Location"
  },
  {
    "code" : "Measure"
  },
  {
    "code" : "MeasureReport"
  },
  {
    "code" : "Media"
  },
  {
    "code" : "Medication"
  },
  {
    "code" : "MedicationAdministration",
    "param" : ["context"]
  },
  {
    "code" : "MedicationDispense"
  },
  {
    "code" : "MedicationKnowledge"
  },
  {
    "code" : "MedicationRequest",
    "param" : ["context"]
  },
  {
    "code" : "MedicationStatement"
  },
  {
    "code" : "MedicinalProduct"
  },
  {
    "code" : "MedicinalProductAuthorization"
  },
  {
    "code" : "MedicinalProductClinicals"
  },
  {
    "code" : "MedicinalProductDeviceSpec"
  },
  {
    "code" : "MedicinalProductIngredient"
  },
  {
    "code" : "MedicinalProductManufactured"
  },
  {
    "code" : "MedicinalProductPackaged"
  },
  {
    "code" : "MedicinalProductPharmaceutical"
  },
  {
    "code" : "MessageDefinition"
  },
  {
    "code" : "MessageHeader"
  },
  {
    "code" : "NamingSystem"
  },
  {
    "code" : "NutritionOrder",
    "param" : ["context"]
  },
  {
    "code" : "Observation",
    "param" : ["encounter"]
  },
  {
    "code" : "ObservationDefinition"
  },
  {
    "code" : "OperationDefinition"
  },
  {
    "code" : "OperationOutcome"
  },
  {
    "code" : "Organization"
  },
  {
    "code" : "OrganizationRole"
  },
  {
    "code" : "Patient"
  },
  {
    "code" : "PaymentNotice"
  },
  {
    "code" : "PaymentReconciliation"
  },
  {
    "code" : "Person"
  },
  {
    "code" : "PlanDefinition"
  },
  {
    "code" : "Practitioner"
  },
  {
    "code" : "PractitionerRole"
  },
  {
    "code" : "Procedure",
    "param" : ["encounter"]
  },
  {
    "code" : "ProcessRequest"
  },
  {
    "code" : "ProcessResponse"
  },
  {
    "code" : "Provenance"
  },
  {
    "code" : "Questionnaire"
  },
  {
    "code" : "QuestionnaireResponse",
    "param" : ["context"]
  },
  {
    "code" : "RelatedPerson"
  },
  {
    "code" : "RequestGroup",
    "param" : ["encounter"]
  },
  {
    "code" : "ResearchStudy"
  },
  {
    "code" : "ResearchSubject"
  },
  {
    "code" : "RiskAssessment"
  },
  {
    "code" : "Schedule"
  },
  {
    "code" : "SearchParameter"
  },
  {
    "code" : "Sequence"
  },
  {
    "code" : "ServiceRequest",
    "param" : ["context"]
  },
  {
    "code" : "Slot"
  },
  {
    "code" : "Specimen"
  },
  {
    "code" : "SpecimenDefinition"
  },
  {
    "code" : "StructureDefinition"
  },
  {
    "code" : "StructureMap"
  },
  {
    "code" : "Subscription"
  },
  {
    "code" : "Substance"
  },
  {
    "code" : "SubstancePolymer"
  },
  {
    "code" : "SubstanceReferenceInformation"
  },
  {
    "code" : "SubstanceSpecification"
  },
  {
    "code" : "SupplyDelivery"
  },
  {
    "code" : "SupplyRequest"
  },
  {
    "code" : "Task"
  },
  {
    "code" : "TerminologyCapabilities"
  },
  {
    "code" : "TestReport"
  },
  {
    "code" : "TestScript"
  },
  {
    "code" : "UserSession",
    "param" : ["focus"]
  },
  {
    "code" : "ValueSet"
  },
  {
    "code" : "VerificationResult"
  },
  {
    "code" : "VisionPrescription",
    "param" : ["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.