RCS Document Header SHALL contain exactly one [1..1] @classCode="DOCCLIN" (CONF:1166-305).
OCL
self.classCode.oclIsUndefined() or self.classCode=ActClinicalDocument::DOCCLIN
RCS Document Header SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:1166-215).
OCL
self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN
RCS Document Header MAY contain zero or more [0..*] realmCode (CONF:1166-306) such that it
SHALL contain exactly one [1..1] @code="US" (CONF:1166-307).
OCL
self.realmCode->forAll(var : CS |
(not var.code.oclIsUndefined()) and var.code='US')
RCS Document Header MAY contain zero or more [0..*] realmCode (CONF:1166-306) such that it
SHOULD contain exactly one [1..1] @codeSystem, which SHALL be selected from CodeSystem HL7 RealmOfUse (urn:oid:2.16.840.1.113883.5.147) STATIC (CONF:1166-308).
OCL
self.realmCode->forAll(var : CS |
(not var.codeSystem.oclIsUndefined()) and var.codeSystem='2.16.840.1.113883.5.147')
RCS Document Header SHALL contain exactly one [1..1] typeId (CONF:1166-222).
OCL
(not self.typeId.oclIsUndefined())
RCS Document Header SHALL contain exactly one [1..1] typeId (CONF:1166-222).
This typeId SHALL contain exactly one [1..1] @root="2.16.840.1.113883.1.3" (CONF:1166-223).
OCL
self.typeId.oclIsUndefined() or ((not self.typeId.root.oclIsUndefined()) and self.typeId.root='2.16.840.1.113883.1.3')
RCS Document Header SHALL contain exactly one [1..1] typeId (CONF:1166-222).
This typeId SHALL contain exactly one [1..1] @extension="POCD_HD000040" (CONF:1166-224).
OCL
self.typeId.oclIsUndefined() or ((not self.typeId.extension.oclIsUndefined()) and self.typeId.extension='POCD_HD000040')
RCS Document Header SHALL contain exactly one [1..1] templateId (CONF:1166-287) such that it
OCL
self.templateId->size() = 1
RCS Document Header SHALL contain exactly one [1..1] templateId (CONF:1166-287) such that it
SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3478.1.1" (CONF:1166-289).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='2.16.840.1.113883.3.3478.1.1')
RCS Document Header SHALL contain exactly one [1..1] id (CONF:1166-5).
OCL
(not self.id.oclIsUndefined())
RCS Document Header SHALL contain exactly one [1..1] id (CONF:1166-5).
This id SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3478.4.839" (CONF:1166-291).
OCL
self.id.oclIsUndefined() or ((not self.id.root.oclIsUndefined()) and self.id.root='2.16.840.1.113883.3.3478.4.839')
RCS Document Header SHALL contain exactly one [1..1] id (CONF:1166-5).
This id SHALL contain exactly one [1..1] @extension (CONF:1166-309).
OCL
self.id.oclIsUndefined() or ((not self.id.extension.oclIsUndefined()))
RCS Document Header SHALL contain exactly one [1..1] code (CONF:1166-310).
OCL
(not self.code.oclIsUndefined())
RCS Document Header SHALL contain exactly one [1..1] code (CONF:1166-310).
This code SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Clinical Document Type urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.159 STATIC (CONF:1166-313).
OCL
self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.159', self.code.code))
RCS Document Header SHALL contain exactly one [1..1] code (CONF:1166-310).
This code SHALL contain exactly one [1..1] @codeSystem, which SHALL be selected from CodeSystem LOINC (urn:oid:2.16.840.1.113883.6.1) STATIC (CONF:1166-314).
OCL
self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined()) and self.code.codeSystem='2.16.840.1.113883.6.1')
RCS Document Header SHALL contain exactly one [1..1] title (CONF:1166-7).
OCL
(not self.title.oclIsUndefined())
RCS Document Header SHALL contain exactly one [1..1] effectiveTime (CONF:1166-8).
OCL
(not self.effectiveTime.oclIsUndefined())
RCS Document Header SHALL contain exactly one [1..1] confidentialityCode (CONF:1166-299).
OCL
(not self.confidentialityCode.oclIsUndefined())
RCS Document Header SHALL contain exactly one [1..1] confidentialityCode (CONF:1166-299).
This confidentialityCode SHALL contain exactly one [1..1] @code="N" (CONF:1166-300).
OCL
self.confidentialityCode.oclIsUndefined() or ((not self.confidentialityCode.code.oclIsUndefined()) and self.confidentialityCode.code='N')
RCS Document Header SHALL contain exactly one [1..1] confidentialityCode (CONF:1166-299).
This confidentialityCode SHOULD contain exactly one [1..1] @codeSystem="2.16.840.1.113883.5.25" (CodeSystem: ConfidentialityCode urn:oid:2.16.840.1.113883.5.25) (CONF:1166-301).
OCL
self.confidentialityCode.oclIsUndefined() or ((not self.confidentialityCode.codeSystem.oclIsUndefined()) and self.confidentialityCode.codeSystem='2.16.840.1.113883.5.25')
RCS Document Header MAY contain zero or one [0..1] languageCode (CONF:1166-311).
The languageCode, if present, SHALL contain exactly one [1..1] @code="EN" (CONF:1166-315).
OCL
self.languageCode.oclIsUndefined() or ((not self.languageCode.code.oclIsUndefined()) and self.languageCode.code='EN')
RCS Document Header MAY contain zero or one [0..1] languageCode (CONF:1166-311).
The languageCode, if present, SHOULD contain exactly one [1..1] @codeSystem="1.0.639.1" (CodeSystem: ISO 639-1 Language Code urn:oid:1.0.639.1) STATIC (CONF:1166-316).
OCL
self.languageCode.oclIsUndefined() or ((not self.languageCode.codeSystem.oclIsUndefined()) and self.languageCode.codeSystem='1.0.639.1')
RCS Document Header SHALL contain exactly one [1..1] RCS Document Record Target (identifier: urn:oid:2.16.840.1.113883.3.3478.1.2) (CONF:1166-91772).
OCL
self.recordTarget->size() = 1
RCS Document Header SHALL contain exactly one [1..1] RCS Document Author (identifier: urn:oid:2.16.840.1.113883.3.3478.1.3) (CONF:1166-91773).
OCL
self.author->size() = 1
RCS Document Header SHALL contain exactly one [1..1] RCS Document Custodian (identifier: urn:oid:2.16.840.1.113883.3.3478.1.4) (CONF:1166-91774).
OCL
(not self.custodian.oclIsUndefined()) and self.custodian.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined())
and ii2.root='2.16.840.1.113883.3.3478.1.4'
)
RCS Document Header SHALL contain exactly one [1..1] RCS Document Information Recipient (identifier: urn:oid:2.16.840.1.113883.3.3478.1.5) (CONF:1166-91775).
OCL
self.informationRecipient->size() = 1
RCS Document Header SHALL contain exactly one [1..1] documentationOf (CONF:1166-91767).
OCL
self.documentationOf->size() = 1
RCS Document Header SHALL contain exactly one [1..1] documentationOf (CONF:1166-91767).
This documentationOf SHALL contain exactly one [1..1] @typeCode="DOC" (CONF:1166-91776).
OCL
self.documentationOf->exists(var : POCDMT000040DocumentationOf |
var.typeCode.oclIsUndefined() or var.typeCode=ActRelationshipType::DOC)
RCS Document Header SHALL contain exactly one [1..1] documentationOf (CONF:1166-91767).
This documentationOf SHALL contain exactly one [1..1] serviceEvent (CONF:1166-91768).
OCL
self.documentationOf->exists(var : POCDMT000040DocumentationOf |
(not var.serviceEvent.oclIsUndefined()))
RCS Document Header SHALL contain exactly one [1..1] documentationOf (CONF:1166-91767).
This documentationOf SHALL contain exactly one [1..1] serviceEvent (CONF:1166-91768).
This serviceEvent SHALL contain exactly one [1..1] @classCode="PCPR" (CONF:1166-91777).
OCL
self.documentationOf->exists(var : POCDMT000040DocumentationOf |
(not var.serviceEvent.oclIsUndefined())
and var.serviceEvent.classCode=ActClassRoot::PCPR
)
RCS Document Header SHALL contain exactly one [1..1] documentationOf (CONF:1166-91767).
This documentationOf SHALL contain exactly one [1..1] serviceEvent (CONF:1166-91768).
This serviceEvent SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:1166-91778).
OCL
self.documentationOf->exists(var : POCDMT000040DocumentationOf |
(not var.serviceEvent.oclIsUndefined())
and (
var.serviceEvent.moodCode.oclIsUndefined()
or var.serviceEvent.moodCode=ActMood::EVN
)
)
RCS Document Header SHALL contain exactly one [1..1] documentationOf (CONF:1166-91767).
This documentationOf SHALL contain exactly one [1..1] serviceEvent (CONF:1166-91768).
This serviceEvent SHALL contain exactly one [1..1] id (CONF:1166-91769).
OCL
self.documentationOf->exists(var : POCDMT000040DocumentationOf |
(not var.serviceEvent.oclIsUndefined())
and var.serviceEvent.id->size()=1
)
RCS Document Header SHALL contain exactly one [1..1] documentationOf (CONF:1166-91767).
This documentationOf SHALL contain exactly one [1..1] serviceEvent (CONF:1166-91768).
This serviceEvent SHALL contain exactly one [1..1] id (CONF:1166-91769).
This id SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.5.45" (CONF:1166-91779).
OCL
self.documentationOf->exists(var : POCDMT000040DocumentationOf |
(not var.serviceEvent.oclIsUndefined())
and var.serviceEvent.id->forAll(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.5.45'
)
)
RCS Document Header SHALL contain exactly one [1..1] documentationOf (CONF:1166-91767).
This documentationOf SHALL contain exactly one [1..1] serviceEvent (CONF:1166-91768).
This serviceEvent SHALL contain exactly one [1..1] id (CONF:1166-91769).
This id SHALL contain exactly one [1..1] @extension (CONF:1166-91780).
OCL
self.documentationOf->exists(var : POCDMT000040DocumentationOf |
(not var.serviceEvent.oclIsUndefined())
and var.serviceEvent.id->forAll(var : II |
(not var.extension.oclIsUndefined())
)
)
RCS Document Header SHALL contain exactly one [1..1] documentationOf (CONF:1166-91767).
This documentationOf SHALL contain exactly one [1..1] serviceEvent (CONF:1166-91768).
This serviceEvent MAY contain zero or one [0..1] code (CONF:1166-91770).
The code, if present, SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Patient Population urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.207 STATIC (CONF:1166-91781).
OCL
self.code.oclIsUndefined() or
self.code.code.oclIsUndefined() or
self.code.code<>'ACC-NCDR-ICD' or
(
self.documentationOf->exists(var : POCDMT000040DocumentationOf |
(not var.serviceEvent.oclIsUndefined())
and (var.serviceEvent.code.oclIsUndefined())
or
(
(not var.serviceEvent.code.code.oclIsUndefined())
and var.serviceEvent.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.207', var.serviceEvent.code.code)
)
)
)
RCS Document Header SHALL contain exactly one [1..1] documentationOf (CONF:1166-91767).
This documentationOf SHALL contain exactly one [1..1] serviceEvent (CONF:1166-91768).
This serviceEvent MAY contain zero or one [0..1] code (CONF:1166-91770).
The code, if present, SHALL contain exactly one [1..1] @codeSystem (CONF:1166-91782).
OCL
self.code.oclIsUndefined() or
self.code.code.oclIsUndefined() or
self.code.code<>'ACC-NCDR-ICD' or
(
self.documentationOf->exists(var : POCDMT000040DocumentationOf |
(not var.serviceEvent.oclIsUndefined())
and (var.serviceEvent.code.oclIsUndefined())
or
(
(not var.serviceEvent.code.codeSystem.oclIsUndefined())
)
)
)
RCS Document Header SHALL contain exactly one [1..1] documentationOf (CONF:1166-91767).
This documentationOf SHALL contain exactly one [1..1] serviceEvent (CONF:1166-91768).
This serviceEvent SHALL contain exactly one [1..1] effectiveTime (CONF:1166-91771).
OCL
self.documentationOf->exists(var : POCDMT000040DocumentationOf |
(not var.serviceEvent.oclIsUndefined())
and (not var.serviceEvent.effectiveTime.oclIsUndefined())
)
RCS Document Header SHALL contain exactly one [1..1] documentationOf (CONF:1166-91767).
This documentationOf SHALL contain exactly one [1..1] serviceEvent (CONF:1166-91768).
This serviceEvent SHALL contain exactly one [1..1] effectiveTime (CONF:1166-91771).
This effectiveTime SHALL contain exactly one [1..1] low (CONF:1166-91783).
OCL
self.documentationOf->exists(var : POCDMT000040DocumentationOf |
(not var.serviceEvent.oclIsUndefined())
and (not var.serviceEvent.effectiveTime.oclIsUndefined())
and (not var.serviceEvent.effectiveTime.low.oclIsUndefined())
)
RCS Document Header SHALL contain exactly one [1..1] documentationOf (CONF:1166-91767).
This documentationOf SHALL contain exactly one [1..1] serviceEvent (CONF:1166-91768).
This serviceEvent SHALL contain exactly one [1..1] effectiveTime (CONF:1166-91771).
This effectiveTime SHALL contain exactly one [1..1] high (CONF:1166-91784).
OCL
self.documentationOf->exists(var : POCDMT000040DocumentationOf |
(not var.serviceEvent.oclIsUndefined())
and (not var.serviceEvent.effectiveTime.oclIsUndefined())
and (not var.serviceEvent.effectiveTime.high.oclIsUndefined())
)
RCS Document Header SHALL contain exactly one [1..1] component (CONF:1166-91785).
OCL
(not self.component.oclIsUndefined())
RCS Document Header SHALL contain exactly one [1..1] component (CONF:1166-91785).
This component SHALL contain exactly one [1..1] RCS-EP Document Structured Body (identifier: urn:oid:1.3.6.1.4.1.19376.1.4.1.7.3.16000) (CONF:1166-91788).
OCL
self.component.oclIsUndefined() or ((not self.component.structuredBody.oclIsUndefined())
and self.component.structuredBody.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined())
and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.3.16000')
)
This component SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:1166-91787).
OCL
(not self.component.oclIsUndefined()) and
(
self.component.contextConductionInd.oclIsUndefined()
or self.component.contextConductionInd=true
)
If Document.code="ICD", this serviceEvent SHALL contain one [1..1] code (CONF:1166-91770)
OCL
self.code.oclIsUndefined() or
self.code.code.oclIsUndefined() or
self.code.code<>'ACC-NCDR-ICD' or
(
self.documentationOf->forAll(var : POCDMT000040DocumentationOf |
(not var.serviceEvent.oclIsUndefined()) and
(not var.serviceEvent.code.oclIsUndefined())
)
)
RCS Document Record Target SHALL contain exactly one [1..1] @typeCode="RCT" (CONF:1166-26).
OCL
self.typeCode.oclIsUndefined() or self.typeCode=ParticipationType::RCT
RCS Document Record Target SHALL contain exactly one [1..1] @contextControlCode="OP" (CONF:1166-27).
OCL
self.contextControlCode.oclIsUndefined() or self.contextControlCode=NullFlavor::OP
RCS Document Record Target SHALL contain exactly one [1..1] templateId (CONF:1166-262) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='2.16.840.1.113883.3.3478.1.2')->size() = 1
RCS Document Record Target SHALL contain exactly one [1..1] templateId (CONF:1166-262) such that it
SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3478.1.2" (CONF:1166-263).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='2.16.840.1.113883.3.3478.1.2')
RCS Document Record Target SHALL contain exactly one [1..1] patientRole (CONF:1166-28).
OCL
(not self.patientRole.oclIsUndefined())
RCS Document Record Target SHALL contain exactly one [1..1] patientRole (CONF:1166-28).
This patientRole SHALL contain exactly one [1..1] @classCode="PAT" (CONF:1166-29).
OCL
self.patientRole.oclIsUndefined() or ( self.patientRole.classCode.oclIsUndefined() or self.patientRole.classCode=RoleClass::PAT)
RCS Document Record Target SHALL contain exactly one [1..1] patientRole (CONF:1166-28).
This patientRole SHALL contain at least one [1..*] id (CONF:1166-30).
OCL
self.patientRole.oclIsUndefined() or (self.patientRole.id->size() > 0)
RCS Document Record Target SHALL contain exactly one [1..1] patientRole (CONF:1166-28).
This patientRole SHALL contain at least one [1..*] id (CONF:1166-30).
Such ids SHALL contain exactly one [1..1] @root, which SHALL be selected from ValueSet Patient Identifier Namespace urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.7 STATIC (CONF:1166-31).
OCL
self.patientRole.oclIsUndefined() or (
self.patientRole.id->forAll(var : II |
(not var.root.oclIsUndefined())
and var.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.7',var.root)
)
)
RCS Document Record Target SHALL contain exactly one [1..1] patientRole (CONF:1166-28).
This patientRole SHOULD contain exactly one [1..1] addr (CONF:1166-91725).
OCL
self.patientRole.oclIsUndefined() or (self.patientRole.addr->size() = 1)
RCS Document Record Target SHALL contain exactly one [1..1] patientRole (CONF:1166-28).
This patientRole SHOULD contain exactly one [1..1] addr (CONF:1166-91725).
This addr SHALL contain exactly one [1..1] postalCode, which SHALL be selected from CodeSystem USPostalCodes (urn:oid:2.16.840.1.113883.6.231) (CONF:1166-91726).
OCL
self.patientRole.oclIsUndefined() or (
self.patientRole.addr->forAll(var : AD |
var.postalCode->size()=1
)
)
RCS Document Record Target SHALL contain exactly one [1..1] patientRole (CONF:1166-28).
This patientRole SHALL contain exactly one [1..1] patient (CONF:1166-33).
OCL
self.patientRole.oclIsUndefined() or ((not self.patientRole.patient.oclIsUndefined()))
RCS Document Record Target SHALL contain exactly one [1..1] patientRole (CONF:1166-28).
This patientRole SHALL contain exactly one [1..1] patient (CONF:1166-33).
This patient SHALL contain exactly one [1..1] @classCode="PSN" (CONF:1166-34).
OCL
self.patientRole.oclIsUndefined() or (
(not self.patientRole.patient.oclIsUndefined())
and (
self.patientRole.patient.classCode.oclIsUndefined()
or self.patientRole.patient.classCode=EntityClass::PSN
)
)
RCS Document Record Target SHALL contain exactly one [1..1] patientRole (CONF:1166-28).
This patientRole SHALL contain exactly one [1..1] patient (CONF:1166-33).
This patient SHALL contain exactly one [1..1] @determinerCode="INSTANCE" (CONF:1166-35).
OCL
self.patientRole.oclIsUndefined() or (
(not self.patientRole.patient.oclIsUndefined())
and (
self.patientRole.patient.determinerCode.oclIsUndefined()
or self.patientRole.patient.determinerCode=EntityDeterminer::INSTANCE
)
)
RCS Document Record Target SHALL contain exactly one [1..1] patientRole (CONF:1166-28).
This patientRole SHALL contain exactly one [1..1] patient (CONF:1166-33).
This patient SHOULD contain exactly one [1..1] name (CONF:1166-36).
OCL
self.patientRole.oclIsUndefined() or (
(not self.patientRole.patient.oclIsUndefined())
and self.patientRole.patient.name->size()=1
)
RCS Document Record Target SHALL contain exactly one [1..1] patientRole (CONF:1166-28).
This patientRole SHALL contain exactly one [1..1] patient (CONF:1166-33).
This patient SHOULD contain exactly one [1..1] name (CONF:1166-36).
This name SHOULD contain exactly one [1..1] family (CONF:1166-39).
OCL
self.patientRole.oclIsUndefined() or (
(not self.patientRole.patient.oclIsUndefined())
and self.patientRole.patient.name->select(var : PN |
var.family->size()=1
)->size()=1
)
RCS Document Record Target SHALL contain exactly one [1..1] patientRole (CONF:1166-28).
This patientRole SHALL contain exactly one [1..1] patient (CONF:1166-33).
This patient SHOULD contain exactly one [1..1] administrativeGenderCode (CONF:1166-330).
OCL
self.patientRole.oclIsUndefined() or (
(not self.patientRole.patient.oclIsUndefined())
and (not self.patientRole.patient.administrativeGenderCode.oclIsUndefined())
)
RCS Document Record Target SHALL contain exactly one [1..1] patientRole (CONF:1166-28).
This patientRole SHALL contain exactly one [1..1] patient (CONF:1166-33).
This patient SHOULD contain exactly one [1..1] administrativeGenderCode (CONF:1166-330).
This administrativeGenderCode SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Person Sex urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.19 STATIC (CONF:1166-333).
OCL
self.patientRole.oclIsUndefined() or (
(not self.patientRole.patient.oclIsUndefined())
and (not self.patientRole.patient.administrativeGenderCode.oclIsUndefined())
and (not self.patientRole.patient.administrativeGenderCode.nullFlavor.oclIsUndefined()) or
(
(not self.patientRole.patient.administrativeGenderCode.code.oclIsUndefined())
and self.patientRole.patient.administrativeGenderCode.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.19',self.patientRole.patient.administrativeGenderCode.code)
)
)
RCS Document Record Target SHALL contain exactly one [1..1] patientRole (CONF:1166-28).
This patientRole SHALL contain exactly one [1..1] patient (CONF:1166-33).
This patient SHOULD contain exactly one [1..1] administrativeGenderCode (CONF:1166-330).
This administrativeGenderCode SHALL contain exactly one [1..1] @codeSystem (CONF:1166-334).
OCL
self.patientRole.oclIsUndefined() or (
(not self.patientRole.patient.oclIsUndefined())
and (not self.patientRole.patient.administrativeGenderCode.oclIsUndefined())
and (not self.patientRole.patient.administrativeGenderCode.nullFlavor.oclIsUndefined()) or
(
(not self.patientRole.patient.administrativeGenderCode.codeSystem.oclIsUndefined())
)
)
RCS Document Record Target SHALL contain exactly one [1..1] patientRole (CONF:1166-28).
This patientRole SHALL contain exactly one [1..1] patient (CONF:1166-33).
This patient SHOULD contain exactly one [1..1] birthTime (CONF:1166-43).
OCL
self.patientRole.oclIsUndefined() or (
(not self.patientRole.patient.oclIsUndefined())
and (not self.patientRole.patient.birthTime.oclIsUndefined())
)
RCS Document Record Target SHALL contain exactly one [1..1] patientRole (CONF:1166-28).
This patientRole SHALL contain exactly one [1..1] patient (CONF:1166-33).
This patient SHOULD contain exactly one [1..1] administrativeGenderCode (CONF:1166-330).
This administrativeGenderCode MAY contain zero or one [0..1] @nullFlavor (ValueSet: Null Flavor urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.30) (CONF:1166-332).
OCL
self.patientRole.oclIsUndefined() or (
(not self.patientRole.patient.oclIsUndefined())
and (not self.patientRole.patient.administrativeGenderCode.oclIsUndefined())
and self.patientRole.patient.administrativeGenderCode.nullFlavor.oclIsUndefined() or
self.patientRole.patient.administrativeGenderCode.nullFlavor=NullFlavor::MSK or
self.patientRole.patient.administrativeGenderCode.nullFlavor=NullFlavor::NA or
self.patientRole.patient.administrativeGenderCode.nullFlavor=NullFlavor::UNK
)
RCS Document Author SHALL contain exactly one [1..1] @typeCode="AUT" (CONF:1166-208).
OCL
self.typeCode.oclIsUndefined() or self.typeCode=ParticipationType::AUT
RCS Document Author SHALL contain exactly one [1..1] @contextControlCode="OP" (CONF:1166-209).
OCL
self.contextControlCode.oclIsUndefined() or self.contextControlCode=NullFlavor::OP
RCS Document Author SHALL contain exactly one [1..1] templateId (CONF:1166-253) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='2.16.840.1.113883.3.3478.1.3')->size() = 1
RCS Document Author SHALL contain exactly one [1..1] templateId (CONF:1166-253) such that it
SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3478.1.3" (CONF:1166-254).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='2.16.840.1.113883.3.3478.1.3')
RCS Document Author SHALL contain exactly one [1..1] time (CONF:1166-33420) whichMAY contain zero or one [0..1] @nullFlavor="NI" (CONF:1166-33421)
OCL
(not self.time.oclIsUndefined()) and
(
self.time.nullFlavor.oclIsUndefined() or
self.time.nullFlavor=NullFlavor::NI
)
RCS Document Author SHALL contain exactly one [1..1] assignedAuthor (CONF:1166-44).
OCL
(not self.assignedAuthor.oclIsUndefined())
RCS Document Author SHALL contain exactly one [1..1] assignedAuthor (CONF:1166-44).
This assignedAuthor SHALL contain exactly one [1..1] @classCode="ASSIGNED" (CONF:1166-210).
OCL
self.assignedAuthor.oclIsUndefined() or self.assignedAuthor.classCode.oclIsUndefined() or self.assignedAuthor.classCode=RoleClassAssignedEntity::ASSIGNED
RCS Document Author SHALL contain exactly one [1..1] assignedAuthor (CONF:1166-44).
This assignedAuthor SHALL contain exactly one [1..1] id (CONF:1166-45).
OCL
self.assignedAuthor.oclIsUndefined() or (self.assignedAuthor.id->size() = 1)
RCS Document Author SHALL contain exactly one [1..1] assignedAuthor (CONF:1166-44).
This assignedAuthor SHALL contain exactly one [1..1] id (CONF:1166-45).
This id SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3478.4.847" Source System Identifier (CONF:1166-52).
OCL
self.assignedAuthor.oclIsUndefined() or (
self.assignedAuthor.id->forAll( var : II |
(not var.root.oclIsUndefined())
and var.root='2.16.840.1.113883.3.3478.4.847'
)
)
RCS Document Author SHALL contain exactly one [1..1] assignedAuthor (CONF:1166-44).
This assignedAuthor SHALL contain exactly one [1..1] id (CONF:1166-45).
This id SHALL contain exactly one [1..1] @extension, which SHALL be selected from CodeSystem ACCF NCDR (urn:oid:2.16.840.1.113883.3.3478.6.1) STATIC (CONF:1166-53).
OCL
self.assignedAuthor.oclIsUndefined() or (
self.assignedAuthor.id->forAll( var : II |
(not var.extension.oclIsUndefined())
)
)
RCS Document Author SHALL contain exactly one [1..1] assignedAuthor (CONF:1166-44).
This assignedAuthor SHALL contain exactly one [1..1] representedOrganization (CONF:1166-46).
OCL
self.assignedAuthor.oclIsUndefined() or ((not self.assignedAuthor.representedOrganization.oclIsUndefined()))
RCS Document Author SHALL contain exactly one [1..1] assignedAuthor (CONF:1166-44).
This assignedAuthor SHALL contain exactly one [1..1] representedOrganization (CONF:1166-46).
This representedOrganization SHALL contain exactly one [1..1] @classCode="ORG" (CONF:1166-211).
OCL
self.assignedAuthor.oclIsUndefined() or (
(not self.assignedAuthor.representedOrganization.oclIsUndefined())
and (
self.assignedAuthor.representedOrganization.classCode.oclIsUndefined()
or self.assignedAuthor.representedOrganization.classCode=EntityClassOrganization::ORG
)
)
RCS Document Author SHALL contain exactly one [1..1] assignedAuthor (CONF:1166-44).
This assignedAuthor SHALL contain exactly one [1..1] representedOrganization (CONF:1166-46).
This representedOrganization SHALL contain exactly one [1..1] @determinerCode="INSTANCE" (CONF:1166-212).
OCL
self.assignedAuthor.oclIsUndefined() or (
(not self.assignedAuthor.representedOrganization.oclIsUndefined())
and (
self.assignedAuthor.representedOrganization.determinerCode.oclIsUndefined()
or self.assignedAuthor.representedOrganization.determinerCode=EntityDeterminer::INSTANCE
)
)
RCS Document Author SHALL contain exactly one [1..1] assignedAuthor (CONF:1166-44).
This assignedAuthor SHALL contain exactly one [1..1] representedOrganization (CONF:1166-46).
This representedOrganization SHALL contain exactly one [1..1] id (CONF:1166-47).
OCL
self.assignedAuthor.oclIsUndefined() or (
(not self.assignedAuthor.representedOrganization.oclIsUndefined())
and self.assignedAuthor.representedOrganization.id->size()=1
)
RCS Document Author SHALL contain exactly one [1..1] assignedAuthor (CONF:1166-44).
This assignedAuthor SHALL contain exactly one [1..1] representedOrganization (CONF:1166-46).
This representedOrganization SHALL contain exactly one [1..1] id (CONF:1166-47).
This id SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3478.4.840" Source System Provider Identifier (CONF:1166-56).
OCL
self.assignedAuthor.oclIsUndefined() or (
(not self.assignedAuthor.representedOrganization.oclIsUndefined())
and self.assignedAuthor.representedOrganization.id->forAll( var : II |
(not var.root.oclIsUndefined())
and var.root='2.16.840.1.113883.3.3478.4.840'
)
)
RCS Document Author SHALL contain exactly one [1..1] assignedAuthor (CONF:1166-44).
This assignedAuthor SHALL contain exactly one [1..1] representedOrganization (CONF:1166-46).
This representedOrganization SHALL contain exactly one [1..1] id (CONF:1166-47).
This id SHALL contain exactly one [1..1] @extension, which SHALL be selected from CodeSystem ACCF NCDR (urn:oid:2.16.840.1.113883.3.3478.6.1) DYNAMIC (CONF:1166-57).
OCL
self.assignedAuthor.oclIsUndefined() or (
(not self.assignedAuthor.representedOrganization.oclIsUndefined())
and self.assignedAuthor.representedOrganization.id->forAll( var : II |
(not var.extension.oclIsUndefined())
)
)
RCS Document Custodian SHALL contain exactly one [1..1] @typeCode="CST" (CONF:1166-62).
OCL
self.typeCode.oclIsUndefined() or self.typeCode=ParticipationType::CST
RCS Document Custodian SHALL contain exactly one [1..1] templateId (CONF:1166-256) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='2.16.840.1.113883.3.3478.1.4')->size() = 1
RCS Document Custodian SHALL contain exactly one [1..1] templateId (CONF:1166-256) such that it
SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3478.1.4" (CONF:1166-257).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='2.16.840.1.113883.3.3478.1.4')
RCS Document Custodian SHALL contain exactly one [1..1] assignedCustodian (CONF:1166-58).
OCL
(not self.assignedCustodian.oclIsUndefined())
RCS Document Custodian SHALL contain exactly one [1..1] assignedCustodian (CONF:1166-58).
This assignedCustodian SHALL contain exactly one [1..1] @classCode="ASSIGNED" (CONF:1166-63).
OCL
self.assignedCustodian.oclIsUndefined() or (self.assignedCustodian.classCode.oclIsUndefined() or self.assignedCustodian.classCode=RoleClassAssignedEntity::ASSIGNED)
RCS Document Custodian SHALL contain exactly one [1..1] assignedCustodian (CONF:1166-58).
This assignedCustodian SHALL contain exactly one [1..1] representedCustodianOrganization (CONF:1166-59).
OCL
self.assignedCustodian.oclIsUndefined() or ((not self.assignedCustodian.representedCustodianOrganization.oclIsUndefined()))
RCS Document Custodian SHALL contain exactly one [1..1] assignedCustodian (CONF:1166-58).
This assignedCustodian SHALL contain exactly one [1..1] representedCustodianOrganization (CONF:1166-59).
This representedCustodianOrganization SHALL contain exactly one [1..1] @classCode="ORG" (CONF:1166-64).
OCL
self.assignedCustodian.oclIsUndefined() or (
(not self.assignedCustodian.representedCustodianOrganization.oclIsUndefined())
and (
self.assignedCustodian.representedCustodianOrganization.classCode.oclIsUndefined()
or self.assignedCustodian.representedCustodianOrganization.classCode=EntityClassOrganization::ORG
)
)
RCS Document Custodian SHALL contain exactly one [1..1] assignedCustodian (CONF:1166-58).
This assignedCustodian SHALL contain exactly one [1..1] representedCustodianOrganization (CONF:1166-59).
This representedCustodianOrganization SHALL contain exactly one [1..1] @determinerCode="INSTANCE" (CONF:1166-65).
OCL
self.assignedCustodian.oclIsUndefined() or (
(not self.assignedCustodian.representedCustodianOrganization.oclIsUndefined())
and (
self.assignedCustodian.representedCustodianOrganization.determinerCode.oclIsUndefined()
or self.assignedCustodian.representedCustodianOrganization.determinerCode=EntityDeterminer::INSTANCE
)
)
RCS Document Custodian SHALL contain exactly one [1..1] assignedCustodian (CONF:1166-58).
This assignedCustodian SHALL contain exactly one [1..1] representedCustodianOrganization (CONF:1166-59).
This representedCustodianOrganization SHALL contain at least one [1..*] id (CONF:1166-60).
OCL
self.assignedCustodian.oclIsUndefined() or (
(not self.assignedCustodian.representedCustodianOrganization.oclIsUndefined())
and self.assignedCustodian.representedCustodianOrganization.id->size()>0
)
RCS Document Custodian SHALL contain exactly one [1..1] assignedCustodian (CONF:1166-58).
This assignedCustodian SHALL contain exactly one [1..1] representedCustodianOrganization (CONF:1166-59).
This representedCustodianOrganization SHALL contain at least one [1..*] id (CONF:1166-60).
Such ids SHALL contain exactly one [1..1] @root, which SHALL be selected from ValueSet Registry Participant Identifier Namespace urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.145 STATIC (CONF:1166-66).
OCL
self.assignedCustodian.oclIsUndefined() or (
(not self.assignedCustodian.representedCustodianOrganization.oclIsUndefined())
and self.assignedCustodian.representedCustodianOrganization.id->forAll(var : II |
(not var.root.oclIsUndefined()) and
var.root='2.16.840.1.113883.3.3478.4.836'
)
)
RCS Document Custodian SHALL contain exactly one [1..1] assignedCustodian (CONF:1166-58).
This assignedCustodian SHALL contain exactly one [1..1] representedCustodianOrganization (CONF:1166-59).
This representedCustodianOrganization SHALL contain at least one [1..*] id (CONF:1166-60).
Such ids SHALL contain exactly one [1..1] @extension (CONF:1166-67).
OCL
self.assignedCustodian.oclIsUndefined() or (
(not self.assignedCustodian.representedCustodianOrganization.oclIsUndefined())
and self.assignedCustodian.representedCustodianOrganization.id->forAll(var : II |
(not var.extension.oclIsUndefined())
)
)
RCS Document Custodian SHALL contain exactly one [1..1] assignedCustodian (CONF:1166-58).
This assignedCustodian SHALL contain exactly one [1..1] representedCustodianOrganization (CONF:1166-59).
This representedCustodianOrganization SHALL contain exactly one [1..1] name (CONF:1166-70).
OCL
self.assignedCustodian.oclIsUndefined() or (
(not self.assignedCustodian.representedCustodianOrganization.oclIsUndefined())
and (not self.assignedCustodian.representedCustodianOrganization.name.oclIsUndefined())
)
RCS Document Information Recipient SHALL contain exactly one [1..1] @typeCode="PRCP" (CONF:1166-73).
OCL
(not self.typeCode.oclIsUndefined()) and self.typeCode=XInformationRecipient::PRCP
RCS Document Information Recipient SHALL contain exactly one [1..1] templateId (CONF:1166-259) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='2.16.840.1.113883.3.3478.1.5')->size() = 1
RCS Document Information Recipient SHALL contain exactly one [1..1] templateId (CONF:1166-259) such that it
SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3478.1.5" (CONF:1166-260).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='2.16.840.1.113883.3.3478.1.5')
RCS Document Information Recipient SHALL contain exactly one [1..1] intendedRecipient (CONF:1166-71).
OCL
(not self.intendedRecipient.oclIsUndefined())
RCS Document Information Recipient SHALL contain exactly one [1..1] intendedRecipient (CONF:1166-71).
This intendedRecipient SHALL contain exactly one [1..1] @classCode="ASSIGNED" (CONF:1166-74).
OCL
self.intendedRecipient.oclIsUndefined() or ((not self.intendedRecipient.classCode.oclIsUndefined()) and self.intendedRecipient.classCode=XInformationRecipientRole::ASSIGNED)
RCS Document Information Recipient SHALL contain exactly one [1..1] intendedRecipient (CONF:1166-71).
This intendedRecipient SHALL contain exactly one [1..1] id (CONF:1166-72).
OCL
self.intendedRecipient.oclIsUndefined() or (self.intendedRecipient.id->size() = 1)
RCS Document Information Recipient SHALL contain exactly one [1..1] intendedRecipient (CONF:1166-71).
This intendedRecipient SHALL contain exactly one [1..1] id (CONF:1166-72).
This id SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3478.4.841" Registry Identifier (CONF:1166-75).
OCL
self.intendedRecipient.oclIsUndefined() or (
self.intendedRecipient.id->forAll(var : II |
(not var.root.oclIsUndefined())
and var.root='2.16.840.1.113883.3.3478.4.841'
)
)
RCS Document Information Recipient SHALL contain exactly one [1..1] intendedRecipient (CONF:1166-71).
This intendedRecipient SHALL contain exactly one [1..1] id (CONF:1166-72).
This id SHALL contain exactly one [1..1] @extension, which SHALL be selected from ValueSet Registry Identifier urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.156 (CONF:1166-76).
OCL
self.intendedRecipient.oclIsUndefined() or (
self.intendedRecipient.id->forAll(var : II |
(not var.extension.oclIsUndefined())
and var.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.156',var.extension)
)
)
RCS Document Information Recipient SHALL contain exactly one [1..1] intendedRecipient (CONF:1166-71).
This intendedRecipient MAY contain zero or one [0..1] receivedOrganization (CONF:1166-91850).
The receivedOrganization, if present, SHALL contain exactly one [1..1] @classCode="ORG" (CONF:1166-91851).
OCL
self.intendedRecipient.oclIsUndefined() or (
self.intendedRecipient.receivedOrganization.oclIsUndefined() or (
self.intendedRecipient.receivedOrganization.classCode.oclIsUndefined() or
self.intendedRecipient.receivedOrganization.classCode=EntityClassOrganization::ORG
)
)
RCS Document Information Recipient SHALL contain exactly one [1..1] intendedRecipient (CONF:1166-71).
This intendedRecipient MAY contain zero or one [0..1] receivedOrganization (CONF:1166-91850).
The receivedOrganization, if present, SHALL contain exactly one [1..1] @determinerCode="INSTANCE" (CONF:1166-91852).
OCL
self.intendedRecipient.oclIsUndefined() or (
self.intendedRecipient.receivedOrganization.oclIsUndefined() or (
self.intendedRecipient.receivedOrganization.determinerCode.oclIsUndefined() or
self.intendedRecipient.receivedOrganization.determinerCode=EntityDeterminer::INSTANCE
)
)
RCS-EP Procedure Device Observation SHALL contain exactly one [1..1] @classCode="OBS" (CONF:1166-91601).
OCL
self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS
RCS-EP Procedure Device Observation SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:1166-91602).
OCL
(not self.moodCode.oclIsUndefined()) and self.moodCode=XActMoodDocumentObservation::EVN
RCS-EP Procedure Device Observation SHALL contain exactly one [1..1] templateId (CONF:1166-32877) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.4.18')->size() = 1
RCS-EP Procedure Device Observation SHALL contain exactly one [1..1] templateId (CONF:1166-32877) such that it
SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.4.18" (CONF:1166-32880).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.4.18')
RCS-EP Procedure Device Observation SHALL contain exactly one [1..1] templateId (CONF:1166-91599) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.43121')->size() = 1
RCS-EP Procedure Device Observation SHALL contain exactly one [1..1] code (CONF:1166-33795).
OCL
(not self.code.oclIsUndefined())
RCS-EP Procedure Device Observation SHALL contain exactly one [1..1] code (CONF:1166-33795).
This code SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Procedure Device Observation urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.136 STATIC (CONF:1166-33799).
OCL
self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.136', self.code.code))
RCS-EP Procedure Device Observation SHALL contain exactly one [1..1] code (CONF:1166-33795).
This code SHALL contain exactly one [1..1] @codeSystem (CONF:1166-33800).
OCL
self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined()))
RCS-EP Procedure Device Observation SHALL contain exactly one [1..1] statusCode (CONF:1166-91600).
OCL
(not self.statusCode.oclIsUndefined())
RCS-EP Procedure Device Observation SHALL contain exactly one [1..1] statusCode (CONF:1166-91600).
This statusCode SHALL contain exactly one [1..1] @code="completed" (CONF:1166-91605).
OCL
self.statusCode.oclIsUndefined() or ((not self.statusCode.code.oclIsUndefined()) and self.statusCode.code='completed')
RCS-EP Procedure Device Observation SHALL contain exactly one [1..1] value (CONF:1166-91456).
OCL
self.value->size() = 1
RCS-EP Discharge Observation SHALL contain exactly one [1..1] @classCode="OBS" (CONF:1166-32866).
OCL
self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS
RCS-EP Discharge Observation SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:1166-32867).
OCL
(not self.moodCode.oclIsUndefined()) and self.moodCode=XActMoodDocumentObservation::EVN
RCS-EP Discharge Observation SHALL contain exactly one [1..1] templateId (CONF:1166-32861) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.51000')->size() = 1
RCS-EP Discharge Observation SHALL contain exactly one [1..1] templateId (CONF:1166-32861) such that it
SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.7.4.51000" (CONF:1166-32876).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.51000')
RCS-EP Discharge Observation SHALL contain exactly one [1..1] code (CONF:1166-32859).
OCL
(not self.code.oclIsUndefined())
RCS-EP Discharge Observation SHALL contain exactly one [1..1] code (CONF:1166-32859).
This code SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Discharge Observation urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.184 STATIC (CONF:1166-33813).
OCL
self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.184', self.code.code))
RCS-EP Discharge Observation SHALL contain exactly one [1..1] code (CONF:1166-32859).
This code SHALL contain exactly one [1..1] @codeSystem (CONF:1166-33814).
OCL
self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined()))
RCS-EP Discharge Observation SHALL contain exactly one [1..1] value (CONF:1166-32860).
OCL
self.value->size() = 1
RCS-EP Procedure Device Organizer SHALL contain exactly one [1..1] @classCode="CLUSTER" (CONF:1166-91591).
OCL
(not self.classCode.oclIsUndefined()) and self.classCode=XActClassDocumentEntryOrganizer::CLUSTER
RCS-EP Procedure Device Organizer SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:1166-91592).
OCL
self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN
RCS-EP Procedure Device Organizer SHALL contain exactly one [1..1] templateId (CONF:1166-32871) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.4.20')->size() = 1
RCS-EP Procedure Device Organizer SHALL contain exactly one [1..1] templateId (CONF:1166-32871) such that it
SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.4.20" (CONF:1166-32874).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.4.20')
RCS-EP Procedure Device Organizer SHALL contain exactly one [1..1] templateId (CONF:1166-91590) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.43120')->size() = 1
RCS-EP Procedure Device Organizer SHALL contain exactly one [1..1] templateId (CONF:1166-91590) such that it
SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.7.4.43120" (CONF:1166-91593).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.43120')
RCS-EP Procedure Device Organizer SHALL contain exactly one [1..1] statusCode (CONF:1166-33793).
OCL
(not self.statusCode.oclIsUndefined())
RCS-EP Procedure Device Organizer SHALL contain exactly one [1..1] statusCode (CONF:1166-33793).
This statusCode SHALL contain exactly one [1..1] @code="completed" (CONF:1166-91528).
OCL
self.statusCode.oclIsUndefined() or ((not self.statusCode.code.oclIsUndefined()) and self.statusCode.code='completed')
RCS-EP Procedure Device Organizer SHALL contain exactly one [1..1] participant (CONF:1166-19213).
This participant SHALL contain exactly one [1..1] @typeCode="DEV" (CONF:1166-91595).
OCL
self.participant->select(var : POCDMT000040Participant2 |
(not var.typeCode.oclIsUndefined()) and var.typeCode=ParticipationType::DEV
)->size()=1
RCS-EP Procedure Device Organizer SHALL contain exactly one [1..1] participant (CONF:1166-19213).
This participant SHALL contain at least one [1..1] participantRole (CONF:1166-19214).
OCL
self.participant->select(var : POCDMT000040Participant2 |
(not var.typeCode.oclIsUndefined()) and var.typeCode=ParticipationType::DEV
)->forAll(var : POCDMT000040Participant2 |
(not var.participantRole.oclIsUndefined())
)
RCS-EP Procedure Device Organizer SHALL contain exactly one [1..1] participant (CONF:1166-19213).
This participant SHALL contain at least one [1..1] participantRole (CONF:1166-19214).
Such participantRoles SHALL contain exactly one [1..1] @classCode="ROL" (CONF:1166-91596).
OCL
self.participant->select(var : POCDMT000040Participant2 |
(not var.typeCode.oclIsUndefined()) and var.typeCode=ParticipationType::DEV
)->forAll(var : POCDMT000040Participant2 |
(not var.participantRole.oclIsUndefined())
and (
var.participantRole.classCode.oclIsUndefined()
or var.participantRole.classCode=RoleClassRoot::ROL
)
)
RCS-EP Procedure Device Organizer SHALL contain exactly one [1..1] participant (CONF:1166-19213).
This participant SHALL contain at least one [1..1] participantRole (CONF:1166-19214).
Such participantRoles SHOULD contain zero or more [0..*] id (CONF:1166-91667).
The id, if present, SHALL contain exactly one [1..1] @root, which SHALL be selected from ValueSet Device Identifier Namespace urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.151 STATIC (CONF:1166-91718).
OCL
self.participant->select(var : POCDMT000040Participant2 |
(not var.typeCode.oclIsUndefined()) and var.typeCode=ParticipationType::DEV
)->forAll(var : POCDMT000040Participant2 |
(not var.participantRole.oclIsUndefined())
and var.participantRole.id->forAll(var : II |
(not var.root.oclIsUndefined())
and var.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.151',var.root)
)
)
RCS-EP Procedure Device Organizer SHALL contain exactly one [1..1] participant (CONF:1166-19213).
This participant SHALL contain at least one [1..1] participantRole (CONF:1166-19214).
Such participantRoles SHALL contain exactly one [1..1] playingDevice (CONF:1166-19215).
OCL
self.participant->select(var : POCDMT000040Participant2 |
(not var.typeCode.oclIsUndefined()) and var.typeCode=ParticipationType::DEV
)->forAll(var : POCDMT000040Participant2 |
(not var.participantRole.oclIsUndefined())
and (not var.participantRole.playingDevice.oclIsUndefined())
)
RCS-EP Procedure Device Organizer SHALL contain exactly one [1..1] participant (CONF:1166-19213).
This participant SHALL contain at least one [1..1] participantRole (CONF:1166-19214).
Such participantRoles SHALL contain exactly one [1..1] playingDevice (CONF:1166-19215).
This playingDevice SHALL contain exactly one [1..1] @classCode="DEV" (CONF:1166-91597).
OCL
self.participant->select(var : POCDMT000040Participant2 |
(not var.typeCode.oclIsUndefined()) and var.typeCode=ParticipationType::DEV
)->forAll(var : POCDMT000040Participant2 |
(not var.participantRole.oclIsUndefined())
and (not var.participantRole.playingDevice.oclIsUndefined())
and (
var.participantRole.playingDevice.classCode.oclIsUndefined()
or var.participantRole.playingDevice.classCode=EntityClassDevice::DEV
)
)
RCS-EP Procedure Device Organizer SHALL contain exactly one [1..1] participant (CONF:1166-19213).
This participant SHALL contain at least one [1..1] participantRole (CONF:1166-19214).
Such participantRoles SHALL contain exactly one [1..1] playingDevice (CONF:1166-19215).
This playingDevice SHALL contain exactly one [1..1] @determinerCode="INSTANCE" (CONF:1166-91598).
OCL
self.participant->select(var : POCDMT000040Participant2 |
(not var.typeCode.oclIsUndefined()) and var.typeCode=ParticipationType::DEV
)->forAll(var : POCDMT000040Participant2 |
(not var.participantRole.oclIsUndefined())
and (not var.participantRole.playingDevice.oclIsUndefined())
and (
var.participantRole.playingDevice.determinerCode.oclIsUndefined()
or var.participantRole.playingDevice.determinerCode=EntityDeterminer::INSTANCE
)
)
RCS-EP Procedure Device Organizer SHALL contain exactly one [1..1] participant (CONF:1166-19213).
This participant SHALL contain at least one [1..1] participantRole (CONF:1166-19214).
Such participantRoles SHALL contain exactly one [1..1] playingDevice (CONF:1166-19215).
This playingDevice SHALL contain exactly one [1..1] code (CONF:1166-33827).
OCL
self.participant->select(var : POCDMT000040Participant2 |
(not var.typeCode.oclIsUndefined()) and var.typeCode=ParticipationType::DEV
)->forAll(var : POCDMT000040Participant2 |
(not var.participantRole.oclIsUndefined())
and (not var.participantRole.playingDevice.oclIsUndefined())
and (not var.participantRole.playingDevice.code.oclIsUndefined())
)
RCS-EP Procedure Device Organizer SHALL contain exactly one [1..1] participant (CONF:1166-19213).
This participant SHALL contain at least one [1..1] participantRole (CONF:1166-19214).
Such participantRoles SHALL contain exactly one [1..1] playingDevice (CONF:1166-19215).
This playingDevice SHALL contain exactly one [1..1] code (CONF:1166-33827).
This code SHALL contain exactly one [1..1] @codeSystem (CONF:1166-33829).
OCL
self.participant->select(var : POCDMT000040Participant2 |
(not var.typeCode.oclIsUndefined()) and var.typeCode=ParticipationType::DEV
)->forAll(var : POCDMT000040Participant2 |
(not var.participantRole.oclIsUndefined())
and (not var.participantRole.playingDevice.oclIsUndefined())
and (not var.participantRole.playingDevice.code.oclIsUndefined())
and (not var.participantRole.playingDevice.code.codeSystem.oclIsUndefined())
)
If Document.code="ICD", RCS-EP Procedure Device Organizer SHOULD contain zero or more [0..*] component (CONF:1166-32887).
The component, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:1166-33626).
OCL
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-ICD' or
(
self.component->select( aa : POCDMT000040Component4|
(not aa.observation.oclIsUndefined())
and aa.observation.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.43121'
)
)->forAll(var : POCDMT000040Component4 |
(var.typeCode.oclIsUndefined() or var.typeCode=ActRelationshipHasComponent::COMP)
)
)
If Document.code="ICD", RCS-EP Procedure Device Organizer SHOULD contain zero or more [0..*] component (CONF:1166-32887).
The component, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:1166-33627).
OCL
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-ICD' or
(
self.component->select( aa : POCDMT000040Component4|
(not aa.observation.oclIsUndefined())
and aa.observation.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.43121'
)
)->forAll(var : POCDMT000040Component4 |
(var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true)
)
)
If Document.code="ICD", RCS-EP Procedure Device Organizer SHOULD contain zero or more [0..*] component (CONF:1166-32887).
The component, if present, SHALL contain exactly one [1..1] RCS-EP Procedure Device Observation (identifier: urn:oid:1.3.6.1.4.1.19376.1.4.1.7.4.43121) (CONF:1166-32888).
OCL
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-ICD' or
(
self.component->select( aa : POCDMT000040Component4|
(not aa.observation.oclIsUndefined())
and aa.observation.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.43121'
)
)->size()=1
)
RCS-EP Procedure Observation SHALL contain exactly one [1..1] @classCode="OBS" (CONF:1166-32883).
OCL
self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS
RCS-EP Procedure Observation SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:1166-32884).
OCL
(not self.moodCode.oclIsUndefined()) and self.moodCode=XActMoodDocumentObservation::EVN
RCS-EP Procedure Observation SHALL contain exactly one [1..1] templateId (CONF:1166-32882) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='2.16.840.1.113883.10.20.22.4.2')->size() = 1
RCS-EP Procedure Observation SHALL contain exactly one [1..1] templateId (CONF:1166-32882) such that it
SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.22.4.2" (CONF:1166-32885).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='2.16.840.1.113883.10.20.22.4.2')
RCS-EP Procedure Observation SHALL contain exactly one [1..1] templateId (CONF:1166-32882) such that it
SHALL contain exactly one [1..1] @extension="2014-06-09" (CONF:1166-32886).
OCL
self.templateId->exists(var : II |
(not var.extension.oclIsUndefined()) and var.extension='2014-06-09')
RCS-EP Procedure Observation SHALL contain exactly one [1..1] templateId (CONF:1166-91574) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.43110')->size() = 1
RCS-EP Procedure Observation SHALL contain exactly one [1..1] templateId (CONF:1166-91574) such that it
SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.7.4.43110" (CONF:1166-91576).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.43110')
RCS-EP Procedure Observation SHALL contain exactly one [1..1] code (CONF:1166-33862).
OCL
(not self.code.oclIsUndefined())
RCS-EP Procedure Observation SHALL contain exactly one [1..1] code (CONF:1166-33862).
This code SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Procedure Observation urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.181 STATIC (CONF:1166-33864).
OCL
self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.181', self.code.code))
RCS-EP Procedure Observation SHALL contain exactly one [1..1] code (CONF:1166-33862).
This code SHOULD contain exactly one [1..1] @codeSystem (CONF:1166-33865).
OCL
self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined()))
RCS-EP Procedure Observation SHALL contain exactly one [1..1] statusCode (CONF:1166-91575).
OCL
(not self.statusCode.oclIsUndefined())
RCS-EP Procedure Observation SHALL contain exactly one [1..1] statusCode (CONF:1166-91575).
This statusCode SHALL contain exactly one [1..1] @code="completed" (CONF:1166-91578).
OCL
self.statusCode.oclIsUndefined() or ((not self.statusCode.code.oclIsUndefined()) and self.statusCode.code='completed')
RCS-EP Procedure Observation SHALL contain exactly one [1..1] value (CONF:1166-91478).
OCL
self.value->size() = 1
If Document.code="AFA", RCS-EP Procedure Observation Should contain zero or more [0..*] targetSiteCode (CONF:1166-91802).
The targetSiteCode, if present, SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Adjunctive Ablation Lesion Location urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.201 STATIC (CONF:1166-91803)
OCL
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.targetSiteCode->forAll(var : CD |
(not var.code.oclIsUndefined())
and var.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.201', var.code)
)
)
If Document.code="AFA", RCS-EP Procedure Observation Should contain zero or more [0..*] targetSiteCode (CONF:1166-91802).
The targetSiteCode, if present, SHALL contain exactly one [1..1] @codeSystem (CONF:1166-91804).
OCL
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.targetSiteCode->forAll(var : CD |
(not var.codeSystem.oclIsUndefined())
)
)
RCS-EP Procedure SHALL contain exactly one [1..1] @classCode="PROC" (CONF:1166-91580).
OCL
self.classCode.oclIsUndefined() or self.classCode=ActClass::PROC
RCS-EP Procedure SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:1166-91581).
OCL
self.moodCode=XDocumentProcedureMood::EVN
RCS-EP Procedure SHALL contain exactly one [1..1] templateId (CONF:1166-32889) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='2.16.840.1.113883.10.20.22.4.14')->size() = 1
RCS-EP Procedure SHALL contain exactly one [1..1] templateId (CONF:1166-32889) such that it
SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.22.4.14" (CONF:1166-32894).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='2.16.840.1.113883.10.20.22.4.14')
RCS-EP Procedure SHALL contain exactly one [1..1] templateId (CONF:1166-91653) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.4.19')->size() = 1
RCS-EP Procedure SHALL contain exactly one [1..1] templateId (CONF:1166-91653) such that it
SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.4.19" (CONF:1166-91654).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.4.19')
RCS-EP Procedure SHALL contain exactly one [1..1] templateId (CONF:1166-91579) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.43100')->size() = 1
RCS-EP Procedure SHALL contain exactly one [1..1] templateId (CONF:1166-91579) such that it
SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.7.4.43100" (CONF:1166-91583).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.43100')
RCS-EP Procedure SHALL contain exactly one [1..1] code (CONF:1166-33771).
OCL
(not self.code.oclIsUndefined())
RCS-EP Procedure SHALL contain exactly one [1..1] code (CONF:1166-33771).
This code SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Procedure Type urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.163 STATIC (CONF:1166-33776).
OCL
self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.163', self.code.code))
RCS-EP Procedure SHALL contain exactly one [1..1] code (CONF:1166-33771).
This code SHALL contain exactly one [1..1] @codeSystem (CONF:1166-33777).
OCL
self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined()))
RCS-EP Procedure SHALL contain exactly one [1..1] statusCode (CONF:1166-33778).
OCL
(not self.statusCode.oclIsUndefined())
RCS-EP Procedure SHALL contain exactly one [1..1] statusCode (CONF:1166-33778).
This statusCode SHALL contain exactly one [1..1] @code="completed" (CONF:1166-33821).
OCL
self.statusCode.oclIsUndefined() or ((not self.statusCode.code.oclIsUndefined()) and self.statusCode.code='completed')
If Document.code="AFA" and code@code="18286008:363702006=49436004", RCS-EP Procedure SHALL contain at least one [1..*] methodCode (CONF:1166-91585).
Such methodCodes SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Ablation Strategy urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.211 DYNAMIC (CONF:1166-91607).
OCL
not (
(not self.code.oclIsUndefined())
and self.code.code='18286008:363702006=49436004'
) or
self.__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.methodCode->forAll(var : CE |
(not var.code.oclIsUndefined())
and var.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.211', var.code)
)
)
If Document.code="AFA" and code@code="18286008:363702006=49436004", RCS-EP Procedure SHALL contain at least one [1..*] methodCode (CONF:1166-91585).
The methodCode, if present, SHALL contain exactly one [1..1] @codeSystem (CONF:1166-91608).
OCL
not (
(not self.code.oclIsUndefined())
and self.code.code='18286008:363702006=49436004'
) or
self.__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.methodCode->forAll(var : CE |
(not var.codeSystem.oclIsUndefined())
)
)
RCS-EP Procedure SHOULD contain zero or one [0..1] performer (CONF:1166-91498).
OCL
self.performer->size() < 2
RCS-EP Procedure SHOULD contain zero or one [0..1] performer (CONF:1166-91498).
The performer, if present, SHALL contain exactly one [1..1] assignedEntity (CONF:1166-91499).
OCL
self.performer->select(var : POCDMT000040Performer2 |
(not var.assignedEntity.oclIsUndefined()))->size()<2
RCS-EP Procedure SHOULD contain zero or one [0..1] performer (CONF:1166-91498).
The performer, if present, SHALL contain exactly one [1..1] assignedEntity (CONF:1166-91499).
This assignedEntity SHALL contain exactly one [1..1] @classCode="ASSIGNED" (CONF:1166-91502).
OCL
self.performer->select(var : POCDMT000040Performer2 |
(not var.assignedEntity.oclIsUndefined())
and (
var.assignedEntity.classCode.oclIsUndefined()
or var.assignedEntity.classCode=RoleClassAssignedEntity::ASSIGNED
)
)->size()<2
RCS-EP Procedure SHOULD contain zero or one [0..1] performer (CONF:1166-91498).
The performer, if present, SHALL contain exactly one [1..1] assignedEntity (CONF:1166-91499).
This assignedEntity SHOULD contain zero or one [0..1] id (CONF:1166-91503).
This id SHALL contain exactly one [1..1] @root="2.16.840.1.113883.4.6" NPI (CONF:1166-91540).
OCL
self.performer->select(var : POCDMT000040Performer2 |
(not var.assignedEntity.oclIsUndefined())
)->forAll(var : POCDMT000040Performer2 |
var.assignedEntity.id->forAll(ii : II |
(not ii.root.oclIsUndefined())
and ii.root='2.16.840.1.113883.4.6'
) and
var.assignedEntity.id->select(ii : II |
(not ii.root.oclIsUndefined())
and ii.root='2.16.840.1.113883.4.6'
)->size()<2
)
RCS-EP Procedure SHOULD contain zero or one [0..1] performer (CONF:1166-91498).
The performer, if present, SHALL contain exactly one [1..1] assignedEntity (CONF:1166-91499).
This assignedEntity SHALL contain exactly one [1..1] assignedPerson (CONF:1166-91500).
OCL
self.performer->select(var : POCDMT000040Performer2 |
(not var.assignedEntity.oclIsUndefined())
)->forAll(var : POCDMT000040Performer2|
(not var.assignedEntity.assignedPerson.oclIsUndefined())
)
RCS-EP Procedure SHOULD contain zero or one [0..1] performer (CONF:1166-91498).
The performer, if present, SHALL contain exactly one [1..1] assignedEntity (CONF:1166-91499).
This assignedEntity SHALL contain exactly one [1..1] assignedPerson (CONF:1166-91500).
This assignedPerson SHALL contain exactly one [1..1] @classCode="PSN" (CONF:1166-91504).
OCL
self.performer->select(var : POCDMT000040Performer2 |
(not var.assignedEntity.oclIsUndefined())
)->forAll(var : POCDMT000040Performer2 |
(not var.assignedEntity.assignedPerson.oclIsUndefined())
and (
var.assignedEntity.assignedPerson.classCode.oclIsUndefined()
or var.assignedEntity.assignedPerson.classCode=EntityClass::PSN
)
)
RCS-EP Procedure SHOULD contain zero or one [0..1] performer (CONF:1166-91498).
The performer, if present, SHALL contain exactly one [1..1] assignedEntity (CONF:1166-91499).
This assignedEntity SHALL contain exactly one [1..1] assignedPerson (CONF:1166-91500).
This assignedPerson SHALL contain exactly one [1..1] name (CONF:1166-91501).
OCL
self.performer->select(var : POCDMT000040Performer2 |
(not var.assignedEntity.oclIsUndefined())
)->forAll(var : POCDMT000040Performer2|
(not var.assignedEntity.assignedPerson.oclIsUndefined())
and var.assignedEntity.assignedPerson.name->size()=1
)
RCS-EP Procedure SHOULD contain zero or one [0..1] performer (CONF:1166-91498).
The performer, if present, SHALL contain exactly one [1..1] assignedEntity (CONF:1166-91499).
This assignedEntity SHALL contain exactly one [1..1] assignedPerson (CONF:1166-91500).
This assignedPerson SHALL contain exactly one [1..1] name (CONF:1166-91501).
This name SHOULD contain zero or one [0..1] family (CONF:1166-91505).
OCL
self.performer->select(var : POCDMT000040Performer2 |
(not var.assignedEntity.oclIsUndefined())
)->forAll(var : POCDMT000040Performer2 |
(not var.assignedEntity.assignedPerson.oclIsUndefined())
and var.assignedEntity.assignedPerson.name->size()=1
and var.assignedEntity.assignedPerson.name->first().family->size()=1
)
RCS-EP Procedure SHALL contain one or more [1..*] entryRelationship (CONF:1166-32890).
The entryRelationship, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:1166-33624).
OCL
self.entryRelationship->select( aa : POCDMT000040EntryRelationship|
(not aa.observation.oclIsUndefined())
and aa.observation.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.43110'
)
)->forAll(var : POCDMT000040EntryRelationship |
(not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntryRelationship::COMP
)
RCS-EP Procedure SHALL contain one or more [1..*] entryRelationship (CONF:1166-32890).
The entryRelationship, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:1166-33625).
OCL
self.entryRelationship->select( aa : POCDMT000040EntryRelationship|
(not aa.substanceAdministration.oclIsUndefined())
and aa.substanceAdministration.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.43110'
)
)->forAll(var : POCDMT000040EntryRelationship |
(var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true)
)
If Document.code="AFA", RCS-EP Procedure SHOULD contain zero or more [0..*] entryRelationship (CONF:1166-91515).
The entryRelationship, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:1166-91516).
OCL
self.__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.entryRelationship->select( aa : POCDMT000040EntryRelationship|
(not aa.substanceAdministration.oclIsUndefined())
and aa.substanceAdministration.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.43130'
)
)->forAll(var : POCDMT000040EntryRelationship |
(not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntryRelationship::COMP
)
)
If Document.code="AFA", RCS-EP Procedure SHOULD contain zero or more [0..*] entryRelationship (CONF:1166-91515).
The entryRelationship, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:1166-91517).
OCL
self.__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.entryRelationship->select( aa : POCDMT000040EntryRelationship|
(not aa.substanceAdministration.oclIsUndefined())
and aa.substanceAdministration.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.43130'
)
)->forAll(var : POCDMT000040EntryRelationship |
(var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true)
)
)
RCS-EP Procedure SHOULD contain at least one [1..*] entryRelationship (CONF:1166-32891).
Such entryRelationships SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:1166-33860).
OCL
self.entryRelationship->select( aa : POCDMT000040EntryRelationship|
(not aa.organizer.oclIsUndefined())
and aa.organizer.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.43120'
)
)->forAll(var : POCDMT000040EntryRelationship |
(not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntryRelationship::COMP
)
RCS-EP Procedure SHOULD contain at least one [1..*] entryRelationship (CONF:1166-32891).
Such entryRelationships SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:1166-33861).
OCL
self.entryRelationship->select( aa : POCDMT000040EntryRelationship|
(not aa.organizer.oclIsUndefined())
and aa.organizer.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.43120'
)
)->forAll(var : POCDMT000040EntryRelationship |
(var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true)
)
RCS-EP Procedure SHOULD contain at least one [1..*] entryRelationship (CONF:1166-32891).
Such entryRelationships SHALL contain exactly one [1..1] RCS-EP Procedure Device Organizer (identifier: urn:oid:1.3.6.1.4.1.19376.1.4.1.7.4.43120) (CONF:1166-32897).
OCL
self.entryRelationship->select( aa : POCDMT000040EntryRelationship|
(not aa.organizer.oclIsUndefined())
and aa.organizer.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.43120'
)
)->size() > 0
If Document.code="AFA" and code@code="18286008:363702006=49436004", RCS-EP Procedure SHALL contain at least one [1..*] methodCode (CONF:1166-91585).
OCL
not (
(not self.code.oclIsUndefined())
and self.code.code='18286008:363702006=49436004'
) or
self.__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.methodCode->size()>0
)
RCS-EP Procedure SHOULD contain at least one [1..*] entryRelationship (CONF:1166-32891).
If Document.code="ICD" and code@code="100001025" in the Procedure entry, Such entryRelationships SHALL contain exactly one [1..1] sequenceNumber (CONF:1166-91846).
OCL
not (
(not self.code.oclIsUndefined())
and self.code.code='100001025'
) or
self.__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-ICD' or
(
self.entryRelationship->select( aa : POCDMT000040EntryRelationship|
(not aa.organizer.oclIsUndefined())
and aa.organizer.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.43120'
)
)->forAll(var : POCDMT000040EntryRelationship |
(not var.sequenceNumber.oclIsUndefined())
)
)
RCS-EP Procedure SHALL contain one or more [1..*] entryRelationship (CONF:1166-32890).
If Document.code="AFA", this value May contain zero or one [0..1] @nullFlavor="NA" (CONF:1166-91844).
OCL
self.__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.entryRelationship->select( aa : POCDMT000040EntryRelationship|
(not aa.observation.oclIsUndefined())
and aa.observation.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.43110'
)
)->forAll(var : POCDMT000040EntryRelationship |
var.nullFlavor.oclIsUndefined() or var.nullFlavor=NullFlavor::NA
)
)
RCS-EP Procedure Organizer SHALL contain exactly one [1..1] @classCode="CLUSTER" (CONF:1166-32899).
OCL
(not self.classCode.oclIsUndefined()) and self.classCode=XActClassDocumentEntryOrganizer::CLUSTER
RCS-EP Procedure Organizer SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:1166-32900).
OCL
self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN
RCS-EP Procedure Organizer SHALL contain exactly one [1..1] templateId (CONF:1166-32898) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.43000')->size() = 1
RCS-EP Procedure Organizer SHALL contain exactly one [1..1] templateId (CONF:1166-32898) such that it
SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.7.4.43000" (CONF:1166-32901).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.43000')
RCS-EP Procedure Organizer SHALL contain exactly one [1..1] code (CONF:1166-91729).
OCL
(not self.code.oclIsUndefined())
RCS-EP Procedure Organizer SHALL contain exactly one [1..1] code (CONF:1166-91729).
This code SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Procedure Type urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.163 STATIC (CONF:1166-91730).
OCL
self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.163', self.code.code))
RCS-EP Procedure Organizer SHALL contain exactly one [1..1] code (CONF:1166-91729).
This code SHALL contain exactly one [1..1] @codeSystem (CONF:1166-91731).
OCL
self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined()))
RCS-EP Procedure Organizer SHALL contain exactly one [1..1] statusCode (CONF:1166-33767).
OCL
(not self.statusCode.oclIsUndefined())
RCS-EP Procedure Organizer SHALL contain exactly one [1..1] statusCode (CONF:1166-33767).
This statusCode SHALL contain exactly one [1..1] @code="completed" (CONF:1166-33818).
OCL
self.statusCode.oclIsUndefined() or ((not self.statusCode.code.oclIsUndefined()) and self.statusCode.code='completed')
RCS-EP Procedure Organizer SHALL contain exactly one [1..1] effectiveTime (CONF:1166-33768).
OCL
(not self.effectiveTime.oclIsUndefined())
RCS-EP Procedure Organizer SHALL contain exactly one [1..1] effectiveTime (CONF:1166-33768).
This effectiveTime SHALL contain exactly one [1..1] low (CONF:1166-33855).
OCL
self.effectiveTime.oclIsUndefined() or ((not self.effectiveTime.low.oclIsUndefined()))
RCS-EP Procedure Organizer SHALL contain at least one [1..*] component (CONF:1166-32903).
Such components SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:1166-33857).
OCL
self.component->select( aa : POCDMT000040Component4|
(not aa.procedure.oclIsUndefined())
and aa.procedure.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.43100'
)
)->forAll(var : POCDMT000040Component4 |
(var.typeCode.oclIsUndefined() or var.typeCode=ActRelationshipHasComponent::COMP)
)
RCS-EP Procedure Organizer SHALL contain at least one [1..*] component (CONF:1166-32903).
Such components SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:1166-33858).
OCL
self.component->select( aa : POCDMT000040Component4|
(not aa.procedure.oclIsUndefined())
and aa.procedure.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.43100'
)
)->forAll(var : POCDMT000040Component4 |
(var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true)
)
RCS-EP Procedure Organizer SHALL contain at least one [1..*] component (CONF:1166-32903).
Such components SHALL contain exactly one [1..1] RCS-EP Procedure (identifier: urn:oid:1.3.6.1.4.1.19376.1.4.1.7.4.43100) (CONF:1166-32904).
OCL
self.component->select( aa : POCDMT000040Component4|
(not aa.procedure.oclIsUndefined())
and aa.procedure.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.43100'
)
)->size()>0
RCS-EP Procedure Session Event SHALL contain exactly one [1..1] @classCode="OBS" (CONF:1166-91560).
OCL
self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS
RCS-EP Procedure Session Event SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:1166-91561).
OCL
(not self.moodCode.oclIsUndefined()) and self.moodCode=XActMoodDocumentObservation::EVN
RCS-EP Procedure Session Event SHALL contain exactly one [1..1] @negationInd (CONF:1166-91539).
OCL
(not self.negationInd.oclIsUndefined())
RCS-EP Procedure Session Event SHALL contain exactly one [1..1] templateId (CONF:1166-32910) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='2.16.840.1.113883.10.20.22.4.4')->size() = 1
RCS-EP Procedure Session Event SHALL contain exactly one [1..1] templateId (CONF:1166-32910) such that it
SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.22.4.4" (CONF:1166-32913).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='2.16.840.1.113883.10.20.22.4.4')
RCS-EP Procedure Session Event SHALL contain exactly one [1..1] templateId (CONF:1166-32910) such that it
SHALL contain exactly one [1..1] @extension="2014-06-09" (CONF:1166-32914).
OCL
self.templateId->select(var : II |
(not var.root.oclIsUndefined()) and var.root='2.16.840.1.113883.10.20.22.4.4'
)->forAll(ii : II |
(not ii.extension.oclIsUndefined()) and ii.extension='2014-06-09'
)
RCS-EP Procedure Session Event SHALL contain exactly one [1..1] templateId (CONF:1166-91563) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.44000')->size() = 1
RCS-EP Procedure Session Event SHALL contain exactly one [1..1] templateId (CONF:1166-91563) such that it
SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.7.4.44000" (CONF:1166-91564).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.44000')
RCS-EP Procedure Session Event SHALL contain exactly one [1..1] code (CONF:1166-33804).
OCL
(not self.code.oclIsUndefined())
RCS-EP Procedure Session Event SHALL contain exactly one [1..1] code (CONF:1166-33804).
This code SHALL contain exactly one [1..1] @code="100001085" Procedure Session Event (CONF:1166-33807).
OCL
self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.code='100001085')
RCS-EP Procedure Session Event SHALL contain exactly one [1..1] code (CONF:1166-33804).
This code SHALL contain exactly one [1..1] @codeSystem (CONF:1166-33808).
OCL
self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined()))
RCS-EP Procedure Session Event SHALL contain exactly one [1..1] statusCode (CONF:1166-91559).
OCL
(not self.statusCode.oclIsUndefined())
RCS-EP Procedure Session Event SHALL contain exactly one [1..1] statusCode (CONF:1166-91559).
This statusCode SHALL contain exactly one [1..1] @code="completed" (CONF:1166-91562).
OCL
self.statusCode.oclIsUndefined() or ((not self.statusCode.code.oclIsUndefined()) and self.statusCode.code='completed')
RCS-EP Procedure Session Event SHALL contain exactly one [1..1] value with @xsi:type="CD" (CONF:1166-33810).
OCL
self.value->select(val : ANY |
val.oclIsKindOf(CD)
)->size()=1
RCS-EP Procedure Session Event SHALL contain exactly one [1..1] value with @xsi:type="CD" (CONF:1166-33810).
This value SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Procedure Session Event Observation urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.158 STATIC (CONF:1166-91480).
OCL
self.value->select(val : ANY |
val.oclIsKindOf(CD)
and (not val.oclAsType(CD).code.oclIsUndefined())
and val.oclAsType(CD).matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.158', val.oclAsType(CD).code)
)->size()=1
RCS-EP Procedure Session Event SHALL contain exactly one [1..1] value with @xsi:type="CD" (CONF:1166-33810).
This value SHALL contain exactly one [1..1] @codeSystem (CONF:1166-91481).
OCL
self.value->forAll(val : ANY |
val.oclIsKindOf(CD)
and (not val.oclAsType(CD).codeSystem.oclIsUndefined())
)
RCS-EP Procedure Session Event MAY contain zero or one [0..1] targetSiteCode (CONF:1166-91705).
The targetSiteCode, if present, SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Procedure Target Site urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.167 STATIC (CONF:1166-91706).
OCL
self.targetSiteCode->forAll(var : CD |
(not var.code.oclIsUndefined()) and var.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.167', var.code))
RCS-EP Procedure Session Event MAY contain zero or one [0..1] targetSiteCode (CONF:1166-91705).
The targetSiteCode, if present, SHALL contain exactly one [1..1] @codeSystem (CONF:1166-91707).
OCL
self.targetSiteCode->forAll(var : CD |
(not var.codeSystem.oclIsUndefined())) and
self.targetSiteCode->size()<2
If Document.code="AFA", RCS-EP Procedure Session Event MAY contain zero or more [0..*] entryRelationship (CONF:1166-91814).
The entryRelationship, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:1166-91817).
OCL
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.entryRelationship->forAll(var : POCDMT000040EntryRelationship |
(not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntryRelationship::COMP
)
)
If Document.code="AFA", RCS-EP Procedure Session Event MAY contain zero or more [0..*] entryRelationship (CONF:1166-91814).
The entryRelationship, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:1166-91818).
OCL
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.entryRelationship->forAll(var : POCDMT000040EntryRelationship |
(var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true)
)
)
If Document.code="AFA", RCS-EP Procedure Session Event MAY contain zero or more [0..*] entryRelationship (CONF:1166-91814).
The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:1166-91815).
OCL
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.entryRelationship->forAll(var : POCDMT000040EntryRelationship |
(not var.observation.oclIsUndefined())
)
)
If Document.code="AFA", RCS-EP Procedure Session Event MAY contain zero or more [0..*] entryRelationship (CONF:1166-91814).
The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:1166-91815).
This observation SHALL contain exactly one [1..1] @classCode="OBS" (CONF:1166-91819).
OCL
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.entryRelationship->forAll(var : POCDMT000040EntryRelationship |
(not var.observation.oclIsUndefined())
and (not var.observation.classCode.oclIsUndefined())
and var.observation.classCode=ActClassObservation::OBS
)
)
If Document.code="AFA", RCS-EP Procedure Session Event MAY contain zero or more [0..*] entryRelationship (CONF:1166-91814).
The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:1166-91815).
This observation SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:1166-91820).
OCL
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.entryRelationship->forAll(var : POCDMT000040EntryRelationship |
(not var.observation.oclIsUndefined())
and (not var.observation.moodCode.oclIsUndefined())
and var.observation.moodCode=XActMoodDocumentObservation::EVN
)
)
If Document.code="AFA", RCS-EP Procedure Session Event MAY contain zero or more [0..*] entryRelationship (CONF:1166-91814).
The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:1166-91815).
This observation SHALL contain exactly one [1..1] code (CONF:1166-91816).
OCL
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.entryRelationship->forAll(var : POCDMT000040EntryRelationship |
(not var.observation.oclIsUndefined())
and (not var.observation.code.oclIsUndefined())
)
)
If Document.code="AFA", RCS-EP Procedure Session Event MAY contain zero or more [0..*] entryRelationship (CONF:1166-91814).
The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:1166-91815).
This observation SHALL contain exactly one [1..1] code (CONF:1166-91816).
This code SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Procedure Session Event Finding urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.224 (CONF:1166-91821).
OCL
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.entryRelationship->forAll(var : POCDMT000040EntryRelationship |
(not var.observation.oclIsUndefined())
and (not var.observation.code.oclIsUndefined())
and (not var.observation.code.code.oclIsUndefined())
and var.observation.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.224', var.observation.code.code)
)
)
If Document.code="AFA", RCS-EP Procedure Session Event MAY contain zero or more [0..*] entryRelationship (CONF:1166-91814).
The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:1166-91815).
This observation SHALL contain exactly one [1..1] code (CONF:1166-91816).
This code SHALL contain exactly one [1..1] @codeSystem (CONF:1166-91822).
OCL
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.entryRelationship->forAll(var : POCDMT000040EntryRelationship |
(not var.observation.oclIsUndefined())
and (not var.observation.code.oclIsUndefined())
and (not var.observation.code.codeSystem.oclIsUndefined())
)
)
If Document.code="AFA", RCS-EP Procedure Session Event MAY contain zero or more [0..*] entryRelationship (CONF:1166-91814).
The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:1166-91815).
This observation SHALL contain exactly one [1..1] value (CONF:1166-91823).
OCL
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.entryRelationship->forAll(var : POCDMT000040EntryRelationship |
(not var.observation.oclIsUndefined())
and var.observation.value->size()=1
)
)
If Document.code="AFA", RCS-EP Procedure Session Event MAY contain zero or more [0..*] entryRelationship (CONF:1166-91814).
The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:1166-91815).
This observation SHALL contain exactly one [1..1] value (CONF:1166-91823).
This value MAY contain zero or one [0..1] @nullFlavor="NA", which SHALL be selected from ValueSet Null Flavor urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.1008 STATIC(CONF:1166-91824).
OCL
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.entryRelationship->forAll(var : POCDMT000040EntryRelationship |
(not var.observation.oclIsUndefined())
and var.observation.value->forAll( aa : ANY |
aa.nullFlavor.oclIsUndefined() or
aa.nullFlavor=NullFlavor::NA
)
)
)
RCS-EP Pre-procedure Vital Sign Observation SHALL contain exactly one [1..1] @classCode="OBS" (CONF:1166-91629).
OCL
self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS
RCS-EP Pre-procedure Vital Sign Observation SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:1166-91630).
OCL
(not self.moodCode.oclIsUndefined()) and self.moodCode=XActMoodDocumentObservation::EVN
RCS-EP Pre-procedure Vital Sign Observation SHALL contain exactly one [1..1] templateId (CONF:1166-32915) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='2.16.840.1.113883.10.20.22.4.27')->size() = 1
RCS-EP Pre-procedure Vital Sign Observation SHALL contain exactly one [1..1] templateId (CONF:1166-32915) such that it
SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.22.4.27" (CONF:1166-32918).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='2.16.840.1.113883.10.20.22.4.27')
RCS-EP Pre-procedure Vital Sign Observation SHALL contain exactly one [1..1] templateId (CONF:1166-91627) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.41500')->size() = 1
RCS-EP Pre-procedure Vital Sign Observation SHALL contain exactly one [1..1] templateId (CONF:1166-91627) such that it
SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.7.4.41500" (CONF:1166-91631).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.41500')
RCS-EP Pre-procedure Vital Sign Observation SHALL contain exactly one [1..1] code (CONF:1166-33758).
OCL
(not self.code.oclIsUndefined())
RCS-EP Pre-procedure Vital Sign Observation SHALL contain exactly one [1..1] code (CONF:1166-33758).
This code SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Pre-procedure Vital Sign urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.178 STATIC (CONF:1166-33761).
OCL
self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.178', self.code.code))
RCS-EP Pre-procedure Vital Sign Observation SHALL contain exactly one [1..1] code (CONF:1166-33758).
This code SHALL contain exactly one [1..1] @codeSystem (CONF:1166-33762).
OCL
self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined()))
RCS-EP Pre-procedure Vital Sign Observation SHALL contain exactly one [1..1] statusCode (CONF:1166-91628).
OCL
(not self.statusCode.oclIsUndefined())
RCS-EP Pre-procedure Vital Sign Observation SHALL contain exactly one [1..1] statusCode (CONF:1166-91628).
This statusCode SHALL contain exactly one [1..1] @code="completed" (CONF:1166-91633).
OCL
self.statusCode.oclIsUndefined() or ((not self.statusCode.code.oclIsUndefined()) and self.statusCode.code='completed')
RCS-EP Pre-procedure Vital Sign Observation SHALL contain exactly one [1..1] value with @xsi:type="PQ" (CONF:1166-91544)
OCL
self.value->forAll(val : ANY |
val.oclIsKindOf(PQ)
)
and self.value->size()=1
RCS-EP Pre-procedure Observation SHALL contain exactly one [1..1] @classCode="OBS" (CONF:1166-91637).
OCL
self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS
RCS-EP Pre-procedure Observation SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:1166-91638).
OCL
(not self.moodCode.oclIsUndefined()) and self.moodCode=XActMoodDocumentObservation::EVN
RCS-EP Pre-procedure Observation SHALL contain exactly one [1..1] templateId (CONF:1166-32920) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='2.16.840.1.113883.10.20.22.4.4')->size() = 1
RCS-EP Pre-procedure Observation SHALL contain exactly one [1..1] templateId (CONF:1166-32920) such that it
SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.22.4.4" (CONF:1166-32923).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='2.16.840.1.113883.10.20.22.4.4')
RCS-EP Pre-procedure Observation SHALL contain exactly one [1..1] templateId (CONF:1166-32920) such that it
SHALL contain exactly one [1..1] @extension="2014-06-09" (CONF:1166-32924).
OCL
self.templateId->exists(var : II |
(not var.extension.oclIsUndefined()) and var.extension='2014-06-09')
RCS-EP Pre-procedure Observation SHALL contain exactly one [1..1] templateId (CONF:1166-91636) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.41300')->size() = 1
RCS-EP Pre-procedure Observation SHALL contain exactly one [1..1] code (CONF:1166-33710).
OCL
(not self.code.oclIsUndefined())
RCS-EP Pre-procedure Observation SHALL contain exactly one [1..1] code (CONF:1166-33710).
This code SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Pre-procedure Observation urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.176 STATIC (CONF:1166-33714).
OCL
self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.176', self.code.code))
RCS-EP Pre-procedure Observation SHALL contain exactly one [1..1] code (CONF:1166-33710).
This code SHALL contain exactly one [1..1] @codeSystem (CONF:1166-33715).
OCL
self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined()))
RCS-EP Pre-procedure Observation SHALL contain exactly one [1..1] value (CONF:1166-33711).
OCL
self.value->size() = 1
RCS-EP Pre-procedure Laboratory Result Observation SHALL contain exactly one [1..1] @classCode="OBS" (CONF:1166-91611).
OCL
self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS
RCS-EP Pre-procedure Laboratory Result Observation SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:1166-91612).
OCL
(not self.moodCode.oclIsUndefined()) and self.moodCode=XActMoodDocumentObservation::EVN
RCS-EP Pre-procedure Laboratory Result Observation SHALL contain exactly one [1..1] templateId (CONF:1166-32925) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='2.16.840.1.113883.10.20.22.4.2')->size() = 1
RCS-EP Pre-procedure Laboratory Result Observation SHALL contain exactly one [1..1] templateId (CONF:1166-32925) such that it
SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.22.4.2" (CONF:1166-32928).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='2.16.840.1.113883.10.20.22.4.2')
RCS-EP Pre-procedure Laboratory Result Observation SHALL contain exactly one [1..1] templateId (CONF:1166-32925) such that it
SHALL contain exactly one [1..1] @extension="2014-06-09" (CONF:1166-32929).
OCL
self.templateId->exists(var : II |
(not var.extension.oclIsUndefined()) and var.extension='2014-06-09')
RCS-EP Pre-procedure Laboratory Result Observation SHALL contain exactly one [1..1] templateId (CONF:1166-91610) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.41200')->size() = 1
RCS-EP Pre-procedure Laboratory Result Observation SHALL contain exactly one [1..1] templateId (CONF:1166-91610) such that it
SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.7.4.41200" (CONF:1166-91613).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.41200')
RCS-EP Pre-procedure Laboratory Result Observation SHALL contain exactly one [1..1] code (CONF:1166-33751).
OCL
(not self.code.oclIsUndefined())
RCS-EP Pre-procedure Laboratory Result Observation SHALL contain exactly one [1..1] code (CONF:1166-33751).
This code SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Pre-procedure Laboratory Result urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.175 STATIC (CONF:1166-33753).
OCL
self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.175', self.code.code))
RCS-EP Pre-procedure Laboratory Result Observation SHALL contain exactly one [1..1] code (CONF:1166-33751).
This code SHALL contain exactly one [1..1] @codeSystem (CONF:1166-33754).
OCL
self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined()))
RCS-EP Pre-procedure Laboratory Result Observation SHALL contain exactly one [1..1] statusCode (CONF:1166-33755).
OCL
(not self.statusCode.oclIsUndefined())
RCS-EP Pre-procedure Laboratory Result Observation SHALL contain exactly one [1..1] statusCode (CONF:1166-33755).
This statusCode SHALL contain exactly one [1..1] @code="completed" (CONF:1166-91615).
OCL
self.statusCode.oclIsUndefined() or ((not self.statusCode.code.oclIsUndefined()) and self.statusCode.code='completed')
RCS-EP Pre-procedure Laboratory Result Observation SHALL contain exactly one [1..1] value (CONF:1166-91464).
OCL
self.value->size() = 1
RCS-EP Pre-procedure Laboratory Result Observation SHALL contain exactly one [1..1] value (CONF:1166-91464).
If negationInd=”True”, this value MAY contain zero or one [0..1] @nullFlavor="NA", which SHALL be selected from CodeSystem HL7NullFlavor (urn:oid:2.16.840.1.113883.5.1008) STATIC (CONF:1166- 91845).
OCL
self.negationInd.oclIsUndefined() or self.negationInd=false or (
self.negationInd=true
and (
self.value->forAll( aa : ANY |
aa.nullFlavor.oclIsUndefined() or
aa.nullFlavor=NullFlavor::NA
)
)
)
RCS-EP Pre-procedure Test Result Observation SHALL contain exactly one [1..1] @classCode="OBS" (CONF:1166-91620).
OCL
self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS
RCS-EP Pre-procedure Test Result Observation SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:1166-91621).
OCL
(not self.moodCode.oclIsUndefined()) and self.moodCode=XActMoodDocumentObservation::EVN
RCS-EP Pre-procedure Test Result Observation SHALL contain exactly one [1..1] templateId (CONF:1166-32930) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='2.16.840.1.113883.10.20.22.4.13')->size() = 1
RCS-EP Pre-procedure Test Result Observation SHALL contain exactly one [1..1] templateId (CONF:1166-32930) such that it
SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.22.4.13" (CONF:1166-32933).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='2.16.840.1.113883.10.20.22.4.13')
RCS-EP Pre-procedure Test Result Observation SHALL contain exactly one [1..1] templateId (CONF:1166-32930) such that it
SHALL contain exactly one [1..1] @extension="2014-06-09" (CONF:1166-32934).
OCL
self.templateId->exists(var : II |
(not var.extension.oclIsUndefined()) and var.extension='2014-06-09')
RCS-EP Pre-procedure Test Result Observation SHALL contain exactly one [1..1] templateId (CONF:1166-91618) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.41100')->size() = 1
RCS-EP Pre-procedure Test Result Observation SHALL contain exactly one [1..1] templateId (CONF:1166-91618) such that it
SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.7.4.41100" (CONF:1166-91622).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.41100')
RCS-EP Pre-procedure Test Result Observation SHALL contain exactly one [1..1] code (CONF:1166-33740).
OCL
(not self.code.oclIsUndefined())
RCS-EP Pre-procedure Test Result Observation SHALL contain exactly one [1..1] code (CONF:1166-33740).
This code SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Pre-procedure Test Result urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.174 STATIC (CONF:1166-33745).
OCL
self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.174', self.code.code))
RCS-EP Pre-procedure Test Result Observation SHALL contain exactly one [1..1] code (CONF:1166-33740).
This code SHALL contain exactly one [1..1] @codeSystem (CONF:1166-33746).
OCL
self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined()))
RCS-EP Pre-procedure Test Result Observation SHALL contain exactly one [1..1] statusCode (CONF:1166-33747).
OCL
(not self.statusCode.oclIsUndefined())
RCS-EP Pre-procedure Test Result Observation SHALL contain exactly one [1..1] statusCode (CONF:1166-33747).
This statusCode SHALL contain exactly one [1..1] @code="completed" (CONF:1166-91535).
OCL
self.statusCode.oclIsUndefined() or ((not self.statusCode.code.oclIsUndefined()) and self.statusCode.code='completed')
RCS-EP Pre-procedure Test Result Observation SHALL contain exactly one [1..1] value (CONF:1166-91470).
OCL
self.value->size() = 1
RCS-EP Pre-procedure Activity Organizer SHALL contain exactly one [1..1] @classCode="CLUSTER" (CONF:1166-33552).
OCL
(not self.classCode.oclIsUndefined()) and self.classCode=XActClassDocumentEntryOrganizer::CLUSTER
RCS-EP Pre-procedure Activity Organizer SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:1166-33553).
OCL
self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN
RCS-EP Pre-procedure Activity Organizer SHALL contain exactly one [1..1] templateId (CONF:1166-33554) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.41000')->size() = 1
RCS-EP Pre-procedure Activity Organizer SHALL contain exactly one [1..1] templateId (CONF:1166-33554) such that it
SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.7.4.41000" (CONF:1166-33608).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.41000')
RCS-EP Pre-procedure Activity Organizer SHALL contain exactly one [1..1] statusCode (CONF:1166-33601).
OCL
(not self.statusCode.oclIsUndefined())
RCS-EP Pre-procedure Activity Organizer SHALL contain exactly one [1..1] statusCode (CONF:1166-33601).
This statusCode SHALL contain exactly one [1..1] @code="completed" (CONF:1166-91532).
OCL
self.statusCode.oclIsUndefined() or ((not self.statusCode.code.oclIsUndefined()) and self.statusCode.code='completed')
RCS-EP Pre-procedure Activity Organizer SHOULD contain zero or more [0..*] component (CONF:1166-33603).
The component, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:1166-33609).
OCL
self.component->select( aa : POCDMT000040Component4|
(not aa.observation.oclIsUndefined())
and aa.observation.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.41100'
)
)->forAll(var : POCDMT000040Component4 |
(var.typeCode.oclIsUndefined() or var.typeCode=ActRelationshipHasComponent::COMP)
)
RCS-EP Pre-procedure Activity Organizer SHOULD contain zero or more [0..*] component (CONF:1166-33603).
The component, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:1166-33610).
OCL
self.component->select( aa : POCDMT000040Component4|
(not aa.observation.oclIsUndefined())
and aa.observation.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.41100'
)
)->forAll(var : POCDMT000040Component4 |
(var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true)
)
RCS-EP Pre-procedure Activity Organizer SHOULD contain zero or more [0..*] component (CONF:1166-33736).
The component, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:1166-33844).
OCL
self.component->select( aa : POCDMT000040Component4|
(not aa.procedure.oclIsUndefined())
and aa.procedure.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.41600'
)
)->forAll(var : POCDMT000040Component4 |
(var.typeCode.oclIsUndefined() or var.typeCode=ActRelationshipHasComponent::COMP)
)
RCS-EP Pre-procedure Activity Organizer SHOULD contain zero or more [0..*] component (CONF:1166-33736).
The component, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:1166-33845).
OCL
self.component->select( aa : POCDMT000040Component4|
(not aa.procedure.oclIsUndefined())
and aa.procedure.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.41600'
)
)->forAll(var : POCDMT000040Component4 |
(var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true)
)
RCS-EP Pre-procedure Activity Organizer SHOULD contain zero or more [0..*] component (CONF:1166-33604).
The component, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:1166-33612).
OCL
self.component->select( aa : POCDMT000040Component4|
(not aa.observation.oclIsUndefined())
and aa.observation.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.41200'
)
)->forAll(var : POCDMT000040Component4 |
( var.typeCode.oclIsUndefined() or var.typeCode=ActRelationshipHasComponent::COMP)
)
RCS-EP Pre-procedure Activity Organizer SHOULD contain zero or more [0..*] component (CONF:1166-33604).
The component, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:1166-33613).
OCL
self.component->select( aa : POCDMT000040Component4|
(not aa.observation.oclIsUndefined())
and aa.observation.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.41200'
)
)->forAll(var : POCDMT000040Component4 |
(var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true)
)
If Document.code="AFA", RCS-EP Pre-procedure Activity Organizer SHOULD contain zero or more [0..*] component (CONF:1166-33605).
The component, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:1166-33615).
OCL
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.component->select( aa : POCDMT000040Component4|
(not aa.observation.oclIsUndefined())
and aa.observation.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.41500'
)
)->forAll(var : POCDMT000040Component4 |
(var.typeCode.oclIsUndefined() or var.typeCode=ActRelationshipHasComponent::COMP)
)
)
If Document.code="AFA", RCS-EP Pre-procedure Activity Organizer SHOULD contain zero or more [0..*] component (CONF:1166-33605).
The component, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:1166-33616).
OCL
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.component->select( aa : POCDMT000040Component4|
(not aa.observation.oclIsUndefined())
and aa.observation.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.41500'
)
)->forAll(var : POCDMT000040Component4 |
(var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true)
)
)
RCS-EP Pre-procedure Activity Organizer SHOULD contain zero or more [0..*] component (CONF:1166-33607).
The component, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:1166-33621).
OCL
self.component->select( aa : POCDMT000040Component4|
(not aa.observation.oclIsUndefined())
and aa.observation.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.41300'
)
)->forAll(var : POCDMT000040Component4 |
(var.typeCode.oclIsUndefined() or var.typeCode=ActRelationshipHasComponent::COMP)
)
RCS-EP Pre-procedure Activity Organizer SHOULD contain zero or more [0..*] component (CONF:1166-33607).
The component, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:1166-33622).
OCL
self.component->select( aa : POCDMT000040Component4|
(not aa.observation.oclIsUndefined())
and aa.observation.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.41300'
)
)->forAll(var : POCDMT000040Component4 |
(var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true)
)
If Document.code="AFA", RCS-EP Pre-procedure Activity Organizer SHOULD contain zero or more [0..*] component (CONF:1166-91425).
The component, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:1166-91426).
OCL
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.component->select( aa : POCDMT000040Component4|
(not aa.substanceAdministration.oclIsUndefined())
and aa.substanceAdministration.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.41700'
)
)->forAll(var : POCDMT000040Component4 |
(var.typeCode.oclIsUndefined() or var.typeCode=ActRelationshipHasComponent::COMP)
)
)
If Document.code="AFA", RCS-EP Pre-procedure Activity Organizer SHOULD contain zero or more [0..*] component (CONF:1166-91425).
The component, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:1166-91427).
OCL
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.component->select( aa : POCDMT000040Component4|
(not aa.substanceAdministration.oclIsUndefined())
and aa.substanceAdministration.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.41700'
)
)->forAll(var : POCDMT000040Component4 |
(var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true)
)
)
If Document.code="AFA", RCS-EP Pre-procedure Activity Organizer, Should contain zero or one [0..1] component (CONF:1166-91840).
The component, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:1166-91841).
OCL
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.component->select( aa : POCDMT000040Component4|
(not aa.observation.oclIsUndefined())
and aa.observation.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.41800'
)
)->forAll(var : POCDMT000040Component4 |
(var.typeCode.oclIsUndefined() or var.typeCode=ActRelationshipHasComponent::COMP)
)
)
If Document.code="AFA", RCS-EP Pre-procedure Activity Organizer, Should contain zero or one [0..1] component (CONF:1166-91840).
The component, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (2CONF:1166-91842).
OCL
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.component->select( aa : POCDMT000040Component4|
(not aa.observation.oclIsUndefined())
and aa.observation.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.41800'
)
)->forAll(var : POCDMT000040Component4 |
(var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true)
)
)
RCS-EP Procedure Session Section SHALL contain exactly one [1..1] @classCode="DOCSECT" (CONF:1166-91550).
OCL
self.classCode.oclIsUndefined() or self.classCode=ActClass::DOCSECT
RCS-EP Procedure Session Section SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:1166-91551).
OCL
self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN
RCS-EP Procedure Session Section SHALL contain exactly one [1..1] templateId (CONF:1166-91549) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.2.40000')->size() = 1
RCS-EP Procedure Session Section SHALL contain exactly one [1..1] templateId (CONF:1166-91549) such that it
SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.7.2.40000" (CONF:1166-91556).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.2.40000')
RCS-EP Procedure Session Section SHALL contain exactly one [1..1] code (CONF:1166-91548).
OCL
(not self.code.oclIsUndefined())
RCS-EP Procedure Session Section SHALL contain exactly one [1..1] code (CONF:1166-91548).
This code SHALL contain exactly one [1..1] @code="29554-3" (CONF:1166-91554).
OCL
self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.code='29554-3')
RCS-EP Procedure Session Section SHALL contain exactly one [1..1] code (CONF:1166-91548).
This code SHALL contain exactly one [1..1] @codeSystem, which SHALL be selected from CodeSystem LOINC (urn:oid:2.16.840.1.113883.6.1) STATIC (CONF:1166-91555).
OCL
self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined()) and self.code.codeSystem='2.16.840.1.113883.6.1')
RCS-EP Procedure Session Section SHALL contain exactly one [1..1] title="Procedure Session Section" (CONF:1166-91431).
OCL
(not self.title.oclIsUndefined()) and
self.title.getListStringValues()->exists(st : String | st='Procedure Session Section')
RCS-EP Procedure Session Section MAY contain zero or more [0..*] entry (CONF:1166-33643).
The entry, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:1166-33651).
OCL
self.entry->select( aa : POCDMT000040Entry|
(not aa.observation.oclIsUndefined())
and aa.observation.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.44000'
)
)->forAll(var : POCDMT000040Entry |
(not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntry::COMP
)
RCS-EP Procedure Session Section MAY contain zero or more [0..*] entry (CONF:1166-33643).
The entry, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:1166-33652).
OCL
self.entry->select( aa : POCDMT000040Entry|
(not aa.observation.oclIsUndefined())
and aa.observation.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.44000'
)
)->forAll(var : POCDMT000040Entry |
(var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true)
)
RCS-EP Procedure Session Section SHALL contain exactly one [1..1] entry (CONF:1166-33644).
This entry SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:1166-33654).
OCL
self.entry->select( aa : POCDMT000040Entry|
(not aa.organizer.oclIsUndefined())
and aa.organizer.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.43000'
)
)->forAll(var : POCDMT000040Entry |
(not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntry::COMP
)
RCS-EP Procedure Session Section SHALL contain exactly one [1..1] entry (CONF:1166-33644).
This entry SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:1166-33655).
OCL
self.entry->select( aa : POCDMT000040Entry|
(not aa.organizer.oclIsUndefined())
and aa.organizer.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.43000'
)
)->forAll(var : POCDMT000040Entry |
(var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true)
)
RCS-EP Procedure Session Section SHALL contain exactly one [1..1] entry (CONF:1166-33644).
This entry SHALL contain exactly one [1..1] RCS-EP Procedure Organizer (identifier: urn:oid:1.3.6.1.4.1.19376.1.4.1.7.4.43000) (CONF:1166-33656).
OCL
self.entry->select( aa : POCDMT000040Entry|
(not aa.organizer.oclIsUndefined())
and aa.organizer.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.43000'
)
)->size()=1
RCS-EP Procedure Session Section SHALL contain zero or more [0..*] entry (CONF:1166-91700).
The entry, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:1166-91808).
OCL
self.entry->select( aa : POCDMT000040Entry|
(not aa.observation.oclIsUndefined())
and aa.observation.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.42000'
)
)->forAll(var : POCDMT000040Entry |
(not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntry::COMP
)
RCS-EP Procedure Session Section SHALL contain zero or more [0..*] entry (CONF:1166-91700).
The entry, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:1166-91809).
OCL
self.entry->select( aa : POCDMT000040Entry|
(not aa.observation.oclIsUndefined())
and aa.observation.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.42000'
)
)->forAll(var : POCDMT000040Entry |
(var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true)
)
RCS-EP Discharge Medication SHALL contain exactly one [1..1] @classCode="SBADM" (CONF:1166-32832).
OCL
self.classCode.oclIsUndefined() or self.classCode=ActClass::SBADM
RCS-EP Discharge Medication SHALL contain exactly one [1..1] @moodCode="RQO" (CONF:1166-32833).
OCL
(not self.moodCode.oclIsUndefined()) and self.moodCode=XDocumentSubstanceMood::RQO
RCS-EP Discharge Medication SHALL contain exactly one [1..1] templateId (CONF:1166-32824) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.52000')->size() = 1
RCS-EP Discharge Medication SHALL contain exactly one [1..1] templateId (CONF:1166-32824) such that it
SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.7.4.52000" (CONF:1166-33636).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.52000')
RCS-EP Discharge Medication SHALL contain exactly one [1..1] consumable (CONF:1166-32820).
OCL
(not self.consumable.oclIsUndefined())
RCS-EP Discharge Medication SHALL contain exactly one [1..1] consumable (CONF:1166-32820).
This consumable SHALL contain exactly one [1..1] @typeCode="CSM" (CONF:1166-32835).
OCL
self.consumable.oclIsUndefined() or (self.consumable.typeCode.oclIsUndefined() or self.consumable.typeCode=ParticipationType::CSM)
RCS-EP Discharge Medication SHALL contain exactly one [1..1] consumable (CONF:1166-32820).
This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:1166-32821).
OCL
self.consumable.oclIsUndefined() or ((not self.consumable.manufacturedProduct.oclIsUndefined()))
RCS-EP Discharge Medication SHALL contain exactly one [1..1] consumable (CONF:1166-32820).
This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:1166-32821).
This manufacturedProduct SHALL contain exactly one [1..1] @classCode="MANU" (CONF:1166-32836).
OCL
self.consumable.oclIsUndefined() or (
(not self.consumable.manufacturedProduct.oclIsUndefined())
and (
self.consumable.manufacturedProduct.classCode.oclIsUndefined()
or self.consumable.manufacturedProduct.classCode=RoleClassManufacturedProduct::MANU
)
)
RCS-EP Discharge Medication SHALL contain exactly one [1..1] consumable (CONF:1166-32820).
This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:1166-32821).
This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:1166-32822).
OCL
self.consumable.oclIsUndefined() or (
(not self.consumable.manufacturedProduct.oclIsUndefined())
and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined())
)
RCS-EP Discharge Medication SHALL contain exactly one [1..1] consumable (CONF:1166-32820).
This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:1166-32821).
This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:1166-32822).
This manufacturedMaterial SHALL contain exactly one [1..1] @classCode="MMAT" (CONF:1166-32837).
OCL
self.consumable.oclIsUndefined() or (
(not self.consumable.manufacturedProduct.oclIsUndefined())
and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined())
and (
self.consumable.manufacturedProduct.manufacturedMaterial.classCode.oclIsUndefined()
or self.consumable.manufacturedProduct.manufacturedMaterial.classCode=EntityClassManufacturedMaterial::MMAT
)
)
RCS-EP Discharge Medication SHALL contain exactly one [1..1] consumable (CONF:1166-32820).
This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:1166-32821).
This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:1166-32822).
This manufacturedMaterial SHALL contain exactly one [1..1] @determinerCode="KIND" (CONF:1166-32838).
OCL
self.consumable.oclIsUndefined() or (
(not self.consumable.manufacturedProduct.oclIsUndefined())
and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined())
and (
self.consumable.manufacturedProduct.manufacturedMaterial.determinerCode.oclIsUndefined()
or self.consumable.manufacturedProduct.manufacturedMaterial.determinerCode=EntityDeterminerDetermined::KIND
)
)
RCS-EP Discharge Medication SHALL contain exactly one [1..1] consumable (CONF:1166-32820).
This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:1166-32821).
This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:1166-32822).
This manufacturedMaterial SHALL contain exactly one [1..1] code (CONF:1166-32823).
OCL
self.consumable.oclIsUndefined() or (
(not self.consumable.manufacturedProduct.oclIsUndefined())
and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined())
and (not self.consumable.manufacturedProduct.manufacturedMaterial.code.oclIsUndefined())
)
RCS-EP Discharge Medication SHALL contain exactly one [1..1] consumable (CONF:1166-32820).
This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:1166-32821).
This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:1166-32822).
This manufacturedMaterial SHALL contain exactly one [1..1] code (CONF:1166-32823).
This code SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Discharge Medication urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.165 DYNAMIC (CONF:1166-33830).
OCL
self.consumable.oclIsUndefined() or (
(not self.consumable.manufacturedProduct.oclIsUndefined())
and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined())
and (not self.consumable.manufacturedProduct.manufacturedMaterial.code.oclIsUndefined())
and (not self.consumable.manufacturedProduct.manufacturedMaterial.code.code.oclIsUndefined())
and self.consumable.manufacturedProduct.manufacturedMaterial.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.165', self.consumable.manufacturedProduct.manufacturedMaterial.code.code)
)
RCS-EP Discharge Medication SHALL contain exactly one [1..1] consumable (CONF:1166-32820).
This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:1166-32821).
This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:1166-32822).
This manufacturedMaterial SHALL contain exactly one [1..1] code (CONF:1166-32823).
This code SHALL contain exactly one [1..1] @codeSystem (CONF:1166-33831).
OCL
self.consumable.oclIsUndefined() or (
(not self.consumable.manufacturedProduct.oclIsUndefined())
and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined())
and (not self.consumable.manufacturedProduct.manufacturedMaterial.code.oclIsUndefined())
and (not self.consumable.manufacturedProduct.manufacturedMaterial.code.codeSystem.oclIsUndefined())
)
RCS-EP Discharge Medication SHALL contain exactly one [1..1] entryRelationship (CONF:1166-32964).
OCL
self.entryRelationship->size() = 1
RCS-EP Discharge Medication SHALL contain exactly one [1..1] entryRelationship (CONF:1166-32964).
This entryRelationship SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:1166-32965).
OCL
self.entryRelationship->exists(var : POCDMT000040EntryRelationship |
(not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntryRelationship::COMP
)
RCS-EP Discharge Medication SHALL contain exactly one [1..1] entryRelationship (CONF:1166-32964).
This entryRelationship SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:1166-32966).
OCL
self.entryRelationship->exists(var : POCDMT000040EntryRelationship |
var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true
)
RCS-EP Discharge Medication SHALL contain exactly one [1..1] entryRelationship (CONF:1166-32964).
This entryRelationship SHALL contain exactly one [1..1] observation (CONF:1166-32967).
OCL
self.entryRelationship->exists(var : POCDMT000040EntryRelationship |
(not var.observation.oclIsUndefined())
)
RCS-EP Discharge Medication SHALL contain exactly one [1..1] entryRelationship (CONF:1166-32964).
This entryRelationship SHALL contain exactly one [1..1] observation (CONF:1166-32967).
This observation SHALL contain exactly one [1..1] @classCode="OBS" (CONF:1166-32968).
OCL
self.entryRelationship->exists(var : POCDMT000040EntryRelationship |
(not var.observation.oclIsUndefined())
and (
var.observation.classCode.oclIsUndefined()
or var.observation.classCode=ActClassObservation::OBS
)
)
RCS-EP Discharge Medication SHALL contain exactly one [1..1] entryRelationship (CONF:1166-32964).
This entryRelationship SHALL contain exactly one [1..1] observation (CONF:1166-32967).
This observation SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:1166-32969).
OCL
self.entryRelationship->exists(var : POCDMT000040EntryRelationship |
(not var.observation.oclIsUndefined())
and (not var.observation.moodCode.oclIsUndefined())
and var.observation.moodCode=XActMoodDocumentObservation::EVN
)
RCS-EP Discharge Medication SHALL contain exactly one [1..1] entryRelationship (CONF:1166-32964).
This entryRelationship SHALL contain exactly one [1..1] observation (CONF:1166-32967).
This observation SHALL contain exactly one [1..1] code (CONF:1166-32970).
OCL
self.entryRelationship->exists(var : POCDMT000040EntryRelationship |
(not var.observation.oclIsUndefined())
and (not var.observation.code.oclIsUndefined())
)
RCS-EP Discharge Medication SHALL contain exactly one [1..1] entryRelationship (CONF:1166-32964).
This entryRelationship SHALL contain exactly one [1..1] observation (CONF:1166-32967).
This observation SHALL contain exactly one [1..1] code (CONF:1166-32970).
This code SHALL contain exactly one [1..1] @code="432102000" Administration of substance (CONF:1166-32971).
OCL
self.entryRelationship->exists(var : POCDMT000040EntryRelationship |
(not var.observation.oclIsUndefined())
and (not var.observation.code.oclIsUndefined())
and var.observation.code.code='432102000'
)
RCS-EP Discharge Medication SHALL contain exactly one [1..1] entryRelationship (CONF:1166-32964).
This entryRelationship SHALL contain exactly one [1..1] observation (CONF:1166-32967).
This observation SHALL contain exactly one [1..1] code (CONF:1166-32970).
This code SHALL contain exactly one [1..1] @codeSystem, which SHALL be selected from CodeSystem SNOMED CT (urn:oid:2.16.840.1.113883.6.96) STATIC (CONF:1166-32972).
OCL
self.entryRelationship->exists(var : POCDMT000040EntryRelationship |
(not var.observation.oclIsUndefined())
and (not var.observation.code.oclIsUndefined())
and (not var.observation.code.codeSystem.oclIsUndefined())
and var.observation.code.codeSystem='2.16.840.1.113883.6.96'
)
RCS-EP Discharge Medication SHALL contain exactly one [1..1] entryRelationship (CONF:1166-32964).
This entryRelationship SHALL contain exactly one [1..1] observation (CONF:1166-32967).
This observation SHALL contain exactly one [1..1] value with @xsi:type="CD" (CONF:1166-33832).
OCL
self.entryRelationship->exists(var : POCDMT000040EntryRelationship |
(not var.observation.oclIsUndefined())
and var.observation.value->select(val : ANY |
val.oclIsKindOf(CD)
)->size()=1
)
RCS-EP Discharge Medication SHALL contain exactly one [1..1] entryRelationship (CONF:1166-32964).
This entryRelationship SHALL contain exactly one [1..1] observation (CONF:1166-32967).
This observation SHALL contain exactly one [1..1] value with @xsi:type="CD" (CONF:1166-33832).
This value SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Discharge Medication Administration urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.86 STATIC (CONF:1166-91723).
OCL
self.entryRelationship->exists(var : POCDMT000040EntryRelationship |
(not var.observation.oclIsUndefined())
and var.observation.value->forAll(val : ANY |
val.oclIsKindOf(CD)
and (not (val.oclAsType(CD).code.oclIsUndefined()))
and val.oclAsType(CD).matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.86', val.oclAsType(CD).code)
)
)
RCS-EP Discharge Medication SHALL contain exactly one [1..1] entryRelationship (CONF:1166-32964).
This entryRelationship SHALL contain exactly one [1..1] observation (CONF:1166-32967).
This observation SHALL contain exactly one [1..1] value with @xsi:type="CD" (CONF:1166-33832).
This value SHALL contain exactly one [1..1] @codeSystem (CONF:1166-91724).
OCL
self.entryRelationship->exists(var : POCDMT000040EntryRelationship |
(not var.observation.oclIsUndefined())
and var.observation.value->forAll(val : ANY |
val.oclIsKindOf(CD)
and (not val.oclAsType(CD).codeSystem.oclIsUndefined())
)
)
RCS-EP Discharge Section SHALL contain exactly one [1..1] @classCode="DOCSECT" (CONF:1166-32679).
OCL
self.classCode.oclIsUndefined() or self.classCode=ActClass::DOCSECT
RCS-EP Discharge Section SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:1166-32680).
OCL
self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN
RCS-EP Discharge Section SHALL contain exactly one [1..1] templateId (CONF:1166-32681) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.2.50000')->size() = 1
RCS-EP Discharge Section SHALL contain exactly one [1..1] templateId (CONF:1166-32681) such that it
SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.7.2.50000" (CONF:1166-33640).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.2.50000')
RCS-EP Discharge Section SHALL contain exactly one [1..1] code (CONF:1166-33006).
OCL
(not self.code.oclIsUndefined())
RCS-EP Discharge Section SHALL contain exactly one [1..1] code (CONF:1166-33006).
This code SHALL contain exactly one [1..1] @code="8652-0" (CONF:1166-33007).
OCL
self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.code='8652-0')
RCS-EP Discharge Section SHALL contain exactly one [1..1] code (CONF:1166-33006).
This code SHALL contain exactly one [1..1] @codeSystem, which SHALL be selected from CodeSystem LOINC (urn:oid:2.16.840.1.113883.6.1) STATIC (CONF:1166-33008).
OCL
self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined()) and self.code.codeSystem='2.16.840.1.113883.6.1')
RCS-EP Discharge Section SHALL contain exactly one [1..1] title="Discharge Section" (CONF:1166-33812).
OCL
(not self.title.oclIsUndefined()) and
self.title.getListStringValues()->exists(st : String | st='Discharge Section')
RCS-EP Discharge Section SHOULD contain zero or more [0..*] entry (CONF:1166-32855).
Such entries SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:1166-32856).
OCL
self.entry->select( aa : POCDMT000040Entry|
(not aa.observation.oclIsUndefined())
and aa.observation.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.51000'
)
)->forAll(var : POCDMT000040Entry |
(not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntry::COMP
)
RCS-EP Discharge Section SHOULD contain zero or more [0..*] entry (CONF:1166-32855).
Such entries SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:1166-32857).
OCL
self.entry->select( aa : POCDMT000040Entry|
(not aa.observation.oclIsUndefined())
and aa.observation.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.51000'
)
)->forAll(var : POCDMT000040Entry |
(var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true)
)
RCS-EP Discharge Section SHOULD contain zero or more [0..*] entry (CONF:1166-32870).
The entry, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:1166-33637).
OCL
self.entry->select( aa : POCDMT000040Entry|
(not aa.substanceAdministration.oclIsUndefined())
and aa.substanceAdministration.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.52000'
)
)->forAll(var : POCDMT000040Entry |
(not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntry::COMP
)
RCS-EP Discharge Section SHOULD contain zero or more [0..*] entry (CONF:1166-32870).
The entry, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:1166-33638).
OCL
self.entry->select( aa : POCDMT000040Entry|
(not aa.substanceAdministration.oclIsUndefined())
and aa.substanceAdministration.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.52000'
)
)->forAll(var : POCDMT000040Entry |
(var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true)
)
RCS-EP Encounter Observation SHALL contain exactly one [1..1] @classCode="OBS" (CONF:1166-33492).
OCL
self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS
RCS-EP Encounter Observation SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:1166-33493).
OCL
(not self.moodCode.oclIsUndefined()) and self.moodCode=XActMoodDocumentObservation::EVN
RCS-EP Encounter Observation SHALL contain exactly one [1..1] templateId (CONF:1166-33491) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.31200')->size() = 1
RCS-EP Encounter Observation SHALL contain exactly one [1..1] templateId (CONF:1166-33491) such that it
SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.7.4.31200" (CONF:1166-33660).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.31200')
RCS-EP Encounter Observation SHALL contain exactly one [1..1] code (CONF:1166-33489).
OCL
(not self.code.oclIsUndefined())
RCS-EP Encounter Observation SHALL contain exactly one [1..1] code (CONF:1166-33489).
This code SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Encounter Observation urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.173 STATIC (CONF:1166-33730).
OCL
self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.173', self.code.code))
RCS-EP Encounter Observation SHALL contain exactly one [1..1] code (CONF:1166-33489).
This code SHALL contain exactly one [1..1] @codeSystem (CONF:1166-33731).
OCL
self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined()))
RCS-EP Encounter Observation SHALL contain exactly one [1..1] value (CONF:1166-33490).
OCL
self.value->size() = 1
If code@code="100001096", RCS-EP Encounter Observation SHALL contain exactly one [1..1] participant (CONF:1166-91794)
The participant, if present, SHALL contain exactly one [1..1] @typeCode="SBJ" (CONF:1166-91797).
OCL
not (
(not self.code.oclIsUndefined())
and self.code.code='100001096'
) or (
self.participant->select( var : POCDMT000040Participant2|
(not var.participantRole.oclIsUndefined())
and (not var.typeCode.oclIsUndefined())
and var.typeCode=ParticipationType::SBJ
and (not var.participantRole.classCode.oclIsUndefined())
and var.participantRole.classCode=RoleClassRoot::RESBJ
)->size()=1
)
If code@code="100001096", RCS-EP Encounter Observation SHALL contain exactly one [1..1] participant (CONF:1166-91794)
The participant, if present, SHALL contain exactly one [1..1] @contextControlCode="OP" (CONF:1166-91798).
OCL
not (
(not self.code.oclIsUndefined())
and self.code.code='100001096'
) or (
self.participant->select( var : POCDMT000040Participant2|
(not var.participantRole.oclIsUndefined())
and (not var.typeCode.oclIsUndefined())
and var.typeCode=ParticipationType::SBJ
and (not var.participantRole.classCode.oclIsUndefined())
and var.participantRole.classCode=RoleClassRoot::RESBJ
)->forAll( var : POCDMT000040Participant2|
var.contextControlCode.oclIsUndefined()
or var.contextControlCode=NullFlavor::OP
)
)
If code@code="100001096", RCS-EP Encounter Observation SHALL contain exactly one [1..1] participant (CONF:1166-91794)
The participant, if present, SHALL contain exactly one [1..1] participantRole (CONF:1166-91795).
OCL
not (
(not self.code.oclIsUndefined())
and self.code.code='100001096'
) or (
self.participant->select( var : POCDMT000040Participant2|
(not var.participantRole.oclIsUndefined())
and (not var.typeCode.oclIsUndefined())
and var.typeCode=ParticipationType::SBJ
and (not var.participantRole.classCode.oclIsUndefined())
and var.participantRole.classCode=RoleClassRoot::RESBJ
)->size()=1
)
If code@code="100001096", RCS-EP Encounter Observation SHALL contain exactly one [1..1] participant (CONF:1166-91794)
The participant, if present, SHALL contain exactly one [1..1] participantRole (CONF:1166-91795).
This participantRole SHALL contain exactly one [1..1] @classCode="RESBJ" (CONF:1166-91799).
OCL
not (
(not self.code.oclIsUndefined())
and self.code.code='100001096'
) or (
self.participant->select( var : POCDMT000040Participant2|
(not var.participantRole.oclIsUndefined())
and (not var.typeCode.oclIsUndefined())
and var.typeCode=ParticipationType::SBJ
and (not var.participantRole.classCode.oclIsUndefined())
and var.participantRole.classCode=RoleClassRoot::RESBJ
)->size()=1
)
If code@code="100001096", RCS-EP Encounter Observation SHALL contain exactly one [1..1] participant (CONF:1166-91794)
The participant, if present, SHALL contain exactly one [1..1] participantRole (CONF:1166-91795).
This participantRole SHALL contain exactly one [1..1] id (CONF:1166-91796).
OCL
not (
(not self.code.oclIsUndefined())
and self.code.code='100001096'
) or (
self.participant->select( var : POCDMT000040Participant2|
(not var.participantRole.oclIsUndefined())
and (not var.typeCode.oclIsUndefined())
and var.typeCode=ParticipationType::SBJ
and (not var.participantRole.classCode.oclIsUndefined())
and var.participantRole.classCode=RoleClassRoot::RESBJ
)->forAll( var : POCDMT000040Participant2|
var.participantRole.id->size()=1
)
)
If code@code="100001096", RCS-EP Encounter Observation SHALL contain exactly one [1..1] participant (CONF:1166-91794)
The participant, if present, SHALL contain exactly one [1..1] participantRole (CONF:1166-91795).
This participantRole SHALL contain exactly one [1..1] id (CONF:1166-91796).
This id SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3478.4.852" (CONF:1166-91800).
OCL
not (
(not self.code.oclIsUndefined())
and self.code.code='100001096'
) or (
self.participant->select( var : POCDMT000040Participant2|
(not var.participantRole.oclIsUndefined())
and (not var.typeCode.oclIsUndefined())
and var.typeCode=ParticipationType::SBJ
and (not var.participantRole.classCode.oclIsUndefined())
and var.participantRole.classCode=RoleClassRoot::RESBJ
)->forAll( var : POCDMT000040Participant2|
var.participantRole.id->select(var : II |
(not var.root.oclIsUndefined())
and var.root='2.16.840.1.113883.3.3478.4.852'
)->size()=1
)
)
If code@code="100001096", RCS-EP Encounter Observation SHALL contain exactly one [1..1] participant (CONF:1166-91794)
The participant, if present, SHALL contain exactly one [1..1] participantRole (CONF:1166-91795).
This participantRole SHALL contain exactly one [1..1] id (CONF:1166-91796).
This id SHALL contain exactly one [1..1] @extension (CONF:1166-91801).
OCL
not (
(not self.code.oclIsUndefined())
and self.code.code='100001096'
) or (
self.participant->select( var : POCDMT000040Participant2|
(not var.participantRole.oclIsUndefined())
and (not var.typeCode.oclIsUndefined())
and var.typeCode=ParticipationType::SBJ
and (not var.participantRole.classCode.oclIsUndefined())
and var.participantRole.classCode=RoleClassRoot::RESBJ
)->forAll( var : POCDMT000040Participant2|
var.participantRole.id->select(var : II |
(not var.root.oclIsUndefined())
and var.root='2.16.840.1.113883.3.3478.4.852'
)->forAll(ii : II|
(not ii.extension.oclIsUndefined())
)
)
)
If code@code="100001096", RCS-EP Encounter Observation SHALL contain exactly one [1..1] participant (CONF:1166-91794)
The participant, if present, SHALL contain exactly one [1..1] participantRole (CONF:1166-91795).
This participantRole SHALL contain exactly one [1..1] playingEntity (CONF:1166-91847).
OCL
not (
(not self.code.oclIsUndefined())
and self.code.code='100001096'
) or (
self.participant->select( var : POCDMT000040Participant2|
(not var.participantRole.oclIsUndefined())
and (not var.typeCode.oclIsUndefined())
and var.typeCode=ParticipationType::SBJ
and (not var.participantRole.classCode.oclIsUndefined())
and var.participantRole.classCode=RoleClassRoot::RESBJ
)->forAll( var : POCDMT000040Participant2|
(not var.participantRole.playingEntity.oclIsUndefined())
)
)
If code@code="100001096", RCS-EP Encounter Observation SHALL contain exactly one [1..1] participant (CONF:1166-91794)
The participant, if present, SHALL contain exactly one [1..1] participantRole (CONF:1166-91795).
This participantRole SHALL contain exactly one [1..1] playingEntity (CONF:1166-91847).
This playingEntity SHALL contain exactly one [1..1] @classCode="PSN" (CONF:1166-91848).
OCL
not (
(not self.code.oclIsUndefined())
and self.code.code='100001096'
) or (
self.participant->select( var : POCDMT000040Participant2|
(not var.participantRole.oclIsUndefined())
and (not var.typeCode.oclIsUndefined())
and var.typeCode=ParticipationType::SBJ
and (not var.participantRole.classCode.oclIsUndefined())
and var.participantRole.classCode=RoleClassRoot::RESBJ
)->forAll( var : POCDMT000040Participant2|
(not var.participantRole.playingEntity.oclIsUndefined())
and (not var.participantRole.playingEntity.classCode.oclIsUndefined())
and var.participantRole.playingEntity.classCode=EntityClassRoot::PSN
)
)
If code@code="100001096", RCS-EP Encounter Observation SHALL contain exactly one [1..1] participant (CONF:1166-91794)
The participant, if present, SHALL contain exactly one [1..1] participantRole (CONF:1166-91795).
This participantRole SHALL contain exactly one [1..1] playingEntity (CONF:1166-91847).
This playingEntity SHALL contain exactly one [1..1] @determinerCode="INSTANCE" (CONF:1166-91849).
OCL
not (
(not self.code.oclIsUndefined())
and self.code.code='100001096'
) or (
self.participant->select( var : POCDMT000040Participant2|
(not var.participantRole.oclIsUndefined())
and (not var.typeCode.oclIsUndefined())
and var.typeCode=ParticipationType::SBJ
and (not var.participantRole.classCode.oclIsUndefined())
and var.participantRole.classCode=RoleClassRoot::RESBJ
)->forAll( var : POCDMT000040Participant2|
(not var.participantRole.playingEntity.oclIsUndefined())
and (not var.participantRole.playingEntity.determinerCode.oclIsUndefined())
and var.participantRole.playingEntity.determinerCode=EntityDeterminer::INSTANCE
)
)
RCS-EP Encounter Observation SHALL contain exactly one [1..1] value (CONF:1166-33490).
This value MAY contain zero or one [0..1] @nullFlavor="MSK", which SHALL be selected from ValueSet Null Flavor urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.1008 STATIC (CONF:1166-91863).
OCL
self.value->forAll( ii : ANY |
ii.nullFlavor.oclIsUndefined() or
ii.nullFlavor=NullFlavor::MSK
)
If code@code="100001096", RCS-EP Encounter Observation SHALL contain exactly one [1..1] participant (CONF:1166-91794)
The participant, if present, SHALL contain exactly one [1..1] participantRole (CONF:1166-91795).
This participantRole SHALL contain exactly one [1..1] id (CONF:1166-91796).
This id MAY contain zero or one [0..1] @nullFlavor="NI" which SHALL be selected from (CodeSystem HL7NullFlavor urn:oid:2.16.840.1.113883.5.1008) (CONF:1166-91865).
OCL
not (
(not self.code.oclIsUndefined())
and self.code.code='100001096'
) or (
self.participant->select( var : POCDMT000040Participant2|
(not var.participantRole.oclIsUndefined())
and (not var.typeCode.oclIsUndefined())
and var.typeCode=ParticipationType::SBJ
and (not var.participantRole.classCode.oclIsUndefined())
and var.participantRole.classCode=RoleClassRoot::RESBJ
)->forAll( var : POCDMT000040Participant2|
var.participantRole.id->select(var : II |
var.nullFlavor.oclIsUndefined()
or var.nullFlavor=NullFlavor::NI
)->size()=1
)
)
RCS-EP Encounter Procedure SHALL contain exactly one [1..1] @classCode="PROC" (CONF:1166-33029).
OCL
self.classCode.oclIsUndefined() or self.classCode=ActClass::PROC
RCS-EP Encounter Procedure SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:1166-33030).
OCL
(not self.moodCode.oclIsUndefined()) and self.moodCode=XDocumentProcedureMood::EVN
RCS-EP Encounter Procedure SHALL contain exactly one [1..1] @negationInd (CONF:1166-33032).
OCL
(not self.negationInd.oclIsUndefined())
RCS-EP Encounter Procedure SHALL contain exactly one [1..1] templateId (CONF:1166-33024) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.31100')->size() = 1
RCS-EP Encounter Procedure SHALL contain exactly one [1..1] templateId (CONF:1166-33024) such that it
SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.7.4.31100" (CONF:1166-33661).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.31100')
RCS-EP Encounter Procedure SHALL contain exactly one [1..1] code (CONF:1166-33023).
OCL
(not self.code.oclIsUndefined())
RCS-EP Encounter Procedure SHALL contain exactly one [1..1] code (CONF:1166-33023).
This code SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Encounter Procedure Type urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.160 STATIC (CONF:1166-33732).
OCL
self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.160', self.code.code))
RCS-EP Encounter Procedure SHALL contain exactly one [1..1] code (CONF:1166-33023).
This code SHALL contain exactly one [1..1] @codeSystem (CONF:1166-33733).
OCL
self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined()))
RCS-EP Encounter Procedure SHALL contain one [1..1] effectiveTime (CONF:1166-33031).
OCL
(not self.effectiveTime.oclIsUndefined())
RCS-EP Encounter SHALL contain exactly one [1..1] @classCode="ENC" (CONF:1166-91658).
OCL
self.classCode.oclIsUndefined() or self.classCode=ActClass::ENC
RCS-EP Encounter SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:1166-91659).
OCL
(not self.moodCode.oclIsUndefined()) and self.moodCode=XDocumentEncounterMood::EVN
RCS-EP Encounter SHALL contain exactly one [1..1] templateId (CONF:1166-33662) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.31000')->size() = 1
RCS-EP Encounter SHALL contain exactly one [1..1] templateId (CONF:1166-33662) such that it
SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.7.4.31000" (CONF:1166-33665).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.31000')
RCS-EP Encounter SHALL contain exactly one [1..1] id (CONF:1166-91736) such that it
OCL
self.id->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='2.16.840.1.113883.3.3478.4.855')->size() = 1
RCS-EP Encounter SHALL contain exactly one [1..1] id (CONF:1166-91736) such that it
SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3478.4.855" (CONF:1166-91790).
OCL
self.id->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='2.16.840.1.113883.3.3478.4.855')
RCS-EP Encounter SHALL contain exactly one [1..1] id (CONF:1166-91736) such that it
SHALL contain exactly one [1..1] @extension (CONF:1166-91791).
OCL
self.id->exists(var : II |
(not var.extension.oclIsUndefined()))
RCS-EP Encounter SHALL contain exactly one [1..1] effectiveTime (CONF:1166-91657).
OCL
(not self.effectiveTime.oclIsUndefined())
RCS-EP Encounter SHALL contain exactly one [1..1] effectiveTime (CONF:1166-91657).
This effectiveTime SHALL contain exactly one [1..1] low (CONF:1166-91660).
OCL
self.effectiveTime.oclIsUndefined() or ((not self.effectiveTime.low.oclIsUndefined()))
RCS-EP Encounter SHALL contain exactly one [1..1] effectiveTime (CONF:1166-91657).
This effectiveTime SHALL contain exactly one [1..1] high (CONF:1166-91661).
OCL
self.effectiveTime.oclIsUndefined() or ((not self.effectiveTime.high.oclIsUndefined()))
If Document.code="ICD", SHOULD contain zero or more [0..*] entryRelationship (CONF:1166-33721)
SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:1166-33727).
OCL
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-ICD' or
(
self.entryRelationship->select( aa : POCDMT000040EntryRelationship|
(not aa.procedure.oclIsUndefined())
and aa.procedure.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.31100'
)
)->forAll(var : POCDMT000040EntryRelationship |
(not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntryRelationship::COMP
)
)
If Document.code="ICD", SHOULD contain zero or more [0..*] entryRelationship (CONF:1166-33721)
SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:1166-33728).
OCL
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-ICD' or
(
self.entryRelationship->select( aa : POCDMT000040EntryRelationship|
(not aa.procedure.oclIsUndefined())
and aa.procedure.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.31100'
)
)->forAll(var : POCDMT000040EntryRelationship |
(var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true)
)
)
RCS-EP Encounter SHOULD contain zero or more [0..*] entryRelationship (CONF:1166-91434) such that it
SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:1166-91435).
OCL
self.entryRelationship->select( aa : POCDMT000040EntryRelationship|
(not aa.observation.oclIsUndefined())
and aa.observation.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.31200'
)
)->forAll(var : POCDMT000040EntryRelationship |
(not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntryRelationship::COMP
)
RCS-EP Encounter SHOULD contain zero or more [0..*] entryRelationship (CONF:1166-91434) such that it
SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:1166-91436).
OCL
self.entryRelationship->select( aa : POCDMT000040EntryRelationship|
(not aa.observation.oclIsUndefined())
and aa.observation.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.31200'
)
)->forAll(var : POCDMT000040EntryRelationship |
(var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true)
)
RCS-EP Encounter Section SHALL contain exactly one [1..1] @classCode="DOCSECT" (CONF:1166-33671).
OCL
self.classCode.oclIsUndefined() or self.classCode=ActClass::DOCSECT
RCS-EP Encounter Section SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:1166-33672).
OCL
self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN
RCS-EP Encounter Section SHALL contain exactly one [1..1] templateId (CONF:1166-33667) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.2.30000')->size()=1
RCS-EP Encounter Section SHALL contain exactly one [1..1] templateId (CONF:1166-33667) such that it
SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.7.2.30000" (CONF:1166-33673).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.2.30000')
RCS-EP Encounter Section SHALL contain exactly one [1..1] code (CONF:1166-91647).
OCL
(not self.code.oclIsUndefined())
RCS-EP Encounter Section SHALL contain exactly one [1..1] code (CONF:1166-91647).
This code SHALL contain exactly one [1..1] @code="46240-8" (CONF:1166-91648).
OCL
self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.code='46240-8')
RCS-EP Encounter Section SHALL contain exactly one [1..1] code (CONF:1166-91647).
This code SHALL contain exactly one [1..1] @codeSystem, which SHALL be selected from CodeSystem LOINC (urn:oid:2.16.840.1.113883.6.1) STATIC (CONF:1166-91649).
OCL
self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined()) and self.code.codeSystem='2.16.840.1.113883.6.1')
RCS-EP Encounter Section SHALL contain exactly one [1..1] title="Encounter Section" (CONF:1166-91430).
OCL
(not self.title.oclIsUndefined()) and
self.title.getListStringValues()->exists(st : String | st='Encounter Section')
RCS-EP Encounter Section SHALL contain exactly one [1..1] entry (CONF:1166-33668).
This entry SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:1166-33675).
OCL
self.entry->select( aa : POCDMT000040Entry|
(not aa.encounter.oclIsUndefined())
and aa.encounter.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.31000'
)
)->forAll(var : POCDMT000040Entry |
(not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntry::COMP
)
RCS-EP Encounter Section SHALL contain exactly one [1..1] entry (CONF:1166-33668).
This entry SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:1166-33676).
OCL
self.entry->select( aa : POCDMT000040Entry|
(not aa.encounter.oclIsUndefined())
and aa.encounter.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.31000'
)
)->forAll(var : POCDMT000040Entry |
(var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true)
)
RCS-EP Encounter Section SHALL contain exactly one [1..1] entry (CONF:1166-33668).
This entry SHALL contain exactly one [1..1] RCS-EP Encounter (identifier: urn:oid:1.3.6.1.4.1.19376.1.4.1.7.4.31000) (CONF:1166-91650).
OCL
self.entry->select( aa : POCDMT000040Entry|
(not aa.encounter.oclIsUndefined())
and aa.encounter.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.31000'
)
)->size()=1
RCS-EP Encounter Section SHALL contain at least one [1..*] entry (CONF:1166-91490).
Such entries SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:1166-91491).
OCL
self.entry->select( aa : POCDMT000040Entry|
(not aa.organizer.oclIsUndefined())
and aa.organizer.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.41000'
)
)->forAll(var : POCDMT000040Entry |
(not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntry::COMP
)
RCS-EP Encounter Section SHALL contain at least one [1..*] entry (CONF:1166-91490).
Such entries SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:1166-91492).
OCL
self.entry->select( aa : POCDMT000040Entry|
(not aa.organizer.oclIsUndefined())
and aa.organizer.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.41000'
)
)->forAll(var : POCDMT000040Entry |
(var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true)
)
RCS-EP Encounter Section SHALL contain at least one [1..*] entry (CONF:1166-91490).
Such entries SHALL contain exactly one [1..1] RCS-EP Pre-procedure Activity Organizer (identifier: urn:oid:1.3.6.1.4.1.19376.1.4.1.7.4.41000) (CONF:1166-91651).
OCL
self.entry->select( aa : POCDMT000040Entry|
(not aa.organizer.oclIsUndefined())
and aa.organizer.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.41000'
)
)->size() > 0
RCS-EP Encounter Section SHALL contain at least one [1..*] component (CONF:1166-33669).
Such components SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:1166-33678).
OCL
self.component->select( aa : POCDMT000040Component5|
(not aa.section.oclIsUndefined())
and aa.section.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.2.40000'
)
)->forAll(var : POCDMT000040Component5 |
(var.typeCode.oclIsUndefined() or var.typeCode=ActRelationshipHasComponent::COMP)
)
RCS-EP Encounter Section SHALL contain at least one [1..*] component (CONF:1166-33669).
Such components SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:1166-33679).
OCL
self.component->select( aa : POCDMT000040Component5|
(not aa.section.oclIsUndefined())
and aa.section.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.2.40000'
)
)->forAll(var : POCDMT000040Component5 |
(var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true)
)
RCS-EP Encounter Section SHALL contain at least one [1..*] component (CONF:1166-33669).
Such components SHALL contain exactly one [1..1] RCS-EP Procedure Session Section (identifier: urn:oid:1.3.6.1.4.1.19376.1.4.1.7.2.40000) (CONF:1166-33680).
OCL
self.component->select( aa : POCDMT000040Component5|
(not aa.section.oclIsUndefined())
and aa.section.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.2.40000'
)
)->size() > 0
RCS-EP Encounter Section SHALL contain exactly one [1..1] component (CONF:1166-33670).
OCL
self.component->select( aa : POCDMT000040Component5|
(not aa.section.oclIsUndefined())
and aa.section.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.2.50000'
)
)->size() = 1
RCS-EP Encounter Section SHALL contain exactly one [1..1] component (CONF:1166-33670).
This component SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:1166-33681).
OCL
self.component->select( aa : POCDMT000040Component5|
(not aa.section.oclIsUndefined())
and aa.section.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.2.50000'
)
)->forAll(var : POCDMT000040Component5 |
(var.typeCode.oclIsUndefined() or var.typeCode=ActRelationshipHasComponent::COMP)
)
RCS-EP Encounter Section SHALL contain exactly one [1..1] component (CONF:1166-33670).
This component SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:1166-33682).
OCL
self.component->select( aa : POCDMT000040Component5|
(not aa.section.oclIsUndefined())
and aa.section.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.2.50000'
)
)->forAll(var : POCDMT000040Component5 |
(var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true)
)
RCS-EP Encounter Section SHALL contain exactly one [1..1] component (CONF:1166-33670).
This component SHALL contain exactly one [1..1] RCS-EP Discharge Section (identifier: urn:oid:1.3.6.1.4.1.19376.1.4.1.7.2.50000) (CONF:1166-33683).
OCL
self.component->select( aa : POCDMT000040Component5|
(not aa.section.oclIsUndefined())
and aa.section.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.2.50000'
)
)->size() = 1
RCS-EP Patient Demographic Observation SHALL contain exactly one [1..1] @classCode="OBS" (CONF:1166-32416).
OCL
self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS
RCS-EP Patient Demographic Observation SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:1166-32417).
OCL
(not self.moodCode.oclIsUndefined()) and self.moodCode=XActMoodDocumentObservation::EVN
RCS-EP Patient Demographic Observation SHALL contain exactly one [1..1] templateId (CONF:1166-32418) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.21000')->size() = 1
RCS-EP Patient Demographic Observation SHALL contain exactly one [1..1] templateId (CONF:1166-32418) such that it
SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.7.4.21000" (CONF:1166-33684).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.21000')
RCS-EP Patient Demographic Observation SHALL contain exactly one [1..1] code (CONF:1166-32407).
OCL
(not self.code.oclIsUndefined())
RCS-EP Patient Demographic Observation SHALL contain exactly one [1..1] code (CONF:1166-32407).
This code SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Patient Demographic Observation urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.172 STATIC (CONF:1166-32516).
OCL
self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.172', self.code.code))
RCS-EP Patient Demographic Observation SHALL contain exactly one [1..1] code (CONF:1166-32407).
This code SHALL contain exactly one [1..1] @codeSystem (CONF:1166-32517).
OCL
self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined()))
RCS-EP Patient Demographic Observation SHALL contain exactly one [1..1] value (CONF:1166-32408).
OCL
self.value->size() = 1
RCS-EP Patient Demographic Section SHALL contain exactly one [1..1] @classCode="DOCSECT" (CONF:1166-32413).
OCL
self.classCode.oclIsUndefined() or self.classCode=ActClass::DOCSECT
RCS-EP Patient Demographic Section SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:1166-32414).
OCL
self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN
RCS-EP Patient Demographic Section SHALL contain exactly one [1..1] templateId (CONF:1166-32415) such that it
SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.7.2.20000" (CONF:1166-33687).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.2.20000')
RCS-EP Patient Demographic Section SHALL contain exactly one [1..1] code (CONF:1166-32404).
OCL
(not self.code.oclIsUndefined())
RCS-EP Patient Demographic Section SHALL contain exactly one [1..1] code (CONF:1166-32404).
This code SHALL contain exactly one [1..1] @code="45970-1" (CONF:1166-32607).
OCL
self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.code='45970-1')
RCS-EP Patient Demographic Section SHALL contain exactly one [1..1] code (CONF:1166-32404).
This code SHALL contain exactly one [1..1] @codeSystem, which SHALL be selected from CodeSystem LOINC (urn:oid:2.16.840.1.113883.6.1) STATIC (CONF:1166-32608).
OCL
self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined()) and self.code.codeSystem='2.16.840.1.113883.6.1')
RCS-EP Patient Demographic Section SHALL contain exactly one [1..1] title="Patient Demographic Section" (CONF:1166-91429).
OCL
(not self.title.oclIsUndefined()) and
self.title.getListStringValues()->exists(st : String | st='Patient Demographic Section')
RCS-EP Patient Demographic Section SHOULD contain zero or more [0..*] entry (CONF:1166-32409).
The entry, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:1166-32469).
OCL
self.entry->select( aa : POCDMT000040Entry|
(not aa.observation.oclIsUndefined())
and aa.observation.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.21000'
)
)->forAll(var : POCDMT000040Entry |
(not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntry::COMP
)
RCS-EP Patient Demographic Section SHOULD contain zero or more [0..*] entry (CONF:1166-32409).
The entry, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:1166-32470).
OCL
self.entry->select( aa : POCDMT000040Entry|
(not aa.observation.oclIsUndefined())
and aa.observation.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.21000'
)
)->forAll(var : POCDMT000040Entry |
(var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true)
)
RCS-EP Patient Demographic Section SHOULD contain zero or more [0..*] entry (CONF:1166-32409).
The entry, if present, SHALL contain exactly one [1..1] RCS-EP Patient Demographic Observation (identifier: urn:oid:1.3.6.1.4.1.19376.1.4.1.7.4.21000) (CONF:1166-33688).
OCL
self.entry->select( aa : POCDMT000040Entry|
(not aa.observation.oclIsUndefined())
and aa.observation.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.4.21000'
)
)->size()>0
RCS-EP Document Structured Body SHALL contain exactly one [1..1] @classCode="DOCBODY" (CONF:1166-33698).
OCL
self.classCode.oclIsUndefined() or self.classCode=ActClass::DOCBODY
RCS-EP Document Structured Body SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:1166-33699).
OCL
self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN
RCS-EP Document Structured Body SHALL contain exactly one [1..1] templateId (CONF:1166-33697) such that it
SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.7.3.16000" (CONF:1166-33700).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.3.16000')
RCS-EP Document Structured Body SHALL contain exactly one [1..1] component (CONF:1166-33702).
This component SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:1166-33704).
OCL
self.component->select( aa : POCDMT000040Component3|
(not aa.section.oclIsUndefined())
and aa.section.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined())
and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.2.20000'
)
)->forAll(var : POCDMT000040Component3 |
(
var.typeCode.oclIsUndefined()
or var.typeCode=ActRelationshipHasComponent::COMP
)
)
RCS-EP Document Structured Body SHALL contain exactly one [1..1] component (CONF:1166-33702).
This component SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:1166-33705).
OCL
self.component->select( aa : POCDMT000040Component3|
(not aa.section.oclIsUndefined())
and aa.section.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.2.20000'
)
)->forAll(var : POCDMT000040Component3 |
(var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true)
)
RCS-EP Document Structured Body SHALL contain exactly one [1..1] component (CONF:1166-33702).
This component SHALL contain exactly one [1..1] RCS-EP Patient Demographic Section (identifier: urn:oid:1.3.6.1.4.1.19376.1.4.1.7.2.20000) (CONF:1166-33706).
OCL
self.component->select( aa : POCDMT000040Component3|
(not aa.section.oclIsUndefined())
and aa.section.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined())
and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.2.20000'
)
)->size() = 1
RCS-EP Document Structured Body SHALL contain at least one [1..*] component (CONF:1166-33703).
Such components SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:1166-33707).
OCL
self.component->select( aa : POCDMT000040Component3|
(not aa.section.oclIsUndefined())
and aa.section.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.2.30000'
)
)->forAll(var : POCDMT000040Component3 |
(var.typeCode.oclIsUndefined() or var.typeCode=ActRelationshipHasComponent::COMP)
)
RCS-EP Document Structured Body SHALL contain at least one [1..*] component (CONF:1166-33703).
Such components SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:1166-33708).
OCL
self.component->select( aa : POCDMT000040Component3|
(not aa.section.oclIsUndefined())
and aa.section.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.2.30000'
)
)->forAll(var : POCDMT000040Component3 |
(var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true)
)
RCS-EP Document Structured Body SHALL contain at least one [1..*] component (CONF:1166-33703).
Such components SHALL contain exactly one [1..1] RCS-EP Encounter Section (identifier: urn:oid:1.3.6.1.4.1.19376.1.4.1.7.2.30000) (CONF:1166-33709).
OCL
self.component->select( aa : POCDMT000040Component3|
(not aa.section.oclIsUndefined())
and aa.section.templateId->exists(ii2 : II |
(not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.7.2.30000'
)
)->size() > 0
RCS-EP Pre-procedure Procedure SHALL contain exactly one [1..1] @classCode="PROC" (CONF:1166-91446).
OCL
not self.classCode.oclIsUndefined() and self.classCode=ActClass::PROC
RCS-EP Pre-procedure Procedure SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:1166-91447).
OCL
(not self.moodCode.oclIsUndefined()) and self.moodCode=XDocumentProcedureMood::EVN
RCS-EP Pre-procedure Procedure SHALL contain exactly one [1..1] @negationInd (CONF:1166-91448).
OCL
(not self.negationInd.oclIsUndefined())
RCS-EP Pre-procedure Procedure SHALL contain exactly one [1..1] templateId (CONF:1166-91443) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.41600')->size() = 1
RCS-EP Pre-procedure Procedure SHALL contain exactly one [1..1] code (CONF:1166-91444).
OCL
(not self.code.oclIsUndefined())
RCS-EP Pre-procedure Procedure SHALL contain exactly one [1..1] code (CONF:1166-91444).
This code SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Pre-procedure Procedure urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.161 STATIC (CONF:1166-91451).
OCL
self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.161', self.code.code))
RCS-EP Pre-procedure Procedure SHALL contain exactly one [1..1] code (CONF:1166-91444).
This code SHALL contain exactly one [1..1] @codeSystem (CONF:1166-91452).
OCL
self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined()))
If Document.code="AFA" and code@code="18286008:363702006=49436004", RCS-EP Pre-procedure Procedure SHOULD contain zero or more [0..*] methodCode (CONF:1166-91825).
The methodCode, if present, SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Ablation Strategy urn:oid: 1.3.6.1.4.1.19376.1.4.1.6.5.211 DYNAMIC (CONF:1166-91826).
OCL
not (
(not self.code.oclIsUndefined())
and self.code.code='18286008:363702006=49436004'
) or
self.__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.methodCode->forAll(var : CE |
(not var.code.oclIsUndefined())
and var.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.211', var.code)
)
)
If Document.code="AFA" and code@code="18286008:363702006=49436004", RCS-EP Pre-procedure Procedure SHOULD contain zero or more [0..*] methodCode (CONF:1166-91825).
The methodCode, if present, SHALL contain exactly one [1..1] @codeSystem (CONF:1166-91827).
OCL
not (
(not self.code.oclIsUndefined())
and self.code.code='18286008:363702006=49436004'
) or
self.__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.methodCode->forAll(var : CE |
(not var.codeSystem.oclIsUndefined())
)
)
RCS-EP Pre-procedure Procedure MAY contain zero or one [0..1] effectiveTime (CONF:1166-91445).
The effectiveTime, if present, MAY contain zero or one [0..1] @nullFlavor="UNK" (CONF:1166-91812).
OCL
self.effectiveTime.oclIsUndefined() or
self.effectiveTime.nullFlavor.oclIsUndefined() or
self.effectiveTime.nullFlavor=NullFlavor::UNK
RCS-EP Pre-procedure Medication SHALL contain exactly one [1..1] @classCode="SBADM" (CONF:1166-91412).
OCL
self.classCode.oclIsUndefined() or self.classCode=ActClass::SBADM
RCS-EP Pre-procedure Medication SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:1166-91413).
OCL
(not self.moodCode.oclIsUndefined()) and self.moodCode=XDocumentSubstanceMood::EVN
RCS-EP Pre-procedure Medication SHALL contain exactly one [1..1] templateId (CONF:1166-91408) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.41700')->size() = 1
RCS-EP Pre-procedure Medication SHALL contain exactly one [1..1] templateId (CONF:1166-91408) such that it
SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.7.4.41700" (CONF:1166-91415).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.41700')
RCS-EP Pre-procedure Medication SHALL contain exactly one [1..1] consumable (CONF:1166-91409).
OCL
(not self.consumable.oclIsUndefined())
RCS-EP Pre-procedure Medication SHALL contain exactly one [1..1] consumable (CONF:1166-91409).
This consumable SHALL contain exactly one [1..1] @typeCode="CSM" (CONF:1166-91418).
OCL
self.consumable.oclIsUndefined() or (self.consumable.typeCode.oclIsUndefined() or self.consumable.typeCode=ParticipationType::CSM)
RCS-EP Pre-procedure Medication SHALL contain exactly one [1..1] consumable (CONF:1166-91409).
This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:1166-91410).
OCL
self.consumable.oclIsUndefined() or ((not self.consumable.manufacturedProduct.oclIsUndefined()))
RCS-EP Pre-procedure Medication SHALL contain exactly one [1..1] consumable (CONF:1166-91409).
This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:1166-91410).
This manufacturedProduct SHALL contain exactly one [1..1] @classCode="MANU" (CONF:1166-91419).
OCL
self.consumable.oclIsUndefined()
or (
(not self.consumable.manufacturedProduct.oclIsUndefined())
and (
self.consumable.manufacturedProduct.classCode.oclIsUndefined()
or self.consumable.manufacturedProduct.classCode=RoleClassManufacturedProduct::MANU
)
)
RCS-EP Pre-procedure Medication SHALL contain exactly one [1..1] consumable (CONF:1166-91409).
This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:1166-91410).
This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:1166-91411).
OCL
self.consumable.oclIsUndefined()
or (
(not self.consumable.manufacturedProduct.oclIsUndefined())
and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined())
)
RCS-EP Pre-procedure Medication SHALL contain exactly one [1..1] consumable (CONF:1166-91409).
This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:1166-91410).
This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:1166-91411).
This manufacturedMaterial SHALL contain exactly one [1..1] @classCode="MMAT" (CONF:1166-91420).
OCL
self.consumable.oclIsUndefined()
or (
(not self.consumable.manufacturedProduct.oclIsUndefined())
and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined())
and (
self.consumable.manufacturedProduct.manufacturedMaterial.classCode.oclIsUndefined()
or self.consumable.manufacturedProduct.manufacturedMaterial.classCode=EntityClassManufacturedMaterial::MMAT
)
)
RCS-EP Pre-procedure Medication SHALL contain exactly one [1..1] consumable (CONF:1166-91409).
This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:1166-91410).
This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:1166-91411).
This manufacturedMaterial SHALL contain exactly one [1..1] code (CONF:1166-91422).
OCL
self.consumable.oclIsUndefined()
or (
(not self.consumable.manufacturedProduct.oclIsUndefined())
and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined())
and (not self.consumable.manufacturedProduct.manufacturedMaterial.code.oclIsUndefined())
)
RCS-EP Pre-procedure Medication SHALL contain exactly one [1..1] consumable (CONF:1166-91409).
This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:1166-91410).
This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:1166-91411).
This manufacturedMaterial SHALL contain exactly one [1..1] code (CONF:1166-91422).
This code SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Pre-Procedure Medication urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.216 DYNAMIC (CONF:1166-91423).
OCL
self.consumable.oclIsUndefined()
or (
(not self.consumable.manufacturedProduct.oclIsUndefined())
and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined())
and (not self.consumable.manufacturedProduct.manufacturedMaterial.code.oclIsUndefined())
and (not self.consumable.manufacturedProduct.manufacturedMaterial.code.code.oclIsUndefined())
and self.consumable.manufacturedProduct.manufacturedMaterial.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.216', self.consumable.manufacturedProduct.manufacturedMaterial.code.code)
)
RCS-EP Pre-procedure Medication SHALL contain exactly one [1..1] consumable (CONF:1166-91409).
This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:1166-91410).
This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:1166-91411).
This manufacturedMaterial SHALL contain exactly one [1..1] code (CONF:1166-91422).
This code SHALL contain exactly one [1..1] @codeSystem (CONF:1166-91424).
OCL
self.consumable.oclIsUndefined()
or (
(not self.consumable.manufacturedProduct.oclIsUndefined())
and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined())
and (not self.consumable.manufacturedProduct.manufacturedMaterial.code.oclIsUndefined())
and (not self.consumable.manufacturedProduct.manufacturedMaterial.code.codeSystem.oclIsUndefined())
)
RCS-EP Pre-procedure Medication SHALL contain exactly one [1..1] entryRelationship (CONF:1166-91507).
OCL
self.entryRelationship->size() = 1
RCS-EP Pre-procedure Medication SHALL contain exactly one [1..1] entryRelationship (CONF:1166-91507).
This entryRelationship SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:1166-91509).
OCL
self.entryRelationship->exists(var : POCDMT000040EntryRelationship |
(not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntryRelationship::COMP
)
RCS-EP Pre-procedure Medication SHALL contain exactly one [1..1] entryRelationship (CONF:1166-91507).
This entryRelationship SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:1166-91510).
OCL
self.entryRelationship->exists(var : POCDMT000040EntryRelationship |
var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true
)
RCS-EP Pre-procedure Medication SHALL contain exactly one [1..1] entryRelationship (CONF:1166-91507).
This entryRelationship SHALL contain exactly one [1..1] observation (CONF:1166-91508).
OCL
self.entryRelationship->exists(var : POCDMT000040EntryRelationship |
(not var.observation.oclIsUndefined())
)
RCS-EP Pre-procedure Medication SHALL contain exactly one [1..1] entryRelationship (CONF:1166-91507).
This entryRelationship SHALL contain exactly one [1..1] observation (CONF:1166-91508).
This observation SHALL contain exactly one [1..1] @classCode="OBS" (CONF:1166-91511).
OCL
self.entryRelationship->exists(var : POCDMT000040EntryRelationship |
(not var.observation.oclIsUndefined())
and (
var.observation.classCode.oclIsUndefined()
or var.observation.classCode=ActClassObservation::OBS
)
)
RCS-EP Pre-procedure Medication SHALL contain exactly one [1..1] entryRelationship (CONF:1166-91507).
This entryRelationship SHALL contain exactly one [1..1] observation (CONF:1166-91508).
This observation SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:1166-91512).
OCL
self.entryRelationship->exists(var : POCDMT000040EntryRelationship |
(not var.observation.oclIsUndefined())
and (not var.observation.moodCode.oclIsUndefined())
and var.observation.moodCode=XActMoodDocumentObservation::EVN
)
RCS-EP Pre-procedure Medication SHALL contain exactly one [1..1] entryRelationship (CONF:1166-91507).
This entryRelationship SHALL contain exactly one [1..1] observation (CONF:1166-91508).
This observation SHALL contain exactly one [1..1] code (CONF:1166-91513).
OCL
self.entryRelationship->exists(var : POCDMT000040EntryRelationship |
(not var.observation.oclIsUndefined())
and (not var.observation.code.oclIsUndefined())
)
RCS-EP Pre-procedure Medication SHALL contain exactly one [1..1] entryRelationship (CONF:1166-91507).
This entryRelationship SHALL contain exactly one [1..1] observation (CONF:1166-91508).
This observation SHALL contain exactly one [1..1] code (CONF:1166-91513).
This code SHALL contain exactly one [1..1] @code="432102000" Administration of substance (CONF:1166-91641).
OCL
self.entryRelationship->exists(var : POCDMT000040EntryRelationship |
(not var.observation.oclIsUndefined())
and (not var.observation.code.oclIsUndefined())
and (not var.observation.code.code.oclIsUndefined())
and var.observation.code.code='432102000'
)
RCS-EP Pre-procedure Medication SHALL contain exactly one [1..1] entryRelationship (CONF:1166-91507).
This entryRelationship SHALL contain exactly one [1..1] observation (CONF:1166-91508).
This observation SHALL contain exactly one [1..1] code (CONF:1166-91513).
This code SHALL contain exactly one [1..1] @codeSystem, which SHALL be selected from CodeSystem SNOMED CT (urn:oid:2.16.840.1.113883.6.96) STATIC (CONF:1166-91642).
OCL
self.entryRelationship->exists(var : POCDMT000040EntryRelationship |
(not var.observation.oclIsUndefined())
and (not var.observation.code.oclIsUndefined())
and (not var.observation.code.codeSystem.oclIsUndefined())
and var.observation.code.codeSystem='2.16.840.1.113883.6.96'
)
RCS-EP Pre-procedure Medication SHALL contain exactly one [1..1] entryRelationship (CONF:1166-91507).
This entryRelationship SHALL contain exactly one [1..1] observation (CONF:1166-91508).
This observation SHALL contain exactly one [1..1] value with @xsi:type="CD" (CONF:1166-91514).
OCL
self.entryRelationship->exists(var : POCDMT000040EntryRelationship |
(not var.observation.oclIsUndefined())
and var.observation.value->select(var : ANY |
var.oclIsKindOf(CD)
)->size()=1
)
RCS-EP Pre-procedure Medication SHALL contain exactly one [1..1] entryRelationship (CONF:1166-91507).
This entryRelationship SHALL contain exactly one [1..1] observation (CONF:1166-91508).
This observation SHALL contain exactly one [1..1] value with @xsi:type="CD" (CONF:1166-91514).
This value SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Pre-procedure Medication Administration urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.44 STATIC (CONF:1166-91720).
OCL
self.entryRelationship->exists(var : POCDMT000040EntryRelationship |
(not var.observation.oclIsUndefined())
and var.observation.value->select(var : ANY |
var.oclIsKindOf(CD)
and (not var.oclAsType(CD).code.oclIsUndefined())
and var.oclAsType(CD).matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.44', var.oclAsType(CD).code)
)->size()=1
)
RCS-EP Pre-procedure Medication SHALL contain exactly one [1..1] entryRelationship (CONF:1166-91507).
This entryRelationship SHALL contain exactly one [1..1] observation (CONF:1166-91508).
This observation SHALL contain exactly one [1..1] value with @xsi:type="CD" (CONF:1166-91514).
This value SHALL contain exactly one [1..1] @codeSystem (CONF:1166-91810).
OCL
self.entryRelationship->exists(var : POCDMT000040EntryRelationship |
(not var.observation.oclIsUndefined())
and var.observation.value->select(var : ANY |
var.oclIsKindOf(CD)
and (not var.oclAsType(CD).codeSystem.oclIsUndefined())
)->size()=1
)
RCS-EP Procedure Medication SHALL contain exactly one [1..1] @classCode="SBADM" (CONF:1166-32736).
OCL
self.classCode.oclIsUndefined() or self.classCode=ActClass::SBADM
RCS-EP Procedure Medication SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:1166-32737).
OCL
(not self.moodCode.oclIsUndefined()) and self.moodCode=XDocumentSubstanceMood::EVN
RCS-EP Procedure Medication SHALL contain exactly one [1..1] @negationInd (CONF:1166-91656).
OCL
(not self.negationInd.oclIsUndefined())
RCS-EP Procedure Medication SHALL contain exactly one [1..1] templateId (CONF:1166-32974) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.43130')->size() = 1
RCS-EP Procedure Medication SHALL contain exactly one [1..1] templateId (CONF:1166-32974) such that it
SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.7.4.43130" (CONF:1166-91521).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.43130')
RCS-EP Procedure Medication SHALL contain exactly one [1..1] consumable (CONF:1166-32742).
OCL
(not self.consumable.oclIsUndefined())
RCS-EP Procedure Medication SHALL contain exactly one [1..1] consumable (CONF:1166-32742).
This consumable SHALL contain exactly one [1..1] @typeCode="CSM" (CONF:1166-32743).
OCL
self.consumable.oclIsUndefined() or (self.consumable.typeCode.oclIsUndefined() or self.consumable.typeCode=ParticipationType::CSM)
RCS-EP Procedure Medication SHALL contain exactly one [1..1] consumable (CONF:1166-32742).
This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:1166-32744).
OCL
self.consumable.oclIsUndefined() or ((not self.consumable.manufacturedProduct.oclIsUndefined()))
RCS-EP Procedure Medication SHALL contain exactly one [1..1] consumable (CONF:1166-32742).
This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:1166-32744).
This manufacturedProduct SHALL contain exactly one [1..1] @classCode="MANU" (CONF:1166-91589).
OCL
self.consumable.oclIsUndefined() or (
(not self.consumable.manufacturedProduct.oclIsUndefined())
and (
self.consumable.manufacturedProduct.classCode.oclIsUndefined()
or self.consumable.manufacturedProduct.classCode=RoleClassManufacturedProduct::MANU
)
)
RCS-EP Procedure Medication SHALL contain exactly one [1..1] consumable (CONF:1166-32742).
This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:1166-32744).
This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:1166-32745).
OCL
self.consumable.oclIsUndefined() or (
(not self.consumable.manufacturedProduct.oclIsUndefined())
and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined())
)
RCS-EP Procedure Medication SHALL contain exactly one [1..1] consumable (CONF:1166-32742).
This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:1166-32744).
This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:1166-32745).
This manufacturedMaterial SHALL contain exactly one [1..1] @classCode="MMAT" (CONF:1166-33391).
OCL
self.consumable.oclIsUndefined() or (
(not self.consumable.manufacturedProduct.oclIsUndefined())
and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined())
and (
self.consumable.manufacturedProduct.manufacturedMaterial.classCode.oclIsUndefined()
or self.consumable.manufacturedProduct.manufacturedMaterial.classCode=EntityClassManufacturedMaterial::MMAT
)
)
RCS-EP Procedure Medication SHALL contain exactly one [1..1] consumable (CONF:1166-32742).
This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:1166-32744).
This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:1166-32745).
This manufacturedMaterial SHALL contain exactly one [1..1] @determinerCode="KIND" (CONF:1166-33392).
OCL
self.consumable.oclIsUndefined() or (
(not self.consumable.manufacturedProduct.oclIsUndefined())
and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined())
and (
self.consumable.manufacturedProduct.manufacturedMaterial.determinerCode.oclIsUndefined()
or self.consumable.manufacturedProduct.manufacturedMaterial.determinerCode=EntityDeterminerDetermined::KIND
)
)
RCS-EP Procedure Medication SHALL contain exactly one [1..1] consumable (CONF:1166-32742).
This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:1166-32744).
This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:1166-32745).
This manufacturedMaterial SHALL contain exactly one [1..1] code (CONF:1166-32746).
OCL
self.consumable.oclIsUndefined() or (
(not self.consumable.manufacturedProduct.oclIsUndefined())
and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined())
and (not self.consumable.manufacturedProduct.manufacturedMaterial.code.oclIsUndefined())
)
RCS-EP Procedure Medication SHALL contain exactly one [1..1] consumable (CONF:1166-32742).
This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:1166-32744).
This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:1166-32745).
This manufacturedMaterial SHALL contain exactly one [1..1] code (CONF:1166-32746).
This code SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Procedure Medication urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.214 DYNAMIC (CONF:1166-32748).
OCL
self.consumable.oclIsUndefined() or (
(not self.consumable.manufacturedProduct.oclIsUndefined())
and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined())
and (not self.consumable.manufacturedProduct.manufacturedMaterial.code.oclIsUndefined())
and (not self.consumable.manufacturedProduct.manufacturedMaterial.code.code.oclIsUndefined())
and self.consumable.manufacturedProduct.manufacturedMaterial.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.214', self.consumable.manufacturedProduct.manufacturedMaterial.code.code)
)
RCS-EP Procedure Medication SHALL contain exactly one [1..1] consumable (CONF:1166-32742).
This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:1166-32744).
This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:1166-32745).
This manufacturedMaterial SHALL contain exactly one [1..1] code (CONF:1166-32746).
This code SHALL contain exactly one [1..1] @codeSystem (CONF:1166-32747).
OCL
self.consumable.oclIsUndefined() or (
(not self.consumable.manufacturedProduct.oclIsUndefined())
and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined())
and (not self.consumable.manufacturedProduct.manufacturedMaterial.code.oclIsUndefined())
and (not self.consumable.manufacturedProduct.manufacturedMaterial.code.codeSystem.oclIsUndefined())
)
If Document.code="AFA", RCS-EP Procedure Medication SHOULD contain zero or more [0..*] entryRelationship (CONF:1166-91853).
The entryRelationship, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:1166-91856).
OCL
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.entryRelationship->forAll(var : POCDMT000040EntryRelationship |
(not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntryRelationship::COMP
)
)
If Document.code="AFA", RCS-EP Procedure Medication SHOULD contain zero or more [0..*] entryRelationship (CONF:1166-91853).
The entryRelationship, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:1166-91857).
OCL
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.entryRelationship->forAll(var : POCDMT000040EntryRelationship |
(var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true)
)
)
If Document.code="AFA", RCS-EP Procedure Medication SHOULD contain zero or more [0..*] entryRelationship (CONF:1166-91853).
The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:1166-91854).
OCL
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.entryRelationship->forAll(var : POCDMT000040EntryRelationship |
(not var.observation.oclIsUndefined())
)
)
If Document.code="AFA", RCS-EP Procedure Medication SHOULD contain zero or more [0..*] entryRelationship (CONF:1166-91853).
The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:1166-91854).
This observation SHALL contain exactly one [1..1] @classCode="OBS" (CONF:1166-91858).
OCL
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.entryRelationship->forAll(var : POCDMT000040EntryRelationship |
(not var.observation.oclIsUndefined()) and
(not var.observation.classCode.oclIsUndefined()) and
var.observation.classCode=ActClassObservation::OBS
)
)
If Document.code="AFA", RCS-EP Procedure Medication SHOULD contain zero or more [0..*] entryRelationship (CONF:1166-91853).
The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:1166-91854).
This observation SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:1166-91859).
OCL
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.entryRelationship->forAll(var : POCDMT000040EntryRelationship |
(not var.observation.oclIsUndefined()) and
(not var.observation.moodCode.oclIsUndefined()) and
var.observation.moodCode=XActMoodDocumentObservation::EVN
)
)
If Document.code="AFA", RCS-EP Procedure Medication SHOULD contain zero or more [0..*] entryRelationship (CONF:1166-91853).
The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:1166-91854).
This observation SHALL contain exactly one [1..1] code (CONF:1166-91855).
OCL
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.entryRelationship->forAll(var : POCDMT000040EntryRelationship |
(not var.observation.oclIsUndefined()) and
(not var.observation.code.oclIsUndefined())
)
)
If Document.code="AFA", RCS-EP Procedure Medication SHOULD contain zero or more [0..*] entryRelationship (CONF:1166-91853).
The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:1166-91854).
This observation SHALL contain exactly one [1..1] code (CONF:1166-91855).
This code SHALL contain exactly one [1..1] @code="100001251" Heparin Initial Administration (CONF:1166-91860).
OCL
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.entryRelationship->forAll(var : POCDMT000040EntryRelationship |
(not var.observation.oclIsUndefined()) and
(not var.observation.code.oclIsUndefined()) and
(not var.observation.code.code.oclIsUndefined()) and
var.observation.code.code='100001251'
)
)
If Document.code="AFA", RCS-EP Procedure Medication SHOULD contain zero or more [0..*] entryRelationship (CONF:1166-91853).
The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:1166-91854).
This observation SHALL contain exactly one [1..1] code (CONF:1166-91855).
This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.3.3478.6.1" (CodeSystem: ACC NCDR urn:oid:2.16.840.1.113883.3.3478.6.1) (CONF:1166-91861).
OCL
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.entryRelationship->forAll(var : POCDMT000040EntryRelationship |
(not var.observation.oclIsUndefined()) and
(not var.observation.code.oclIsUndefined()) and
(not var.observation.code.codeSystem.oclIsUndefined()) and
var.observation.code.codeSystem='2.16.840.1.113883.3.3478.6.1'
)
)
If Document.code="AFA", RCS-EP Procedure Medication SHOULD contain zero or more [0..*] entryRelationship (CONF:1166-91853).
The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:1166-91854).
This observation SHALL contain exactly one [1..1] value with @xsi:type="CD" (CONF:1166-91862).
OCL
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.entryRelationship->forAll(var : POCDMT000040EntryRelationship |
(not var.observation.oclIsUndefined())
and var.observation.value->select(val : ANY |
val.oclIsKindOf(CD)
)->size()=1
)
)
If Document.code="AFA", RCS-EP Procedure Medication SHOULD contain zero or more [0..*] entryRelationship (CONF:1166-91853).
The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:1166-91854).
This observation SHALL contain exactly one [1..1] value with @xsi:type="CD" (CONF:1166-91862).
This value SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Medication Administration Timing urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.169 STATIC (CONF:1166-91864).
OCL
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code.oclIsUndefined() or
self.__parent.oclAsType(POCDMT000040EntryRelationship).__parent.oclAsType(POCDMT000040Procedure).__parent.oclAsType(POCDMT000040Component4).__parent.oclAsType(POCDMT000040Organizer).__parent.oclAsType(POCDMT000040Entry).__parent.oclAsType(POCDMT000040Section).__parent.oclAsType(POCDMT000040Component3).__parent.oclAsType(POCDMT000040StructuredBody).__parent.oclAsType(POCDMT000040Component2).__parent.oclAsType(POCDMT000040ClinicalDocument).code.code<>'ACC-NCDR-AFA' or
(
self.entryRelationship->forAll(var : POCDMT000040EntryRelationship |
(not var.observation.oclIsUndefined())
and var.observation.value->forAll(val : ANY |
val.oclIsKindOf(CD)
and (not (val.oclAsType(CD).code.oclIsUndefined()))
and val.oclAsType(CD).matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.169', val.oclAsType(CD).code)
)
)
)
RCS-EP Procedure Session Observation SHALL contain exactly one [1..1] @classCode="OBS" (CONF:1166-91715).
OCL
self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS
RCS-EP Procedure Session Observation SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:1166-91716).
OCL
(not self.moodCode.oclIsUndefined()) and self.moodCode=XActMoodDocumentObservation::EVN
RCS-EP Procedure Session Observation SHALL contain exactly one [1..1] templateId (CONF:1166-91709) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.42000')->size() = 1
RCS-EP Procedure Session Observation SHALL contain exactly one [1..1] code (CONF:1166-91708).
OCL
(not self.code.oclIsUndefined())
RCS-EP Procedure Session Observation SHALL contain exactly one [1..1] code (CONF:1166-91708).
This code SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Procedure Session Observation urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.180 STATIC (CONF:1166-91710).
OCL
self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.180', self.code.code))
RCS-EP Procedure Session Observation SHALL contain exactly one [1..1] code (CONF:1166-91708).
This code SHALL contain exactly one [1..1] @codeSystem (CONF:1166-91711).
OCL
self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined()))
RCS-EP Procedure Session Observation SHALL contain exactly one [1..1] value (CONF:1166-91712).
OCL
self.value->size() = 1
RCS-EP Pre-procedure Quality of Life Questionnaire SHALL contain exactly one [1..1] @classCode="OBS" (CONF:1166-91830).
OCL
self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS
RCS-EP Pre-procedure Quality of Life Questionnaire SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:1166-91831).
OCL
(not self.moodCode.oclIsUndefined()) and self.moodCode=XActMoodDocumentObservation::EVN
RCS-EP Pre-procedure Quality of Life Questionnaire SHALL contain exactly one [1..1] templateId (CONF:1166-91828) such that it
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.41800')->size() = 1
RCS-EP Pre-procedure Quality of Life Questionnaire SHALL contain exactly one [1..1] templateId (CONF:1166-91828) such that it
SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.7.4.41800" (CONF:1166-91833).
OCL
self.templateId->exists(var : II |
(not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.7.4.41800')
RCS-EP Pre-procedure Quality of Life Questionnaire SHALL contain exactly one [1..1] code (CONF:1166-91829).
OCL
(not self.code.oclIsUndefined())
RCS-EP Pre-procedure Quality of Life Questionnaire SHALL contain exactly one [1..1] code (CONF:1166-91829).
This code SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet AFEQT Questionnaire urn:oid:1.3.6.1.4.1.19376.1.4.1.6.5.229 STATIC (CONF:1166-91835).
OCL
(not self.code.oclIsUndefined())
and (not self.code.code.oclIsUndefined())
and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.229',self.code.code)
RCS-EP Pre-procedure Quality of Life Questionnaire SHALL contain exactly one [1..1] code (CONF:1166-91829).
This code SHALL contain exactly one [1..1] @codeSystem (CONF:1166-91836).
OCL
(not self.code.oclIsUndefined())
and (not self.code.codeSystem.oclIsUndefined())
RCS-EP Pre-procedure Quality of Life Questionnaire SHALL contain exactly one [1..1] value (CONF:1166-91837).
OCL
self.value->size()=1