Expanded Examples

   

Diabetes type - expanded FHIR

Condition Diabetes :

Example : Below are expanded samples for diabetes type such as Type 1, Type 2, Gestational, Other.

Note: Comments are provided in green in the JSON below

Diabetes mellitus type 1 :


{
    "resourceType": "Condition",
    "id": "abdca832-a616-454b-b5c7-f1ed1fb4ght", //To be managed by FHIRSTACK 
    "meta": { //To be updated by facade - FHIR profile for condition resource     
	"profile":  [
            "http://roche.com/fhir/rdc/StructureDefinition/condition"
        ]
    },
    "extension":  [
        {
            "url": "http://roche.com/fhir/rdc/StructureDefinition/provenance-channel",
            "valueString": "<channel value>" //To be added by facade - fill channel data
        },
        {
            "url": "http://roche.com/fhir/rdc/StructureDefinition/provenance-source",
            "valueString": "<source value>" //To be added by facade - fill source data
        }
    ],
    "identifier":  [
        {
            "system": "http://roche.com/fhir/rdc/sid/condition/confidence",
            "value": "<unique-condition-id>" //retain same identifier received from Confidence reduced FHIR
        }
    ],
    "clinicalStatus": "active",  //retain same status received from confidence in reduced format
    "code": {
        "coding":  [  // To be added by facade - system, code and display when medicationCodeableConcept.text "Type 1" is received in the reduced FHIR
            {
                "system": "http://snomed.info/sct",
                "code": "46635009",
                "display": "Diabetes mellitus type 1 (disorder)"
            }
        ],
		"text": "Type 1" //To be retained as is from the reduced format so that on restore it can be sent back
    },
    "subject": {
        "reference": "Patient/abdca832-a616-454b-b5c7-f1ed1fb45d4e" //To be added by facade - patient link
    },
    "onsetDateTime": "2021-09-13T10:25:43.511Z" //Retain same value from Confidence reduced FHIR
}

Diabetes mellitus type 2 :

{
    "resourceType": "Condition",
    "id": "2e7c3047-9866-4a8d-baab-4f403d540d89", //To be managed by FHIRSTACK 
    "meta": { //To be updated by facade - FHIR profile for condition resource     
	"profile":  [
            "http://roche.com/fhir/rdc/StructureDefinition/condition"
        ]
    },
    "extension":  [
        {
            "url": "http://roche.com/fhir/rdc/StructureDefinition/provenance-channel",
            "valueString": "<channel value>" //To be added by facade - fill channel data
        },
        {
            "url": "http://roche.com/fhir/rdc/StructureDefinition/provenance-source",
            "valueString": "<source value>" //To be added by facade - fill source data
        }
    ],
    "identifier":  [
        {
            "system": "http://roche.com/fhir/rdc/sid/condition/confidence`",
            "value": "<unique-condition-id>" //retain same identifier received from Confidence reduced FHIR
        }
    ],
    "clinicalStatus": "active",  //retain same status received from confidence in reduced format
    "code": {
        "coding":  [  // To be added by facade - system, code and display when medicationCodeableConcept.text "Type 2" is received in the reduced FHIR
            {
                "system": "http://snomed.info/sct",
                "code": "44054006",
                "display": "Diabetes mellitus type 2 (disorder)"
            }
        ],
		"text": "Type 2" //To be retained as is from the reduced format so that on restore it can be sent back
    },
    "subject": {
        "reference": "Patient/abdca832-a616-454b-b5c7-f1ed1fb45d4e" //To be added by facade - patient link
    },
    "onsetDateTime": "2021-09-13T10:25:43.511Z" //Retain same value from Confidence reduced FHIR
}

Gestational diabetes mellitus :

{
    "resourceType": "Condition",
    "id": "c0f3b0a2-6921-4566-9d22-f600f273fe97", //To be managed by FHIRSTACK 
    "meta": { //To be updated by facade - FHIR profile for condition resource     
	"profile":  [
            "http://roche.com/fhir/rdc/StructureDefinition/condition"
        ]
    },
    "extension":  [
        {
            "url": "http://roche.com/fhir/rdc/StructureDefinition/provenance-channel",
            "valueString": "<channel value>" //To be added by facade - fill channel data
        },
        {
            "url": "http://roche.com/fhir/rdc/StructureDefinition/provenance-source",
            "valueString": "<source value>" //To be added by facade - fill source data
        }
    ],
    "identifier":  [
        {
            "system": "http://roche.com/fhir/rdc/sid/condition/confidence`",
            "value": "<unique-condition-id>" //retain same identifier received from Confidence reduced FHIR
        }
    ],
    "clinicalStatus": "active",  //retain same status received from confidence in reduced format
    "code": {
        "coding":  [  // To be added by facade - system, code and display when medicationCodeableConcept.text "Gestational" is received in the reduced FHIR
            {
                "system": "http://snomed.info/sct",
                "code": "11687002",
                "display": "Gestational diabetes mellitus (disorder)"
            }
        ],
		"text": "Gestational" //To be retained as is from the reduced format so that on restore it can be sent back
    },
    "subject": {
        "reference": "Patient/abdca832-a616-454b-b5c7-f1ed1fb45d4e" //To be added by facade - patient link
    },
    "onsetDateTime": "2021-09-13T10:25:43.511Z" //Retain same value from Confidence reduced FHIR
}

Other :

{
    "resourceType": "Condition",
    "id": "3e2ba2c1-4189-4d62-a76b-c77b01219488", //To be managed by FHIRSTACK 
    "meta": { //To be updated by facade - FHIR profile for condition resource     
	"profile":  [
            "http://roche.com/fhir/rdc/StructureDefinition/condition"
        ]
    },
    "extension":  [
        {
            "url": "http://roche.com/fhir/rdc/StructureDefinition/provenance-channel",
            "valueString": "<channel value>" //To be added by facade - fill channel data
        },
        {
            "url": "http://roche.com/fhir/rdc/StructureDefinition/provenance-source",
            "valueString": "<source value>" //To be added by facade - fill source data
        }
    ],
    "identifier":  [
        {
            "system": "http://roche.com/fhir/rdc/sid/condition/confidence`",
            "value": "<unique-condition-id>" //retain same identifier received from Confidence reduced FHIR
        }
    ],
    "clinicalStatus": "active",  //retain same status received from confidence in reduced format
    "code": {
        "coding":  [  // To be added by facade - system, code and display when medicationCodeableConcept.text "other" is received in the reduced FHIR
            {
                "system": "http://snomed.info/sct",
                "code": "73211009",
                "display": "Diabetes mellitus (disorder)"
            }
        ],
		"text": "other" //To be retained as is from the reduced format so that on restore it can be sent back
    },
    "subject": {
        "reference": "Patient/abdca832-a616-454b-b5c7-f1ed1fb45d4e" //To be added by facade - patient link
    },
    "onsetDateTime": "2021-09-13T10:25:43.511Z" //Retain same value from Confidence reduced FHIR
}

Therapy type - expanded FHIR

Below are possible use case values for therapy type

Data Point Value unit comment
TherapyType BASAL - Basal Insulin String BASAL - Basal Insulin
MDI - Multiple Daily Injections (Basal/Bolus)
CSII - Continuous Subcutaneous Insulin Infusion
NII - Non-insulin injectables
BOT - Basal Oral Therapy
Other
CT (Premixed insulin)
OAD - Oral Antidiabetics Drugs
AID - Automated insulin delivery
FRC - Fixed-ratio combination of basal insulin and non-insulin injectable
LIFESTYLE - Lifestyle, diet and exercise intervention

Note: AID, FRC, LIFESTYLE are some Therapy type that can be considered from platform in above table.
Comments are provided in green in the JSON below

Example : BASAL - Basal Insulin:

{
	"resourceType": "CarePlan", //FHIR resource type
	"id": "7fa36838-6730-44ae-aaba-fffc4c5551f5",
	"meta": { //Should be sent by Confidence saying which profile the below resource conforms to. 
		"profile": [
			"http://roche.com/fhir/rdc/StructureDefinition/patient-personal-advance-careplan"
		]
	},
	"identifier": [
		{
			"system": "http://roche.com/fhir/rdc/sid/careplan/confidence", //always same for resourceType careplan
			"value": "<unique-careplan-id>" // Unique identifier from confidence as received from reduced
		}
	],
	"extension": [
		{
			"url": "http://roche.com/fhir/rdc/StructureDefinition/careplan-therapy-type",
			"valueCodeableConcept": {
				"coding": [
					{
						"system": "http://roche.com/fhir/rdc/cs",
						"code": "BASAL",
						"display": "Basal Insulin ONLY"
					}
				],
				"text": "BASAL - Basal Insulin" //To be retained as is from the reduced format so that on restore it can be sent back
			}
		},
		{
            "url": "http://roche.com/fhir/rdc/StructureDefinition/provenance-channel",
            "valueString": "<channel value>" //To be added by facade - fill channel data
        },
        {
            "url": "http://roche.com/fhir/rdc/StructureDefinition/provenance-source",
            "valueString": "<source value>" //To be added by facade - fill source data
        }
	],
	"basedOn": [
		{
			"reference": "CarePlan/id-dm-careplan", //To be added by facade - based on identifier value of careplan resource 
			"identifier": {
				"value": "cf-dmcp-001" // Unique identifier for related dm-careplan
			}
		}
	],
	"partOf": [
		{
			"reference": "CarePlan/id-dm-careplan", //To be added by facade - based on identifier value of careplan resource 
			"identifier": {
				"value": "cf-dmcp-001" // Unique identifier for related dm-careplan
			}
		}
	],
	"status": "active", //Status will be 'active' for careplan
	"intent": "plan", //intent will be 'plan' for careplan
	"category": [  //To be added by facade - category will be Patient Personal advance care plan
		{
			"coding": [
				{
					"system": "http://loinc.org",
					"code": "81334-5",
					"display": "Patient Personal advance care plan"
				}
			]
		}
	],
	"title": "Patient Personal advance care plan", //title will be 'Patient Personal advance care plan' for careplan-target-ranges
	"subject": {
		"reference": "Patient/14435e70-25d8-4db4-8941-9a191735b31e" // This value will be overwritten by the FHIR Server to put the fhir id of the user sending data from auth header
	}
}