patient-data
Used in No domains specified
for No industries specified
Event Contract reference
strm-demo/patient-data/1.0.3
Schema reference
strm-demo/patient-data/1.0.3
Event contract overview
Type | Field | Value | Description |
---|---|---|---|
Key field | UserId | Links events to the associated field for privacy processing. | |
PII field | Condition | 2 | needs consent |
PII field | UserId | 1 | needs consent |
Validations | none | No validations applied |
Serialization schema fields
Field | Description |
---|---|
UserId | any id for a single user |
FullName | the user full name |
Condition | the user condition as diagnosed |
Medications | . |
Event contract
{
"id": "d753ca59-2805-478e-94ce-07118ea66c4b",
"key_field": "UserId",
"metadata": {
"create_time": "2022-05-18T13:27:47Z"
},
"pii_fields": {
"Condition": 2,
"UserId": 1
},
"ref": {
"handle": "strm-demo",
"name": "patient-data",
"version": "1.0.3"
},
"schema_ref": {
"handle": "strm-demo",
"name": "patient-data",
"version": "1.0.3"
},
"state": "ACTIVE"
}
Serialization schema
{
"type": "record",
"name": "PatientData",
"namespace": "StrmDemo.PatientData.v1_0_3",
"fields": [
{
"name": "strmMeta",
"type": {
"type": "record",
"name": "strmMeta",
"namespace": "StrmDemo.PatientData.v1_0_3.strmmeta",
"fields": [
{
"name": "eventContractRef",
"type": "string"
},
{
"name": "nonce",
"type": [
"null",
"int"
],
"default": null
},
{
"name": "timestamp",
"type": [
"null",
"long"
],
"default": null
},
{
"name": "keyLink",
"type": [
"null",
"string"
],
"default": null
},
{
"name": "billingId",
"type": [
"null",
"string"
],
"default": null
},
{
"name": "consentLevels",
"type": {
"type": "array",
"items": "int"
}
}
]
}
},
{
"name": "UserId",
"type": "string",
"doc": "any id for a single user"
},
{
"name": "FullName",
"type": [
"null",
"string"
],
"doc": "the user full name",
"default": null
},
{
"name": "Condition",
"type": [
"null",
"string"
],
"doc": "the user condition as diagnosed",
"default": null
},
{
"name": "Medications",
"type": {
"type": "array",
"items": [
"null",
{
"type": "record",
"name": "Medications",
"namespace": "StrmDemo.PatientData.v1_0_3.medications",
"fields": [
{
"name": "MedicationType",
"type": [
"null",
"int"
],
"default": null
},
{
"name": "MedicationDose",
"type": [
"null",
"float"
],
"default": null
}
]
}
]
}
}
]
}