HIV Case Reporting and Monitoring
0.2.0 - CI Build

HIV Case Reporting and Monitoring - Local Development build (v0.2.0). See the Directory of published versions

Resource Profile: HIV Related Person

Official URL: http://openhie.org/fhir/hiv-casereporting/StructureDefinition/hiv-related-person Version: 0.2.0
Active as of 2022-10-06 Responsible: OpenHIE Realm: International flag Computable Name: HIVRelatedPerson

HIV Related Person

Usage:

Formal Views of Profile Content

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

This structure is derived from RelatedPerson

Summary

Mandatory: 1 element
Must-Support: 1 element

This structure is derived from RelatedPerson

This structure is derived from RelatedPerson

Summary

Mandatory: 1 element
Must-Support: 1 element

Differential View

This structure is derived from RelatedPerson

Snapshot View

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet
RelatedPerson.languagepreferredCommonLanguages
Max Binding: AllLanguages
RelatedPerson.relationshippreferredPatientRelationshipType
RelatedPerson.genderrequiredAdministrativeGender
RelatedPerson.communication.languagepreferredCommonLanguages
Max Binding: AllLanguages

Constraints

IdGradePathDetailsRequirements
dom-2errorRelatedPersonIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorRelatedPersonIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorRelatedPersonIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorRelatedPersonIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6Best PracticeRelatedPersonA resource should have narrative for robust management
: text.`div`.exists()
ele-1errorRelatedPerson.metaAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorRelatedPerson.implicitRulesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorRelatedPerson.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorRelatedPerson.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorRelatedPerson.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorRelatedPerson.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorRelatedPerson.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorRelatedPerson.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorRelatedPerson.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorRelatedPerson.activeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorRelatedPerson.patientAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorRelatedPerson.relationshipAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorRelatedPerson.nameAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorRelatedPerson.telecomAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorRelatedPerson.genderAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorRelatedPerson.birthDateAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorRelatedPerson.addressAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorRelatedPerson.photoAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorRelatedPerson.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorRelatedPerson.communicationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorRelatedPerson.communication.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorRelatedPerson.communication.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorRelatedPerson.communication.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorRelatedPerson.communication.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorRelatedPerson.communication.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorRelatedPerson.communication.preferredAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())