{"name": "condition-onset-year-abatement-month", "comment": "A Condition whose onset FHIR wrote to the year and its abatement to the month: each is typed by its precision, xsd:gYear and xsd:gYearMonth, never padded to a day.", "input": {"file": "fixtures/in/condition-onset-year-abatement-month.json", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/in/condition-onset-year-abatement-month.json", "text": "{\n  \"resourceType\": \"Condition\",\n  \"id\": \"cond-asthma-partial-1\",\n  \"clinicalStatus\": {\n    \"coding\": [\n      {\n        \"system\": \"http://terminology.hl7.org/CodeSystem/condition-clinical\",\n        \"code\": \"resolved\"\n      }\n    ]\n  },\n  \"code\": {\n    \"coding\": [\n      {\n        \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\n        \"code\": \"J45.909\",\n        \"display\": \"Unspecified asthma, uncomplicated\"\n      }\n    ],\n    \"text\": \"Asthma\"\n  },\n  \"subject\": {\n    \"reference\": \"Patient/pat-conformance-1\"\n  },\n  \"onsetDateTime\": \"2019\",\n  \"abatementDateTime\": \"2020-03\"\n}\n"}, "expectedGraph": {"file": "fixtures/expected/condition-onset-year-abatement-month.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/expected/condition-onset-year-abatement-month.ttl", "text": "@prefix bridge: <https://ns.cascadeprotocol.org/bridge/v1-draft#> .\n@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 dct: <http://purl.org/dc/terms/> .\n@prefix dcterms: <http://purl.org/dc/terms/> .\n@prefix oa: <http://www.w3.org/ns/oa#> .\n@prefix pav: <http://purl.org/pav/> .\n<ni:///sha-256;1mHZHD7mlGPaaAt17d9sbDm1MAB4eq1QjrUDJqetV90> cascade:conditionName \"Asthma\" ;\n\tcascade:conditionCode <https://ns.cascadeprotocol.org/codes/icd10cm/J45.909> ;\n\tcascade:clinicalStatus \"resolved\" ;\n\tcascade:onsetDate \"2019\"^^xsd:gYear ;\n\tcascade:abatementDate \"2020-03\"^^xsd:gYearMonth .\n<urn:uuid:0c9b9890-2a9a-8ab5-9ef5-9830214f4014> a cascade:ProblemOrDiagnosis ;\n\tcascade:sourceUrl <https://fhir.meridian.example/api/FHIR/R4/Condition/cond-asthma-partial-1> ;\n\tcascade:sourceRecordId \"cond-asthma-partial-1\" .\n<ni:///sha-256;1mHZHD7mlGPaaAt17d9sbDm1MAB4eq1QjrUDJqetV90> prov:specializationOf <urn:uuid:0c9b9890-2a9a-8ab5-9ef5-9830214f4014> ;\n\tcascade:patient <urn:uuid:7883c5a4-6c61-837c-9bf7-dbe1b37d89ff> .\n_:d517acb7ee7140c4fc857d77aa486dc8 bridge:arrivedAs <ni:///sha-256;1mHZHD7mlGPaaAt17d9sbDm1MAB4eq1QjrUDJqetV90> ;\n\toa:hasSelector _:12329549718c3d6f946b626f7a5e9924 ;\n\toa:hasSource <ni:///sha-256;IxrYUAdSqWdsau6vsPp0nEVKsonUxS6Sz4VXQzaNDes> ;\n\tprov:wasDerivedFrom <ni:///sha-256;IxrYUAdSqWdsau6vsPp0nEVKsonUxS6Sz4VXQzaNDes> ;\n\tprov:wasGeneratedBy _:5a3d27fb548ada6e6c32ebf6ee81b05 .\n_:12329549718c3d6f946b626f7a5e9924 a oa:FragmentSelector ;\n\tdct:conformsTo <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n<ni:///sha-256;IxrYUAdSqWdsau6vsPp0nEVKsonUxS6Sz4VXQzaNDes> cascade:serverBaseUrl \"https://fhir.meridian.example/api/FHIR/R4\" ;\n\tpav:retrievedOn \"2026-09-01T10:00:00Z\"^^xsd:dateTime ;\n\tprov:wasGeneratedBy _:6ccd33c3a27e81901a7ed552e0c9040c ;\n\tprov:wasAttributedTo _:1e02e631f04e0b85c345b904d264d076 ;\n\tcascade:authenticatedPatient \"Patient/eM5vN8qTz2Hc4Rk7Jw0Pb3\" ;\n\tcascade:authenticatedAsProxy false ;\n\tcascade:sourceFormatVersion \"4.0.1\" .\n_:eaca8ec393aa65763071f48ef5a01a05 prov:agent _:1e02e631f04e0b85c345b904d264d076 ;\n\tprov:hadRole cascade:AuthorRole .\n_:6ccd33c3a27e81901a7ed552e0c9040c prov:qualifiedAssociation _:eaca8ec393aa65763071f48ef5a01a05 .\n_:ca8d3c7ffc5a547d1259ae1a61d8ae01 prov:agent _:85eed170a7401f3864c612755f7cc700 ;\n\tprov:hadRole cascade:TransmitterRole .\n_:6ccd33c3a27e81901a7ed552e0c9040c prov:qualifiedAssociation _:ca8d3c7ffc5a547d1259ae1a61d8ae01 .\n_:1e02e631f04e0b85c345b904d264d076 <http://www.w3.org/2000/01/rdf-schema#label> \"Meridian Health System\" .\n_:85eed170a7401f3864c612755f7cc700 <http://www.w3.org/2000/01/rdf-schema#label> \"Apple Health\" .\n_:5a3d27fb548ada6e6c32ebf6ee81b05 <http://www.w3.org/2000/01/rdf-schema#label> \"Apple Health export\" ;\n\tprov:startedAtTime \"2026-09-01T10:00:04Z\"^^xsd:dateTime .\n<ni:///sha-256;IxrYUAdSqWdsau6vsPp0nEVKsonUxS6Sz4VXQzaNDes> a prov:Entity .\n_:5a3d27fb548ada6e6c32ebf6ee81b05 a prov:Activity ;\n\tprov:used <ni:///sha-256;IxrYUAdSqWdsau6vsPp0nEVKsonUxS6Sz4VXQzaNDes> ;\n\tprov:qualifiedAssociation _:9ac187cd37f45b658487a87b6ede088d .\n_:9ac187cd37f45b658487a87b6ede088d prov:hadPlan _:8cd3ed1b9202c4a8de7c8a22124776e5 .\n_:8cd3ed1b9202c4a8de7c8a22124776e5 a prov:Plan ;\n\t<http://www.w3.org/2000/01/rdf-schema#label> \"fhir-r4\" ;\n\tpav:version \"0.1.0\" .\n_:9ac187cd37f45b658487a87b6ede088d prov:agent _:9bfcc612424d41b458fcd33cab548713 .\n_:9bfcc612424d41b458fcd33cab548713 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/condition-onset-year-abatement-month.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/findings/condition-onset-year-abatement-month.ttl", "text": "", "empty": true}}