Current section
Files
Jump to
Current section
Files
priv/schema/Person.schema.json
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://hl7.erp.uno/priv/schema/Person.schema.json",
"$ref": "#/definitions/Person",
"description": "see https://hl7.org/fhir/R5/json.html for information about the FHIR Json Schemas",
"definitions": {
"Person": {
"allOf": [
{
"$ref": "DomainResource.schema.json#/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": "Identifier.schema.json#/definitions/Identifier"
}
},
"name": {
"description": "A name associated with the person.",
"type": "array",
"items": {
"$ref": "HumanName.schema.json#/definitions/HumanName"
}
},
"telecom": {
"description": "A contact detail for the person, e.g. a telephone number or an email address.",
"type": "array",
"items": {
"$ref": "ContactPoint.schema.json#/definitions/ContactPoint"
}
},
"gender": {
"description": "Administrative Gender.",
"enum": [
"male",
"female",
"other",
"unknown"
],
"type": "string"
},
"_gender": {
"description": "Extensions for gender",
"$ref": "Element.schema.json#/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": "Element.schema.json#/definitions/Element"
},
"address": {
"description": "One or more addresses for the person.",
"type": "array",
"items": {
"$ref": "Address.schema.json#/definitions/Address"
}
},
"photo": {
"description": "An image that can be displayed as a thumbnail of the person to enhance the identification of the individual.",
"$ref": "Attachment.schema.json#/definitions/Attachment"
},
"managingOrganization": {
"description": "The organization that is the custodian of the person record.",
"$ref": "Reference.schema.json#/definitions/Reference"
},
"active": {
"description": "Whether this person\u0027s record is in active use.",
"type": "boolean"
},
"_active": {
"description": "Extensions for active",
"$ref": "Element.schema.json#/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.schema.json#/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": "Reference.schema.json#/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": "Element.schema.json#/definitions/Element"
}
},
"required": [
"target"
]
}
]
}
}
}