@@ -100,9 +100,6 @@ impl InsertIntoGraph for MeasurementAggregateDocument {
100100pub struct MeasurementDocument {
101101 #[ serde( rename = "measurement identifier" ) ]
102102 pub measurement_identifier : String ,
103- // TO-DO: needs further definition to be integrated
104- // #[serde(rename = "chromatography column document")]
105- // pub chromatography_column_document: ChromatographyColumnDocument,
106103 #[ serde( rename = "device control aggregate document" ) ]
107104 pub device_control_aggregate_document : DeviceSystemDocument ,
108105 #[ serde( rename = "sample document" ) ]
@@ -148,23 +145,6 @@ impl InsertIntoGraph for MeasurementDocument {
148145 }
149146}
150147
151- #[ derive( Clone , Debug , Serialize , Deserialize ) ]
152- pub struct ChromatographyColumnDocument { }
153-
154- impl InsertIntoGraph for ChromatographyColumnDocument {
155- fn insert_into ( & self , graph : & mut LightGraph , iri : SimpleTerm ) -> anyhow:: Result < ( ) > {
156- for ( pred, value) in
157- [ ( rdf:: type_, & cat:: ChromatographyColumnDocument . as_simple ( ) as & dyn InsertIntoGraph ) ]
158- {
159- value. attach_into (
160- graph,
161- Link { source_iri : iri. clone ( ) , pred : pred. as_simple ( ) , target_iri : None } ,
162- ) ?;
163- }
164- Ok ( ( ) )
165- }
166- }
167-
168148#[ derive( Clone , Debug , Serialize , Deserialize ) ]
169149pub struct DeviceSystemDocument {
170150 #[ serde( alias = "device document" , alias = "device control document" ) ]
0 commit comments