Schema
{
"id": "demographics",
"type": "object",
"properties": {
"name": {
"$ref": "cda_name"
},
"dob": {
"$ref": "cda_date"
},
"gender": {
"$ref": "cda_coded_entry"
},
"identifiers": {
"type": "array",
"minItems": 1,
"items": {
"$ref": "cda_id"
}
},
"marital_status": {
"$ref": "cda_coded_entry"
},
"addresses": {
"type": "array",
"items": {
"$ref": "cda_address"
},
"minItems": 1
},
"phone": {
"type": "array",
"items": {
"$ref": "cda_phone"
}
},
"email": {
"type": "array",
"items": {
"$ref": "cda_email"
}
},
"race": {
"$ref": "cda_coded_entry"
},
"ethnicity": {
"$ref": "cda_coded_entry"
},
"religion": {
"$ref": "cda_coded_entry"
},
"birthplace": {
"type": "object",
"properties": {
"city": {
"type": "string"
},
"country": {
"type": "string"
},
"state": {
"type": "string"
},
"zip": {
"type": "string"
},
"use": {
"type": "string"
}
},
"additionalProperties": false,
"minProperties": 1,
"required": [
"city",
"country"
]
},
"guardians": {
"type": "array",
"items": {
"type": "object",
"properties": {
"addresses": {
"type": "array",
"items": {
"$ref": "cda_address"
}
},
"names": {
"type": "array",
"items": {
"$ref": "cda_name"
}
},
"phone": {
"type": "array",
"items": {
"$ref": "cda_phone"
}
},
"relation": {
"$ref": "cda_coded_entry"
}
},
"required": [
"names"
],
"additionalProperties": false,
"minProperties": 1
},
"minItems": 1
},
"languages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"language": {
"$ref": "cda_coded_entry"
},
"mode": {
"$ref": "cda_coded_entry"
},
"preferred": {
"type": "boolean"
},
"proficiency": {
"$ref": "cda_coded_entry"
}
},
"additionalProperties": false,
"required": [
"language"
]
},
"minItems": 1
}
},
"additionalProperties": false,
"required": [
"name"
]
}
Example (demographics)
{
"name": {
"middle": [
"Isa"
],
"last": "Jones",
"first": "Isabella"
},
"dob": {
"point": {
"date": "1975-05-01T00:00:00.000Z",
"precision": "day"
}
},
"gender": {
"name": "Female",
"code": "F",
"code_system_name": "HL7 AdministrativeGender"
},
"identifiers": [
{
"identifier": "2.16.840.1.113883.19.5.99999.2",
"extension": "998991"
},
{
"identifier": "2.16.840.1.113883.4.1",
"extension": "111-00-2330"
}
],
"marital_status": {
"name": "Married",
"code": "M",
"code_system_name": "HL7 Marital Status"
},
"addresses": [
{
"street_lines": [
"1357 Amber Drive"
],
"city": "Beaverton",
"state": "OR",
"zip": "97867",
"country": "US",
"use": "primary home"
}
],
"phone": [
{
"number": "(816)276-6909",
"type": "primary home"
}
],
"race": {
"name": "White",
"code": "2106-3",
"code_system_name": "Race and Ethnicity - CDC"
},
"ethnicity": {
"name": "Not Hispanic or Latino",
"code": "2186-5",
"code_system_name": "Race and Ethnicity - CDC"
},
"languages": [
{
"language": {
"code": "en"
},
"preferred": true,
"mode": {
"name": "Expressed spoken",
"code": "ESP",
"code_system_name": "LanguageAbilityMode"
},
"proficiency": {
"name": "Good",
"code": "G",
"code_system_name": "LanguageAbilityProficiency"
}
}
],
"religion": {
"name": "Christian (non-Catholic, non-specific)",
"code": "1013",
"code_system_name": "HL7 Religious Affiliation"
},
"birthplace": {
"city": "Beaverton",
"state": "OR",
"zip": "97867",
"country": "US"
},
"guardians": [
{
"relation": {
"name": "Parent",
"code": "PRN",
"code_system_name": "HL7 Role"
},
"addresses": [
{
"street_lines": [
"1357 Amber Drive"
],
"city": "Beaverton",
"state": "OR",
"zip": "97867",
"country": "US",
"use": "primary home"
}
],
"names": [
{
"last": "Jones",
"first": "Ralph"
}
],
"phone": [
{
"number": "(816)276-6909",
"type": "primary home"
}
]
}
]
}