JAMI ePrescriptionData ImplementationGuide
1.0.0 - ci-build

JAMI ePrescriptionData ImplementationGuide - Local Development build (v1.0.0). See the Directory of published versions

Resource Profile(リソースプロファイル): JP_Organization_ePrescriptionData_departmentOfIssuer

項目内容
定義URL http://jpfhir.jp/fhir/ePrescription/StructureDefinition/JP_Organization_ePrescriptionData_departmentOfIssuer
Version 1.0.0
Name

JP_Organization_ePrescriptionData_departmentOfIssuer

Status Draft ( 2022-06-29 )

処方を発行した医療機関の診療科情報 JP_Organizationの派生プロファイル

Usage:

Formal Views of Profile Content

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

This structure is derived from JP_Organization

Summary

Mandatory: 3 elements
Must-Support: 3 elements
Prohibited: 8 elements

This structure is derived from JP_Organization

NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization I0..*JP_OrganizationA grouping of people or organizations with a common purpose/共通の目的を持った人や組織の集まり
checkOrganizationType0: 【診療部門コード(type[0].coding.where(system='http://terminology.hl7.org/CodeSystem/organization-type' and code='dept'))が正しい】
checkOrganizationType1: 【診療科コード(type[1].coding.where(system='urn:oid:1.2.392.100495.20.2.51'))が存在する】
... text 0..1Narrative本リソースをテキストで表現したものを入れてもよい。
.... status 1..1codegenerated | extensions | additional | empty
.... div 1..1xhtmlLimited xhtml content
... extension:PrefectureNo 0..0
... extension:OrganizationCategory 0..0
... extension:OrganizationNo 0..0
... identifier:MedicalInstitutionCode 0..0
... identifier:InsurerNumber 0..0
... name S1..1string診療科の名称
... alias 0..0
... partOf S1..1Reference(Organization)The organization of which this organization forms a part
.... reference S1..1stringこの診療科が所属する医療機関の情報
... contact 0..0
... endpoint 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization I0..*JP_OrganizationA grouping of people or organizations with a common purpose/共通の目的を持った人や組織の集まり
checkOrganizationType0: 【診療部門コード(type[0].coding.where(system='http://terminology.hl7.org/CodeSystem/organization-type' and code='dept'))が正しい】
checkOrganizationType1: 【診療科コード(type[1].coding.where(system='urn:oid:1.2.392.100495.20.2.51'))が存在する】
... 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
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguagesMax Binding
... text 0..1Narrative本リソースをテキストで表現したものを入れてもよい。
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... status 1..1codegenerated | extensions | additional | empty
Binding: NarrativeStatus (required): The status of a resource narrative.

.... div I1..1xhtmlLimited xhtml content
... contained 0..*ResourceContained, inline Resources
... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... Slices for identifier ΣI0..*IdentifierIdentifies this organization across multiple systems/複数のシステムでこの組織を識別
Slice: Unordered, Open by value:system
... active ?!Σ0..1booleanWhether the organization's record is still in active use / 組織の記録がまだ有効に使われているかどうか
... type Σ0..*CodeableConceptKind of organization / 組織の種類
Binding: OrganizationType (example): Used to categorize the organization.


... name SΣI1..1string診療科の名称
... telecom I0..*ContactPointA contact detail for the organization / 組織の連絡先詳細
... address I0..*AddressAn address for the organization / 組織の住所
... partOf SΣ1..1Reference(Organization)The organization of which this organization forms a part
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference SΣI1..1stringこの診療科が所属する医療機関の情報
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
.... display Σ0..1stringText alternative for the resource

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization I0..*JP_OrganizationA grouping of people or organizations with a common purpose/共通の目的を持った人や組織の集まり
checkOrganizationType0: 【診療部門コード(type[0].coding.where(system='http://terminology.hl7.org/CodeSystem/organization-type' and code='dept'))が正しい】
checkOrganizationType1: 【診療科コード(type[1].coding.where(system='urn:oid:1.2.392.100495.20.2.51'))が存在する】
... name ΣI1..1string診療科の名称
... partOf Σ1..1Reference(Organization)The organization of which this organization forms a part
.... reference ΣI1..1stringこの診療科が所属する医療機関の情報

doco Documentation for this format

This structure is derived from JP_Organization

Summary

Mandatory: 3 elements
Must-Support: 3 elements
Prohibited: 8 elements

Differential View

This structure is derived from JP_Organization

NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization I0..*JP_OrganizationA grouping of people or organizations with a common purpose/共通の目的を持った人や組織の集まり
checkOrganizationType0: 【診療部門コード(type[0].coding.where(system='http://terminology.hl7.org/CodeSystem/organization-type' and code='dept'))が正しい】
checkOrganizationType1: 【診療科コード(type[1].coding.where(system='urn:oid:1.2.392.100495.20.2.51'))が存在する】
... text 0..1Narrative本リソースをテキストで表現したものを入れてもよい。
.... status 1..1codegenerated | extensions | additional | empty
.... div 1..1xhtmlLimited xhtml content
... extension:PrefectureNo 0..0
... extension:OrganizationCategory 0..0
... extension:OrganizationNo 0..0
... identifier:MedicalInstitutionCode 0..0
... identifier:InsurerNumber 0..0
... name S1..1string診療科の名称
... alias 0..0
... partOf S1..1Reference(Organization)The organization of which this organization forms a part
.... reference S1..1stringこの診療科が所属する医療機関の情報
... contact 0..0
... endpoint 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization I0..*JP_OrganizationA grouping of people or organizations with a common purpose/共通の目的を持った人や組織の集まり
checkOrganizationType0: 【診療部門コード(type[0].coding.where(system='http://terminology.hl7.org/CodeSystem/organization-type' and code='dept'))が正しい】
checkOrganizationType1: 【診療科コード(type[1].coding.where(system='urn:oid:1.2.392.100495.20.2.51'))が存在する】
... 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
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguagesMax Binding
... text 0..1Narrative本リソースをテキストで表現したものを入れてもよい。
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... status 1..1codegenerated | extensions | additional | empty
Binding: NarrativeStatus (required): The status of a resource narrative.

.... div I1..1xhtmlLimited xhtml content
... contained 0..*ResourceContained, inline Resources
... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... Slices for identifier ΣI0..*IdentifierIdentifies this organization across multiple systems/複数のシステムでこの組織を識別
Slice: Unordered, Open by value:system
... active ?!Σ0..1booleanWhether the organization's record is still in active use / 組織の記録がまだ有効に使われているかどうか
... type Σ0..*CodeableConceptKind of organization / 組織の種類
Binding: OrganizationType (example): Used to categorize the organization.


... name SΣI1..1string診療科の名称
... telecom I0..*ContactPointA contact detail for the organization / 組織の連絡先詳細
... address I0..*AddressAn address for the organization / 組織の住所
... partOf SΣ1..1Reference(Organization)The organization of which this organization forms a part
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference SΣI1..1stringこの診療科が所属する医療機関の情報
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
.... display Σ0..1stringText alternative for the resource

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet
Organization.languagepreferredCommonLanguages
Max Binding: AllLanguages
Organization.text.statusrequiredNarrativeStatus
Organization.identifier:MedicalInstitutionCode.userequiredIdentifierUse
Organization.identifier:MedicalInstitutionCode.typeextensibleIdentifier Type Codes
Organization.identifier:InsurerNumber.userequiredIdentifierUse
Organization.identifier:InsurerNumber.typeextensibleIdentifier Type Codes
Organization.typeexampleOrganizationType
Organization.partOf.typeextensibleResourceType
Organization.contact.purposeextensibleContactEntityType

Constraints

IdGradePathDetailsRequirements
dom-2errorOrganizationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorOrganizationIf 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-4errorOrganizationIf 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-5errorOrganizationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6Best PracticeOrganizationA resource should have narrative for robust management
: text.`div`.exists()
org-1errorOrganizationThe organization SHALL at least have a name or an identifier, and possibly more than one
: (identifier.count() + name.count()) > 0
checkOrganizationType0errorOrganization【診療部門コード(type[0].coding.where(system='http://terminology.hl7.org/CodeSystem/organization-type' and code='dept'))が正しい】
: (type[0].coding.where(system='http://terminology.hl7.org/CodeSystem/organization-type' and code='dept')).exists()
checkOrganizationType1errorOrganization【診療科コード(type[1].coding.where(system='urn:oid:1.2.392.100495.20.2.51'))が存在する】
: (type[1].exists().not()) or ((type[1].coding.where(system='urn:oid:1.2.392.100495.20.2.51' )).exists())
ele-1errorOrganization.metaAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.implicitRulesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.text.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorOrganization.text.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorOrganization.text.statusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.text.divAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
txt-1errorOrganization.text.divThe narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes
: htmlChecks()
txt-2errorOrganization.text.divThe narrative SHALL have some non-whitespace content
: htmlChecks()
ele-1errorOrganization.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorOrganization.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorOrganization.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorOrganization.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorOrganization.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.identifier:MedicalInstitutionCode.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorOrganization.identifier:MedicalInstitutionCode.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorOrganization.identifier:MedicalInstitutionCode.useAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.identifier:MedicalInstitutionCode.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.identifier:MedicalInstitutionCode.systemAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.identifier:MedicalInstitutionCode.valueAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.identifier:MedicalInstitutionCode.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.identifier:MedicalInstitutionCode.assignerAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.identifier:InsurerNumber.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorOrganization.identifier:InsurerNumber.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorOrganization.identifier:InsurerNumber.useAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.identifier:InsurerNumber.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.identifier:InsurerNumber.systemAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.identifier:InsurerNumber.valueAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.identifier:InsurerNumber.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.identifier:InsurerNumber.assignerAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.activeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.nameAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.telecomAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
org-3errorOrganization.telecomThe telecom of an organization can never be of use 'home'
: where(use = 'home').empty()
ele-1errorOrganization.addressAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
org-2errorOrganization.addressAn address of an organization can never be of use 'home'
: where(use = 'home').empty()
ele-1errorOrganization.partOfAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.partOf.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorOrganization.partOf.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorOrganization.partOf.referenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.partOf.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.partOf.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.partOf.displayAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.contact.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorOrganization.contact.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorOrganization.contact.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorOrganization.contact.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorOrganization.contact.purposeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.contact.nameAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.contact.telecomAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorOrganization.contact.addressAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())