@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://gematik.de/fhir/hddt/Observation/cgmSummaryExample> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "cgmSummaryExample"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/uv/cgm/StructureDefinition/cgm-summary"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/uv/cgm/StructureDefinition/cgm-summary>
     ] )
  ] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:category ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/observation-category"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/observation-category>
       ] ;
       fhir:code [ fhir:v "laboratory" ]
     ] )
  ] ) ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:107931-8 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "107931-8" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:l <https://gematik.de/fhir/hddt/Patient/patientExample> ;
     fhir:reference [ fhir:v "Patient/patientExample" ]
  ] ; # 
  fhir:effective [
     a fhir:Period ;
     fhir:start [ fhir:v "2025-09-01"^^xsd:date ] ;
     fhir:end [ fhir:v "2025-09-30"^^xsd:date ]
  ] ; # 
  fhir:hasMember ( [
     fhir:l <https://gematik.de/fhir/hddt/Observation/cgmSummaryMeanGlucoseMassPerVolumeExample> ;
     fhir:reference [ fhir:v "Observation/cgmSummaryMeanGlucoseMassPerVolumeExample" ]
  ] [
     fhir:l <https://gematik.de/fhir/hddt/Observation/cgmSummaryTimesInRangesExample> ;
     fhir:reference [ fhir:v "Observation/cgmSummaryTimesInRangesExample" ]
  ] [
     fhir:l <https://gematik.de/fhir/hddt/Observation/cgmSummaryGMIExample> ;
     fhir:reference [ fhir:v "Observation/cgmSummaryGMIExample" ]
  ] [
     fhir:l <https://gematik.de/fhir/hddt/Observation/cgmSummaryCoefficientOfVariationExample> ;
     fhir:reference [ fhir:v "Observation/cgmSummaryCoefficientOfVariationExample" ]
  ] [
     fhir:l <https://gematik.de/fhir/hddt/Observation/cgmSummaryDaysOfWearExample> ;
     fhir:reference [ fhir:v "Observation/cgmSummaryDaysOfWearExample" ]
  ] [
     fhir:l <https://gematik.de/fhir/hddt/Observation/cgmSummarySensorActivePercentageExample> ;
     fhir:reference [ fhir:v "Observation/cgmSummarySensorActivePercentageExample" ]
  ] ) . # 

# -------------------------------------------------------------------------------------

