Skip to content

Can I somehow add custom field to the Patient resource and parse it? #1835

Discussion options

You must be logged in to vote

Hi @dronSamogon,

Adding extra properties to the FHIR json is not allowed: the FHIR standard is built for interoperability and changing the json schema will disturb this interoperability. You can extend a FHIR resource by profiling it: https://www.hl7.org/fhir/profiling.html.

But in your case you can also use the Patient property Identifier. This is a list of identifiers. In your case it looks like this:

{ 
   "resourceType": "Patient", 
   "id": "example", 
   "identifier": [
      {
        "use": "usual",
        "system": "http://your.system/customid",
        "value": "123123"
      }
    ] 
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dronSamogon
Comment options

Answer selected by dronSamogon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants