iHRIS Relationship
0.2.0 - CI Build

Publish Box goes here

Resource Profile: iHRIS Resources Relationship Profile

Defining URL:https://intrahealth.github.io/ihris-relationship/StructureDefinition/ihris-relationship
Version:0.2.0
Name:IhrisRelationship
Title:iHRIS Resources Relationship Profile
Status:Active as of 2021-04-15T19:36:06+00:00
Definition:

iHRIS Resources Relationship Profile

Publisher:IntraHealth International
Source Resource:XML / JSON / Turtle

The official URL for this profile is:

https://intrahealth.github.io/ihris-relationship/StructureDefinition/ihris-relationship

Formal Views of Profile Content

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

This structure is derived from Basic

NameFlagsCard.TypeDescription & Constraintsdoco
.. Basic 0..*BasicResource for non-supported content
... id Σ0..1stringLogical 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 1..*ExtensionExtension
Slice: Unordered, Open by value:url
... ihris-report-details S1..1(Complex)Details of a report
URL: https://intrahealth.github.io/ihris-relationship/StructureDefinition/ihris-report-details
... ihris-report-link S0..*(Complex)Links to the primary resource
URL: https://intrahealth.github.io/ihris-relationship/StructureDefinition/ihris-report-link
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierBusiness identifier
... code ?!Σ1..1CodeableConceptKind of Resource
Binding: BasicResourceTypes (example): Codes for identifying types of resources not yet defined by FHIR.

... subject Σ0..1Reference(Resource)Identifies the focus of this resource
... created Σ0..1dateWhen created
... author Σ0..1Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Organization)Who created

doco Documentation for this format

This structure is derived from Basic

Differential View

This structure is derived from Basic

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Basic 0..*BasicResource for non-supported content
... id Σ0..1stringLogical 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 1..*ExtensionExtension
Slice: Unordered, Open by value:url
... ihris-report-details S1..1(Complex)Details of a report
URL: https://intrahealth.github.io/ihris-relationship/StructureDefinition/ihris-report-details
... ihris-report-link S0..*(Complex)Links to the primary resource
URL: https://intrahealth.github.io/ihris-relationship/StructureDefinition/ihris-report-link
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierBusiness identifier
... code ?!Σ1..1CodeableConceptKind of Resource
Binding: BasicResourceTypes (example): Codes for identifying types of resources not yet defined by FHIR.

... subject Σ0..1Reference(Resource)Identifies the focus of this resource
... created Σ0..1dateWhen created
... author Σ0..1Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Organization)Who created

doco Documentation for this format

 

Other representations of profile: Schematron

Terminology Bindings

PathConformanceValueSet
Basic.languagepreferredCommonLanguages
Max Binding: AllLanguages
Basic.codeexampleBasicResourceTypes

Constraints

IdPathDetailsRequirements
dom-2BasicIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3BasicIf 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-4BasicIf 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-5BasicIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6BasicA resource should have narrative for robust management
: text.`div`.exists()
ele-1Basic.metaAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Basic.implicitRulesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Basic.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Basic.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Basic.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Basic.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Basic.extension:reportdetailsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Basic.extension:reportdetailsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Basic.extension:reportlinkAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Basic.extension:reportlinkMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Basic.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Basic.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Basic.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Basic.codeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Basic.subjectAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Basic.createdAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Basic.authorAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())