This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import torch | |
import json | |
from fhir_types import FHIR_Patient | |
#from fhir.resources.patient import Patient | |
def fhir_patient_to_tensor(fhir_patient_json, fhir_structure_definition_json): | |
# Parse the FHIR Patient resource | |
fhir_patient = FHIR_Patient (json.loads(fhir_patient_json)) | |
# Load the FHIR StructureDefinition |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I am attesting that this GitHub handle fhirfly is linked to the Tezos account tz1bxJDs4YHVfTLBYeoptePQYNxM7iatLQa5 for tzprofiles | |
sig:edsigtny8Zu3C3jpbfYZ3ANvTVAspA5Nfxt1tjba7ycoRWyBShwMTx98dvsLrEjyCYwTiksAbzBuaUUTaKXLadb9qjnEKuC6SoE |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$id": "http://hl7.org/fhir/json-schema/4.6", | |
"description": "see http://hl7.org/fhir/json.html#schema for information about the FHIR Json Schemas", | |
"discriminator": { | |
"propertyName": "resourceType", | |
"mapping": { | |
"Account": "#/definitions/Account", | |
"ActivityDefinition": "#/definitions/ActivityDefinition", | |
"AdministrableProductDefinition": "#/definitions/AdministrableProductDefinition", | |
"AdverseEvent": "#/definitions/AdverseEvent", |