R5 Final QA

This page is part of the FHIR Specification (v5.0.0-draft-final: Final QA Preview for R5 - see ballot notes). 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

Example CodeSystem/compartment-type (Turtle)

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

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

Definition for Code SystemCompartmentType

@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

# - resource -------------------------------------------------------------------

[] a fhir:CodeSystem ;
  fhir:id [ fhir:v "compartment-type"] ;
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2023-03-01T23:03:57.298+11:00" ] ;
     fhir:profile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/shareablecodesystem" ] )
  ] ;
  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/StructureDefinition/structuredefinition-standards-status" ] ;
     fhir:value [ fhir:v "trial-use" ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ] ;
     fhir:value [ fhir:v "1" ]
  ] ) ;
  fhir:url [ fhir:v "http://hl7.org/fhir/compartment-type"], [ fhir:v "http://hl7.org/fhir/compartment-type"] ;
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.4.787" ]
  ] [
     fhir:use [ fhir:v "old" ] ;
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.1.770" ]
  ] [
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.4.787" ]
  ] [
     fhir:use [ fhir:v "old" ] ;
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.1.770" ]
  ] ) ;
  fhir:version [ fhir:v "5.0.0-draft-final"], [ fhir:v "5.0.0-draft-final"] ;
  fhir:name [ fhir:v "CompartmentType"], [ fhir:v "CompartmentType"] ;
  fhir:title [ fhir:v "Compartment Type"], [ fhir:v "Compartment Type"] ;
  fhir:status [ fhir:v "active"], [ fhir:v "active"] ;
  fhir:experimental [ fhir:v "false"], [ fhir:v "false"] ;
  fhir:date [ fhir:v "2021-01-05T10:01:24+11:00"], [ fhir:v "2021-01-05T10:01:24+11:00"] ;
  fhir:publisher [ fhir:v "HL7 (FHIR Project)"], [ fhir:v "HL7 (FHIR Project)"] ;
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://hl7.org/fhir" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "fhir@lists.hl7.org" ]
     ] )
  ] [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://hl7.org/fhir" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "fhir@lists.hl7.org" ]
     ] )
  ] ) ;
  fhir:description [ fhir:v "Which type a compartment definition describes."], [ fhir:v "Which type a compartment definition describes."] ;
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] ) ;
  fhir:caseSensitive [ fhir:v "true"] ;
  fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/compartment-type"] ;
  fhir:content [ fhir:v "complete"] ;
  fhir:concept ( [
     fhir:code [ fhir:v "Patient" ] ;
     fhir:display [ fhir:v "Patient" ] ;
     fhir:definition [ fhir:v "The compartment definition is for the patient compartment." ]
  ] [
     fhir:code [ fhir:v "Encounter" ] ;
     fhir:display [ fhir:v "Encounter" ] ;
     fhir:definition [ fhir:v "The compartment definition is for the encounter compartment." ]
  ] [
     fhir:code [ fhir:v "RelatedPerson" ] ;
     fhir:display [ fhir:v "RelatedPerson" ] ;
     fhir:definition [ fhir:v "The compartment definition is for the related-person compartment." ]
  ] [
     fhir:code [ fhir:v "Practitioner" ] ;
     fhir:display [ fhir:v "Practitioner" ] ;
     fhir:definition [ fhir:v "The compartment definition is for the practitioner compartment." ]
  ] [
     fhir:code [ fhir:v "Device" ] ;
     fhir:display [ fhir:v "Device" ] ;
     fhir:definition [ fhir:v "The compartment definition is for the device compartment." ]
  ] [
     fhir:code [ fhir:v "EpisodeOfCare" ] ;
     fhir:display [ fhir:v "EpisodeOfCare" ] ;
     fhir:definition [ fhir:v "The compartment definition is for the episodeofcare compartment." ]
  ] ) .

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


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.