Halaxy · Schema

Patient.jsonfhir

Demographics and other administrative information about an individual or animal receiving care or other health-related services. See https://www.hl7.org/fhir/R4/patient.html

CompanyHealthcarePractice ManagementFHIRTelehealthAppointmentsBillingPatients

Properties

Name Type Description
identifier array An identifier for this patient
active booleannull Indicates whether this patient profile is active based on the patient status - patient status considered active: Current, Claimant, Contact
name array The name of the patient
telecom array A contact detail for the individual
gender stringnull male | female | other | custom gender
birthDate stringnull The date of birth for the individual
deceasedBoolean booleannull Indicates whether this patient profile is deceased based on the patient status
address array An address for the individual
contact array A contact party (e.g. guardian, partner, friend) for the patient
generalPractitioner array Practitioner/s and location/s where they patient has records with
managingOrganization object The URL reference to the practice group
attachments array File attachments to the patient profile. Write-only: accepted in the request body (e.g. POST/PUT) but not returned in any response, including GET /Patient.
text object Text summary of the resource, for human interpretation
contained array Contained, inline Resources
id stringnull The patient ID in the practice group
meta object Metadata about the resource
resourceType stringnull Resource Type
View JSON Schema on GitHub

JSON Schema

halaxy-patient-jsonfhir-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/halaxy/json-schema/halaxy-patient-jsonfhir-schema.json",
  "title": "Patient.jsonfhir",
  "description": "Demographics and other administrative information about an individual or animal receiving care or other health-related services. See https://www.hl7.org/fhir/R4/patient.html",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/halaxy-patient-api-openapi.yml#/components/schemas/Patient.jsonfhir",
  "type": "object",
  "deprecated": false,
  "properties": {
    "identifier": {
      "readOnly": true,
      "description": "An identifier for this patient",
      "type": "array",
      "items": {
        "$ref": "#/$defs/FhirIdentifier.jsonfhir"
      }
    },
    "active": {
      "readOnly": true,
      "description": "Indicates whether this patient profile is active based on the patient status - patient status considered active: Current, Claimant, Contact",
      "default": true,
      "type": [
        "boolean",
        "null"
      ]
    },
    "name": {
      "description": "The name of the patient",
      "type": "array",
      "items": {
        "$ref": "#/$defs/FhirHumanName.jsonfhir"
      }
    },
    "telecom": {
      "description": "A contact detail for the individual",
      "type": "array",
      "items": {
        "$ref": "#/$defs/FhirContactPoint.jsonfhir"
      }
    },
    "gender": {
      "description": "male | female | other | custom gender",
      "type": [
        "string",
        "null"
      ]
    },
    "birthDate": {
      "description": "The date of birth for the individual",
      "type": [
        "string",
        "null"
      ],
      "format": "date"
    },
    "deceasedBoolean": {
      "description": "Indicates whether this patient profile is deceased based on the patient status",
      "type": [
        "boolean",
        "null"
      ]
    },
    "address": {
      "description": "An address for the individual",
      "type": "array",
      "items": {
        "$ref": "#/$defs/FhirAddress.jsonfhir"
      }
    },
    "contact": {
      "description": "A contact party (e.g. guardian, partner, friend) for the patient",
      "type": "array",
      "items": {
        "$ref": "#/$defs/FhirPatientContact.jsonfhir"
      }
    },
    "generalPractitioner": {
      "readOnly": true,
      "description": "Practitioner/s and location/s where they patient has records with",
      "type": "array",
      "items": {
        "$ref": "#/$defs/FhirReference.jsonfhir"
      }
    },
    "managingOrganization": {
      "readOnly": true,
      "description": "The URL reference to the practice group",
      "anyOf": [
        {
          "$ref": "#/$defs/FhirReference.jsonfhir"
        },
        {
          "type": "null"
        }
      ]
    },
    "attachments": {
      "description": "File attachments to the patient profile. Write-only: accepted in the request body (e.g. POST/PUT) but not returned in any response, including GET /Patient.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/FhirAttachment.jsonfhir"
      },
      "writeOnly": true
    },
    "text": {
      "readOnly": true,
      "description": "Text summary of the resource, for human interpretation",
      "anyOf": [
        {
          "$ref": "#/$defs/FhirNarrative.jsonfhir"
        },
        {
          "type": "null"
        }
      ]
    },
    "contained": {
      "readOnly": true,
      "description": "Contained, inline Resources",
      "type": "array",
      "items": {
        "$ref": "#/$defs/FhirResourceInterface.jsonfhir"
      }
    },
    "id": {
      "readOnly": true,
      "description": "The patient ID in the practice group",
      "type": [
        "string",
        "null"
      ]
    },
    "meta": {
      "description": "Metadata about the resource",
      "anyOf": [
        {
          "$ref": "#/$defs/FhirResourceMeta.jsonfhir"
        },
        {
          "type": "null"
        }
      ]
    },
    "resourceType": {
      "description": "Resource Type",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "name",
    "managingOrganization"
  ],
  "$defs": {
    "FhirAddress.jsonfhir": {
      "type": "object",
      "description": "",
      "deprecated": false,
      "properties": {
        "use": {
          "description": "The purpose of this address",
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "home",
            "work",
            "billing",
            "mailing",
            null
          ]
        },
        "type": {
          "description": "Distinguishes between a physical address and mailing address",
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "both",
            null
          ]
        },
        "text": {
          "description": "The full address in text format",
          "type": [
            "string",
            "null"
          ]
        },
        "line": {
          "description": "Contains the street name, number, direction and P.O. Box in the order in which lines should appear on an address label",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "city": {
          "description": "Name of city or town",
          "type": [
            "string",
            "null"
          ]
        },
        "state": {
          "description": "State, province, or regions in ISO 3166-2 code (e.g., VIC, AUK, ON)",
          "type": [
            "string",
            "null"
          ]
        },
        "postalCode": {
          "description": "Postal or zip code of address",
          "type": [
            "string",
            "null"
          ]
        },
        "country": {
          "description": "Country of the address in ISO 3166-1 alpha-2 code (e.g., AU, NZ, CA)",
          "type": [
            "string",
            "null"
          ]
        },
        "id": {
          "readOnly": true,
          "description": "ID of the FHIR element (optional)",
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "FhirAttachment.jsonfhir": {
      "type": "object",
      "description": "",
      "deprecated": false,
      "properties": {
        "data": {
          "description": "The file encoded to base64 (maximum 20MB)",
          "type": "string"
        },
        "contentType": {
          "description": "The file format of the file attachment",
          "type": "string",
          "enum": [
            "application/json",
            "application/xml",
            "application/msword",
            "application/vnd.ms-excel",
            "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
            "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
            "application/pdf",
            "text/html",
            "text/xml",
            "text/plain",
            "image/jpeg",
            "image/png",
            "image/gif",
            "video/mp4",
            "application/zip",
            "application/fhir+json"
          ]
        },
        "language": {
          "description": "Human language of the content (BCP-47)",
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "ar",
            "bn",
            "cs",
            "da",
            "de",
            "el",
            "en",
            "en-AU",
            "es",
            "fi",
            "fr",
            "fy",
            "hi",
            "hr",
            "it",
            "ja",
            "ko",
            "nl",
            "no",
            "pa",
            "pl",
            "pt",
            "ru",
            "sr",
            "sv",
            "te",
            "zh",
            null
          ]
        },
        "url": {
          "description": "Uri where the data can be found",
          "type": [
            "string",
            "null"
          ]
        },
        "size": {
          "description": "Number of bytes of content (if url provided)",
          "type": [
            "integer",
            "null"
          ]
        },
        "hash": {
          "description": "Hash of the data (sha-1, base64ed)",
          "type": [
            "string",
            "null"
          ]
        },
        "title": {
          "description": "The file name",
          "type": [
            "string",
            "null"
          ]
        },
        "creation": {
          "description": "The date and time that the file attachment was first created",
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "id": {
          "readOnly": true,
          "description": "ID of the FHIR element (optional)",
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "FhirCodeableConcept.jsonfhir": {
      "type": "object",
      "description": "",
      "deprecated": false,
      "properties": {
        "coding": {
          "description": "defined by a terminology system",
          "type": "array",
          "items": {
            "$ref": "#/$defs/FhirCoding.jsonfhir"
          }
        },
        "text": {
          "description": "Plain text representation of the concept",
          "type": [
            "string",
            "null"
          ]
        },
        "id": {
          "readOnly": true,
          "description": "ID of the FHIR element (optional)",
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "FhirCoding.jsonfhir": {
      "type": "object",
      "description": "",
      "deprecated": false,
      "properties": {
        "system": {
          "format": "uri",
          "description": "Identity of the terminology system",
          "type": [
            "string",
            "null"
          ]
        },
        "code": {
          "description": "Symbol in syntax defined by the system",
          "type": [
            "string",
            "null"
          ]
        },
        "display": {
          "description": "Representation defined by the system",
          "type": [
            "string",
            "null"
          ]
        },
        "userSelected": {
          "readOnly": true,
          "description": "If this coding was chosen directly by the user",
          "type": [
            "boolean",
            "null"
          ]
        },
        "id": {
          "readOnly": true,
          "description": "ID of the FHIR element (optional)",
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "FhirContactPoint.jsonfhir": {
      "type": "object",
      "description": "",
      "deprecated": false,
      "properties": {
        "system": {
          "description": "Type of contact detail",
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "phone",
            "fax",
            "email",
            "sms",
            null
          ]
        },
        "value": {
          "description": "The actual phone number or email address",
          "type": [
            "string",
            "null"
          ]
        },
        "use": {
          "description": "Purpose of the contact detail",
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "home",
            "work",
            "mobile",
            null
          ]
        },
        "id": {
          "readOnly": true,
          "description": "ID of the FHIR element (optional)",
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "FhirHumanName.jsonfhir": {
      "type": "object",
      "description": "",
      "deprecated": false,
      "properties": {
        "use": {
          "description": "The type of name - 'official' for legal names, 'usual' for single name",
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "usual",
            "official",
            null
          ]
        },
        "text": {
          "readOnly": true,
          "description": "Text representation of the full name",
          "type": [
            "string",
            "null"
          ]
        },
        "family": {
          "description": "Family name (often called 'surname')",
          "type": [
            "string",
            "null"
          ]
        },
        "given": {
          "description": "Given names - includes middle name/s",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "prefix": {
          "description": "Title before the patient's name",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "id": {
          "readOnly": true,
          "description": "ID of the FHIR element (optional)",
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "FhirIdentifier.jsonfhir": {
      "type": "object",
      "description": "",
      "deprecated": false,
      "properties": {
        "use": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "usual",
            "official",
            "temp",
            "secondary",
            "old",
            null
          ]
        },
        "type": {
          "description": "Description of identifier",
          "anyOf": [
            {
              "$ref": "#/$defs/FhirCodeableConcept.jsonfhir"
            },
            {
              "type": "null"
            }
          ]
        },
        "system": {
          "description": "The namespace for the identifier value",
          "type": [
            "string",
            "null"
          ]
        },
        "value": {
          "description": "The unique identifier",
          "type": [
            "string",
            "null"
          ]
        },
        "period": {
          "description": "The time period when identifier is/was valid for use",
          "anyOf": [
            {
              "$ref": "#/$defs/FhirPeriodDateTime.jsonfhir"
            },
            {
              "type": "null"
            }
          ]
        },
        "assigner": {
          "description": "Organization that issued id (may be just text)",
          "anyOf": [
            {
              "$ref": "#/$defs/FhirReference.jsonfhir"
            },
            {
              "type": "null"
            }
          ]
        },
        "id": {
          "readOnly": true,
          "description": "ID of the FHIR element (optional)",
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "FhirNarrative.jsonfhir": {
      "type": "object",
      "description": "",
      "deprecated": false,
      "properties": {
        "status": {
          "readOnly": true,
          "description": "Describes how the narrative was generated",
          "type": "string",
          "enum": [
            "generated",
            "extensions",
            "additional",
            "empty"
          ]
        },
        "div": {
          "readOnly": true,
          "description": "Limited xhtml content",
          "type": "string"
        },
        "id": {
          "readOnly": true,
          "description": "ID of the FHIR element (optional)",
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "FhirPatientContact.jsonfhir": {
      "type": "object",
      "description": "",
      "deprecated": false,
      "properties": {
        "id": {
          "readOnly": true,
          "description": "Id of the Contact",
          "type": [
            "string",
            "null"
          ]
        },
        "relationship": {
          "description": "The type of contact and the contact's relationship to the patient",
          "type": "array",
          "items": {
            "$ref": "#/$defs/FhirCodeableConcept.jsonfhir"
          }
        },
        "name": {
          "description": "The name of the contact person",
          "anyOf": [
            {
              "$ref": "#/$defs/FhirHumanName.jsonfhir"
            },
            {
              "type": "null"
            }
          ]
        },
        "telecom": {
          "description": "A contact detail for the contact person",
          "type": "array",
          "items": {
            "$ref": "#/$defs/FhirContactPoint.jsonfhir"
          }
        },
        "gender": {
          "description": "male | female | other | unknown",
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "FhirPeriodDateTime.jsonfhir": {
      "type": "object",
      "description": "",
      "deprecated": false,
      "properties": {
        "start": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "end": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "id": {
          "readOnly": true,
          "description": "ID of the FHIR element (optional)",
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "FhirReference.jsonfhir": {
      "type": "object",
      "description": "",
      "deprecated": false,
      "required": [
        "reference"
      ],
      "properties": {
        "reference": {
          "description": "The URL (relative or absolute) to the resource being referenced",
          "type": "string"
        },
        "type": {
          "description": "The type of resource being referenced",
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "Organization",
            "Patient",
            "Practitioner",
            "PractitionerRole",
            "Appointment",
            "Coverage",
            "Invoice",
            "Communication",
            "Group",
            "DocumentReference",
            "InvoiceLine",
            "PaymentTransaction",
            "Referral",
            "ReferralDefinition",
            "Schedule",
            "Slot",
            "HealthcareService",
            "AllergyIntolerance",
            "Condition",
            "Immunization",
            "Subscription",
            "SubscriptionTopic",
            "ChargeItemDefinition",
            "ServiceRequest",
            "Medication",
            "MedicationRequest",
            "Questionnaire",
            "QuestionnaireResponse",
            "ValueSet",
            "ValueSetConcept",
            "Observation",
            "Binary",
            "Bundle",
            "OperationOutcome",
            "Parameters",
            "List",
            null
          ]
        },
        "id": {
          "readOnly": true,
          "description": "ID of the FHIR element (optional)",
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "FhirResourceInterface.jsonfhir": {
      "type": "object",
      "description": "",
      "deprecated": false
    },
    "FhirResourceMeta.jsonfhir": {
      "type": "object",
      "description": "",
      "deprecated": false,
      "properties": {
        "lastUpdated": {
          "readOnly": true,
          "description": "When the resource version last changed",
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "profile": {
          "description": "Profiles this resource claims to conform to",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/halaxy-patient-jsonfhir"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.