PackagesCanonicalsLogsProblems
    Packages
    flc.fhir.base@0.2.4
    http://canonical.fhir.link/flc/base/StructureDefinition/flc-source-patient
{
  "description": "This logical model defines the Patient source structure for test with FLC.",
  "_filename": "StructureDefinition-flc-source-patient.json",
  "package_name": "flc.fhir.base",
  "date": "2025-11-26T09:01:54+00:00",
  "derivation": "specialization",
  "publisher": "Service Well AB",
  "fhirVersion": "4.0.1",
  "name": "FLCSourcePatient",
  "mapping": [ {
    "uri": "http://hl7.org/fhir/StructureDefinition/Patient",
    "name": "FHIR Patient",
    "identity": "patient"
  } ],
  "abstract": false,
  "type": "http://canonical.fhir.link/flc/base/StructureDefinition/flc-source-patient",
  "experimental": "true",
  "resourceType": "StructureDefinition",
  "title": "FLC Source Patient",
  "package_version": "0.2.4",
  "snapshot": {
    "element": [ {
      "path": "flc-source-patient",
      "min": 0,
      "definition": "This logical model defines the Patient source structure for test with FLC.",
      "isModifier": false,
      "short": "FLC Source Patient",
      "mapping": [ {
        "map": "Patient",
        "identity": "patient"
      } ],
      "max": "*",
      "id": "flc-source-patient",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Base"
      }
    }, {
      "path": "flc-source-patient.PatientId",
      "min": 1,
      "definition": "PatientId",
      "short": "PatientId",
      "mapping": [ {
        "map": "identifier.where(system='http://fhir.purified.link/example/identifierSystem/ehr-source-system-demo').value",
        "identity": "patient"
      } ],
      "type": [ {
        "code": "integer"
      } ],
      "max": "1",
      "id": "flc-source-patient.PatientId",
      "base": {
        "max": "1",
        "min": 1,
        "path": "flc-source-patient.PatientId"
      }
    }, {
      "path": "flc-source-patient.MRN",
      "min": 1,
      "definition": "Name",
      "short": "Name",
      "mapping": [ {
        "map": "identifier.where(system='urn:oid:2.16.840.1.113883.19.5' and type.coding(http://terminology.hl7.org/CodeSystem/v2-0203|MR')).value",
        "identity": "patient"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "flc-source-patient.MRN",
      "base": {
        "max": "1",
        "min": 1,
        "path": "flc-source-patient.MRN"
      }
    }, {
      "path": "flc-source-patient.FirstName",
      "min": 1,
      "definition": "FirstName",
      "short": "FirstName",
      "mapping": [ {
        "map": "name[0].given",
        "identity": "patient"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "flc-source-patient.FirstName",
      "base": {
        "max": "1",
        "min": 1,
        "path": "flc-source-patient.FirstName"
      }
    }, {
      "path": "flc-source-patient.LastName",
      "min": 1,
      "definition": "LastName",
      "short": "LastName",
      "mapping": [ {
        "map": "name[0].family",
        "identity": "patient"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "flc-source-patient.LastName",
      "base": {
        "max": "1",
        "min": 1,
        "path": "flc-source-patient.LastName"
      }
    }, {
      "path": "flc-source-patient.PhoneNumber",
      "min": 0,
      "definition": "PhoneNumber",
      "short": "PhoneNumber",
      "mapping": [ {
        "map": "telecom.where(system='phone').value",
        "identity": "patient"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "*",
      "id": "flc-source-patient.PhoneNumber",
      "base": {
        "max": "*",
        "min": 0,
        "path": "flc-source-patient.PhoneNumber"
      }
    }, {
      "path": "flc-source-patient.Gender",
      "min": 1,
      "definition": "Gender",
      "short": "Gender",
      "mapping": [ {
        "map": "gender (map via ConceptMap GenderExampleMap)",
        "identity": "patient"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "flc-source-patient.Gender",
      "base": {
        "max": "1",
        "min": 1,
        "path": "flc-source-patient.Gender"
      }
    }, {
      "path": "flc-source-patient.DOB",
      "min": 1,
      "definition": "DOB",
      "short": "DOB",
      "mapping": [ {
        "map": "birthDate",
        "identity": "patient"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "flc-source-patient.DOB",
      "base": {
        "max": "1",
        "min": 1,
        "path": "flc-source-patient.DOB"
      }
    }, {
      "path": "flc-source-patient.TimeOfDeath",
      "min": 1,
      "definition": "TimeOfDeath",
      "short": "TimeOfDeath",
      "mapping": [ {
        "map": "deceasedDateTime",
        "identity": "patient"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "max": "1",
      "id": "flc-source-patient.TimeOfDeath",
      "base": {
        "max": "1",
        "min": 1,
        "path": "flc-source-patient.TimeOfDeath"
      }
    }, {
      "path": "flc-source-patient.Email",
      "min": 0,
      "definition": "Email",
      "short": "Email",
      "mapping": [ {
        "map": "telecom.where(system='email').value",
        "identity": "patient"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "flc-source-patient.Email",
      "base": {
        "max": "1",
        "min": 0,
        "path": "flc-source-patient.Email"
      }
    } ],
    "extension": [ {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
      "valueString": "4.0.1"
    } ]
  },
  "status": "draft",
  "id": "79aef673-45f2-430b-881f-b06476902391",
  "kind": "logical",
  "url": "http://canonical.fhir.link/flc/base/StructureDefinition/flc-source-patient",
  "version": "0.2.4",
  "differential": {
    "element": [ {
      "id": "flc-source-patient",
      "path": "flc-source-patient",
      "short": "FLC Source Patient",
      "mapping": [ {
        "map": "Patient",
        "identity": "patient"
      } ],
      "definition": "This logical model defines the Patient source structure for test with FLC."
    }, {
      "id": "flc-source-patient.PatientId",
      "max": "1",
      "min": 1,
      "path": "flc-source-patient.PatientId",
      "type": [ {
        "code": "integer"
      } ],
      "short": "PatientId",
      "mapping": [ {
        "map": "identifier.where(system='http://fhir.purified.link/example/identifierSystem/ehr-source-system-demo').value",
        "identity": "patient"
      } ],
      "definition": "PatientId"
    }, {
      "id": "flc-source-patient.MRN",
      "max": "1",
      "min": 1,
      "path": "flc-source-patient.MRN",
      "type": [ {
        "code": "string"
      } ],
      "short": "Name",
      "mapping": [ {
        "map": "identifier.where(system='urn:oid:2.16.840.1.113883.19.5' and type.coding(http://terminology.hl7.org/CodeSystem/v2-0203|MR')).value",
        "identity": "patient"
      } ],
      "definition": "Name"
    }, {
      "id": "flc-source-patient.FirstName",
      "max": "1",
      "min": 1,
      "path": "flc-source-patient.FirstName",
      "type": [ {
        "code": "string"
      } ],
      "short": "FirstName",
      "mapping": [ {
        "map": "name[0].given",
        "identity": "patient"
      } ],
      "definition": "FirstName"
    }, {
      "id": "flc-source-patient.LastName",
      "max": "1",
      "min": 1,
      "path": "flc-source-patient.LastName",
      "type": [ {
        "code": "string"
      } ],
      "short": "LastName",
      "mapping": [ {
        "map": "name[0].family",
        "identity": "patient"
      } ],
      "definition": "LastName"
    }, {
      "id": "flc-source-patient.PhoneNumber",
      "max": "*",
      "min": 0,
      "path": "flc-source-patient.PhoneNumber",
      "type": [ {
        "code": "string"
      } ],
      "short": "PhoneNumber",
      "mapping": [ {
        "map": "telecom.where(system='phone').value",
        "identity": "patient"
      } ],
      "definition": "PhoneNumber"
    }, {
      "id": "flc-source-patient.Gender",
      "max": "1",
      "min": 1,
      "path": "flc-source-patient.Gender",
      "type": [ {
        "code": "string"
      } ],
      "short": "Gender",
      "mapping": [ {
        "map": "gender (map via ConceptMap GenderExampleMap)",
        "identity": "patient"
      } ],
      "definition": "Gender"
    }, {
      "id": "flc-source-patient.DOB",
      "max": "1",
      "min": 1,
      "path": "flc-source-patient.DOB",
      "type": [ {
        "code": "string"
      } ],
      "short": "DOB",
      "mapping": [ {
        "map": "birthDate",
        "identity": "patient"
      } ],
      "definition": "DOB"
    }, {
      "id": "flc-source-patient.TimeOfDeath",
      "max": "1",
      "min": 1,
      "path": "flc-source-patient.TimeOfDeath",
      "type": [ {
        "code": "dateTime"
      } ],
      "short": "TimeOfDeath",
      "mapping": [ {
        "map": "deceasedDateTime",
        "identity": "patient"
      } ],
      "definition": "TimeOfDeath"
    }, {
      "id": "flc-source-patient.Email",
      "max": "1",
      "min": 0,
      "path": "flc-source-patient.Email",
      "type": [ {
        "code": "string"
      } ],
      "short": "Email",
      "mapping": [ {
        "map": "telecom.where(system='email').value",
        "identity": "patient"
      } ],
      "definition": "Email"
    } ]
  },
  "contact": [ {
    "name": "Service Well AB",
    "telecom": [ {
      "value": "https://servicewell.se",
      "system": "url"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base"
}