{
  "resourceType": "Patient",
  "meta": {
    "profile": [
      "https://unicas-fhir.sanidad.gob.es/StructureDefinition/UNICASPatient"
    ]
  },
  "extension": [
    {
      "url": "https://unicas-fhir.sanidad.gob.es/StructureDefinition/EdadPaciente",
      "valueInteger": 5
    },
    {
      "extension": [
        {
          "url": "estado-enrolamiento",
          "valueBoolean": true
        }
      ],
      "url": "https://unicas-fhir.sanidad.gob.es/StructureDefinition/EstadoEnrolamientoPaciente"
    }
  ],
  "identifier": [
    {
      "type": {
        "coding": [
          {
            "system": "http://snomed.info/sct/900000001000122104?fhir_vs-refset/900000251000122107",
            "code": "22851000122109",
            "display": "documento nacional de identidad"
          }
        ]
      },
      "system": "urn:oid:1.3.6.1.4.1.19126.3",
      "value": "0000000X"
    },
    {
      "type": {
        "coding": [
          {
            "system": "http://snomed.info/sct/900000001000122104",
            "code": "1551000122105",
            "display": "código de identificación personal en el Sistema Nacional de Salud"
          }
        ]
      },
      "system": "urn:oid:2.16.724.4.40",
      "value": "BBBBBBBBQR648597"
    }
  ],
  "name": [
    {
      "text": "Maria Puig Grau",
      "family": "Puig Grau",
      "_family": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/humanname-fathers-family",
            "valueString": "Puig"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/humanname-mothers-family",
            "valueString": "Grau"
          }
        ]
      },
      "given": [
        "Maria"
      ]
    }
  ],
  "telecom": [
    {
      "system": "phone",
      "value": "666666666",
      "use": "mobile"
    },
    {
      "system": "phone",
      "value": "999999999",
      "use": "home"
    },
    {
      "system": "email",
      "value": "ejemplo@ejemplo.cat"
    }
  ],
  "gender": "female",
  "birthDate": "1972-01-01",
  "address": [
    {
      "extension": [
        {
          "url": "https://unicas-fhir.sanidad.gob.es/StructureDefinition/Provincia",
          "valueString": "Barcelona"
        }
      ],
      "line": [
        "Carrer d'Aragó, 330, 332, Eixample, 08009 Barcelona"
      ],
      "city": "Barcelona",
      "district": "Barcelona",
      "state": "Catalunya",
      "postalCode": "08009",
      "country": "España"
    }
  ],
  "contact": [
    {
      "relationship": [
        {
          "coding": [
            {
              "system": "http://snomed.info/sct/900000001000122104",
              "code": "125677006",
              "display": "familiar"
            }
          ]
        }
      ],
      "name": {
        "text": "Josep Grau Pla",
        "family": "Grau Pla",
        "_family": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/humanname-fathers-family",
              "valueString": "Grau"
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/humanname-mothers-family",
              "valueString": "Pla"
            }
          ]
        },
        "given": [
          "Josep"
        ]
      },
      "telecom": [
        {
          "system": "phone",
          "value": "666666666",
          "use": "mobile"
        },
        {
          "system": "phone",
          "value": "999999999",
          "use": "home"
        },
        {
          "system": "email",
          "value": "ejemplo@ejemplo.com"
        }
      ]
    }
  ],
  "managingOrganization": {
    "type": "Organization",
    "identifier": {
      "system": "urn:oid:2.16.724.4.21.5.10",
      "value": "0908005177"
    },
    "display": "Hospital Sant Joan de Déu"
  }
}