{"name": "bundle-last-updates-of-resources-nothing-maps", "comment": "A Bundle of an Encounter and a vital-signs Observation whose meta.lastUpdated is a time with no zone and a date alone. The mapping writes no arrival of either, so neither last update is a finding.", "input": {"file": "fixtures/in/bundle-last-updates-of-resources-nothing-maps.json", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/in/bundle-last-updates-of-resources-nothing-maps.json", "text": "{\n  \"resourceType\": \"Bundle\",\n  \"type\": \"collection\",\n  \"entry\": [\n    {\n      \"fullUrl\": \"http://example.org/fhir/Encounter/enc-1\",\n      \"resource\": {\n        \"resourceType\": \"Encounter\",\n        \"id\": \"enc-1\",\n        \"meta\": {\n          \"lastUpdated\": \"2024-03-05T14:30:00\"\n        },\n        \"status\": \"finished\",\n        \"class\": {\n          \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ActCode\",\n          \"code\": \"AMB\"\n        },\n        \"subject\": {\n          \"reference\": \"Patient/pat-1\"\n        }\n      }\n    },\n    {\n      \"fullUrl\": \"http://example.org/fhir/Observation/obs-1\",\n      \"resource\": {\n        \"resourceType\": \"Observation\",\n        \"id\": \"obs-1\",\n        \"meta\": {\n          \"lastUpdated\": \"2024-03-05\"\n        },\n        \"status\": \"final\",\n        \"category\": [\n          {\n            \"coding\": [\n              {\n                \"system\": \"http://terminology.hl7.org/CodeSystem/observation-category\",\n                \"code\": \"vital-signs\"\n              }\n            ]\n          }\n        ],\n        \"code\": {\n          \"coding\": [\n            {\n              \"system\": \"http://loinc.org\",\n              \"code\": \"8867-4\",\n              \"display\": \"Heart rate\"\n            }\n          ]\n        },\n        \"subject\": {\n          \"reference\": \"Patient/pat-1\"\n        },\n        \"effectiveDateTime\": \"2024-03-05T14:30:00Z\",\n        \"valueQuantity\": {\n          \"value\": 72,\n          \"unit\": \"beats/minute\",\n          \"system\": \"http://unitsofmeasure.org\",\n          \"code\": \"/min\"\n        }\n      }\n    }\n  ]\n}\n"}, "expectedGraph": {"file": "fixtures/expected/bundle-last-updates-of-resources-nothing-maps.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/expected/bundle-last-updates-of-resources-nothing-maps.ttl", "text": "@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .\n@prefix cascade: <https://ns.cascadeprotocol.org/cascade#> .\n@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .\n@prefix prov: <http://www.w3.org/ns/prov#> .\n@prefix pav: <http://purl.org/pav/> .\n<ni:///sha-256;sEe1hgsgJ8ypq7AmzFEvcsEJDJLRU7iJ3Oxet6VwzhY> cascade:serverBaseUrl \"http://example.org/fhir\" ;\n\tpav:retrievedOn \"2026-10-13T09:00:00Z\"^^xsd:dateTime ;\n\tcascade:sourceFormatVersion \"4.0.1\" .\n_:dc415404487e56a9a140536854ac3df7 <http://www.w3.org/2000/01/rdf-schema#label> \"Example server export\" ;\n\tprov:startedAtTime \"2026-10-13T09:00:04Z\"^^xsd:dateTime .\n<ni:///sha-256;sEe1hgsgJ8ypq7AmzFEvcsEJDJLRU7iJ3Oxet6VwzhY> a prov:Entity .\n_:dc415404487e56a9a140536854ac3df7 a prov:Activity ;\n\tprov:used <ni:///sha-256;sEe1hgsgJ8ypq7AmzFEvcsEJDJLRU7iJ3Oxet6VwzhY> ;\n\tprov:qualifiedAssociation _:a7993c8e16873999beea75023896cf7f .\n_:a7993c8e16873999beea75023896cf7f prov:hadPlan _:7bb6f0e7d4caa9b5de50965e6b433955 .\n_:7bb6f0e7d4caa9b5de50965e6b433955 a prov:Plan ;\n\t<http://www.w3.org/2000/01/rdf-schema#label> \"fhir-r4\" ;\n\tpav:version \"0.1.0\" .\n_:a7993c8e16873999beea75023896cf7f prov:agent _:7b9b5e2f9a92fb8c18616faa27aad9c5 .\n_:7b9b5e2f9a92fb8c18616faa27aad9c5 a prov:SoftwareAgent ;\n\t<http://www.w3.org/2000/01/rdf-schema#label> \"Cascade Bridge for Rust\" ;\n\tpav:version \"0.1.0\" .\n"}, "expectedFindings": {"file": "fixtures/findings/bundle-last-updates-of-resources-nothing-maps.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/findings/bundle-last-updates-of-resources-nothing-maps.ttl", "text": "@prefix fhirr4: <https://ns.cascadeprotocol.org/adapter/fhir-r4/v1-draft#> .\n@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .\n@prefix sh: <http://www.w3.org/ns/shacl#> .\n@prefix oa: <http://www.w3.org/ns/oa#> .\n_:e75283f5b55b32f6b3929ce56196e9fc a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/entry/0\" .\n_:ead5c282063e9773ae6c4168c8c59a5 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/resource\" .\n_:e75283f5b55b32f6b3929ce56196e9fc oa:refinedBy _:ead5c282063e9773ae6c4168c8c59a5 .\n_:f9a47873d632a0f0f701039c3956cdff a oa:Annotation ;\n\toa:hasTarget _:e50526587a2a66726e54e655fe5b4104 .\n_:e50526587a2a66726e54e655fe5b4104 oa:hasSource <../in/bundle-last-updates-of-resources-nothing-maps.json> ;\n\toa:hasSelector _:e75283f5b55b32f6b3929ce56196e9fc .\n_:f9a47873d632a0f0f701039c3956cdff oa:hasBody <https://datatracker.ietf.org/doc/html/draft-wright-json-schema-validation-01#section-6.28> ;\n\toa:motivatedBy oa:classifying ;\n\tsh:resultSeverity sh:Violation .\n_:e33c119918f29a59485f2de3738b6f5b a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/entry/0\" .\n_:fc18879f63581cfaa3c4eedc6a5635a2 oa:hasSource <../in/bundle-last-updates-of-resources-nothing-maps.json> .\n_:e33c119918f29a59485f2de3738b6f5b oa:refinedBy _:d5b4ae5fd52d02b10f26f563e52bf414 .\n_:d5b4ae5fd52d02b10f26f563e52bf414 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/resource/resourceType\" .\n_:fc18879f63581cfaa3c4eedc6a5635a2 oa:hasSelector _:e33c119918f29a59485f2de3738b6f5b .\n_:c12d3a79e35960b116826c027f1ccdf9 oa:hasTarget _:fc18879f63581cfaa3c4eedc6a5635a2 ;\n\tsh:resultSeverity sh:Warning ;\n\ta oa:Annotation ;\n\toa:hasBody fhirr4:resourceTypeNotMapped ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"Encounter\" .\n_:d64174ddec4d3d8a7a32353406919333 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/entry/1\" .\n_:e3495b9390bf46aefc26d833efdd200 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/resource\" .\n_:d64174ddec4d3d8a7a32353406919333 oa:refinedBy _:e3495b9390bf46aefc26d833efdd200 .\n_:ed0010077155b8483cb83136b49e9b4b a oa:Annotation ;\n\toa:hasTarget _:b0d1e0ba40d1a379366c3ce0dd30ee34 .\n_:b0d1e0ba40d1a379366c3ce0dd30ee34 oa:hasSource <../in/bundle-last-updates-of-resources-nothing-maps.json> ;\n\toa:hasSelector _:d64174ddec4d3d8a7a32353406919333 .\n_:ed0010077155b8483cb83136b49e9b4b oa:hasBody <https://datatracker.ietf.org/doc/html/draft-wright-json-schema-validation-01#section-6.28> ;\n\toa:motivatedBy oa:classifying ;\n\tsh:resultSeverity sh:Violation .\n_:c6819e09773b52fab0576d8b02b655d a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/entry/1\" .\n_:b037110684bba18b8fe75286d51d3ad0 oa:hasSource <../in/bundle-last-updates-of-resources-nothing-maps.json> .\n_:c6819e09773b52fab0576d8b02b655d oa:refinedBy _:b18d2b5259a28708c32ebf270134bcf .\n_:b18d2b5259a28708c32ebf270134bcf a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/resource/category/0/coding/0/code\" .\n_:b037110684bba18b8fe75286d51d3ad0 oa:hasSelector _:c6819e09773b52fab0576d8b02b655d .\n_:ce432ff72fe9bf405ede5405053598d1 oa:hasTarget _:b037110684bba18b8fe75286d51d3ad0 ;\n\tsh:resultSeverity sh:Warning ;\n\ta oa:Annotation ;\n\toa:hasBody fhirr4:observationNotLabResult ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"vital-signs\" .\n", "empty": false}}