UNPKG

fhir-schemas

Version:

Schemas for Fast Healthcare Interoperability Resources.

137 lines 5.07 kB
{ "schema": "http://json-schema.org/draft-04/schema#", "$id": "http://hl7.org/fhir/json-schema/Person", "$ref": "#/definitions/Person", "description": "see http://hl7.org/fhir/json.html#schema for information about the FHIR Json Schemas", "definitions": { "Person": { "allOf": [ { "$ref": "DomainResource#/definitions/DomainResource" }, { "description": "Demographics and administrative information about a person independent of a specific health-related context.", "properties": { "resourceType": { "description": "This is a Person resource", "type": "string", "enum": [ "Person" ] }, "identifier": { "description": "Identifier for a person within a particular scope.", "type": "array", "items": { "$ref": "http://hl7.org/fhir/json-schema/Identifier#/definitions/Identifier" } }, "name": { "description": "A name associated with the person.", "type": "array", "items": { "$ref": "http://hl7.org/fhir/json-schema/HumanName#/definitions/HumanName" } }, "telecom": { "description": "A contact detail for the person, e.g. a telephone number or an email address.", "type": "array", "items": { "$ref": "http://hl7.org/fhir/json-schema/ContactPoint#/definitions/ContactPoint" } }, "gender": { "description": "Administrative Gender.", "enum": [ "male", "female", "other", "unknown" ], "type": "string" }, "_gender": { "description": "Extensions for gender", "$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element" }, "birthDate": { "description": "The birth date for the person.", "type": "string", "pattern": "-?[0-9]{4}(-(0[1-9]|1[0-2])(-(0[0-9]|[1-2][0-9]|3[0-1]))?)?" }, "_birthDate": { "description": "Extensions for birthDate", "$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element" }, "address": { "description": "One or more addresses for the person.", "type": "array", "items": { "$ref": "http://hl7.org/fhir/json-schema/Address#/definitions/Address" } }, "photo": { "description": "An image that can be displayed as a thumbnail of the person to enhance the identification of the individual.", "$ref": "http://hl7.org/fhir/json-schema/Attachment#/definitions/Attachment" }, "managingOrganization": { "description": "The organization that is the custodian of the person record.", "$ref": "http://hl7.org/fhir/json-schema/Reference#/definitions/Reference" }, "active": { "description": "Whether this person\u0027s record is in active use.", "type": "boolean" }, "_active": { "description": "Extensions for active", "$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element" }, "link": { "description": "Link to a resource that concerns the same actual person.", "type": "array", "items": { "$ref": "#/definitions/Person_Link" } } }, "required": [ "resourceType" ] } ] }, "Person_Link": { "allOf": [ { "$ref": "BackboneElement#/definitions/BackboneElement" }, { "description": "Demographics and administrative information about a person independent of a specific health-related context.", "properties": { "target": { "description": "The resource to which this actual person is associated.", "$ref": "http://hl7.org/fhir/json-schema/Reference#/definitions/Reference" }, "assurance": { "description": "Level of assurance that this link is actually associated with the target resource.", "enum": [ "level1", "level2", "level3", "level4" ], "type": "string" }, "_assurance": { "description": "Extensions for assurance", "$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element" } }, "required": [ "target" ] } ] } } }