{"action":"opened","issue":{"url":"https://api.github.com/repos/jamesagnew/hapi-fhir/issues/258","labels_url":"https://api.github.com/repos/jamesagnew/hapi-fhir/issues/258/labels{/name}","comments_url":"https://api.github.com/repos/jamesagnew/hapi-fhir/issues/258/comments","events_url":"https://api.github.com/repos/jamesagnew/hapi-fhir/issues/258/events","html_url":"https://github.com/jamesagnew/hapi-fhir/issues/258","id":117870171,"number":258,"title":"MaritalStatusCodesEnum (all BoundCodeableConceptDt?) not serializable","user":{"login":"nrpeterson","id":7225713,"avatar_url":"https://avatars.githubusercontent.com/u/7225713?v=3","gravatar_id":"","url":"https://api.github.com/users/nrpeterson","html_url":"https://github.com/nrpeterson","followers_url":"https://api.github.com/users/nrpeterson/followers","following_url":"https://api.github.com/users/nrpeterson/following{/other_user}","gists_url":"https://api.github.com/users/nrpeterson/gists{/gist_id}","starred_url":"https://api.github.com/users/nrpeterson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nrpeterson/subscriptions","organizations_url":"https://api.github.com/users/nrpeterson/orgs","repos_url":"https://api.github.com/users/nrpeterson/repos","events_url":"https://api.github.com/users/nrpeterson/events{/privacy}","received_events_url":"https://api.github.com/users/nrpeterson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-19T17:56:48Z","updated_at":"2015-11-19T17:56:48Z","closed_at":null,"body":"I use Apache Spark to transform a whole bunch of raw data (in several CSVs/etc) into FHIR resources.  Doing this requires that resources be serializable, so that they can be transmitted between the various components of the system.\r\n\r\nI currently use HAPI 1.2.\r\n\r\nResources themselves serialize well; I've only run in to one issue so far, namely MaritalStatusCodesEnum attached to Patient resources.\r\n\r\nI'm happy to submit a PR, but wasn't sure which you would prefer:\r\n1) Making IBoundCodeableConcept extend java.io.Serializable\r\n2) Making IBoundCodeableConcept extends IBase (which already implements java.io.Serializable\r\n3) Hidden option C\r\n\r\n"}}