From a8e901d9c037d5d2f45f6de6c63ef09cbfcd8990 Mon Sep 17 00:00:00 2001 From: Prabhakar Muriki Date: Wed, 25 May 2022 07:29:16 -0700 Subject: [PATCH 1/2] updated schema --- .../profile/healthcare-member.schema.json | 162 +++++++++++++----- 1 file changed, 120 insertions(+), 42 deletions(-) diff --git a/components/fieldgroups/profile/healthcare-member.schema.json b/components/fieldgroups/profile/healthcare-member.schema.json index f96475e516..9328683c88 100644 --- a/components/fieldgroups/profile/healthcare-member.schema.json +++ b/components/fieldgroups/profile/healthcare-member.schema.json @@ -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": { @@ -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", @@ -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." + } } } }, @@ -130,23 +204,27 @@ "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." + } } } }, From de9a6cd29b7d531c3e02b3a5ad03a895d552798e Mon Sep 17 00:00:00 2001 From: Prabhakar Muriki Date: Wed, 25 May 2022 10:42:21 -0700 Subject: [PATCH 2/2] updated member json --- .../profile/healthcare-member.schema.json | 99 +++++++++++++++++++ 1 file changed, 99 insertions(+) diff --git a/components/fieldgroups/profile/healthcare-member.schema.json b/components/fieldgroups/profile/healthcare-member.schema.json index 9328683c88..0c591660ab 100644 --- a/components/fieldgroups/profile/healthcare-member.schema.json +++ b/components/fieldgroups/profile/healthcare-member.schema.json @@ -228,6 +228,11 @@ } } }, + "xdm:dependent": { + "Title": "Dependent", + "type": "integer", + "description": "number issued to each beneficiary." + }, "xdm:beneficiaryRelationship": { "Title": "Beneficiary Relationship", "type": "string", @@ -238,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", @@ -272,6 +282,92 @@ "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." + } + } + } } } } @@ -279,6 +375,9 @@ "allOf": [ { "$ref": "#/definitions/member-details" + }, + { + "$ref": "https://ns.adobe.com/xdm/common/external-source-system-audit-details" } ], "meta:status": "experimental",