Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

http://fhir.patientsknowbest.com/structuredefinition/aggregated-patient

...

Relevant PKB entities

FHIR

PKB

Notes

Resource id

[[Patient.Aggregated ID]]

 

Resource meta

 

Patient.extension

Patient.identifier

For each [[National ID]]:

  • identifier[x]: Identifier

    • system = [[National ID->National ID Type.FHIR Identifier System]]

    • value = [[National ID.Value]]

For each [[Organisation Level ID]]:

  • identifier[x]: Identifier

    • type: CodeableConcept

      • text = “Org level identifier”

    • system = “urn:uuid:” + [[Organisation Level ID->Organisation Level ID Type.Public ID]]

    • value = [[Organisation Level ID.Value]]

    • assigner: Reference

      • reference = the relative URL of the Organization resource

For each [[Team Level ID]]:

  • identifier[x]: Identifier

    • type: CodeableConcept

      • text = “Team level identifier”

    • system = “urn:uuid:” + [[Team Level ID->Team Level ID Type.Public ID]]

    • value = [[Team Level ID.Value]]

    • assigner: Reference

      • reference = the relative URL of the Organization resource

Patient.name

  • name: HumanName

    • family = [[Patient.Family Name]]

    • given[x] = [[Patient.Given Name]]

    • given[x] = [[Patient.Middle Names]]

    • prefix = [[Patient.Title]]

 

Patient.telecom

  • telecom[x]: ContactPoint

    • system = “phone”

    • value = [[Patient.Phone]]

For each [[Patient.Contact]] where Type == EMAIL_ADDRESS:

  • telecom[x]: ContactPoint

    • system = “email”

    • value = [[Patient.Contact.Value]]

Patient.gender

[[Patient.Gender]]

[[Patient.Gender]] code mappings (PKB → FHIR):

UNKNOWN → unknown

MALE → male

FEMALE → female

INDETERMINATE → other

Patient.birthDate

[[Patient.Date of Birth]]

Patient.deceased[x]

<conditional>

If the patient is recorded as dead and a death timestamp has been recorded:

  • deceasedDateTime = [[Patient.Death Timestamp]]

Else if the patient is recorded as dead but a death timestamp has not been recorded:

  • deceasedBoolean = true

Patient.address

  • address: Address

    • line[x] = [[Patient.Address Line 1]]

    • line[x] = [[Patient.Address Line 2]]

    • city = [[Patient.City]]

    • state = [[Patient.State]]

    • postalCode = [[Patient.Postal Code]]

    • country = [[Patient.Country]]