Clinical Document Architecture with Australian Schema, published by Australian Digital Health Agency. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/AuDigitalHealth/cda-au-schema/ and changes regularly. See the Directory of published versions

Logical Model: EntryRelationship - TTL Profile

Active as of 2024-11-22

TTL representation of the au-EntryRelationship logical model.

Raw ttl | Download

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:StructureDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "au-EntryRelationship"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p>CDA entries represent the structured computer-processable components within a document section. Each section can contain zero to many entries.</p>\n    </div>"
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/logical-target"^^xsd:anyURI ] ;
fhir:value [
a fhir:boolean ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/data-absent-reason"^^xsd:anyURI ] ;
fhir:value [ fhir:v "not-applicable" ]       ] )     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:hl7-org:v3"^^xsd:anyURI ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/xml-name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "entryRelationship" ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/logical-container"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument"^^xsd:anyURI ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-profile-style"^^xsd:anyURI ] ;
fhir:value [ fhir:v "cda"^^xsd:anyURI ]
  ] ) ; # 
  fhir:url [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-EntryRelationship"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "1.0.0"] ; # 
  fhir:name [ fhir:v "EntryRelationship"] ; # 
  fhir:title [ fhir:v "ADHA EntryRelationship (CDA Class)"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2024-11-22T03:02:41+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Australian Digital Health Agency"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "Australian Digital Health Agency" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "mailto:help@digitalhealth.gov.au" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "**Australian adaptation of the [HL7 International CDA EntryRelationship class](     https://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-EntryRelationship.html)**.     \n\nThis is a generated StructureDefinition that describes CDA - that is, CDA as it actually is for R2. The intent of this StructureDefinition is to enable CDA to be a FHIR resource. That enables the FHIR infrastructure - API, conformance, query - to be used directly against CDA"] ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
fhir:code [ fhir:v "AU" ]     ] )
  ] ) ; # 
  fhir:copyright [ fhir:v "Copyright © 2024 Australian Digital Health Agency - All rights reserved. This content is licensed under a Creative Commons Attribution 4.0 International License. See [https://creativecommons.org/licenses/by/4.0/](https://creativecommons.org/licenses/by/4.0/)."] ; # 
  fhir:fhirVersion [ fhir:v "5.0.0"] ; # 
  fhir:mapping ( [
fhir:identity [ fhir:v "rim" ] ;
fhir:uri [ fhir:v "http://hl7.org/v3"^^xsd:anyURI ] ;
fhir:name [ fhir:v "RIM Mapping" ]
  ] ) ; # 
  fhir:kind [ fhir:v "logical"] ; # 
  fhir:abstract [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:type [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"^^xsd:anyURI] ; # 
  fhir:baseDefinition [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot>
  ] ; # 
  fhir:derivation [ fhir:v "specialization"] ; # 
  fhir:snapshot [
    ( fhir:element [
fhir:id [ fhir:v "EntryRelationship" ] ;
fhir:path [ fhir:v "EntryRelationship" ] ;
fhir:short [ fhir:v "Australian adaptation of the HL7 International CDA EntryRelationship class" ] ;
fhir:definition [ fhir:v "Defines the basic properties of every data value. This is an abstract type, meaning that no value can be just a data value without belonging to any concrete type. Every concrete type is a specialization of this general abstract DataValue type." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Base" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:constraint [
fhir:key [ fhir:v "entry-rel-only-one" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "SHALL have no more than one of act, encounter, observation, observationMedia, organizer, procedure, regionOfInterest, substanceAdministration, or supply." ] ;
fhir:expression [ fhir:v "(act | encounter | observation | observationMedia | organizer | procedure | regionOfInterest | substanceAdministration | supply).count() = 1" ]       ] ) ;
fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "EntryRelationship.nullFlavor" ] ;
fhir:path [ fhir:v "EntryRelationship.nullFlavor" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:label [ fhir:v "Exceptional Value Detail" ] ;
fhir:definition [ fhir:v "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "ANY.nullFlavor" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
fhir:binding [
fhir:strength [ fhir:v "required" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor>         ]       ]     ] [
fhir:id [ fhir:v "EntryRelationship.realmCode" ] ;
fhir:path [ fhir:v "EntryRelationship.realmCode" ] ;
fhir:definition [ fhir:v "When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "InfrastructureRoot.realmCode" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CS"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EntryRelationship.typeId" ] ;
fhir:path [ fhir:v "EntryRelationship.typeId" ] ;
fhir:definition [ fhir:v "When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "InfrastructureRoot.typeId" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EntryRelationship.typeId.nullFlavor" ] ;
fhir:path [ fhir:v "EntryRelationship.typeId.nullFlavor" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:label [ fhir:v "Exceptional Value Detail" ] ;
fhir:definition [ fhir:v "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "ANY.nullFlavor" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
fhir:binding [
fhir:strength [ fhir:v "required" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor>         ]       ]     ] [
fhir:id [ fhir:v "EntryRelationship.typeId.assigningAuthorityName" ] ;
fhir:path [ fhir:v "EntryRelationship.typeId.assigningAuthorityName" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:label [ fhir:v "Assigning Authority Name" ] ;
fhir:definition [ fhir:v "A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "II.assigningAuthorityName" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/st-simple>         ] )       ] )     ] [
fhir:id [ fhir:v "EntryRelationship.typeId.displayable" ] ;
fhir:path [ fhir:v "EntryRelationship.typeId.displayable" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:label [ fhir:v "Displayable" ] ;
fhir:definition [ fhir:v "Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false)." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "II.displayable" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/bl-simple>         ] )       ] )     ] [
fhir:id [ fhir:v "EntryRelationship.typeId.root" ] ;
fhir:path [ fhir:v "EntryRelationship.typeId.root" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:label [ fhir:v "Root" ] ;
fhir:definition [ fhir:v "Identifies the type as an HL7 Registered model" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "II.root" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/oid"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/oid>         ] [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/uuid"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/uuid>         ] [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ruid"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/ruid>         ] )       ] ) ;
fhir:fixed [ fhir:v "2.16.840.1.113883.1.3" ]     ] [
fhir:id [ fhir:v "EntryRelationship.typeId.extension" ] ;
fhir:path [ fhir:v "EntryRelationship.typeId.extension" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:label [ fhir:v "Extension" ] ;
fhir:definition [ fhir:v "A character string as a unique identifier within the scope of the identifier root." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "II.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/st-simple>         ] )       ] )     ] [
fhir:id [ fhir:v "EntryRelationship.templateId" ] ;
fhir:path [ fhir:v "EntryRelationship.templateId" ] ;
fhir:definition [ fhir:v "When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "InfrastructureRoot.templateId" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EntryRelationship.typeCode" ] ;
fhir:path [ fhir:v "EntryRelationship.typeCode" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EntryRelationship.typeCode" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
fhir:binding [
fhir:strength [ fhir:v "required" ] ;
fhir:valueSet [
fhir:v "http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship"^^xsd:anyURI ;
fhir:link <http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship>         ]       ]     ] [
fhir:id [ fhir:v "EntryRelationship.inversionInd" ] ;
fhir:path [ fhir:v "EntryRelationship.inversionInd" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:definition [ fhir:v "The entryRelationship.inversionInd can be set to \"true\" to indicate that the relationship should be interpreted as if the roles of the source and target entries were reversed." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EntryRelationship.inversionInd" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/bl-simple>         ] )       ] )     ] [
fhir:id [ fhir:v "EntryRelationship.contextConductionInd" ] ;
fhir:path [ fhir:v "EntryRelationship.contextConductionInd" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:definition [ fhir:v "The entryRelationship.contextConductionInd differs from the otherwise common use of this attribute in that in all other cases where this attribute is used, the value is fixed at \"true\", whereas here the value is defaulted to \"true\", and can be changed to \"false\" when referencing an entry in the same document. Setting the context conduction to false when referencing an entry in the same document keeps clear the fact that the referenced object retains its original context." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EntryRelationship.contextConductionInd" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/bl-simple>         ] )       ] ) ;
fhir:defaultValue [ fhir:v "true"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "EntryRelationship.negationInd" ] ;
fhir:path [ fhir:v "EntryRelationship.negationInd" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EntryRelationship.negationInd" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/bl-simple>         ] )       ] )     ] [
fhir:id [ fhir:v "EntryRelationship.sequenceNumber" ] ;
fhir:path [ fhir:v "EntryRelationship.sequenceNumber" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EntryRelationship.sequenceNumber" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/INT"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EntryRelationship.seperatableInd" ] ;
fhir:path [ fhir:v "EntryRelationship.seperatableInd" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EntryRelationship.seperatableInd" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/BL"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EntryRelationship.act" ] ;
fhir:path [ fhir:v "EntryRelationship.act" ] ;
fhir:short [ fhir:v "Australian-adapted Act class" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EntryRelationship.act" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-Act"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EntryRelationship.encounter" ] ;
fhir:path [ fhir:v "EntryRelationship.encounter" ] ;
fhir:short [ fhir:v "Australian-adapted Encounter class" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EntryRelationship.encounter" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-Encounter"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EntryRelationship.observation" ] ;
fhir:path [ fhir:v "EntryRelationship.observation" ] ;
fhir:short [ fhir:v "Australian-adapted Observation class" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EntryRelationship.observation" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-Observation"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EntryRelationship.observationMedia" ] ;
fhir:path [ fhir:v "EntryRelationship.observationMedia" ] ;
fhir:short [ fhir:v "Australian-adapted ObservationMedia class" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EntryRelationship.observationMedia" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-ObservationMedia"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EntryRelationship.organizer" ] ;
fhir:path [ fhir:v "EntryRelationship.organizer" ] ;
fhir:short [ fhir:v "Australian-adapted Organizer class" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EntryRelationship.organizer" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-Organizer"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EntryRelationship.procedure" ] ;
fhir:path [ fhir:v "EntryRelationship.procedure" ] ;
fhir:short [ fhir:v "Australian-adapted Procedure class" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EntryRelationship.procedure" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-Procedure"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EntryRelationship.regionOfInterest" ] ;
fhir:path [ fhir:v "EntryRelationship.regionOfInterest" ] ;
fhir:short [ fhir:v "Australian-adapted SubstanceAdministration class" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EntryRelationship.regionOfInterest" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-RegionOfInterest"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EntryRelationship.substanceAdministration" ] ;
fhir:path [ fhir:v "EntryRelationship.substanceAdministration" ] ;
fhir:short [ fhir:v "Australian-adapted SubstanceAdministration class" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EntryRelationship.substanceAdministration" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-SubstanceAdministration"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EntryRelationship.supply" ] ;
fhir:path [ fhir:v "EntryRelationship.supply" ] ;
fhir:short [ fhir:v "Australian-adapted Supply class" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EntryRelationship.supply" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-Supply"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EntryRelationship.controlAct" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://ns.electronichealth.net.au/Ci/Cda/Extensions/3.0"^^xsd:anyURI ]       ] ) ;
fhir:path [ fhir:v "EntryRelationship.controlAct" ] ;
fhir:short [ fhir:v "ADHA CDA extension to represent control act" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EntryRelationship.controlAct" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/controlAct"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/controlAct"^^xsd:anyURI ;
fhir:link <http://ns.electronichealth.net.au/cda/StructureDefinition/controlAct>         ] )       ] )     ] )
  ] ; # 
  fhir:differential [
    ( fhir:element [
fhir:id [ fhir:v "EntryRelationship" ] ;
fhir:path [ fhir:v "EntryRelationship" ] ;
fhir:short [ fhir:v "Australian adaptation of the HL7 International CDA EntryRelationship class" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
      ( fhir:constraint [
fhir:key [ fhir:v "entry-rel-only-one" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "SHALL have no more than one of act, encounter, observation, observationMedia, organizer, procedure, regionOfInterest, substanceAdministration, or supply." ] ;
fhir:expression [ fhir:v "(act | encounter | observation | observationMedia | organizer | procedure | regionOfInterest | substanceAdministration | supply).count() = 1" ]       ] )     ] [
fhir:id [ fhir:v "EntryRelationship.typeCode" ] ;
fhir:path [ fhir:v "EntryRelationship.typeCode" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
fhir:binding [
fhir:strength [ fhir:v "required" ] ;
fhir:valueSet [
fhir:v "http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship"^^xsd:anyURI ;
fhir:link <http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship>         ]       ]     ] [
fhir:id [ fhir:v "EntryRelationship.inversionInd" ] ;
fhir:path [ fhir:v "EntryRelationship.inversionInd" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:definition [ fhir:v "The entryRelationship.inversionInd can be set to \"true\" to indicate that the relationship should be interpreted as if the roles of the source and target entries were reversed." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/bl-simple>         ] )       ] )     ] [
fhir:id [ fhir:v "EntryRelationship.contextConductionInd" ] ;
fhir:path [ fhir:v "EntryRelationship.contextConductionInd" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:definition [ fhir:v "The entryRelationship.contextConductionInd differs from the otherwise common use of this attribute in that in all other cases where this attribute is used, the value is fixed at \"true\", whereas here the value is defaulted to \"true\", and can be changed to \"false\" when referencing an entry in the same document. Setting the context conduction to false when referencing an entry in the same document keeps clear the fact that the referenced object retains its original context." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/bl-simple>         ] )       ] ) ;
fhir:defaultValue [ fhir:v "true"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "EntryRelationship.negationInd" ] ;
fhir:path [ fhir:v "EntryRelationship.negationInd" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/bl-simple>         ] )       ] )     ] [
fhir:id [ fhir:v "EntryRelationship.sequenceNumber" ] ;
fhir:path [ fhir:v "EntryRelationship.sequenceNumber" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/INT"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EntryRelationship.seperatableInd" ] ;
fhir:path [ fhir:v "EntryRelationship.seperatableInd" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/BL"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EntryRelationship.act" ] ;
fhir:path [ fhir:v "EntryRelationship.act" ] ;
fhir:short [ fhir:v "Australian-adapted Act class" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-Act"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EntryRelationship.encounter" ] ;
fhir:path [ fhir:v "EntryRelationship.encounter" ] ;
fhir:short [ fhir:v "Australian-adapted Encounter class" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-Encounter"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EntryRelationship.observation" ] ;
fhir:path [ fhir:v "EntryRelationship.observation" ] ;
fhir:short [ fhir:v "Australian-adapted Observation class" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-Observation"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EntryRelationship.observationMedia" ] ;
fhir:path [ fhir:v "EntryRelationship.observationMedia" ] ;
fhir:short [ fhir:v "Australian-adapted ObservationMedia class" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-ObservationMedia"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EntryRelationship.organizer" ] ;
fhir:path [ fhir:v "EntryRelationship.organizer" ] ;
fhir:short [ fhir:v "Australian-adapted Organizer class" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-Organizer"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EntryRelationship.procedure" ] ;
fhir:path [ fhir:v "EntryRelationship.procedure" ] ;
fhir:short [ fhir:v "Australian-adapted Procedure class" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-Procedure"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EntryRelationship.regionOfInterest" ] ;
fhir:path [ fhir:v "EntryRelationship.regionOfInterest" ] ;
fhir:short [ fhir:v "Australian-adapted SubstanceAdministration class" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-RegionOfInterest"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EntryRelationship.substanceAdministration" ] ;
fhir:path [ fhir:v "EntryRelationship.substanceAdministration" ] ;
fhir:short [ fhir:v "Australian-adapted SubstanceAdministration class" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-SubstanceAdministration"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EntryRelationship.supply" ] ;
fhir:path [ fhir:v "EntryRelationship.supply" ] ;
fhir:short [ fhir:v "Australian-adapted Supply class" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-Supply"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "EntryRelationship.controlAct" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://ns.electronichealth.net.au/Ci/Cda/Extensions/3.0"^^xsd:anyURI ]       ] ) ;
fhir:path [ fhir:v "EntryRelationship.controlAct" ] ;
fhir:short [ fhir:v "ADHA CDA extension to represent control act" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/controlAct"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/controlAct"^^xsd:anyURI ;
fhir:link <http://ns.electronichealth.net.au/cda/StructureDefinition/controlAct>         ] )       ] )     ] )
  ] . #