lib/fhir_models/definitions/schema/documentreference.xsd in fhir_models-1.8.3 vs lib/fhir_models/definitions/schema/documentreference.xsd in fhir_models-3.0.1
- old
+ new
@@ -25,11 +25,11 @@
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
- Generated on Wed, Dec 7, 2016 09:17-0500 for FHIR v1.8.0
+ Generated on Wed, Apr 26, 2017 18:33-0400 for FHIR v3.0.0
Note: the schemas & schematrons do not contain all of the rules about what makes resources
valid. Implementers will still need to be familiar with the content of the specification and with
any profiles that apply to the resources in order to make a conformant implementation.
@@ -48,40 +48,40 @@
</xs:element>
<xs:element name="identifier" minOccurs="0" maxOccurs="unbounded" type="Identifier">
</xs:element>
- <xs:element name="subject" minOccurs="0" maxOccurs="1" type="Reference">
+ <xs:element name="status" minOccurs="1" maxOccurs="1" type="DocumentReferenceStatus">
</xs:element>
+ <xs:element name="docStatus" minOccurs="0" maxOccurs="1" type="CompositionStatus">
+
+ </xs:element>
<xs:element name="type" minOccurs="1" maxOccurs="1" type="CodeableConcept">
</xs:element>
<xs:element name="class" minOccurs="0" maxOccurs="1" type="CodeableConcept">
</xs:element>
- <xs:element name="author" minOccurs="0" maxOccurs="unbounded" type="Reference">
+ <xs:element name="subject" minOccurs="0" maxOccurs="1" type="Reference">
</xs:element>
- <xs:element name="custodian" minOccurs="0" maxOccurs="1" type="Reference">
-
- </xs:element>
- <xs:element name="authenticator" minOccurs="0" maxOccurs="1" type="Reference">
-
- </xs:element>
<xs:element name="created" minOccurs="0" maxOccurs="1" type="dateTime">
</xs:element>
<xs:element name="indexed" minOccurs="1" maxOccurs="1" type="instant">
</xs:element>
- <xs:element name="status" minOccurs="1" maxOccurs="1" type="DocumentReferenceStatus">
+ <xs:element name="author" minOccurs="0" maxOccurs="unbounded" type="Reference">
</xs:element>
- <xs:element name="docStatus" minOccurs="0" maxOccurs="1" type="CodeableConcept">
+ <xs:element name="authenticator" minOccurs="0" maxOccurs="1" type="Reference">
</xs:element>
+ <xs:element name="custodian" minOccurs="0" maxOccurs="1" type="Reference">
+
+ </xs:element>
<xs:element name="relatesTo" type="DocumentReference.RelatesTo" minOccurs="0" maxOccurs="unbounded">
</xs:element>
<xs:element name="description" minOccurs="0" maxOccurs="1" type="string">
@@ -120,11 +120,11 @@
<xs:extension base="BackboneElement">
<xs:sequence>
<xs:element name="attachment" minOccurs="1" maxOccurs="1" type="Attachment">
</xs:element>
- <xs:element name="format" minOccurs="0" maxOccurs="unbounded" type="Coding">
+ <xs:element name="format" minOccurs="0" maxOccurs="1" type="Coding">
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
@@ -169,33 +169,9 @@
</xs:element>
<xs:element name="ref" minOccurs="0" maxOccurs="1" type="Reference">
</xs:element>
</xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:simpleType name="DocumentRelationshipType-list">
- <xs:restriction base="code-primitive">
- <xs:enumeration value="replaces">
-
- </xs:enumeration>
- <xs:enumeration value="transforms">
-
- </xs:enumeration>
- <xs:enumeration value="signs">
-
- </xs:enumeration>
- <xs:enumeration value="appends">
-
- </xs:enumeration>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="DocumentRelationshipType">
-
- <xs:complexContent>
- <xs:extension base="Element">
- <xs:attribute name="value" type="DocumentRelationshipType-list" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>