OpenMRS FHIR2 Implementation Guide
0.1.0 - ci-build

OpenMRS FHIR2 Implementation Guide - Local Development build (v0.1.0). See the Directory of published versions

Resource Profile: OpenMRS Person

Defining URL:http://fhir.openmrs.org/fhir/StructureDefinition/omrs-person
Version:0.1.0
Name:OMRSPerson
Title:OpenMRS Person
Status:Active as of 2022-11-29 05:06:49+0000
Definition:

A FHIR Person as understood by OpenMRS

Source Resource:XML / JSON / Turtle

The official URL for this profile is:

http://fhir.openmrs.org/fhir/StructureDefinition/omrs-person

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

This structure is derived from Person

Summary

Mandatory: 4 elements
Prohibited: 3 elements

This structure is derived from Person

NameFlagsCard.TypeDescription & Constraintsdoco
.. Person 0..*PersonA generic person record
... id 0..1idLogical id of this artifact
... identifier 0..*IdentifierA human identifier for this person
... name 1..*HumanNameA name associated with the person
... gender 1..1codemale | female | other | unknown
... birthDate 1..1dateThe date on which the person was born
... address 0..*AddressOne or more addresses for the person
... photo 0..0
... managingOrganization 0..0
... active 1..1booleanThis person's record is in active use
Required Pattern: true
... link 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Person 0..*PersonA generic person record
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier 0..*IdentifierA human identifier for this person
... name Σ1..*HumanNameA name associated with the person
... telecom Σ0..*ContactPointA contact detail for the person
... gender Σ1..1codemale | female | other | unknown
Binding: AdministrativeGender (required): The gender of a person used for administrative purposes.

... birthDate Σ1..1dateThe date on which the person was born
... address 0..*AddressOne or more addresses for the person
... active ?!Σ1..1booleanThis person's record is in active use
Required Pattern: true

doco Documentation for this format

This structure is derived from Person

Summary

Mandatory: 4 elements
Prohibited: 3 elements

Differential View

This structure is derived from Person

NameFlagsCard.TypeDescription & Constraintsdoco
.. Person 0..*PersonA generic person record
... id 0..1idLogical id of this artifact
... identifier 0..*IdentifierA human identifier for this person
... name 1..*HumanNameA name associated with the person
... gender 1..1codemale | female | other | unknown
... birthDate 1..1dateThe date on which the person was born
... address 0..*AddressOne or more addresses for the person
... photo 0..0
... managingOrganization 0..0
... active 1..1booleanThis person's record is in active use
Required Pattern: true
... link 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Person 0..*PersonA generic person record
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier 0..*IdentifierA human identifier for this person
... name Σ1..*HumanNameA name associated with the person
... telecom Σ0..*ContactPointA contact detail for the person
... gender Σ1..1codemale | female | other | unknown
Binding: AdministrativeGender (required): The gender of a person used for administrative purposes.

... birthDate Σ1..1dateThe date on which the person was born
... address 0..*AddressOne or more addresses for the person
... active ?!Σ1..1booleanThis person's record is in active use
Required Pattern: true

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet
Person.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
Person.genderrequiredAdministrativeGender
Person.link.assurancerequiredIdentityAssuranceLevel

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()