PHP 클래스 FhirMarshal

OpenEyes is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. OpenEyes is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenEyes in a file titled COPYING. If not, see .
저자: OpenEyes ([email protected])
상속: extends CApplicationComponent
파일 보기 프로젝트 열기: openeyes/openeyes

공개 프로퍼티들

프로퍼티 타입 설명
$schemas

공개 메소드들

메소드 설명
getSchema ( string $type ) : array Fetch the schema for the specified FHIR type as a PHP array.
isStandardType ( string $type ) : boolean Check whether a FHIR type is part of the standard or a custom OE type.
parseJson ( string $text ) : StdClass | null
parseXml ( string $text ) : StdClass | null
parseXmlBundle ( DOMDocument $doc, DOMElement $element )
renderJson ( StdClass $resource ) : string
renderXml ( StdClass $resource ) : string

비공개 메소드들

메소드 설명
parseXmlRecursive ( DOMDocument $doc, DOMElement $element, $type, array $schema )
renderXmlBundle ( StdClass $data, DOMDocument $doc, DOMNode $parent )
renderXmlRecursive ( StdClass $data, DOMDocument $doc, DOMNode $parent )

메소드 상세

getSchema() 공개 메소드

Fetch the schema for the specified FHIR type as a PHP array.
public getSchema ( string $type ) : array
$type string
리턴 array

isStandardType() 공개 메소드

Check whether a FHIR type is part of the standard or a custom OE type.
public isStandardType ( string $type ) : boolean
$type string
리턴 boolean

parseJson() 공개 메소드

public parseJson ( string $text ) : StdClass | null
$text string
리턴 StdClass | null

parseXml() 공개 메소드

public parseXml ( string $text ) : StdClass | null
$text string
리턴 StdClass | null

parseXmlBundle() 공개 메소드

public parseXmlBundle ( DOMDocument $doc, DOMElement $element )
$doc DOMDocument
$element DOMElement

renderJson() 공개 메소드

public renderJson ( StdClass $resource ) : string
$resource StdClass
리턴 string

renderXml() 공개 메소드

public renderXml ( StdClass $resource ) : string
$resource StdClass
리턴 string

프로퍼티 상세

$schemas 공개적으로 프로퍼티

public $schemas