Have you implemented OpenMRS? Please participate in the Implementation Site Survey. If you already have, thank you!
Child pages
  • Person Resource

Versions Compared

Key

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

...

Code Block
titlePerson
 Integer personId :: [base]/Person/[personId]
 Set<PersonAddress> addresses = null :: Person.address
   Integer personAddressId :: not mapped
   Person person :: not mapped
   Boolean preferred = false :: Patient.address.use ? mapping
   String address1 :: Person.address.line
   String address2 :: Person.address.line
   String address3 :: Person.address.line
   String address4 :: Person.address.line
   String address5 :: Person.address.line
   String address6 :: Person.address.line
   String cityVillage :: Patient.address.city
   String countyDistrict :: Person.address.extension : "http://hl7.org/fhir/Profile/iso-21090#address-part-county", valueString
   String stateProvince :: Person.address.state
   String country :: Person.address.country
   String postalCode :: Person.address.zip
   String latitude :: Person.address.extension -> Location
   String longitude :: Person.address.extension -> Location
   Date startDate :: Person.address.period.start
   Date endDate ::  Person.address.period.end
 Set<PersonName> names = null :: Person.name
 Integer personNameId :: not mapped
   Person person ::  not mapped
   Boolean preferred = false :: Patient.name.use = usual
   String prefix :: Person.name.prefix
   String givenName :: Person.name.given
   String middleName :: Person.name.given
   String familyNamePrefix :: folded into Patent.name.family (else, Patient.name.family with extension http://hl7.org/fhir/Profile/iso-21090#name-qualifer, valueCode = PFX)
   String familyName :: Person.name.family
   String familyName2 :: Person.name.family
   String familyNameSuffix :: Person.name.suffix
   String degree :: Person.name.suffix
 Set<PersonAttribute> attributes = null ::
   integer personAttributeTypeId :: mapping table that defines how attributes map - whether existing elements or extensions
   String value :: depends on mapping
 String gender :: Person.gender (mapped: code = M or code = F, code system is http://hl7.org/fhir/v2/0001)
 Date birthdate :: Person.birthDate
 Boolean birthdateEstimated = false :: Extension if worth mapping
 Boolean deathdateEstimated = false :: Extension if worth mapping
 Boolean dead = false :: if true, and no date, then Patient.deceasedBoolean= true
 Date deathDate :: PatientPerson.deceasedDate
 Concept causeOfDeath :: Patient.extension
 User personCreator :: not mapped (would be in provenance if worth mapping)
 Date personDateCreated :: not mapped (would be in provenance if worth mapping)
 User personChangedBy :: not mapped (would be in provenance if worth mapping)
 Date personDateChanged :: not mapped (would be in provenance if worth mapping)
 Boolean personVoided = false :: if true, Patient.active = false, else Patient.active = true
 User personVoidedBy ::  not mapped (would be in provenance if worth mapping)
 Date personDateVoided ::  not mapped (would be in provenance if worth mapping)
 String personVoidReason :: not mapped (would be in provenance if worth mapping)
 boolean isPatient :: not mapped

...