Skip to content

Commit

Permalink
Merge pull request adobe#1543 from adobe/hcmodels
Browse files Browse the repository at this point in the history
health care member schema
  • Loading branch information
prabhum2 authored May 25, 2022
2 parents 5803ae0 + c171527 commit 8fa594b
Showing 1 changed file with 219 additions and 42 deletions.
261 changes: 219 additions & 42 deletions components/fieldgroups/profile/healthcare-member.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
},
"xdm:name": {
"Title": "Member Name",
"description": "Member's full name.",
"$ref": "https://ns.adobe.com/xdm/context/person-name"
},
"xdm:memberAddress": {
Expand Down Expand Up @@ -64,12 +65,81 @@
},
"xdm:phoneNumber": {
"Title": "Phone Number",
"description": "Member's phone number.",
"$ref": "https://ns.adobe.com/xdm/context/phonenumber"
},
"xdm:memberDetails": {
"Title": "Member Details",
"$ref": "https://ns.adobe.com/xdm/context/person",
"description": "An individual patient/member additional details."
"description": "Member's additional details.",
"type": "object",
"properties": {
"xdm:birthDate": {
"title": "Birth date(YYYY-MM-DD)",
"type": "string",
"format": "date",
"description": "The full date a person was born."
},
"xdm:gender": {
"title": "Gender",
"type": "string",
"enum": ["male", "female", "not_specified", "non_specific"],
"meta:enum": {
"male": "Male",
"female": "Female",
"not_specified": "Not Specified",
"non_specific": "Non-specific"
},
"description": "Gender identity of the person.\n",
"default": "not_specified"
},
"xdm:maritalStatus": {
"title": "Marital Status",
"type": "string",
"enum": [
"married",
"single",
"divorced",
"widowed",
"not_specified"
],
"meta:enum": {
"married": "Married",
"single": "Single",
"divorced": "Divorced",
"widowed": "Widowed",
"not_specified": "Not Specified"
},
"description": "Describes a person's relationship with a significant other.",
"default": "not_specified"
},
"xdm:nationality": {
"title": "Nationality",
"type": "string",
"pattern": "^[A-Z]{2}$",
"description": "The legal relationship between a person and their state represented using the ISO 3166-1 Alpha-2 code."
},
"xdm:dateAgeCollected": {
"Title": "Date Age Collected",
"type": "string",
"format": "date-time",
"description": "Date when date of birth information collected."
},
"xdm:multipleBirth": {
"type": "object",
"properties": {
"xdm:isMultipleBirth ": {
"Title": "Is Multiple Birth",
"type": "boolean",
"description": "Boolean flag to indicate if the member had a multiple birth."
},
"xdm:multipleBirthNumber": {
"Title": "Multiple Birth Number",
"type": "integer",
"description": "Number of babies born if multiple birth is true."
}
}
}
}
},
"xdm:emailAddress": {
"Title": "Email Address",
Expand All @@ -83,29 +153,33 @@
}
},
"xdm:primaryCarePhysician ": {
"type": "object",
"properties": {
"xdm:ID ": {
"Title": "ID",
"type": "string",
"description": "Primary Care Physician unique identifier."
},
"xdm:name": {
"Title": "Primary Care Physician Name",
"type": "string",
"description": "Primary Care Physician Name."
},
"xdm:startDate": {
"Title": "Start Date",
"type": "string",
"format": "date-time",
"description": "Primary Care Physician start date."
},
"xdm:endDate": {
"Title": "End Date",
"type": "string",
"format": "date-time",
"description": "Primary Care Physician end date."
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"xdm:ID ": {
"Title": "ID",
"type": "string",
"description": "Primary Care Physician unique identifier."
},
"xdm:name": {
"Title": "Primary Care Physician Name",
"type": "string",
"description": "Primary Care Physician Name."
},
"xdm:startDate": {
"Title": "Start Date",
"type": "string",
"format": "date-time",
"description": "Primary Care Physician start date."
},
"xdm:endDate": {
"Title": "End Date",
"type": "string",
"format": "date-time",
"description": "Primary Care Physician end date."
}
}
}
},
Expand All @@ -130,26 +204,35 @@
"description": "Patient prefered day and time avaiability for an appointment."
},
"xdm:Medication": {
"type": "object",
"properties": {
"xdm:medicationID": {
"Title": "Medication Id",
"type": "string",
"description": "Medication unique identifier."
},
"xdm:medicationDate": {
"Title": "Medication Date",
"type": "string",
"format": "date-time",
"description": "Medication Date."
},
"xdm:isCurrent": {
"Title": "Is Current",
"type": "boolean",
"description": "Boolean flag indicates if this medication is current or previous."
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"xdm:medicationID": {
"Title": "Medication Id",
"type": "string",
"description": "Medication unique identifier."
},
"xdm:medicationDate": {
"Title": "Medication Date",
"type": "string",
"format": "date-time",
"description": "Medication Date."
},
"xdm:isCurrent": {
"Title": "Is Current",
"type": "boolean",
"description": "Boolean flag indicates if this medication is current or previous."
}
}
}
},
"xdm:dependent": {
"Title": "Dependent",
"type": "integer",
"description": "number issued to each beneficiary."
},
"xdm:beneficiaryRelationship": {
"Title": "Beneficiary Relationship",
"type": "string",
Expand All @@ -160,6 +243,11 @@
"type": "string",
"description": "Unique Identifier of the primary subscriber if the member is dependent."
},
"xdm:billingAccountID": {
"Title": "Billing Account ID",
"type": "string",
"description": "Unique Identifier of the billing account."
},
"xdm:specialist": {
"Title": "Specialist",
"type": "array",
Expand Down Expand Up @@ -194,13 +282,102 @@
"Title": "Is Opportunity",
"type": "boolean",
"description": "Boolean flag indicates if this this member is a opportunity."
},
"xdm:plan": {
"Title": "Member Plan",
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"xdm:ID": {
"Title": "ID",
"type": "string",
"description": "Plan ID unique identifier."
},
"xdm:coverageType": {
"Title": "Coverage Type",
"type": "string",
"enum": ["Medical", "Dental", "Vision", "Accident"],
"meta:enum": {
"Medical": "Medical",
"Dental": "Dental",
"Vision": "Vision",
"Accident": "Accident"
},
"description": "Member plan coverage type."
},
"xdm:payerID": {
"Title": "Payer ID",
"type": "string",
"description": "Payer unique identifier."
},
"xdm:contractID": {
"Title": "Contract ID",
"type": "string",
"description": "Unique identifier of the contract that is signed by the member."
},
"xdm:ownerID": {
"Title": "Owner ID",
"type": "string",
"description": "Unique identifier of the Owner of the policy which could be owned by an individual , group or an organization."
},
"xdm:isActive": {
"Title": "Is Active",
"type": "boolean",
"description": "Boolean flag indicates whether the plan is active."
},
"xdm:network": {
"Title": "Network",
"type": "string",
"description": "The insurer-specific identifier for the insurer-defined network of providers to which the beneficiary may seek treatment which will be covered at the 'in-network' rate, otherwise 'out of network' term."
},
"xdm:affiliation": {
"Title": "Affiliation",
"type": "string",
"description": "An affiliation to a government service, such as the army or navy.."
},
"xdm:coverageStartDate": {
"Title": "Coverage Start Date",
"type": "string",
"format": "date-time",
"description": "Coverage start date."
},
"xdm:coverageEndDate": {
"Title": "Coverage End Date",
"type": "string",
"format": "date-time",
"description": "Coverage end date."
},
"xdm:lastVerification": {
"Title": "Last Verification Date",
"type": "string",
"format": "date-time",
"description": "The date on which this plan was last verified."
},
"xdm:planType": {
"Title": "Plan Type",
"type": "string",
"enum": ["primary", "secondary", "tertiary"],
"meta:enum": {
"primary": "primary",
"secondary": "secondary",
"tertiary": "tertiary"
},
"description": "This indicates if the plan is primary,secondary or tertiary plan."
}
}
}
}
}
}
},
"allOf": [
{
"$ref": "#/definitions/member-details"
},
{
"$ref": "https://ns.adobe.com/xdm/common/external-source-system-audit-details"
}
],
"meta:status": "experimental",
Expand Down

0 comments on commit 8fa594b

Please sign in to comment.